亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

Beyond Self-Attention: External Attention Using Two Linear Layers for Visual Tasks

计算机科学 人工智能 规范化(社会学) 分割 模式识别(心理学) 特征(语言学) 人类学 语言学 哲学 社会学
作者
Meng-Hao Guo,Zheng-Ning Liu,Tai‐Jiang Mu,Shi‐Min Hu
出处
期刊:IEEE Transactions on Pattern Analysis and Machine Intelligence [IEEE Computer Society]
卷期号:: 1-13 被引量:451
标识
DOI:10.1109/tpami.2022.3211006
摘要

Attention mechanisms, especially self-attention, have played an increasingly important role in deep feature representation for visual tasks. Self-attention updates the feature at each position by computing a weighted sum of features using pair-wise affinities across all positions to capture the long-range dependency within a single sample. However, self-attention has quadratic complexity and ignores potential correlation between different samples. This article proposes a novel attention mechanism which we call external attention, based on two external, small, learnable, shared memories, which can be implemented easily by simply using two cascaded linear layers and two normalization layers; it conveniently replaces self-attention in existing popular architectures. External attention has linear complexity and implicitly considers the correlations between all data samples. We further incorporate the multi-head mechanism into external attention to provide an all-MLP architecture, external attention MLP (EAMLP), for image classification. Extensive experiments on image classification, object detection, semantic segmentation, instance segmentation, image generation, and point cloud analysis reveal that our method provides results comparable or superior to the self-attention mechanism and some of its variants, with much lower computational and memory costs.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
14秒前
26秒前
lizhuoran发布了新的文献求助10
40秒前
56秒前
行走发布了新的文献求助10
1分钟前
1分钟前
科研通AI2S应助科研通管家采纳,获得10
1分钟前
1分钟前
行走发布了新的文献求助10
1分钟前
Swear完成签到 ,获得积分10
2分钟前
2分钟前
3分钟前
3分钟前
行走发布了新的文献求助10
3分钟前
文章中中中完成签到,获得积分10
3分钟前
3分钟前
魔幻问薇完成签到 ,获得积分10
3分钟前
吸尘器完成签到,获得积分10
3分钟前
4分钟前
行走发布了新的文献求助10
4分钟前
4分钟前
5分钟前
行走发布了新的文献求助10
5分钟前
小马甲应助enreu采纳,获得10
5分钟前
科研通AI2S应助科研通管家采纳,获得10
5分钟前
科研通AI2S应助科研通管家采纳,获得10
5分钟前
5分钟前
5分钟前
helpmepaper应助梨子茶采纳,获得10
5分钟前
6分钟前
enreu发布了新的文献求助10
6分钟前
6分钟前
6分钟前
行走发布了新的文献求助50
6分钟前
Able完成签到,获得积分10
6分钟前
6分钟前
6分钟前
7分钟前
14999应助科研通管家采纳,获得10
7分钟前
科研通AI2S应助科研通管家采纳,获得10
7分钟前
高分求助中
The Mother of All Tableaux Order, Equivalence, and Geometry in the Large-scale Structure of Optimality Theory 1370
生物降解型栓塞微球市场(按产品类型、应用和最终用户)- 2030 年全球预测 1000
Impact of water dispenser establishment on drinking water availability and health status of peri-urban community 560
Implantable Technologies 500
Theories of Human Development 400
Canon of Insolation and the Ice-age Problem 380
Phylogenetic study of the order Polydesmida (Myriapoda: Diplopoda) 360
热门求助领域 (近24小时)
化学 医学 材料科学 生物 工程类 有机化学 生物化学 物理 内科学 计算机科学 纳米技术 复合材料 化学工程 遗传学 基因 物理化学 催化作用 光电子学 量子力学 免疫学
热门帖子
关注 科研通微信公众号,转发送积分 3919967
求助须知:如何正确求助?哪些是违规求助? 3464979
关于积分的说明 10935417
捐赠科研通 3193264
什么是DOI,文献DOI怎么找? 1764559
邀请新用户注册赠送积分活动 854963
科研通“疑难数据库(出版商)”最低求助积分说明 794541