mlsanityData to 14 Oct 2026

Infinite-Width Limit of a Single Attention Layer: Analysis via Tensor Programs

arXiv 2506.00846 ↗First posted 1 Jun 2025cs.LG stat.MLcited by 5

Not on the map. Why?

Abstract (arXiv)

In modern theoretical analyses of neural networks, the infinite-width limit is often invoked to justify Gaussian approximations of neuron preactivations (e.g., via neural network Gaussian processes or Tensor Programs). However, these Gaussian-based asymptotic theories have so far been unable to capture the behavior of attention layers, except under special regimes such as infinitely many heads or tailored scaling schemes. In this paper, leveraging the Tensor Programs framework, we rigorously identify the infinite-width limit distribution of variables within a single attention layer under realistic architectural dimensionality and standard 1/√n-scaling with n dimensionality. We derive the exact form of this limit law without resorting to infinite-head approximations or tailored scalings, demonstrating that it departs fundamentally from Gaussianity. This limiting distribution exhibits non-Gaussianity from a hierarchical structure, being Gaussian conditional on the random similarity scores. Numerical experiments validate our theoretical predictions, confirming the effectiveness of our theory at finite width and accurate description of finite-head attentions. Beyond characterizing a standalone attention layer, our findings lay the groundwork for developing a unified theory of deep Transformer architectures in the infinite-width regime.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 31 of its 47 references that are in the map. First posted on arXiv 1 Jun 2025.

Builds on

31 of 47 references.

References · 31

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2023GPT-4 Technical Reportcited by 18,396
  4. 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,621
  5. 2023A Survey of Large Language Modelscited by 2,576
  6. 2017Deep Neural Networks as Gaussian Processescited by 622
  7. 2018A Mean Field View of the Landscape of Two-Layers Neural Networkscited by 466
  8. 2018Gaussian Process Behaviour in Wide Deep Neural Networkscited by 317
  9. 2016Exponential expressivity in deep neural networks through transient chaoscited by 261
  10. 2016Deep Information Propagationcited by 195
  11. 2018Bayesian Deep Convolutional Networks with Many Channels are Gaussian Processescited by 167
  12. 2019Tensor Programs I: Wide Feedforward or Recurrent Neural Networks of Any Architecture are Gaussian Processescited by 151
19 more
  1. 2019Scaling Limits of Wide Neural Networks with Weight Sharing: Gaussian Process Behavior, Gradient Independence, and Neural Tangent Kernel Derivationcited by 149
  2. 2020Tensor Programs II: Neural Tangent Kernel for Any Architecturecited by 143
  3. 2016Toward Deeper Understanding of Neural Networks: The Power of Initialization and a Dual View on Expressivitycited by 138
  4. 2020Infinite attention: NNGP and NTK for deep attention networkscited by 121
  5. 2023Tensor Programs VI: Feature Learning in Infinite-Depth Neural Networkscited by 97
  6. 2017Mean Field Residual Networks: On the Edge of Chaoscited by 83
  7. 2024Scaling Exponents Across Parameterizations and Optimizerscited by 76
  8. 2019A Mean Field Theory of Batch Normalizationcited by 58
  9. 2021Tensor Programs IIb: Architectural Universality of Neural Tangent Kernel Training Dynamicscited by 57
  10. 2020Tensor Programs III: Neural Matrix Lawscited by 49
  11. 2023The Shaped Transformer: Attention Models in the Infinite Depth-and-Width Limitcited by 47
  12. 2018Dynamical Isometry and a Mean Field Theory of RNNs: Gating Enables Signal Propagation in Recurrent Neural Networkscited by 45
  13. 2024Infinite Limits of Multi-head Transformer Dynamicscited by 39
  14. 2023Tensor Programs IVb: Adaptive Optimization in the Infinite-Width Limitcited by 38
  15. 2024Geometric Dynamics of Signal Propagation Predict Trainability of Transformerscited by 24
  16. 2023Effective Theory of Transformers at Initializationcited by 21
  17. 2020Wide Neural Networks with Bottlenecks are Deep Gaussian Processescited by 20
  18. 2023Wide Neural Networks as Gaussian Processes: Lessons from Deep Equilibrium Modelscited by 14
  19. 2023Beyond IID weights: sparse and low-rank deep Neural Networks are also Gaussian Processescited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 4.

5 papers.