Two failure modes of deep transformers and how to avoid them: a unified theory of signal propagation at initialisation
Not on the map. Why?
Abstract (arXiv)
Finding the right initialisation for neural networks is crucial to ensure smooth training and good performance. In transformers, the wrong initialisation can lead to one of two failure modes of self-attention layers: rank collapse, where all tokens collapse into similar representations, and entropy collapse, where highly concentrated attention scores lead to training instability. While previous work has studied different scaling regimes for transformers, an asymptotically exact, down-to-the constant prescription for how to initialise transformers has so far been lacking. Here, we provide an analytical theory of signal propagation through deep transformers with self-attention, layer normalisation, skip connections and MLP. Our theory yields a simple algorithm to compute trainability diagrams that identify the correct choice of initialisation hyper-parameters for a given architecture. We overcome the key challenge, an exact treatment of the self-attention layer, by establishing a formal parallel with the Random Energy Model from statistical physics. We also analyse gradients in the backward path and determine the regime where gradients vanish at initialisation. We demonstrate the versatility of our framework through three case studies. Our theoretical framework gives a unified perspective on the two failure modes of self-attention and gives quantitative predictions on the scale of both weights and residual connections that guarantee smooth training.
Key facts. Cited by 17 papers in the map (data through 14 Oct 2026). Builds on 31 of its 44 references that are in the map. First posted on arXiv 30 May 2025.
Builds on
31 of 44 references.
References · 31
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2016Layer Normalizationcited by 5,669
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,611
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
- 2019Root Mean Square Layer Normalizationcited by 1,480
- 2020On Layer Normalization in the Transformer Architecturecited by 922
- 2018On Lazy Training in Differentiable Programmingcited by 675
- 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 449
- 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 419
- 2019Learning Deep Transformer Models for Machine Translationcited by 309
19 more
- 2019A Multiscale Visualization of Attention in the Transformer Modelcited by 292
- 2016Exponential expressivity in deep neural networks through transient chaoscited by 261
- 2020Feature Learning in Infinite-Width Neural Networkscited by 190
- 2022DeepNet: Scaling Transformers to 1,000 Layerscited by 178
- 2018Dynamical Isometry and a Mean Field Theory of CNNs: How to Train 10,000-Layer Vanilla Convolutional Neural Networkscited by 176
- 2023A mathematical perspective on Transformerscited by 164
- 2023Stabilizing Transformer Training by Preventing Attention Entropy Collapsecited by 161
- 2022Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapsecited by 141
- 2023The emergence of clusters in self-attention dynamicscited by 140
- 2018How to Start Training: The Effect of Initialization and Architecturecited by 109
- 2018Which Neural Net Architectures Give Rise To Exploding and Vanishing Gradients?cited by 94
- 2017Mean Field Residual Networks: On the Edge of Chaoscited by 83
- 2023The Shaped Transformer: Attention Models in the Infinite Depth-and-Width Limitcited by 47
- 2024Infinite Limits of Multi-head Transformer Dynamicscited by 39
- 2024Emergence of meta-stable clustering in mean-field transformer modelscited by 39
- 2025Quantitative Clustering in Mean-Field Transformer Modelscited by 26
- 2024Geometric Dynamics of Signal Propagation Predict Trainability of Transformerscited by 24
- 2023Effective Theory of Transformers at Initializationcited by 21
- 2021Critical Initialization of Wide and Deep Neural Networks through Partial Jacobians: General Theory and Applicationscited by 8
Built on by
Citing papers per year: 2025: 4; 2026: 13.
17 papers.
Sort:
- 2025The Mean-Field Dynamics of Transformerscited by 30
- 2025A multiscale analysis of mean-field transformers in the moderate interaction regimecited by 25
- 2025Critical attention scaling in long-context transformerscited by 20
- 2026Perceptrons and localization of attention's mean-field landscapecited by 8
- 2026Homogenized Transformerscited by 5
- 2026Scaling Limits of Long-Context Transformerscited by 3
- 2026Sinkhorn doubly stochastic attention rank decay analysiscited by 2
- 2025Gaussian Equivalence for Self-Attention: Asymptotic Spectral Analysis of Attention Matrixcited by 1
- 2026Subcritical Signal Propagation at Initialization in Normalization-Free Transformerscited by 1
- 2026Sink vs. diagonal patterns as mechanisms for attention switch and oversmoothing preventioncited by 1
- 2026Clustered Attractor Manifolds and Dynamical Condensation in Self-Attentioncited by 1
- 2026A Unified Framework for Critical Scaling of Inverse Temperature in Self-Attentioncited by 0
5 more
- 2026Analogies between Transformer Layers and Power Methodcited by 0
- 2026The Stability of Singular Distribution: A Spectral Perspective on the Two-Phase Dynamics of Language Model Pre-trainingcited by 0
- 2026Phase Space Attention:A Hairer Lift Circumvents the Single-Layer Induction Obstructioncited by 0
- 2026Pattern Formation in Transformerscited by 0
- 2026Force without transmission: a depth-induced rank collapse that no loss on the representation reopenscited by 0
- 2026Force without transmission: a depth-induced rank collapse that no loss on the representation reopens7 Oct 2026
- 2026Pattern Formation in Transformers29 Sep 2026
- 2026Phase Space Attention:A Hairer Lift Circumvents the Single-Layer Induction Obstruction26 Sep 2026
- 2026Clustered Attractor Manifolds and Dynamical Condensation in Self-Attention9 Aug 2026
- 2026The Stability of Singular Distribution: A Spectral Perspective on the Two-Phase Dynamics of Language Model Pre-training26 May 2026
- 2026Analogies between Transformer Layers and Power Method25 May 2026
- 2026A Unified Framework for Critical Scaling of Inverse Temperature in Self-Attention12 May 2026
- 2026Scaling Limits of Long-Context Transformers8 May 2026
- 2026Sink vs. diagonal patterns as mechanisms for attention switch and oversmoothing prevention8 May 2026
- 2026Subcritical Signal Propagation at Initialization in Normalization-Free Transformers13 Apr 2026
- 2026Sinkhorn doubly stochastic attention rank decay analysis9 Apr 2026
- 2026Homogenized Transformers2 Apr 2026
5 more
- 2026Perceptrons and localization of attention's mean-field landscape29 Jan 2026
- 2025The Mean-Field Dynamics of Transformers1 Dec 2025
- 2025Gaussian Equivalence for Self-Attention: Asymptotic Spectral Analysis of Attention Matrix8 Oct 2025
- 2025Critical attention scaling in long-context transformers7 Oct 2025
- 2025A multiscale analysis of mean-field transformers in the moderate interaction regime29 Sep 2025
- 2025The Mean-Field Dynamics of Transformerscited by 30
- 2025A multiscale analysis of mean-field transformers in the moderate interaction regimecited by 25
- 2025Critical attention scaling in long-context transformerscited by 20
- 2026Perceptrons and localization of attention's mean-field landscapecited by 8
- 2026Homogenized Transformerscited by 5
- 2026Scaling Limits of Long-Context Transformerscited by 3
- 2026Sinkhorn doubly stochastic attention rank decay analysiscited by 2
- 2025Gaussian Equivalence for Self-Attention: Asymptotic Spectral Analysis of Attention Matrixcited by 1
- 2026Subcritical Signal Propagation at Initialization in Normalization-Free Transformerscited by 1
- 2026Sink vs. diagonal patterns as mechanisms for attention switch and oversmoothing preventioncited by 1
- 2026Clustered Attractor Manifolds and Dynamical Condensation in Self-Attentioncited by 1
- 2026A Unified Framework for Critical Scaling of Inverse Temperature in Self-Attentioncited by 0
12 most cited of 17 All 17 (JSON)
- 2026Force without transmission: a depth-induced rank collapse that no loss on the representation reopens7 Oct 2026
- 2026Pattern Formation in Transformers29 Sep 2026
- 2026Phase Space Attention:A Hairer Lift Circumvents the Single-Layer Induction Obstruction26 Sep 2026
- 2026Clustered Attractor Manifolds and Dynamical Condensation in Self-Attention9 Aug 2026
- 2026The Stability of Singular Distribution: A Spectral Perspective on the Two-Phase Dynamics of Language Model Pre-training26 May 2026
- 2026Analogies between Transformer Layers and Power Method25 May 2026
- 2026A Unified Framework for Critical Scaling of Inverse Temperature in Self-Attention12 May 2026
- 2026Scaling Limits of Long-Context Transformers8 May 2026
- 2026Sink vs. diagonal patterns as mechanisms for attention switch and oversmoothing prevention8 May 2026
- 2026Subcritical Signal Propagation at Initialization in Normalization-Free Transformers13 Apr 2026
- 2026Sinkhorn doubly stochastic attention rank decay analysis9 Apr 2026
- 2026Homogenized Transformers2 Apr 2026
12 newest of 17 All 17 (JSON)