mlsanityData to 7 Oct 2026

The Curse of Depth in Large Language Models

arXiv 2502.05795 ↗First posted 9 Feb 2025cs.LG cs.AIcited by 58

Not on the map. Why?

Abstract (arXiv)

In this paper, we introduce the Curse of Depth, a concept that highlights, explains, and addresses the recent observation in modern Large Language Models (LLMs) where nearly half of the layers are less effective than expected. We first confirm the wide existence of this phenomenon across the most popular families of LLMs such as Llama, Mistral, DeepSeek, and Qwen. Our analysis, theoretically and empirically, identifies that the underlying reason for the ineffectiveness of deep layers in LLMs is the widespread usage of Pre-Layer Normalization (Pre-LN). While Pre-LN stabilizes the training of Transformer LLMs, its output variance exponentially grows with the model depth, which undesirably causes the derivative of the deep Transformer blocks to be an identity matrix, and therefore barely contributes to the training. To resolve this training pitfall, we propose LayerNorm Scaling (LNS), which scales the variance of output of the layer normalization inversely by the square root of its depth. This simple modification mitigates the output variance explosion of deeper Transformer layers, improving their contribution. Across a wide range of model sizes (130M to 7B), our experiments show that LNS consistently outperforms previous normalization and scaling techniques in enhancing LLM pre-training performance. Moreover, this improvement seamlessly carries over to supervised fine-tuning. All these gains can be attributed to the fact that LayerNorm Scaling enables deeper layers to contribute more effectively during training. Our code is available at hrefhttps://github.com/lmsdss/LayerNorm-ScalingLayerNorm-Scaling.

Key facts. Cited by 58 papers in the map (data through 7 Oct 2026). Builds on 57 of its 77 references that are in the map. First posted on arXiv 9 Feb 2025.

Builds on

57 of 77 references.

References · 57

  1. 2017Attention Is All You Needcited by 59,932
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2023GPT-4 Technical Reportcited by 18,132
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  6. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  7. 2016Layer Normalizationcited by 5,579
  8. 2024Qwen2.5 Technical Reportcited by 4,713
  9. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  10. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  11. 2023Qwen Technical Reportcited by 3,273
  12. 2023Mistral 7Bcited by 3,065
38 more
  1. 2023MMMU: A Massive Multi-discipline Multimodal Understanding and Reasoning Benchmark for Expert AGIcited by 2,044
  2. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  3. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
  4. 2020GLU Variants Improve Transformercited by 1,724
  5. 2018Group Normalizationcited by 1,514
  6. 2019Root Mean Square Layer Normalizationcited by 1,425
  7. 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,026
  8. 2020On Layer Normalization in the Transformer Architecturecited by 906
  9. 2021Going deeper with Image Transformerscited by 759
  10. 2021CogView: Mastering Text-to-Image Generation via Transformerscited by 691
  11. 2024DeepSeek LLM: Scaling Open-Source Language Models with Longtermismcited by 621
  12. 2024OLMo: Accelerating the Science of Language Modelscited by 599
  13. 2024GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projectioncited by 447
  14. 2024ShortGPT: Layers in Large Language Models are More Redundant Than You Expectcited by 369
  15. 2023LLM-Adapters: An Adapter Family for Parameter-Efficient Fine-Tuning of Large Language Modelscited by 317
  16. 2019Learning Deep Transformer Models for Machine Translationcited by 309
  17. 2018Adaptive Input Representations for Neural Language Modelingcited by 226
  18. 2024The Unreasonable Ineffectiveness of the Deeper Layerscited by 219
  19. 2020Understanding the Difficulty of Training Transformerscited by 210
  20. 2023ReLoRA: High-Rank Training Through Low-Rank Updatescited by 200
  21. 2022DeepNet: Scaling Transformers to 1,000 Layerscited by 176
  22. 2023Outlier Weighed Layerwise Sparsity (OWL): A Missing Secret Sauce for Pruning LLMs to High Sparsitycited by 163
  23. 2019Transformers without Tears: Improving the Normalization of Self-Attentioncited by 153
  24. 2024Compact Language Models via Pruning and Knowledge Distillationcited by 142
  25. 2024The Remarkable Robustness of LLMs: Stages of Inference?cited by 138
  26. 2022Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapsecited by 136
  27. 2023Tensor Programs VI: Feature Learning in Infinite-Depth Neural Networkscited by 94
  28. 2024OpenELM: An Efficient Language Model Family with Open Training and Inference Frameworkcited by 74
  29. 2023Depthwise Hyperparameter Transfer in Residual Networks: Dynamics and Scaling Limitcited by 64
  30. 2019Improving Deep Transformer with Depth-Scaled Initialization and Merged Attentioncited by 59
  31. 2023Spike No More: Stabilizing the Pre-training of Large Language Modelscited by 51
  32. 2020Stable ResNetcited by 49
  33. 2023The Shaped Transformer: Attention Models in the Infinite Depth-and-Width Limitcited by 47
  34. 2024Megalodon: Efficient LLM Pretraining and Inference with Unlimited Context Lengthcited by 46
  35. 2022The Neural Covariance SDE: Shaped Infinite Depth-and-Width Networks at Initializationcited by 41
  36. 2018Training Deeper Neural Machine Translation Models with Transparent Attentioncited by 37
  37. 2024Mix-LN: Unleashing the Power of Deeper Layers by Combining Pre-LN and Post-LNcited by 37
  38. 2024AlphaPruning: Using Heavy-Tailed Self Regularization Theory for Improved Layer-wise Pruning of Large Language Modelscited by 35

