mlsanityData to 14 Oct 2026

Customizing the Inductive Biases of Softmax Attention using Structured Matrices

arXiv 2509.07963 ↗First posted 9 Sep 2025cs.LGcited by 0

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  3. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  4. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
  5. 2020Longformer: The Long-Document Transformercited by 3,413
  6. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  7. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  8. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
  9. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
  10. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
  11. 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,026
  12. 2024Chronos: Learning the Language of Time Seriescited by 759
31 more
  1. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 715
  2. 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 554
  3. 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 499
  4. 2018Tune: A Research Platform for Distributed Model Selection and Trainingcited by 395
  5. 2024Titans: Learning to Memorize at Test Timecited by 328
  6. 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 216
  7. 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 208
  8. 2023Representational Strengths and Limitations of Transformerscited by 133
  9. 2021Scatterbrain: Unifying Sparse and Low-rank Attention Approximationcited by 130
  10. 2024The Hedgehog & the Porcupine: Expressive Linear Attentions with Softmax Mimicrycited by 120
  11. 2023A Spectral Condition for Feature Learningcited by 109
  12. 2022Global Context Vision Transformerscited by 98
  13. 2020Low-Rank Bottleneck in Multi-head Attention Modelscited by 89
  14. 2019Learning Fast Algorithms for Linear Transforms Using Butterfly Factorizationscited by 76
  15. 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 72
  16. 2021Combiner: Full Attention Transformer with Sparse Computation Costcited by 64
  17. 2023Non-Vacuous Generalization Bounds for Large Language Modelscited by 53
  18. 2021H-Transformer-1D: Fast One-Dimensional Hierarchical Attention for Sequencescited by 47
  19. 2024SLTrain: a sparse plus low-rank approach for parameter and memory efficient pretrainingcited by 45
  20. 2024Hydra: Bidirectional State Space Models Through Generalized Matrix Mixerscited by 44
  21. 2019BP-Transformer: Modelling Long-Range Context via Binary Partitioningcited by 38
  22. 2024Compute Better Spent: Replacing Dense Layers with Structured Matricescited by 28
  23. 2024Unlocking Tokens as Data Points for Generalization Bounds on Larger Language Modelscited by 25
  24. 2018Learning Compressed Transforms with Low Displacement Rankcited by 19
  25. 2024Towards Understanding Inductive Bias in Transformers: A View From Infinitycited by 13
  26. 2024Searching for Efficient Linear Layers over a Continuous Space of Structured Matricescited by 13
  27. 2024Structured Unrestricted-Rank Matrices for Parameter Efficient Fine-tuningcited by 5
  28. 2024On the Benefits of Rank in Attention Layerscited by 5
  29. 2025MSWA: Refining Local Attention with Multi-ScaleWindow Attentioncited by 5
  30. 2023Factor Fitting, Rank Allocation, and Partitioning in Multilevel Low Rank Matricescited by 2
  31. 2024Fitting Multilevel Factor Modelscited by 1

Built on by

Not cited yet.