mlsanityData to 7 Oct 2026

Geometric Dynamics of Signal Propagation Predict Trainability of Transformers

arXiv 2403.02579 ↗First posted 5 Mar 2024cond-mat.dis-nn cs.LGcited by 24

Not on the map. Why?

Abstract (arXiv)

We investigate forward signal propagation and gradient back propagation in deep, randomly initialized transformers, yielding simple necessary and sufficient conditions on initialization hyperparameters that ensure trainability of deep transformers. Our approach treats the evolution of the representations of n tokens as they propagate through the transformer layers in terms of a discrete time dynamical system of n interacting particles. We derive simple update equations for the evolving geometry of this particle system, starting from a permutation symmetric simplex. Our update equations show that without MLP layers, this system will collapse to a line, consistent with prior work on rank collapse in transformers. However, unlike prior work, our evolution equations can quantitatively track particle geometry in the additional presence of nonlinear MLP layers, and it reveals an order-chaos phase transition as a function of initialization hyperparameters, like the strength of attentional and MLP residual connections and weight variances. In the ordered phase the particles are attractive and collapse to a line, while in the chaotic phase the particles are repulsive and converge to a regular n-simplex. We analytically derive two Lyapunov exponents: an angle exponent that governs departures from the edge of chaos in this particle system, and a gradient exponent that governs the rate of exponential growth or decay of backpropagated gradients. We show through experiments that, remarkably, the final test loss at the end of training is well predicted just by these two exponents at the beginning of training, and that the simultaneous vanishing of these two exponents yields a simple necessary and sufficient condition to achieve minimal test loss.

Key facts. Cited by 24 papers in the map (data through 7 Oct 2026). Builds on 20 of its 24 references that are in the map. First posted on arXiv 5 Mar 2024.

Builds on

20 of 24 references.

References · 20

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2021ViViT: A Video Vision Transformercited by 1,610
  5. 2021Transformers in Vision: A Surveycited by 1,009
  6. 2013Exact solutions to the nonlinear dynamics of learning in deep linear neural networkscited by 748
  7. 2020A Survey on Visual Transformercited by 653
  8. 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 411
  9. 2016Exponential expressivity in deep neural networks through transient chaoscited by 260
  10. 2023A mathematical perspective on Transformerscited by 160
  11. 2022Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapsecited by 136
  12. 2023The emergence of clusters in self-attention dynamicscited by 133
8 more
  1. 2017Resurrecting the sigmoid in deep learning through dynamical isometry: theory and practicecited by 132
  2. 2018The Emergence of Spectral Universality in Deep Networkscited by 74
  3. 2021Rapid training of deep neural networks without skip connections or normalization layers using Deep Kernel Shapingcited by 51
  4. 2023The Shaped Transformer: Attention Models in the Infinite Depth-and-Width Limitcited by 47
  5. 2023Simplifying Transformer Blockscited by 37
  6. 2023Effective Theory of Transformers at Initializationcited by 21
  7. 2021Critical Initialization of Wide and Deep Neural Networks through Partial Jacobians: General Theory and Applicationscited by 8
  8. 2022AutoInit: Automatic Initialization via Jacobian Tuningcited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 7; 2025: 8; 2026: 9.

24 papers.

Sort:

By area:

  1. 2024Dynamic metastability in the self-attention modelcited by 42
  2. 2024Infinite Limits of Multi-head Transformer Dynamicscited by 38
  3. 2024Emergence of meta-stable clustering in mean-field transformer modelscited by 35
  4. 2024Clustering in Causal Attention Maskingcited by 31
  5. 2024Measure-to-measure interpolation using Transformerscited by 28
  6. 2025The Mean-Field Dynamics of Transformerscited by 24
  7. 2025The Intrinsic Dimension of Prompts in Internal Representations of Large Language Modelscited by 17
  8. 2025Critical attention scaling in long-context transformerscited by 17
  9. 2025Two failure modes of deep transformers and how to avoid them: a unified theory of signal propagation at initialisationcited by 15
  10. 2025Normalization in Attention Dynamicscited by 9
  11. 2024Graph Neural Networks Do Not Always Oversmoothcited by 7
  12. 2026Perceptrons and localization of attention's mean-field landscapecited by 7
12 more
  1. 2025Infinite-Width Limit of a Single Attention Layer: Analysis via Tensor Programscited by 5
  2. 2026Quantifying Concentration Phenomena of Mean-Field Transformers in the Low-Temperature Regimecited by 4
  3. 2024Bilinear Sequence Regression: A Model for Learning from Long Sequences of High-dimensional Tokenscited by 3
  4. 2025Bridging the Dimensional Chasm: Uncover Layer-wise Dimensional Reduction in Transformers through Token Correlationcited by 3
  5. 2026Steering Dynamical Regimes of Diffusion Models by Breaking Detailed Balancecited by 3
  6. 2026NerVE: Nonlinear Eigenspectrum Dynamics in LLM Feed-Forward Networkscited by 3
  7. 2025Equivalent Linear Mappings of Large Language Modelscited by 2
  8. 2026YuriiFormer: A Suite of Nesterov-Accelerated Transformerscited by 2
  9. 2026How Controlling the Variance can Improve Training Stability of Sparsely Activated DNNs and CNNscited by 1
  10. 2026Subcritical Signal Propagation at Initialization in Normalization-Free Transformerscited by 1
  11. 2026A Unified Framework for Critical Scaling of Inverse Temperature in Self-Attentioncited by 0
  12. 2026Pattern Formation in Transformerscited by 0