50 most cited of 57 All 57 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 18; 2026: 40.

58 papers.

Sort:

By area:

  1. 2025A Survey on Latent Reasoningcited by 71
  2. 2025Transformers without Normalizationcited by 69
  3. 2025Don't be lazy: CompleteP enables compute-efficient deep transformerscited by 69
  4. 2025EXAONE 4.0: Unified Large Language Models Integrating Non-reasoning and Reasoning Modescited by 26
  5. 2026Fixed-Point Reasoners: Stable and Adaptive Deep Looped Transformerscited by 21
  6. 2026Flow caching for autoregressive video generationcited by 19
  7. 2025Demystifying the Roles of LLM Layers in Retrieval, Knowledge, and Reasoningcited by 15
  8. 2025Multi-Token Attentioncited by 10
  9. 2025Normalization in Attention Dynamicscited by 9
  10. 2026Inverse Depth Scaling From Most Layers Being Similarcited by 8
  11. 2026SiameseNorm: Breaking the Barrier to Reconciling Pre/Post-Normcited by 8
  12. 2025DLP: Dynamic Layerwise Pruning in Large Language Modelscited by 6
38 more
  1. 2025AutoChemSchematic AI: Agentic Physics-Aware Automation for Chemical Manufacturing Scale-Upcited by 6
  2. 2026Post-LayerNorm Is Back: Stable, ExpressivE, and Deepcited by 6
  3. 2026From Growing to Looping: A Unified View of Iterative Computation in LLMscited by 6
  4. 2025Learning in Compact Spaces with Approximately Normalized Transformercited by 5
  5. 2025When Fewer Layers Break More Chains: Layer Pruning Harms Test-Time Scaling in LLMscited by 5
  6. 2025Do Depth-Grown Models Overcome the Curse of Depth? An In-Depth Analysiscited by 5
  7. 2026When Does Sparsity Mitigate the Curse of Depth in LLMscited by 4
  8. 2026SlimQwen: Exploring the Pruning and Distillation in Large MoE Model Pre-trainingcited by 4
  9. 2026AlphaQ: Calibration-Free Bit Allocation for Mixture-of-Experts Quantizationcited by 4
  10. 2026Neural Scaling Universality: If Exponents Are Fixed, Time to Understand Coefficientscited by 4
  11. 2026On the Limits of Layer Pruning for Generative Reasoning in Large Language Modelscited by 3
  12. 2026LoopMTP: A looped transformer guided by latent multi-token predictioncited by 3
  13. 2025GPAS: Accelerating Convergence of LLM Pretraining via Gradient-Preserving Activation Scalingcited by 2
  14. 2025Large Language Models Show Signs of Alignment with Human Neurocognition During Abstract Reasoningcited by 2
  15. 2025Bounded Hyperbolic Tangent: A Stable and Efficient Alternative to Pre-Layer Normalization in Large Language Modelscited by 2
  16. 2026SpanNorm: Reconciling Training Stability and Performance in Deep Transformerscited by 2
  17. 2026Explaining Grokking in Transformers through the Lens of Inductive Biascited by 2
  18. 2026From Words to Amino Acids: Does the Curse of Depth Persist?cited by 2
  19. 2026Pion: A Spectrum-Preserving Optimizer via Orthogonal Equivalence Transformationcited by 2
  20. 2026Transforming Rank: How Architecture Navigates the Spectral Pathologies of Depthcited by 2
  21. 2025Void in Language Modelscited by 1
  22. 2025StructPrune: Structured Global Pruning asymptotics with O(√N) GPU Memorycited by 1
  23. 2026Do All Individual Layers Help? An Empirical Study of Task-Interfering Layers in Vision-Language Modelscited by 1
  24. 2026IMU-1: Sample-Efficient Pre-training of Small Language Modelscited by 1
  25. 2026Revisiting the Shape Convention of Transformer Language Modelscited by 1
  26. 2026Progressive Residual Warmup for Language Model Pretrainingcited by 1
  27. 2026Layer Collapse in Diffusion Language Modelscited by 1
  28. 2026Shared Doubt: Zero-Shot Cross-Lingual Confidence Estimation for Language Modelscited by 1
  29. 2026Temperature-driven inversion and nonlinear dynamics in ChatGPT-like AIscited by 1
  30. 2025Solving Oversmoothing in GNNs via Nonlocal Message Passing: Algebraic Smoothing and Depth Scalabilitycited by 0
  31. 2026FlattenGPT: Depth Compression for Transformer with Layer Flatteningcited by 0
  32. 2026Rethinking Adapter Placement: A Dominant Adaptation Module Perspectivecited by 0
  33. 2026How to Scale Mixture-of-Experts: From muP to the Maximally Scale-Stable Parameterizationcited by 0
  34. 2026Multi-Gate Residualscited by 0
  35. 2026SHARP: Sleep-based Hierarchical Accelerated Replay for Long Range Non-Stationary Temporal Pattern Recognitioncited by 0
  36. 2026Scaling Adaptive Depth with Norm-Agnostic Residual Networkscited by 0
  37. 2026CascadeFormer: Depth-Tapered Transformers Motivated by Gradient Fan-in Asymmetrycited by 0
  38. 2026Many-body Tipping Dynamics of ChatGPT-like AIscited by 0

50 most cited of 58 All 58 (JSON)