亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人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
出处
期刊:Cornell University - arXiv [Cornell University]
被引量:30
标识
DOI:10.48550/arxiv.2105.02358
摘要

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 paper 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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
CikY发布了新的文献求助10
1秒前
3秒前
Shiku发布了新的文献求助10
6秒前
15秒前
Time发布了新的文献求助10
20秒前
21秒前
33秒前
43秒前
48秒前
51秒前
1分钟前
1分钟前
1分钟前
乐观完成签到 ,获得积分10
2分钟前
腼腆的山兰完成签到 ,获得积分10
2分钟前
2分钟前
2分钟前
狂野人杰发布了新的文献求助10
2分钟前
zsmj23完成签到 ,获得积分0
2分钟前
2分钟前
狂野人杰完成签到,获得积分20
2分钟前
2分钟前
昂昂发布了新的文献求助10
2分钟前
2分钟前
2分钟前
wangfaqing942完成签到 ,获得积分10
3分钟前
3分钟前
谦让朝雪完成签到,获得积分10
3分钟前
初空月儿完成签到,获得积分10
3分钟前
3分钟前
3分钟前
4分钟前
4分钟前
wanci应助MZ采纳,获得10
4分钟前
研友_nxwN7L完成签到,获得积分10
4分钟前
余泽楷发布了新的文献求助10
4分钟前
愉快惜儿完成签到 ,获得积分10
4分钟前
4分钟前
闪闪的清炎完成签到 ,获得积分20
4分钟前
友好灵阳完成签到 ,获得积分10
4分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Nondestructive Testing Handbook: Vol. 4, Thermal and Infrared Testing (IR), 4th ed 800
作者名:Kristopher P. Plain,悉尼大学的,目前只能查到其四篇论文,想找到其博士论文 590
Évora na Idade Média 555
Soil mites of the family Rhagidiidae (Actinedida: Eupodoidea). Morphology, Systematics, Ecology 520
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
Radical Reactions 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7354843
求助须知:如何正确求助?哪些是违规求助? 8965786
关于积分的说明 19048325
捐赠科研通 7003023
什么是DOI,文献DOI怎么找? 3222075
关于科研通互助平台的介绍 2386272
邀请新用户注册赠送积分活动 2202659