Understanding the Difficulty of Training Transformers
Not on the map. Why?
Abstract (arXiv)
Transformers have proved effective in many NLP tasks. However, their training requires non-trivial efforts regarding designing cutting-edge optimizers and learning rate schedulers carefully (e.g., conventional SGD fails to train Transformers effectively). Our objective here is to understand textitwhat complicates Transformer training from both empirical and theoretical perspectives. Our analysis reveals that unbalanced gradients are not the root cause of the instability of training. Instead, we identify an amplification effect that influences training substantially -- for each layer in a multi-layer Transformer model, heavy dependency on its residual branch makes training unstable, since it amplifies small parameter perturbations (e.g., parameter updates) and results in significant disturbances in the model output. Yet we observe that a light dependency limits the model potential and leads to inferior trained models. Inspired by our analysis, we propose Admin (Adaptive model initialization) to stabilize stabilize the early stage's training and unleash its full potential in the late stage. Extensive experiments show that Admin is more stable, converges faster, and leads to better performance. Implementations are released at: https://github.com/LiyuanLucasLiu/Transforemr-Clinic.
Key facts. Cited by 210 papers in the map (data through 7 Oct 2026). First posted on arXiv 17 Apr 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 37; 2022: 27; 2023: 53; 2024: 25; 2025: 34; 2026: 34.
210 papers.
Sort:
By area:
- 2021Zero-Shot Text-to-Image Generationcited by 4,276
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 805
- 2021Revisiting Deep Learning Models for Tabular Datacited by 725
- 2021ImageNet-21K Pretraining for the Massescited by 607
- 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 607
- 2021A Survey of Transformerscited by 399
- 2024ShortGPT: Layers in Large Language Models are More Redundant Than You Expectcited by 369
- 2023Fine-Tuning Language Models with Just Forward Passescited by 337
- 2022ActionFormer: Localizing Moments of Actions with Transformerscited by 308
- 2022Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfercited by 272
- 2023Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-trainingcited by 260
- 2021Are Transformers More Robust Than CNNs?cited by 187
38 more
- 2022DeepNet: Scaling Transformers to 1,000 Layerscited by 176
- 2022Scaling Up Your Kernels to 31x31: Revisiting Large Kernel Design in CNNscited by 155
- 2023Stabilizing Transformer Training by Preventing Attention Entropy Collapsecited by 154
- 2022Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapsecited by 136
- 2022MetaFormer Baselines for Visioncited by 131
- 2024Why Transformers Need Adam: A Hessian Perspectivecited by 123
- 2022A Kernel-Based View of Language Model Fine-Tuningcited by 118
- 2023Noise Is Not the Main Factor Behind the Gap Between SGD and Adam on Transformers, but Sign Descent Might Becited by 114
- 2021Taming Sparsely Activated Transformer with Stochastic Expertscited by 112
- 2023Cerebras-GPT: Open Compute-Optimal Language Models Trained on the Cerebras Wafer-Scale Clustercited by 106
- 2023Linear attention is (maybe) all you need (to understand transformer optimization)cited by 97
- 2021Efficient Two-Stage Detection of Human-Object Interactions with a Novel Unary-Pairwise Transformercited by 91
- 2022Adaptive Gradient Methods at the Edge of Stabilitycited by 88
- 2021TransRefer3D: Entity-and-Relation Aware Transformer for Fine-Grained 3D Visual Groundingcited by 86
- 2021Lessons on Parameter Sharing across Layers in Transformerscited by 85
- 2023How Do Transformers Learn Topic Structure: Towards a Mechanistic Understandingcited by 85
- 2021NormFormer: Improved Transformer Pretraining with Extra Normalizationcited by 83
- 2022Cramming: Training a Language Model on a Single GPU in One Daycited by 81
- 2024Hyper-Connectionscited by 81
- 2024Heavy-Tailed Class Imbalance and Why Adam Outperforms Gradient Descent on Language Modelscited by 78
- 2021A Practical Survey on Faster and Lighter Transformerscited by 73
- 2021Stabilizing Equilibrium Models by Jacobian Regularizationcited by 71
- 2023GIMLET: A Unified Graph-Text Model for Instruction-Based Molecule Zero-Shot Learningcited by 70
- 2024Attention Heads of Large Language Models: A Surveycited by 65
- 2021Skyformer: Remodel Self-Attention with Gaussian Kernel and Nystr"om Methodcited by 61
- 2023Sparse MoE as the New Dropout: Scaling Dense and Self-Slimmable Transformerscited by 59
- 2021Distributed Deep Learning in Open Collaborationscited by 58
- 2022Mixture of Attention Heads: Selecting Attention Heads Per Tokencited by 58
- 2025The Curse of Depth in Large Language Modelscited by 58
- 2023Spike No More: Stabilizing the Pre-training of Large Language Modelscited by 51
- 2021VTNet: Visual Transformer Network for Object Goal Navigationcited by 50
- 2024LoRA Training in the NTK Regime has No Spurious Local Minimacited by 48
- 2021Long-Range Transformers for Dynamic Spatiotemporal Forecastingcited by 46
- 2022Transformers in Time-series Analysis: A Tutorialcited by 45
- 2021GradInit: Learning to Initialize Neural Networks for Stable and Efficient Trainingcited by 44
- 2023Deep Transformers without Shortcuts: Modifying Self-attention for Faithful Signal Propagationcited by 44
- 2024SAMformer: Unlocking the Potential of Transformers in Time Series Forecasting with Sharpness-Aware Minimization and Channel-Wise Attentioncited by 43
- 2021A Loss Curvature Perspective on Training Instability in Deep Learningcited by 39
50 most cited of 210 All 210 (JSON)
- 2026LLN: Learnable Lens Networks for Parameter-Efficient Long-Horizon Dynamical Prediction28 Sep 2026
- 2026Query Expansion and Key Specialization in Transformer Attention Geometry28 Sep 2026
- 2026SETTer: Sparse-Encoder Transformer for Long-term Multivariate Time Series Forecasting17 Sep 2026
- 2026How Model Growth, Recursion, and Boundary Operators Influence Scaling Exponents16 Sep 2026
- 2026Squeezing More from Limited Data with Recursive Transformers27 Aug 2026
- 2026Recirculation18 Aug 2026
- 2026Rethinking Normalization Placement for LLMs: Post-Norm under Curriculum Depth Growing13 Aug 2026
- 2026Information Abundance Paradox: Long-Context Training Undermines Parametric Knowledge12 Aug 2026
- 2026Why Post-Norm Transformers Collapse: Attention Amplification and Gradient Repair Failure10 Aug 2026
- 2026Looped Transformers with Source-Centered State Evolution30 Jul 2026
- 2026DeepLoop: Depth Scaling for Looped Transformers15 Jul 2026
- 2026Do Transformer Temporal Heads and Post-Pooling Motion Gates Help CorrNet-based CSLR? An Empirical Study10 Jul 2026
38 more
- 2026Improving End-to-End Speech Recognition for Dysarthric Speech through In-Domain Data Augmentation18 Jun 2026
- 2026HRM-Text: Efficient Pretraining Beyond Scaling20 May 2026
- 2026Learning Less Is More: Premature Upper-Layer Attention Specialization Hurts Language Model Pretraining11 May 2026
- 2026Mean Mode Screaming: Mean--Variance Split Residuals for 1000-Layer Diffusion Transformers7 May 2026
- 2026Revealing Modular Gradient Noise Imbalance in LLMs: Calibrating Adam via Signal-to-Noise Ratio7 May 2026
- 2026Better Models, Faster Training: Sigmoid Attention for single-cell Foundation Models29 Apr 2026
- 2026Subcritical Signal Propagation at Initialization in Normalization-Free Transformers13 Apr 2026
- 2026UCell: rethinking generalizability and scaling of bio-medical vision models31 Mar 2026
- 2026QUEST: A robust attention formulation using query-modulated spherical attention31 Mar 2026
- 2026Sampling at intermediate temperatures is optimal for training large language models in protein structure prediction31 Mar 2026
- 2026Attention Sinks Induce Gradient Sinks: Massive Activations as Gradient Regulators in Transformers18 Mar 2026
- 2026Progressive Residual Warmup for Language Model Pretraining5 Mar 2026
- 2026Explicit Grammar Semantic Feature Fusion for Robust Text Classification24 Feb 2026
- 2026Exact Attention Sensitivity and the Geometry of Transformer Stability21 Feb 2026
- 2026Approximation Theory for Lipschitz Continuous Transformers17 Feb 2026
- 2026Rotary Positional Embeddings as Phase Modulation: Theoretical Bounds on the RoPE Base for Long-Context Transformers11 Feb 2026
- 2026SiameseNorm: Breaking the Barrier to Reconciling Pre/Post-Norm8 Feb 2026
- 2026FSVideo: Fast Speed Video Diffusion Model in a Highly-Compressed Latent Space2 Feb 2026
- 2026SpanNorm: Reconciling Training Stability and Performance in Deep Transformers30 Jan 2026
- 2026GeoNorm: Unify Pre-Norm and Post-Norm with Geodesic Optimization29 Jan 2026
- 2026Post-LayerNorm Is Back: Stable, ExpressivE, and Deep27 Jan 2026
- 2026Stability as a Liability:Systematic Breakdown of Linguistic Structure in LLMs26 Jan 2026
- 2025Physics-Informed Neural Koopman Machine for Interpretable Longitudinal Personalized Alzheimer's Disease Forecasting5 Dec 2025
- 2025Defense That Attacks: How Robust Models Become Better Attackers2 Dec 2025
- 2025Controlling changes to attention logits26 Nov 2025
- 2025Intriguing Properties of Dynamic Sampling Networks25 Nov 2025
- 2025SpeechLLMs for Large-scale Contextualized Zero-shot Slot Filling17 Oct 2025
- 2025First Attentions Last: Better Exploiting First Attentions for Efficient Transformer Training16 Oct 2025
- 2025CHUCKLE -- When Humans Teach AI To Learn Emotions The Easy Way10 Oct 2025
- 2025Untangling Component Imbalance in Hybrid Linear Attention Conversion Methods7 Oct 2025
- 2025Integral Transformer: Denoising Attention, Not Too Much Not Too Little25 Aug 2025
- 2025On the Performance of Differentially Private Optimization with Heavy-Tail Class Imbalance14 Jul 2025
- 2025SoftSignSGD(S3): An Enhanced Optimizer for Practical DNN Training and Loss Spikes Minimization Beyond Adam9 Jul 2025
- 2025End-to-End Large Portfolio Optimization for Variance Minimization with Neural Networks through Covariance Cleaning2 Jul 2025
- 2025Taming LLMs by Scaling Learning Rates with Gradient Grouping1 Jun 2025
- 2025Scalable Complexity Control Facilitates Reasoning Ability of LLMs29 May 2025
- 2025One Rank at a Time: Cascading Error Dynamics in Sequential Learning28 May 2025
- 2025Learning in Compact Spaces with Approximately Normalized Transformer28 May 2025
50 newest of 210 All 210 (JSON)
- 2021Taming Sparsely Activated Transformer with Stochastic Expertscited by 112
- 2023Sparse MoE as the New Dropout: Scaling Dense and Self-Slimmable Transformerscited by 59
- 2022Mixture of Attention Heads: Selecting Attention Heads Per Tokencited by 58
- 2023Sparse Backpropagation for MoE Trainingcited by 16
- 2026SpanNorm: Reconciling Training Stability and Performance in Deep Transformerscited by 2
- 2026SpanNorm: Reconciling Training Stability and Performance in Deep Transformers30 Jan 2026
- 2023Sparse Backpropagation for MoE Training1 Oct 2023
- 2023Sparse MoE as the New Dropout: Scaling Dense and Self-Slimmable Transformers2 Mar 2023
- 2022Mixture of Attention Heads: Selecting Attention Heads Per Token11 Oct 2022
- 2021Taming Sparsely Activated Transformer with Stochastic Experts8 Oct 2021
- 2021Zero-Shot Text-to-Image Generationcited by 4,276
- 2021Revisiting Deep Learning Models for Tabular Datacited by 725
- 2021ImageNet-21K Pretraining for the Massescited by 607
- 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 607
- 2021A Survey of Transformerscited by 399
- 2024ShortGPT: Layers in Large Language Models are More Redundant Than You Expectcited by 369
- 2023Fine-Tuning Language Models with Just Forward Passescited by 337
- 2022ActionFormer: Localizing Moments of Actions with Transformerscited by 308
- 2022Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfercited by 272
- 2023Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-trainingcited by 260
- 2021Are Transformers More Robust Than CNNs?cited by 187
- 2022DeepNet: Scaling Transformers to 1,000 Layerscited by 176
12 most cited of 198 All 198 (JSON)
- 2026LLN: Learnable Lens Networks for Parameter-Efficient Long-Horizon Dynamical Prediction28 Sep 2026
- 2026Query Expansion and Key Specialization in Transformer Attention Geometry28 Sep 2026
- 2026SETTer: Sparse-Encoder Transformer for Long-term Multivariate Time Series Forecasting17 Sep 2026
- 2026How Model Growth, Recursion, and Boundary Operators Influence Scaling Exponents16 Sep 2026
- 2026Squeezing More from Limited Data with Recursive Transformers27 Aug 2026
- 2026Recirculation18 Aug 2026
- 2026Rethinking Normalization Placement for LLMs: Post-Norm under Curriculum Depth Growing13 Aug 2026
- 2026Information Abundance Paradox: Long-Context Training Undermines Parametric Knowledge12 Aug 2026
- 2026Why Post-Norm Transformers Collapse: Attention Amplification and Gradient Repair Failure10 Aug 2026
- 2026Looped Transformers with Source-Centered State Evolution30 Jul 2026
- 2026DeepLoop: Depth Scaling for Looped Transformers15 Jul 2026
- 2026Do Transformer Temporal Heads and Post-Pooling Motion Gates Help CorrNet-based CSLR? An Empirical Study10 Jul 2026
12 newest of 198 All 198 (JSON)