mlsanityData to 7 Oct 2026

Softmax as Linear Attention in the Large-Prompt Regime: a Measure-based Perspective

arXiv 2512.11784 ↗First posted 12 Dec 2025cs.LG stat.MLcited by 3

Not on the map. Why?

Abstract (arXiv)

Softmax attention is a central component of transformer architectures, yet its nonlinear structure poses significant challenges for theoretical analysis. We develop a unified, measure-based framework for studying single-layer softmax attention under both finite and infinite prompts. For i.i.d. Gaussian inputs, we lean on the fact that the softmax operator converges in the infinite-prompt limit to a linear operator acting on the underlying input-token measure. Building on this insight, we establish non-asymptotic concentration bounds for the output and gradient of softmax attention, quantifying how rapidly the finite-prompt model approaches its infinite-prompt counterpart, and prove that this concentration remains stable along the entire training trajectory in general in-context learning settings with sub-Gaussian tokens. In the case of in-context linear regression, we use the tractable infinite-prompt dynamics to analyze training at finite prompt length. Our results allow optimization analyses developed for linear attention to transfer directly to softmax attention when prompts are sufficiently long, showing that large-prompt softmax attention inherits the analytical structure of its linear counterpart. This, in turn, provides a principled and broadly applicable toolkit for studying the training dynamics and statistical behavior of softmax attention layers in large prompt regimes.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 31 of its 44 references that are in the map. First posted on arXiv 12 Dec 2025.

Builds on

31 of 44 references.

References · 31

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
  4. 2022Transformers learn in-context by gradient descentcited by 714
  5. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
  6. 2018A Mean Field View of the Landscape of Two-Layers Neural Networkscited by 463
  7. 2023Trained Transformers Learn Linear Models In-Contextcited by 331
  8. 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 303
  9. 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 274
  10. 2023One Step of Gradient Descent is Provably the Optimal In-Context Learner with One Layer of Linear Self-Attentioncited by 168
  11. 2023A mathematical perspective on Transformerscited by 160
  12. 2023Pretraining task diversity and the emergence of non-Bayesian in-context learning for regressioncited by 138
19 more
  1. 2021Sinkformers: Transformers with Doubly Stochastic Attentioncited by 136
  2. 2024The Evolution of Statistical Induction Heads: In-Context Learning Markov Chainscited by 115
  3. 2023In-Context Convergence of Transformerscited by 112
  4. 2023Linear attention is (maybe) all you need (to understand transformer optimization)cited by 97
  5. 2024Asymptotic theory of in-context learning by linear attentioncited by 54
  6. 2017Stochastic Particle Gradient Descent for Infinite Ensemblescited by 52
  7. 2025Training Dynamics of In-Context Learning in Linear Attentioncited by 44
  8. 2020A Mathematical Theory of Attentioncited by 43
  9. 2024Emergence of meta-stable clustering in mean-field transformer modelscited by 35
  10. 2025A Unified Perspective on the Dynamics of Deep Transformerscited by 30
  11. 2020A Functional Perspective on Learning Symmetric Functions with Neural Networkscited by 16
  12. 2021Gradient Descent on Infinitely Wide Neural Networks: Global Convergence and Generalizationcited by 15
  13. 2025Learning In-context n-grams with Transformers: Sub-n-grams Are Near-stationary Pointscited by 15
  14. 2018Stochastic Deep Networkscited by 13
  15. 2019Approximation capability of neural networks on spaces of probability measures and tree-structured domainscited by 9
  16. 2025In-Context Linear Regression Demystified: Training Dynamics and Mechanistic Interpretability of Multi-Head Softmax Attentioncited by 6
  17. 2025Statistical Advantage of Softmax Attention: Insights from Single-Location Regressioncited by 6
  18. 2025Token Sample Complexity of Attentioncited by 3
  19. 2025Softmax ≥ Linear: Transformers may learn to classify in-context by kernel gradient descentcited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.