Infinite-Width Limit of a Single Attention Layer: Analysis via Tensor Programs
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
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2023GPT-4 Technical Reportcited by 18,396
- 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,621
- 2023A Survey of Large Language Modelscited by 2,576
- 2017Deep Neural Networks as Gaussian Processescited by 622
- 2018A Mean Field View of the Landscape of Two-Layers Neural Networkscited by 466
- 2018Gaussian Process Behaviour in Wide Deep Neural Networkscited by 317
- 2016Exponential expressivity in deep neural networks through transient chaoscited by 261
- 2016Deep Information Propagationcited by 195
- 2018Bayesian Deep Convolutional Networks with Many Channels are Gaussian Processescited by 167
- 2019Tensor Programs I: Wide Feedforward or Recurrent Neural Networks of Any Architecture are Gaussian Processescited by 151
19 more
- 2019Scaling Limits of Wide Neural Networks with Weight Sharing: Gaussian Process Behavior, Gradient Independence, and Neural Tangent Kernel Derivationcited by 149
- 2020Tensor Programs II: Neural Tangent Kernel for Any Architecturecited by 143
- 2016Toward Deeper Understanding of Neural Networks: The Power of Initialization and a Dual View on Expressivitycited by 138
- 2020Infinite attention: NNGP and NTK for deep attention networkscited by 121
- 2023Tensor Programs VI: Feature Learning in Infinite-Depth Neural Networkscited by 97
- 2017Mean Field Residual Networks: On the Edge of Chaoscited by 83
- 2024Scaling Exponents Across Parameterizations and Optimizerscited by 76
- 2019A Mean Field Theory of Batch Normalizationcited by 58
- 2021Tensor Programs IIb: Architectural Universality of Neural Tangent Kernel Training Dynamicscited by 57
- 2020Tensor Programs III: Neural Matrix Lawscited by 49
- 2023The Shaped Transformer: Attention Models in the Infinite Depth-and-Width Limitcited by 47
- 2018Dynamical Isometry and a Mean Field Theory of RNNs: Gating Enables Signal Propagation in Recurrent Neural Networkscited by 45
- 2024Infinite Limits of Multi-head Transformer Dynamicscited by 39
- 2023Tensor Programs IVb: Adaptive Optimization in the Infinite-Width Limitcited by 38
- 2024Geometric Dynamics of Signal Propagation Predict Trainability of Transformerscited by 24
- 2023Effective Theory of Transformers at Initializationcited by 21
- 2020Wide Neural Networks with Bottlenecks are Deep Gaussian Processescited by 20
- 2023Wide Neural Networks as Gaussian Processes: Lessons from Deep Equilibrium Modelscited by 14
- 2023Beyond IID weights: sparse and low-rank deep Neural Networks are also Gaussian Processescited by 3
Built on by
Citing papers per year: 2025: 1; 2026: 4.
5 papers.
- 2025Gaussian Equivalence for Self-Attention: Asymptotic Spectral Analysis of Attention Matrixcited by 1
- 2026Quantitative Gaussian-Process limits of Tensor Programscited by 1
- 2026Neural Network Quantum Field Theory from Transformer Architecturescited by 0
- 2026Linearized Attention Cannot Enter the Kernel Regime at Any Practical Widthcited by 0
- 2026A Unified Framework for Critical Scaling of Inverse Temperature in Self-Attentioncited by 0
- 2026Quantitative Gaussian-Process limits of Tensor Programs7 Jul 2026
- 2026A Unified Framework for Critical Scaling of Inverse Temperature in Self-Attention12 May 2026
- 2026Linearized Attention Cannot Enter the Kernel Regime at Any Practical Width13 Mar 2026
- 2026Neural Network Quantum Field Theory from Transformer Architectures10 Feb 2026
- 2025Gaussian Equivalence for Self-Attention: Asymptotic Spectral Analysis of Attention Matrix8 Oct 2025