Customizing the Inductive Biases of Softmax Attention using Structured Matrices
Not on the map. Why?
Abstract (arXiv)
The core component of attention is the scoring function, which transforms the inputs into low-dimensional queries and keys and takes the dot product of each pair. While the low-dimensional projection improves efficiency, it causes information loss for certain tasks that have intrinsically high-dimensional inputs. Additionally, attention uses the same scoring function for all input pairs, without imposing a distance-dependent compute bias for neighboring tokens in the sequence. In this work, we address these shortcomings by proposing new scoring functions based on computationally efficient structured matrices with high ranks, including Block Tensor-Train (BTT) and contiguous Multi-Level Low Rank (MLR) matrices. On in-context regression tasks with high-dimensional inputs, our proposed scoring functions outperform standard attention for any fixed compute budget. On language modeling, a task that exhibits locality patterns, our MLR-based attention method achieves improved scaling laws compared to both standard attention and variants of sliding window attention. Additionally, we show that both BTT and MLR fall under a broader family of efficient structured matrices capable of encoding either full-rank or distance-dependent compute biases, thereby addressing significant shortcomings of standard attention. Finally, we show that MLR attention has promising results for long-range time-series forecasting.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 43 of its 52 references that are in the map. First posted on arXiv 9 Sep 2025.
Builds on
43 of 52 references.
References · 43
- 2017Attention Is All You Needcited by 60,361
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
- 2019Generating Long Sequences with Sparse Transformerscited by 1,546
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
- 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,026
- 2024Chronos: Learning the Language of Time Seriescited by 759
31 more
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 715
- 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 554
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 499
- 2018Tune: A Research Platform for Distributed Model Selection and Trainingcited by 395
- 2024Titans: Learning to Memorize at Test Timecited by 328
- 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 216
- 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 208
- 2023Representational Strengths and Limitations of Transformerscited by 133
- 2021Scatterbrain: Unifying Sparse and Low-rank Attention Approximationcited by 130
- 2024The Hedgehog & the Porcupine: Expressive Linear Attentions with Softmax Mimicrycited by 120
- 2023A Spectral Condition for Feature Learningcited by 109
- 2022Global Context Vision Transformerscited by 98
- 2020Low-Rank Bottleneck in Multi-head Attention Modelscited by 89
- 2019Learning Fast Algorithms for Linear Transforms Using Butterfly Factorizationscited by 76
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 72
- 2021Combiner: Full Attention Transformer with Sparse Computation Costcited by 64
- 2023Non-Vacuous Generalization Bounds for Large Language Modelscited by 53
- 2021H-Transformer-1D: Fast One-Dimensional Hierarchical Attention for Sequencescited by 47
- 2024SLTrain: a sparse plus low-rank approach for parameter and memory efficient pretrainingcited by 45
- 2024Hydra: Bidirectional State Space Models Through Generalized Matrix Mixerscited by 44
- 2019BP-Transformer: Modelling Long-Range Context via Binary Partitioningcited by 38
- 2024Compute Better Spent: Replacing Dense Layers with Structured Matricescited by 28
- 2024Unlocking Tokens as Data Points for Generalization Bounds on Larger Language Modelscited by 25
- 2018Learning Compressed Transforms with Low Displacement Rankcited by 19
- 2024Towards Understanding Inductive Bias in Transformers: A View From Infinitycited by 13
- 2024Searching for Efficient Linear Layers over a Continuous Space of Structured Matricescited by 13
- 2024Structured Unrestricted-Rank Matrices for Parameter Efficient Fine-tuningcited by 5
- 2024On the Benefits of Rank in Attention Layerscited by 5
- 2025MSWA: Refining Local Attention with Multi-ScaleWindow Attentioncited by 5
- 2023Factor Fitting, Rank Allocation, and Partitioning in Multilevel Low Rank Matricescited by 2
- 2024Fitting Multilevel Factor Modelscited by 1
Built on by
Not cited yet.