Norm×Direction: Restoring the Missing Query Norm in Vision Linear Attention
Not on the map. Why?
Abstract (arXiv)
Linear attention mitigates the quadratic complexity of softmax attention but suffers from a critical loss of expressiveness. We identify two primary causes: (1) The normalization operation cancels the query norm, which breaks the correlation between a query's norm and the spikiness (entropy) of the attention distribution as in softmax attention. (2) Standard techniques for enforcing non-negativity cause destructive information loss by nullifying valid inner-product interactions. To address these challenges, we introduce NaLaFormer, a novel linear attention mechanism built upon a norm×direction (ND) decomposition of the query and key vectors. We leverage each component to solve a distinct problem: The query norm is injected into our kernel to create a query-norm-aware map that restores the attention distribution's spikiness. The direction vectors are processed by a geometric, cosine-based similarity metric that guarantees non-negativity while preserving the rich, fine-grained information of the inner product. We validate NaLaFormer through a comprehensive multi-modal evaluation, where it sets new state-of-the-art benchmarks for linear attention. Our model achieves up to a 7.5% accuracy gain on ImageNet-1K and a 4.7% mIoU improvement on ADE20K over comparable baselines. It demonstrates profound efficiency, reducing peak memory by a transformative 92.3% in token-intensive super-resolution tasks (70K+ tokens). NaLaFormer's versatility is further confirmed as it surpasses strong baselines like Mamba on common-sense reasoning and sets a new state-of-the-art on the Long Range Arena (LRA) benchmark. Code is available at https://github.com/ZacharyMeng/NaLaFormer .
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 79 of its 99 references that are in the map. First posted on arXiv 26 Jun 2025.
Builds on
79 of 99 references.
References · 79
- 2017Attention Is All You Needcited by 59,932
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2017Mask R-CNNcited by 7,259
- 2022Scalable Diffusion Models with Transformerscited by 5,931
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
38 more
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,063
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
- 2024VMamba: Visual State Space Modelcited by 955
- 2015Accurate Image Super-Resolution Using Very Deep Convolutional Networkscited by 902
- 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 749
- 2024SiT: Exploring Flow and Diffusion-based Generative Models with Scalable Interpolant Transformerscited by 707
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
- 2023Scaling Vision Transformers to 22 Billion Parameterscited by 690
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
- 2022InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutionscited by 479
- 2021Intriguing Properties of Vision Transformerscited by 446
- 2021Conditional Positional Encodings for Vision Transformerscited by 402
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
- 2018Efficient Attention: Attention with Linear Complexitiescited by 366
- 2021CMT: Convolutional Neural Networks Meet Vision Transformerscited by 310
- 2022SegNeXt: Rethinking Convolutional Attention Design for Semantic Segmentationcited by 252
- 2017MemNet: A Persistent Memory Network for Image Restorationcited by 244
- 2024LocalMamba: Visual State Space Model with Windowed Selective Scancited by 235
- 2017Learning a Single Convolutional Super-Resolution Network for Multiple Degradationscited by 227
- 2022cosFormer: Rethinking Softmax in Attentioncited by 212
- 2022Visual Attention Networkcited by 210
- 2023FLatten Transformer: Vision Transformer using Focused Linear Attentioncited by 170
- 2025MiniMax-01: Scaling Foundation Models with Lightning Attentioncited by 157
- 2019Feedback Network for Image Super-Resolutioncited by 155
- 2018Online normalizer calculation for softmaxcited by 154
- 2021Transformer for Single Image Super-Resolutioncited by 150
- 2024EfficientVMamba: Atrous Selective Scan for Light Weight Visual Mambacited by 146
- 2024MambaOut: Do We Really Need Mamba for Vision?cited by 142
- 2021MPViT: Multi-Path Vision Transformer for Dense Predictioncited by 122
- 2024The Hedgehog & the Porcupine: Expressive Linear Attentions with Softmax Mimicrycited by 119
50 most cited of 79 All 79 (JSON)
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2024Don't Miss the Forest for the Trees: Attentional Vision Calibration for Large Vision Language Models
- 2025Vision Transformers Don't Need Trained Registers
- 2025IKOD: Mitigating Visual Attention Degradation in Large Vision-Language Models
- 2025Instruction-Aligned Visual Attention for Mitigating Hallucinations in Large Vision-Language Models
- 2025Attentive Convolution: Unifying the Expressivity of Self-Attention with Convolutional Efficiency
- 2025vAttention: Verified Sparse Attention
- 2026The Diffusion-Attention Connection
- 2026Norm or Direction? Decoding Vision Mambas for High-Resolution Vision