Beyond Self-attention: External Attention using Two Linear Layers for Visual Tasks
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 109 papers in the map (data through 7 Oct 2026). Builds on 89 of its 115 references that are in the map. First posted on arXiv 5 May 2021.
Builds on
89 of 115 references.
References · 89
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2017Mask R-CNNcited by 7,259
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2016Layer Normalizationcited by 5,579
38 more
- 2016PointNet: Deep Learning on Point Sets for 3D Classification and Segmentationcited by 5,223
- 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,845
- 2017Squeeze-and-Excitation Networkscited by 4,763
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
- 2017PointNet++: Deep Hierarchical Feature Learning on Point Sets in a Metric Spacecited by 4,384
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
- 2016Improved Techniques for Training GANscited by 2,938
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
- 2016Pyramid Scene Parsing Networkcited by 2,472
- 2017Non-local Neural Networkscited by 2,290
- 2017Improved Training of Wasserstein GANscited by 2,223
- 2018Dynamic Graph CNN for Learning on Point Cloudscited by 2,220
- 2015Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networkscited by 2,048
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,935
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,610
- 2020Rethinking Attention with Performerscited by 1,584
- 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,421
- 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,379
- 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
- 2019KPConv: Flexible and Deformable Convolution for Point Cloudscited by 1,202
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
- 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,063
- 2021Transformers in Vision: A Surveycited by 1,009
- 2018Dual Attention Network for Scene Segmentationcited by 1,001
- 2016Least Squares Generative Adversarial Networkscited by 1,000
- 2020Designing Network Design Spacescited by 954
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
- 2021Multiscale Vision Transformerscited by 896
- 2020Pre-Trained Image Processing Transformercited by 891
- 2018Self-Attention Generative Adversarial Networkscited by 809
- 2018PointCNN: Convolution On X-Transformed Pointscited by 764
- 2020PCT: Point cloud transformercited by 730
- 2018CCNet: Criss-Cross Attention for Semantic Segmentationcited by 717
50 most cited of 89 All 89 (JSON)
Built on by
Citing papers per year: 2021: 21; 2022: 23; 2023: 25; 2024: 16; 2025: 14; 2026: 10.
109 papers.
Sort:
By area:
- 2022SegNeXt: Rethinking Convolutional Attention Design for Semantic Segmentationcited by 252
- 2021Attention Mechanisms in Computer Vision: A Surveycited by 232
- 2021ViTAE: Vision Transformer Advanced by Exploring Intrinsic Inductive Biascited by 216
- 2022Visual Attention Networkcited by 210
- 2021CycleMLP: A MLP-like Architecture for Dense Predictioncited by 126
- 2021Query2Label: A Simple Transformer Way to Multi-Label Classificationcited by 126
- 2022UIU-Net: U-Net in U-Net for Infrared Small Object Detectioncited by 124
- 2021Vision Permutator: A Permutable MLP-Like Architecture for Visual Recognitioncited by 103
- 2021AS-MLP: An Axial Shifted MLP Architecture for Visioncited by 101
- 2021Mixed Transformer U-Net For Medical Image Segmentationcited by 95
- 2021S2-MLP: Spatial-Shift MLP Architecture for Visioncited by 83
- 2021Is Attention Better Than Matrix Decomposition?cited by 75
38 more
- 2024OMG-Seg: Is One Model Good Enough For All Segmentation?cited by 73
- 2023Efficient Region-Aware Neural Radiance Fields for High-Fidelity Talking Portrait Synthesiscited by 72
- 2022Delving into Masked Autoencoders for Multi-Label Thorax Disease Classificationcited by 65
- 2021Are we ready for a new paradigm shift? A Survey on Visual Deep MLPcited by 63
- 2021On the Connection between Local Attention and Dynamic Depth-wise Convolutioncited by 61
- 2021An Image Patch is a Wave: Phase-Aware Vision MLPcited by 61
- 2022MALUNet: A Multi-Attention and Light-weight UNet for Skin Lesion Segmentationcited by 59
- 2024A Survey on Transformer Compressioncited by 44
- 2021Sparse MLP for Image Recognition: Is Self-Attention Really Necessary?cited by 38
- 2022SimA: Simple Softmax-free Attention for Vision Transformerscited by 32
- 2022RTFormer: Efficient Design for Real-Time Semantic Segmentation with Transformercited by 31
- 2021TransLoc3D : Point Cloud based Large-scale Place Recognition using Adaptive Receptive Fieldscited by 29
- 2022Eliminating Gradient Conflict in Reference-based Line-Art Colorizationcited by 25
- 2024DGR-MIL: Exploring Diverse Global Representation in Multiple Instance Learning for Whole Slide Image Classificationcited by 25
- 2021S2-MLPv2: Improved Spatial-Shift MLP Architecture for Visioncited by 24
- 2021Deep Instance Segmentation with Automotive Radar Detection Pointscited by 22
- 2023SCTNet: Single-Branch CNN with Transformer Semantic Information for Real-Time Segmentationcited by 22
- 2024AUCSeg: AUC-oriented Pixel-level Long-tail Semantic Segmentationcited by 18
- 2025Vision-Language Modeling Meets Remote Sensing: Models, Datasets and Perspectivescited by 18
- 2023PanGu-π: Enhancing Language Model Architectures via Nonlinearity Compensationcited by 17
- 2021Rethinking Token-Mixing MLP for MLP-based Vision Backbonecited by 15
- 2023Urban Region Representation Learning with Attentive Fusioncited by 12
- 2023All4One: Symbiotic Neighbour Contrastive Learning via Self-Attention and Redundancy Reductioncited by 11
- 2023CrossLoc3D: Aerial-Ground Cross-Source 3D Place Recognitioncited by 10
- 2022Softmax-free Linear Transformerscited by 9
- 2022Interpretable CNN-Multilevel Attention Transformer for Rapid Recognition of Pneumonia from Chest X-Ray Imagescited by 8
- 2021Can Attention Enable MLPs To Catch Up With CNNs?cited by 7
- 2022Excavating RoI Attention for Underwater Object Detectioncited by 7
- 2023Discrepancy-Guided Reconstruction Learning for Image Forgery Detectioncited by 7
- 2023Emotional Talking Head Generation based on Memory-Sharing and Attention-Augmented Networkscited by 7
- 2024SERNet-Former: Semantic Segmentation by Efficient Residual Network with Attention-Boosting Gates and Attention-Fusion Networkscited by 7
- 2024SegSTRONG-C: Segmenting Surgical Tools Robustly On Non-adversarial Generated Corruptions -- An EndoVis'24 Challengecited by 7
- 2021Sampling Equivariant Self-attention Networks for Object Detection in Aerial Imagescited by 6
- 2022Real-World Graph Convolution Networks (RW-GCNs) for Action Recognition in Smart Video Surveillancecited by 6
- 2022EMA-VIO: Deep Visual-Inertial Odometry with External Memory Attentioncited by 6
- 2023Fast-StrucTexT: An Efficient Hourglass Transformer with Modality-guided Dynamic Token Merge for Document Understandingcited by 6
- 2024FSC: Few-point Shape Completioncited by 6
- 2025Context-CrackNet: A Context-Aware Framework for Precise Segmentation of Tiny Cracks in Pavement imagescited by 6
50 most cited of 109 All 109 (JSON)
- 2026MEGA-CL: A Molecular Foundation Model for Generalizable ADMET Prediction through Graph External Attention and Contrastive Learning27 Jul 2026
- 2026Talking Head Synthesis with Facial Landmark Guidance via 3D Gaussian Splatting16 Jul 2026
- 2026GMBFormer: An NDVI-Guided Global Memory Bank Transformer for Urban Green-Space Extraction from Ultra-High-Resolution Imagery4 Jun 2026
- 2026Large Models for Battery Prognostics and Health Management: A Review and Future Roadmap27 May 2026
- 2026ITS-Mina: A Harris Hawks Optimization-Based All-MLP Framework with Iterative Refinement and External Attention for Multivariate Time Series Forecasting30 Apr 2026
- 2026DCP-CLIP:A Coarse-to-Fine Framework for Open-Vocabulary Semantic Segmentation with Dual Interaction14 Mar 2026
- 2026Neural Dynamics Self-Attention for Spiking Transformers9 Mar 2026
- 2026Decision MetaMamba: Enhancing Selective SSM in Offline RL with Heterogeneous Sequence Mixing23 Feb 2026
- 2026MixTTE: Multi-Level Mixture-of-Experts for Scalable and Adaptive Travel Time Estimation6 Jan 2026
- 2026MAFS: Multi-head Attention Feature Selection for High-Dimensional Data via Deep Fusion of Filter Methods6 Jan 2026
- 2025Effective Attention-Guided Multi-Scale Medical Network for Skin Lesion Segmentation8 Dec 2025
- 2025Lightweight Deep Unfolding Networks with Enhanced Robustness for Infrared Small Target Detection10 Sep 2025
38 more
- 2025FW-GAN: Frequency-Driven Handwriting Synthesis with Wave-Modulated MLP Generator28 Aug 2025
- 2025HM-Talker: Hybrid Motion Modeling for High-Fidelity Talking Head Synthesis14 Aug 2025
- 2025M2DAO-Talker: Harmonizing Multi-granular Motion Decoupling and Alternating Optimization for Talking-head Generation11 Jul 2025
- 2025Ensemble-Based Survival Models with the Self-Attended Beran Estimator Predictions9 Jun 2025
- 2025Vision-Language Modeling Meets Remote Sensing: Models, Datasets and Perspectives20 May 2025
- 2025From Large to Super-Tiny: End-to-End Optimization for Cost-Efficient LLMs18 Apr 2025
- 2025MSSFC-Net:Enhancing Building Interpretation with Multi-Scale Spatial-Spectral Feature Collaboration1 Apr 2025
- 2025Quantum Complex-Valued Self-Attention Model24 Mar 2025
- 2025Is Discretization Fusion All You Need for Collaborative Perception?18 Mar 2025
- 2025Lightweight yet Efficient: An External Attentive Graph Convolutional Network with Positional Prompts for Sequential Recommendation21 Feb 2025
- 2025Context-CrackNet: A Context-Aware Framework for Precise Segmentation of Tiny Cracks in Pavement images24 Jan 2025
- 2025Threshold Attention Network for Semantic Segmentation of Remote Sensing Images14 Jan 2025
- 2024Aerial Flood Scene Classification Using Fine-Tuned Attention-based Architecture for Flood-Prone Countries in South Asia31 Oct 2024
- 2024Fusion-then-Distillation: Toward Cross-modal Positive Distillation for Domain Adaptive 3D Semantic Segmentation25 Oct 2024
- 2024Decoding Emotions: Unveiling Facial Expressions through Acoustic Sensing with Contrastive Attention1 Oct 2024
- 2024AUCSeg: AUC-oriented Pixel-level Long-tail Semantic Segmentation30 Sep 2024
- 2024EAViT: External Attention Vision Transformer for Audio Classification23 Aug 2024
- 2024Decision MetaMamba: Enhancing Selective SSM in Offline RL with Heterogeneous Sequence Mixing20 Aug 2024
- 2024ClickAttention: Click Region Similarity Guided Interactive Segmentation12 Aug 2024
- 2024SegSTRONG-C: Segmenting Surgical Tools Robustly On Non-adversarial Generated Corruptions -- An EndoVis'24 Challenge16 Jul 2024
- 2024DGR-MIL: Exploring Diverse Global Representation in Multiple Instance Learning for Whole Slide Image Classification4 Jul 2024
- 2024Graph External Attention Enhanced Transformer31 May 2024
- 2024AKBR: Learning Adaptive Kernel-based Representations for Graph Classification24 Mar 2024
- 2024FSC: Few-point Shape Completion12 Mar 2024
- 2024A Survey on Transformer Compression5 Feb 2024
- 2024SERNet-Former: Semantic Segmentation by Efficient Residual Network with Attention-Boosting Gates and Attention-Fusion Networks28 Jan 2024
- 2024OMG-Seg: Is One Model Good Enough For All Segmentation?18 Jan 2024
- 2024Learning Generalizable Models via Disentangling Spurious and Enhancing Potential Correlations11 Jan 2024
- 2023SCTNet: Single-Branch CNN with Transformer Semantic Information for Real-Time Segmentation28 Dec 2023
- 2023PanGu-π: Enhancing Language Model Architectures via Nonlinearity Compensation27 Dec 2023
- 2023SLS4D: Sparse Latent Space for 4D Novel View Synthesis15 Dec 2023
- 2023Urban Region Representation Learning with Attentive Fusion7 Dec 2023
- 2023Attributes Grouping and Mining Hashing for Fine-Grained Image Retrieval10 Nov 2023
- 2023Bilateral Network with Residual U-blocks and Dual-Guided Attention for Real-time Semantic Segmentation31 Oct 2023
- 2023Efficient Pyramid Channel Attention Network for Pathological Myopia Recognition17 Sep 2023
- 2023Dynamic Spectrum Mixer for Visual Recognition13 Sep 2023
- 2023Robust-MBDL: A Robust Multi-branch Deep Learning Based Model for Remaining Useful Life Prediction and Operational Condition Identification of Rotating Machines12 Sep 2023
- 2023Real-time Automatic M-mode Echocardiography Measurement with Panel Attention from Local-to-Global Pixels15 Aug 2023
50 newest of 109 All 109 (JSON)
- 2022SegNeXt: Rethinking Convolutional Attention Design for Semantic Segmentationcited by 252
- 2021Attention Mechanisms in Computer Vision: A Surveycited by 232
- 2021ViTAE: Vision Transformer Advanced by Exploring Intrinsic Inductive Biascited by 216
- 2022Visual Attention Networkcited by 210
- 2021CycleMLP: A MLP-like Architecture for Dense Predictioncited by 126
- 2021Query2Label: A Simple Transformer Way to Multi-Label Classificationcited by 126
- 2022UIU-Net: U-Net in U-Net for Infrared Small Object Detectioncited by 124
- 2021Vision Permutator: A Permutable MLP-Like Architecture for Visual Recognitioncited by 103
- 2021AS-MLP: An Axial Shifted MLP Architecture for Visioncited by 101
- 2021Mixed Transformer U-Net For Medical Image Segmentationcited by 95
- 2021S2-MLP: Spatial-Shift MLP Architecture for Visioncited by 83
- 2021Is Attention Better Than Matrix Decomposition?cited by 75
12 most cited of 105 All 105 (JSON)
- 2026MEGA-CL: A Molecular Foundation Model for Generalizable ADMET Prediction through Graph External Attention and Contrastive Learning27 Jul 2026
- 2026Talking Head Synthesis with Facial Landmark Guidance via 3D Gaussian Splatting16 Jul 2026
- 2026GMBFormer: An NDVI-Guided Global Memory Bank Transformer for Urban Green-Space Extraction from Ultra-High-Resolution Imagery4 Jun 2026
- 2026Large Models for Battery Prognostics and Health Management: A Review and Future Roadmap27 May 2026
- 2026ITS-Mina: A Harris Hawks Optimization-Based All-MLP Framework with Iterative Refinement and External Attention for Multivariate Time Series Forecasting30 Apr 2026
- 2026DCP-CLIP:A Coarse-to-Fine Framework for Open-Vocabulary Semantic Segmentation with Dual Interaction14 Mar 2026
- 2026Neural Dynamics Self-Attention for Spiking Transformers9 Mar 2026
- 2026MAFS: Multi-head Attention Feature Selection for High-Dimensional Data via Deep Fusion of Filter Methods6 Jan 2026
- 2025Effective Attention-Guided Multi-Scale Medical Network for Skin Lesion Segmentation8 Dec 2025
- 2025Lightweight Deep Unfolding Networks with Enhanced Robustness for Infrared Small Target Detection10 Sep 2025
- 2025FW-GAN: Frequency-Driven Handwriting Synthesis with Wave-Modulated MLP Generator28 Aug 2025
- 2025HM-Talker: Hybrid Motion Modeling for High-Fidelity Talking Head Synthesis14 Aug 2025
12 newest of 105 All 105 (JSON)