SEMA: a Scalable and Efficient Mamba like Attention via Token Localization and Averaging
On the map: State-space sequence models (S4, Mamba) → Vision Mamba backbones
Abstract (arXiv)
Attention is the critical component of a transformer. Yet the quadratic computational complexity of vanilla full attention in the input size and the inability of its linear attention variant to focus have been challenges for computer vision tasks. We provide a mathematical definition of generalized attention and formulate both vanilla softmax attention and linear attention within the general framework. We prove that generalized attention disperses, that is, as the number of keys tends to infinity, the query assigns equal weights to all keys. Motivated by the dispersion property and recent development of Mamba form of attention, we design Scalable and Efficient Mamba like Attention (SEMA) which utilizes token localization to avoid dispersion and maintain focusing, complemented by theoretically consistent arithmetic averaging to capture global aspect of attention. We support our approach on Imagenet-1k where classification results show that SEMA is a scalable and effective alternative beyond linear attention, outperforming recent vision Mamba models on increasingly larger scales of images at similar model parameter sizes.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Vision Mamba backbones, one of 10 directions in State-space sequence models (S4, Mamba). Builds on 32 of its 43 references that are in the map. First posted on arXiv 10 Jun 2025.
Builds on
32 of 43 references.
Closest ancestors · 4
Same direction, newest first
- 2025DefMamba: Deformable Visual State Space Model8 Apr
- 2024Demystify Mamba in Vision: A Linear Attention Perspective26 May
- 2024MambaOut: Do We Really Need Mamba for Vision?13 May
- 2024LocalMamba: Visual State Space Model with Windowed Selective Scan14 Mar
Other references · 28
- 2017Attention Is All You Needcited by 60,361
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2022A ConvNet for the 2020scited by 3,579
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,269
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
16 more
- 2018Unified Perceptual Parsing for Scene Understandingcited by 1,271
- 2017Random Erasing Data Augmentationcited by 1,239
- 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,026
- 2024VMamba: Visual State Space Modelcited by 969
- 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 751
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 717
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 527
- 2022Neighborhood Attention Transformercited by 239
- 2022Visual Attention Networkcited by 210
- 2023FLatten Transformer: Vision Transformer using Focused Linear Attentioncited by 171
- 2019Do Massively Pretrained Language Models Make Better Storytellers?cited by 90
- 2024Bridging the Divide: Reconsidering Softmax and Linear Attentioncited by 48
- 2024Softmax is not Enough (for Sharp Size Generalisation)cited by 46
- 2022MixFormer: Mixing Features across Windows and Dimensionscited by 43
- 2023The Multi-modality Cell Segmentation Challenge: Towards Universal Solutionscited by 39
- 2020Linear Attention Mechanism: An Efficient Attention for Semantic Segmentationcited by 21
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026VideoSEMA: a scalable and efficient Mamba-like attention for video understanding
- 2026USEMA: a Scalable Efficient Mamba Like Attention for Medical Image Segmentation
- 2024The Hidden Attention of Mamba Models
- 2025A2Mamba: Attention-augmented State Space Models for Visual Recognition
- 2025A Separable Self-attention Inspired by the State Space Model for Computer Vision
- 2025RNN as Linear Transformer: A Closer Investigation into Representational Potentials of Visual Mamba Models
- 2024LaMamba-Diff: Linear-Time High-Fidelity Diffusion Models Based on Local Attention and Mamba
- 2025Visual Attention Exploration in Vision-Based Mamba Models