Spectral Conditioning of Attention Improves Transformer Performance
Not on the map. Why?
Abstract (arXiv)
We present a theoretical analysis of the Jacobian of an attention block within a transformer, showing that it is governed by the query, key, and value projections that define the attention mechanism. Leveraging this insight, we introduce a method that systematically alters the spectral properties of each attention layer to reduce the Jacobian's condition number, thereby improving the overall conditioning of the attention layers within a transformer network. We empirically show that this improved Jacobian conditioning translates to enhanced performance in practice. Our approach is simple, broadly applicable, and can be easily integrated as a drop-in replacement for a wide range of existing attention mechanisms. We validate its effectiveness across diverse transformer architectures and tasks, demonstrating consistent improvements in performance.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 30 of its 42 references that are in the map. First posted on arXiv 7 Mar 2026.
Builds on
30 of 42 references.
References · 30
- 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
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2017Mask R-CNNcited by 7,259
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,597
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
18 more
- 2021XCiT: Cross-Covariance Image Transformerscited by 335
- 2020Loss landscapes and optimization in over-parameterized non-linear systems and neural networkscited by 231
- 2022cosFormer: Rethinking Softmax in Attentioncited by 212
- 2022DaViT: Dual Attention Vision Transformerscited by 174
- 2021VOLO: Vision Outlooker for Visual Recognitioncited by 164
- 2023Stabilizing Transformer Training by Preventing Attention Entropy Collapsecited by 154
- 2022Cramming: Training a Language Model on a Single GPU in One Daycited by 81
- 2020Trajectron++: Dynamically-Feasible Trajectory Forecasting With Heterogeneous Datacited by 58
- 2025RandLoRA: Full-rank parameter-efficient fine-tuning of large modelscited by 34
- 2020A Deep Conditioning Treatment of Neural Networkscited by 15
- 2025Always Skip Attentioncited by 12
- 2025Towards Higher Effective Rank in Parameter-efficient Fine-tuning using Khatri--Rao Productcited by 10
- 2024Weight Conditioning for Smooth Optimization of Neural Networkscited by 9
- 2022On skip connections and normalisation layers in deep optimisationcited by 7
- 2025Cutting the Skip: Training Residual-Free Transformerscited by 7
- 2025Structured Initialization for Vision Transformerscited by 6
- 2025Leaner Transformers: More Heads, Less Depthcited by 5
- 2025Enhancing Transformers Through Conditioned Embedded Tokenscited by 3
Built on by
Citing papers per year: 2026: 3.
3 papers.