The Curse of Depth in Large Language Models
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
- 2017Attention Is All You Needcited by 59,932
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2016Layer Normalizationcited by 5,579
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2023Qwen Technical Reportcited by 3,273
- 2023Mistral 7Bcited by 3,065
38 more
- 2023MMMU: A Massive Multi-discipline Multimodal Understanding and Reasoning Benchmark for Expert AGIcited by 2,044
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2020GLU Variants Improve Transformercited by 1,724
- 2018Group Normalizationcited by 1,514
- 2019Root Mean Square Layer Normalizationcited by 1,425
- 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,026
- 2020On Layer Normalization in the Transformer Architecturecited by 906
- 2021Going deeper with Image Transformerscited by 759
- 2021CogView: Mastering Text-to-Image Generation via Transformerscited by 691
- 2024DeepSeek LLM: Scaling Open-Source Language Models with Longtermismcited by 621
- 2024OLMo: Accelerating the Science of Language Modelscited by 599
- 2024GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projectioncited by 447
- 2024ShortGPT: Layers in Large Language Models are More Redundant Than You Expectcited by 369
- 2023LLM-Adapters: An Adapter Family for Parameter-Efficient Fine-Tuning of Large Language Modelscited by 317
- 2019Learning Deep Transformer Models for Machine Translationcited by 309
- 2018Adaptive Input Representations for Neural Language Modelingcited by 226
- 2024The Unreasonable Ineffectiveness of the Deeper Layerscited by 219
- 2020Understanding the Difficulty of Training Transformerscited by 210
- 2023ReLoRA: High-Rank Training Through Low-Rank Updatescited by 200
- 2022DeepNet: Scaling Transformers to 1,000 Layerscited by 176
- 2023Outlier Weighed Layerwise Sparsity (OWL): A Missing Secret Sauce for Pruning LLMs to High Sparsitycited by 163
- 2019Transformers without Tears: Improving the Normalization of Self-Attentioncited by 153
- 2024Compact Language Models via Pruning and Knowledge Distillationcited by 142
- 2024The Remarkable Robustness of LLMs: Stages of Inference?cited by 138
- 2022Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapsecited by 136
- 2023Tensor Programs VI: Feature Learning in Infinite-Depth Neural Networkscited by 94
- 2024OpenELM: An Efficient Language Model Family with Open Training and Inference Frameworkcited by 74
- 2023Depthwise Hyperparameter Transfer in Residual Networks: Dynamics and Scaling Limitcited by 64
- 2019Improving Deep Transformer with Depth-Scaled Initialization and Merged Attentioncited by 59
- 2023Spike No More: Stabilizing the Pre-training of Large Language Modelscited by 51
- 2020Stable ResNetcited by 49
- 2023The Shaped Transformer: Attention Models in the Infinite Depth-and-Width Limitcited by 47
- 2024Megalodon: Efficient LLM Pretraining and Inference with Unlimited Context Lengthcited by 46
- 2022The Neural Covariance SDE: Shaped Infinite Depth-and-Width Networks at Initializationcited by 41
- 2018Training Deeper Neural Machine Translation Models with Transparent Attentioncited by 37
- 2024Mix-LN: Unleashing the Power of Deeper Layers by Combining Pre-LN and Post-LNcited by 37
- 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
Citing papers per year: 2025: 18; 2026: 40.
58 papers.
Sort:
By area:
- 2025A Survey on Latent Reasoningcited by 71
- 2025Transformers without Normalizationcited by 69
- 2025Don't be lazy: CompleteP enables compute-efficient deep transformerscited by 69
- 2025EXAONE 4.0: Unified Large Language Models Integrating Non-reasoning and Reasoning Modescited by 26
- 2026Fixed-Point Reasoners: Stable and Adaptive Deep Looped Transformerscited by 21
- 2026Flow caching for autoregressive video generationcited by 19
- 2025Demystifying the Roles of LLM Layers in Retrieval, Knowledge, and Reasoningcited by 15
- 2025Multi-Token Attentioncited by 10
- 2025Normalization in Attention Dynamicscited by 9
- 2026Inverse Depth Scaling From Most Layers Being Similarcited by 8
- 2026SiameseNorm: Breaking the Barrier to Reconciling Pre/Post-Normcited by 8
- 2025DLP: Dynamic Layerwise Pruning in Large Language Modelscited by 6
38 more
- 2025AutoChemSchematic AI: Agentic Physics-Aware Automation for Chemical Manufacturing Scale-Upcited by 6
- 2026Post-LayerNorm Is Back: Stable, ExpressivE, and Deepcited by 6
- 2026From Growing to Looping: A Unified View of Iterative Computation in LLMscited by 6
- 2025Learning in Compact Spaces with Approximately Normalized Transformercited by 5
- 2025When Fewer Layers Break More Chains: Layer Pruning Harms Test-Time Scaling in LLMscited by 5
- 2025Do Depth-Grown Models Overcome the Curse of Depth? An In-Depth Analysiscited by 5
- 2026When Does Sparsity Mitigate the Curse of Depth in LLMscited by 4
- 2026SlimQwen: Exploring the Pruning and Distillation in Large MoE Model Pre-trainingcited by 4
- 2026AlphaQ: Calibration-Free Bit Allocation for Mixture-of-Experts Quantizationcited by 4
- 2026Neural Scaling Universality: If Exponents Are Fixed, Time to Understand Coefficientscited by 4
- 2026On the Limits of Layer Pruning for Generative Reasoning in Large Language Modelscited by 3
- 2026LoopMTP: A looped transformer guided by latent multi-token predictioncited by 3
- 2025GPAS: Accelerating Convergence of LLM Pretraining via Gradient-Preserving Activation Scalingcited by 2
- 2025Large Language Models Show Signs of Alignment with Human Neurocognition During Abstract Reasoningcited by 2
- 2025Bounded Hyperbolic Tangent: A Stable and Efficient Alternative to Pre-Layer Normalization in Large Language Modelscited by 2
- 2026SpanNorm: Reconciling Training Stability and Performance in Deep Transformerscited by 2
- 2026Explaining Grokking in Transformers through the Lens of Inductive Biascited by 2
- 2026From Words to Amino Acids: Does the Curse of Depth Persist?cited by 2
- 2026Pion: A Spectrum-Preserving Optimizer via Orthogonal Equivalence Transformationcited by 2
- 2026Transforming Rank: How Architecture Navigates the Spectral Pathologies of Depthcited by 2
- 2025Void in Language Modelscited by 1
- 2025StructPrune: Structured Global Pruning asymptotics with O(√N) GPU Memorycited by 1
- 2026Do All Individual Layers Help? An Empirical Study of Task-Interfering Layers in Vision-Language Modelscited by 1
- 2026IMU-1: Sample-Efficient Pre-training of Small Language Modelscited by 1
- 2026Revisiting the Shape Convention of Transformer Language Modelscited by 1
- 2026Progressive Residual Warmup for Language Model Pretrainingcited by 1
- 2026Layer Collapse in Diffusion Language Modelscited by 1
- 2026Shared Doubt: Zero-Shot Cross-Lingual Confidence Estimation for Language Modelscited by 1
- 2026Temperature-driven inversion and nonlinear dynamics in ChatGPT-like AIscited by 1
- 2025Solving Oversmoothing in GNNs via Nonlocal Message Passing: Algebraic Smoothing and Depth Scalabilitycited by 0
- 2026FlattenGPT: Depth Compression for Transformer with Layer Flatteningcited by 0
- 2026Rethinking Adapter Placement: A Dominant Adaptation Module Perspectivecited by 0
- 2026How to Scale Mixture-of-Experts: From muP to the Maximally Scale-Stable Parameterizationcited by 0
- 2026Multi-Gate Residualscited by 0
- 2026SHARP: Sleep-based Hierarchical Accelerated Replay for Long Range Non-Stationary Temporal Pattern Recognitioncited by 0
- 2026Scaling Adaptive Depth with Norm-Agnostic Residual Networkscited by 0
- 2026CascadeFormer: Depth-Tapered Transformers Motivated by Gradient Fan-in Asymmetrycited by 0
- 2026Many-body Tipping Dynamics of ChatGPT-like AIscited by 0
50 most cited of 58 All 58 (JSON)
- 2026Looping Beyond Twice: A Scalable Recipe for Looped Mixture-of-Experts1 Oct 2026
- 2026Does the VGGT Family Need All Its Layers?29 Sep 2026
- 2026DepthBench: Measuring How Residual Connections Enable More Computational Depth26 Sep 2026
- 2026Write Back the Delta: Revisiting the Same Tokens with Fresh Representations26 Sep 2026
- 2026The Residual Stream's Effective Depth25 Sep 2026
- 2026RECLAIM: Can Agents Reproduce the Claims of Machine Learning Papers?23 Sep 2026
- 2026How Model Growth, Recursion, and Boundary Operators Influence Scaling Exponents16 Sep 2026
- 2026LoopMTP: A looped transformer guided by latent multi-token prediction4 Aug 2026
- 2026Sphere Retraction Normalizations2 Aug 2026
- 2026Temperature-driven inversion and nonlinear dynamics in ChatGPT-like AIs2 Aug 2026
- 2026Many-body Tipping Dynamics of ChatGPT-like AIs28 Jul 2026
- 2026Transforming Rank: How Architecture Navigates the Spectral Pathologies of Depth15 Jul 2026
38 more
- 2026CascadeFormer: Depth-Tapered Transformers Motivated by Gradient Fan-in Asymmetry25 Jun 2026
- 2026Neural Scaling Universality: If Exponents Are Fixed, Time to Understand Coefficients23 Jun 2026
- 2026Fixed-Point Reasoners: Stable and Adaptive Deep Looped Transformers16 Jun 2026
- 2026Scaling Adaptive Depth with Norm-Agnostic Residual Networks15 Jun 2026
- 2026AlphaQ: Calibration-Free Bit Allocation for Mixture-of-Experts Quantization3 Jun 2026
- 2026SHARP: Sleep-based Hierarchical Accelerated Replay for Long Range Non-Stationary Temporal Pattern Recognition30 May 2026
- 2026Shared Doubt: Zero-Shot Cross-Lingual Confidence Estimation for Language Models29 May 2026
- 2026Multi-Gate Residuals22 May 2026
- 2026How to Scale Mixture-of-Experts: From muP to the Maximally Scale-Stable Parameterization13 May 2026
- 2026Pion: A Spectrum-Preserving Optimizer via Orthogonal Equivalence Transformation12 May 2026
- 2026SlimQwen: Exploring the Pruning and Distillation in Large MoE Model Pre-training9 May 2026
- 2026Layer Collapse in Diffusion Language Models7 May 2026
- 2026Rethinking Adapter Placement: A Dominant Adaptation Module Perspective7 May 2026
- 2026When Does Sparsity Mitigate the Curse of Depth in LLMs16 Mar 2026
- 2026Progressive Residual Warmup for Language Model Pretraining5 Mar 2026
- 2026From Words to Amino Acids: Does the Curse of Depth Persist?25 Feb 2026
- 2026From Growing to Looping: A Unified View of Iterative Computation in LLMs18 Feb 2026
- 2026Flow caching for autoregressive video generation11 Feb 2026
- 2026FlattenGPT: Depth Compression for Transformer with Layer Flattening9 Feb 2026
- 2026SiameseNorm: Breaking the Barrier to Reconciling Pre/Post-Norm8 Feb 2026
- 2026Explaining Grokking in Transformers through the Lens of Inductive Bias6 Feb 2026
- 2026Revisiting the Shape Convention of Transformer Language Models6 Feb 2026
- 2026Inverse Depth Scaling From Most Layers Being Similar5 Feb 2026
- 2026On the Limits of Layer Pruning for Generative Reasoning in Large Language Models2 Feb 2026
- 2026Do All Individual Layers Help? An Empirical Study of Task-Interfering Layers in Vision-Language Models1 Feb 2026
- 2026SpanNorm: Reconciling Training Stability and Performance in Deep Transformers30 Jan 2026
- 2026Post-LayerNorm Is Back: Stable, ExpressivE, and Deep27 Jan 2026
- 2026IMU-1: Sample-Efficient Pre-training of Small Language Models25 Jan 2026
- 2025Bounded Hyperbolic Tangent: A Stable and Efficient Alternative to Pre-Layer Normalization in Large Language Models26 Dec 2025
- 2025Do Depth-Grown Models Overcome the Curse of Depth? An In-Depth Analysis9 Dec 2025
- 2025Solving Oversmoothing in GNNs via Nonlocal Message Passing: Algebraic Smoothing and Depth Scalability9 Dec 2025
- 2025When Fewer Layers Break More Chains: Layer Pruning Harms Test-Time Scaling in LLMs25 Oct 2025
- 2025Normalization in Attention Dynamics24 Oct 2025
- 2025Demystifying the Roles of LLM Layers in Retrieval, Knowledge, and Reasoning2 Oct 2025
- 2025StructPrune: Structured Global Pruning asymptotics with O(√N) GPU Memory25 Sep 2025
- 2025Large Language Models Show Signs of Alignment with Human Neurocognition During Abstract Reasoning12 Aug 2025
- 2025EXAONE 4.0: Unified Large Language Models Integrating Non-reasoning and Reasoning Modes15 Jul 2025
- 2025A Survey on Latent Reasoning8 Jul 2025
50 newest of 58 All 58 (JSON)
- 2025A Survey on Latent Reasoningcited by 71
- 2025EXAONE 4.0: Unified Large Language Models Integrating Non-reasoning and Reasoning Modescited by 26
- 2025Demystifying the Roles of LLM Layers in Retrieval, Knowledge, and Reasoningcited by 15
- 2025When Fewer Layers Break More Chains: Layer Pruning Harms Test-Time Scaling in LLMscited by 5
- 2026On the Limits of Layer Pruning for Generative Reasoning in Large Language Modelscited by 3
- 2025Large Language Models Show Signs of Alignment with Human Neurocognition During Abstract Reasoningcited by 2
- 2026On the Limits of Layer Pruning for Generative Reasoning in Large Language Models2 Feb 2026
- 2025When Fewer Layers Break More Chains: Layer Pruning Harms Test-Time Scaling in LLMs25 Oct 2025
- 2025Demystifying the Roles of LLM Layers in Retrieval, Knowledge, and Reasoning2 Oct 2025
- 2025Large Language Models Show Signs of Alignment with Human Neurocognition During Abstract Reasoning12 Aug 2025
- 2025EXAONE 4.0: Unified Large Language Models Integrating Non-reasoning and Reasoning Modes15 Jul 2025
- 2025A Survey on Latent Reasoning8 Jul 2025
- 2026SlimQwen: Exploring the Pruning and Distillation in Large MoE Model Pre-trainingcited by 4
- 2026AlphaQ: Calibration-Free Bit Allocation for Mixture-of-Experts Quantizationcited by 4
- 2026SpanNorm: Reconciling Training Stability and Performance in Deep Transformerscited by 2
- 2026How to Scale Mixture-of-Experts: From muP to the Maximally Scale-Stable Parameterizationcited by 0
- 2026Looping Beyond Twice: A Scalable Recipe for Looped Mixture-of-Expertscited by 0
- 2026Looping Beyond Twice: A Scalable Recipe for Looped Mixture-of-Experts1 Oct 2026
- 2026AlphaQ: Calibration-Free Bit Allocation for Mixture-of-Experts Quantization3 Jun 2026
- 2026How to Scale Mixture-of-Experts: From muP to the Maximally Scale-Stable Parameterization13 May 2026
- 2026SlimQwen: Exploring the Pruning and Distillation in Large MoE Model Pre-training9 May 2026
- 2026SpanNorm: Reconciling Training Stability and Performance in Deep Transformers30 Jan 2026
- 2026Layer Collapse in Diffusion Language Modelscited by 1
- 2026Layer Collapse in Diffusion Language Models7 May 2026
- 2025Transformers without Normalizationcited by 69
- 2025Don't be lazy: CompleteP enables compute-efficient deep transformerscited by 69
- 2026Fixed-Point Reasoners: Stable and Adaptive Deep Looped Transformerscited by 21
- 2026Flow caching for autoregressive video generationcited by 19
- 2025Multi-Token Attentioncited by 10
- 2025Normalization in Attention Dynamicscited by 9
- 2026Inverse Depth Scaling From Most Layers Being Similarcited by 8
- 2026SiameseNorm: Breaking the Barrier to Reconciling Pre/Post-Normcited by 8
- 2025DLP: Dynamic Layerwise Pruning in Large Language Modelscited by 6
- 2026Post-LayerNorm Is Back: Stable, ExpressivE, and Deepcited by 6
- 2026From Growing to Looping: A Unified View of Iterative Computation in LLMscited by 6
- 2025Learning in Compact Spaces with Approximately Normalized Transformercited by 5
12 most cited of 42 All 42 (JSON)
- 2026Does the VGGT Family Need All Its Layers?29 Sep 2026
- 2026DepthBench: Measuring How Residual Connections Enable More Computational Depth26 Sep 2026
- 2026Write Back the Delta: Revisiting the Same Tokens with Fresh Representations26 Sep 2026
- 2026The Residual Stream's Effective Depth25 Sep 2026
- 2026How Model Growth, Recursion, and Boundary Operators Influence Scaling Exponents16 Sep 2026
- 2026LoopMTP: A looped transformer guided by latent multi-token prediction4 Aug 2026
- 2026Sphere Retraction Normalizations2 Aug 2026
- 2026Temperature-driven inversion and nonlinear dynamics in ChatGPT-like AIs2 Aug 2026
- 2026Many-body Tipping Dynamics of ChatGPT-like AIs28 Jul 2026
- 2026Transforming Rank: How Architecture Navigates the Spectral Pathologies of Depth15 Jul 2026
- 2026CascadeFormer: Depth-Tapered Transformers Motivated by Gradient Fan-in Asymmetry25 Jun 2026
- 2026Neural Scaling Universality: If Exponents Are Fixed, Time to Understand Coefficients23 Jun 2026
12 newest of 42 All 42 (JSON)