mlsanityData to 14 Oct 2026

Rectifying Magnitude Neglect in Linear Attention

arXiv 2507.00698 ↗First posted 1 Jul 2025cs.CVcited by 16

Not on the map. Why?

Abstract (arXiv)

As the core operator of Transformers, Softmax Attention exhibits excellent global modeling capabilities. However, its quadratic complexity limits its applicability to vision tasks. In contrast, Linear Attention shares a similar formulation with Softmax Attention while achieving linear complexity, enabling efficient global information modeling. Nevertheless, Linear Attention suffers from a significant performance degradation compared to standard Softmax Attention. In this paper, we analyze the underlying causes of this issue based on the formulation of Linear Attention. We find that, unlike Softmax Attention, Linear Attention entirely disregards the magnitude information of the Query. This prevents the attention score distribution from dynamically adapting as the Query scales. As a result, despite its structural similarity to Softmax Attention, Linear Attention exhibits a significantly different attention score distribution. Based on this observation, we propose Magnitude-Aware Linear Attention (MALA), which modifies the computation of Linear Attention to fully incorporate the Query's magnitude. This adjustment allows MALA to generate an attention score distribution that closely resembles Softmax Attention while exhibiting a more well-balanced structure. We evaluate the effectiveness of MALA on multiple tasks, including image classification, object detection, instance segmentation, semantic segmentation, natural language processing, speech recognition, and image generation. Our MALA achieves strong results on all of these tasks. Code will be available at https://github.com/qhfan/MALA

Key facts. Cited by 16 papers in the map (data through 14 Oct 2026). Builds on 52 of its 59 references that are in the map. First posted on arXiv 1 Jul 2025.

Builds on

52 of 59 references.

References · 52

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  4. 2017Mask R-CNNcited by 7,277
  5. 2022Scalable Diffusion Models with Transformerscited by 6,054
  6. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  7. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  8. 2022A ConvNet for the 2020scited by 3,579
  9. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
  10. 2020Conformer: Convolution-augmented Transformer for Speech Recognitioncited by 1,863
  11. 2017Cascade R-CNN: Delving into High Quality Object Detectioncited by 1,276
  12. 2018Unified Perceptual Parsing for Scene Understandingcited by 1,271
38 more
  1. 2016Deep Networks with Stochastic Depthcited by 979
  2. 2024VMamba: Visual State Space Modelcited by 969
  3. 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 751
  4. 2019Panoptic Feature Pyramid Networkscited by 645
  5. 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 527
  6. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
  7. 2022InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutionscited by 482
  8. 2018Efficient Attention: Attention with Linear Complexitiescited by 368
  9. 2021CMT: Convolutional Neural Networks Meet Vision Transformerscited by 310
  10. 2022Neighborhood Attention Transformercited by 239
  11. 2022Visual Attention Networkcited by 210
  12. 2022UniFormer: Unified Transformer for Efficient Spatiotemporal Representation Learningcited by 184
  13. 2022DaViT: Dual Attention Vision Transformerscited by 175
  14. 2023FLatten Transformer: Vision Transformer using Focused Linear Attentioncited by 171
  15. 2023BiFormer: Vision Transformer with Bi-Level Routing Attentioncited by 151
  16. 2021MPViT: Multi-Path Vision Transformer for Dense Predictioncited by 122
  17. 2022HorNet: Efficient High-Order Spatial Interactions with Recursive Gated Convolutionscited by 103
  18. 2024Demystify Mamba in Vision: A Linear Attention Perspectivecited by 102
  19. 2022Inception Transformercited by 99
  20. 2022Global Context Vision Transformerscited by 98
  21. 2022The Devil in Linear Transformercited by 98
  22. 2023RMT: Retentive Networks Meet Vision Transformerscited by 68
  23. 2024Multi-Scale VMamba: Hierarchy in Hierarchy Visual State Space Modelcited by 62
  24. 2022MogaNet: Multi-order Gated Aggregation Networkcited by 59
  25. 2024DiG: Scalable and Efficient Diffusion Models with Gated Linear Attentioncited by 56
  26. 2022Hydra Attention: Efficient Attention with Many Headscited by 55
  27. 2023Scale-Aware Modulation Meet Transformercited by 49
  28. 2024Bridging the Divide: Reconsidering Softmax and Linear Attentioncited by 48
  29. 2022Vision Transformer with Super Token Samplingcited by 44
  30. 2024Breaking the Low-Rank Dilemma of Linear Attentioncited by 31
  31. 2022Castling-ViT: Compressing Self-Attention via Switching Towards Linear-Angular Attention at Vision Transformer Inferencecited by 28
  32. 2023Lightweight Vision Transformer with Bidirectional Interactioncited by 25
  33. 2024Learning Correlation Structures for Vision Transformerscited by 15
  34. 2022Dynamic Group Transformer: A General Vision Transformer Backbone with Dynamic Group Attentioncited by 14
  35. 2024DiC: Rethinking Conv3x3 Designs in Diffusion Modelscited by 14
  36. 2022Softmax-free Linear Transformerscited by 9
  37. 2025DiCo: Revitalizing ConvNets for Scalable and Efficient Diffusion Modelingcited by 6
  38. 2023Rethinking Local Perception in Lightweight Vision Transformercited by 5

50 most cited of 52 All 52 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 5; 2026: 11.

16 papers.

Sort:

By area:

  1. 2026FlashPrefill: Instantaneous Pattern Discovery and Thresholding for Ultra-Fast Long-Context Prefillingcited by 9
  2. 2026MHLA: Restoring Expressivity of Linear Attention via Token-Level Multi-Headcited by 7
  3. 2025TimeViper: A Hybrid Mamba-Transformer Vision-Language Model for Efficient Long Video Understandingcited by 4
  4. 2026STILL: Selecting Tokens for Intra-Layer Hybrid Attention to Linearize LLMscited by 4
  5. 2025SAGA: Selective Adaptive Gating for Efficient and Expressive Linear Attentioncited by 3
  6. 2026VMonarch: Efficient Video Diffusion Transformers with Structured Attentioncited by 3
  7. 2026UniPrefill: Universal Long-Context Prefill Acceleration via Block-wise Dynamic Sparsificationcited by 2
  8. 2026FlashPrefill V2: Block-Sparse Prefill Attention for Long-Context LLM Servingcited by 2
  9. 2026Softmax Linear Attention: Reclaiming Global Competitioncited by 1
  10. 2026Efficient and High-Quality Depth Estimation via Pixel-Space Diffusion with Linear Attentioncited by 1
  11. 2025Conditional Diffusion Modeling with Attention for Probabilistic Battery Capacity Prediction under Real-World Conditioncited by 0
  12. 2025MPCM-Net: Multi-scale network integrates partial attention convolution with Mamba for ground-based cloud image segmentationcited by 0
4 more
  1. 2025IMSE: Efficient U-Net-based Speech Enhancement using Inception Depthwise Convolution and Amplitude-Aware Linear Attentioncited by 0
  2. 2026LINA: Linear Autoregressive Image Generative Models with Continuous Tokenscited by 0
  3. 2026MirrorLA: Reflecting Feature Map for Vision Linear Attentioncited by 0
  4. 2026SOLAR: SVD-Optimized Lifelong Attention for Recommendationcited by 0