Machine Learning · arXiv:2502.05795 v6 · submitted 9 Feb 2025
The Curse of Depth in Large Language Models
The paper says
“All these gains can be attributed to the fact that LayerNorm Scaling enables deeper layers to contribute more effectively during training.”
from the abstract · picked out as the main claim by a classifier
Reviews
Reviews by people
No person has reviewed this paper on Pith yet. A scientist listed on Pith can review it for a fee, and their review is published here whatever it concludes.
The paper
Abstract
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.
The paper's own sentences, arranged. Each label is drawn from a closed vocabulary; the number beside it is the probability the classifier gave that label. No sentence in this record was written by a model.
abstract compiled · 2026-09-23 · no language-model review
How the main claim is stated: asserted 1.00
What the abstract itself states, as probabilities: claims first 0.09 · states limitation 0.07 · human participants 0.02 · controlled comparison 0.67 · randomized assignment 0.01 · states quantitative result 0.81 · compares with prior results 0.94 · mentions code or data availability 0.99
The abstract, sentence by sentence
This table labels the abstract only (arXiv listing abstract v6). The number is the probability the classifier gave the label.
| Sentence | Role | The authors' own work | States the main conclusion | Strength |
|---|---|---|---|---|
| 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. | contribution 0.99 | 0.69 | 0.29 | asserted 0.99 |
| We first confirm the wide existence of this phenomenon across the most popular families of LLMs such as Llama, Mistral, DeepSeek, and Qwen. | result 0.78 | 0.90 | 0.04 | asserted 1.00 |
| 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). | result 0.73 | 0.95 | 0.34 | asserted 1.00 |
| 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. | interpretation 0.69 | 0.76 | 0.17 | asserted 1.00 |
| 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. | method 0.73 | 0.84 | 0.20 | asserted 0.99 |
| This simple modification mitigates the output variance explosion of deeper Transformer layers, improving their contribution. | result 0.84 | 0.82 | 0.22 | asserted 1.00 |
| 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. | result 1.00 | 0.96 | 0.27 | asserted 1.00 |
| Moreover, this improvement seamlessly carries over to supervised fine-tuning. | result 1.00 | 0.86 | 0.08 | asserted 1.00 |
| All these gains can be attributed to the fact that LayerNorm Scaling enables deeper layers to contribute more effectively during training. | interpretation 1.00 | 0.82 | 0.47 | asserted 1.00 |
| Our code is available at \href{https://github.com/lmsdss/LayerNorm-Scaling}{LayerNorm-Scaling}. | contribution 0.73 | 0.40 | 0.02 | asserted 0.74 |
What kind of paper the classifier reports this is: method or tool 1.00 · evidence from observation or experiment 0.99
What was examined, and what was not
Sources read
- arXiv listing abstract v6
Not examined
- full text
- figures and tables
- references and citing sentences
- relations to other papers
Levels run
- P abstract
Not run
- S sections
- T body sentences
- C citations
- R cross-paper relations
How the labels were made
Compiled by classifier-1.13.0 via TypeSafe API, question bank abstract-p1-20260923, 2026-09-23: 1 request, 7,685 input tokens.
Every quoted sentence on this record is the authors'. Every label is from Pith's closed vocabulary, with the probability shown beside it. This record as JSON
Cited by 7 Pith papers
Reviewed papers on Pith that cite this one. The full citation record
- The Residual Stream's Effective Depth cs.LG · Sep 2026
- KiteNorm: Variance Regularisation for Stable and Scalable Post-LN Transformers cs.LG · Nov 2026
- DepthGraft: Structural Regularization through Hierarchical Cross-Layer KV Reconstruction cs.CL · Nov 2026
- Closed Gates Leak: Decomposing Adjacent-Layer Cancellation in Gated Language Models cs.LG · Oct 2026
- Building a Nested LADDER for LLM Unstructured Post-Training Pruning cs.LG · Oct 2026
- Multi-Stream Attention Residuals cs.CL · Oct 2026
- RoSA: Rotational Sparse Adaptation for Memory-Efficient Fine-Tuning cs.LG · Oct 2026
How the literature uses it
22 arXiv papers cite this in 60 sentences
Papers citing it · 37 sentences without a confident label
Contests it 1 paper
-
These results also challenge prior assumptions that deeper layers of Llama are largely redundant and easily pruned [ref] .
On the Limits of Layer Pruning for Generative Reasoning in Large Language Models · Pruning at Moderate Ratios · contest 0.76
Uses its method or tool 3 papers
-
To empirically assess the redundancy across layers in our architecture, we utilize two complementary metrics: Performance Drop and Angular Distance, inspired by [ref] .
Multi-Gate Residuals · Depth-wise Effectiveness Analysis · 0.98
-
Following the anlysis in [ref] , we quantify each layer's local geometry using a shape-normalized Frobenius distance $‖J_ℓ-I‖_F$, where $J_ℓ$ is the Jacobian matrix of layer $ℓ$.
Pion: A Spectrum-Preserving Optimizer via Orthogonal Equivalence Transformation · Stable LLM Pretraining · 0.97
-
Following [ref] and [ref] , we employ LLaMA-based model architectures for implementing Post-LN [ref] , DeepNorm [ref] , Pre-LN [ref] , Sandwich-LN [ref] , Mix-LN [ref] and LNS [ref] .
GPAS: Accelerating Convergence of LLM Pretraining via Gradient-Preserving Activation Scaling · Experiment Setup · 0.88
Compares with it 2 papers
-
We compare BHyT against several baselines: RMSNorm [ref] , the default normalization used in the Llama family; LNS [ref] and Peri-LN [ref] , both designed to enhance training stability; and DyT [ref] , which replaces the conventional Pre-LN with a $tanh(·)$-based function having learnable scalar parameter $α_DyT$.
Bounded Hyperbolic Tangent: A Stable and Efficient Alternative to Pre-Layer Normalization in Large Language Models · Pretraining LLMs · 0.98
-
The results are consistent with prior depth analyses in LLMs [ref] and align with our observations in <ref>.
From Words to Amino Acids: Does the Curse of Depth Persist? · How does the output distribution evolve across depth? · 0.81
Cites it as support 8 papers
-
This landscape reveals a clear gap: methods that guarantee stability typically sacrifice efficiency, while efficient methods fail to robustly address the curse of depth [ref] .
Bounded Hyperbolic Tangent: A Stable and Efficient Alternative to Pre-Layer Normalization in Large Language Models · Introduction · 1.00
-
Empirical analysis shows that LLM layers do not compose representations in a deep, hierarchical manner; instead, they update hidden states incrementally and similarly across layers [ref] .
Neural Scaling Universality: If Exponents Are Fixed, Time to Understand Coefficients · The neural scaling laws trilogy · 0.97
-
However, this stability comes at a cost: empirical studies show that pruning a significant fraction of deep layers in Pre-Norm models often only results in negligible performance drops [ref] , suggesting restricted effective depth and representational capacity under the Pre-Norm design.
SiameseNorm: Breaking the Barrier to Reconciling Pre/Post-Norm · Introduction · 1.00
Cites it as background 5 papers
-
Prior work addresses CoD through explicit variance control via scaled initialization [ref] , normalization scaling [ref] , or alternative normalization [ref] .
When Does Sparsity Mitigate the Curse of Depth in LLMs · The Curse of Depth · 0.91
-
There have been many empirical investigations on how LLMs utilize their layers [ref] .
Inverse Depth Scaling From Most Layers Being Similar · Introduction · 0.99
-
LayerNorm Scaling [ref] scales output of normalization layers by inverse square root of layer depth, which facilitates a linear variance growth in Pre-LN.
GPAS: Accelerating Convergence of LLM Pretraining via Gradient-Preserving Activation Scaling · Related Work · 0.88
What it cites · 21 sentences without a confident label
Uses the method or tool of 6 papers
-
To empirically analyze the impact of layer normalization on the Curse of Depth in LLMs, we conduct a series of evaluations inspired by [ref] , to compare Pre-LN and Post-LN models.
Mix-LN: Unleashing the Power of Deeper Layers by Combining Pre-LN and Post-LN · Empirical Evidence of the Curse of Depth · 0.84
-
Evaluation Metric: To empirically assess the impact of deeper layers in LLMs, we adopt two metrics, Performance Drop and Angular Distance, inspired by [ref] .
The Unreasonable Ineffectiveness of the Deeper Layers · Open-weight Large-scale LLMs · 0.99
-
OLMo adopts the scaled initialization proposed in [ref] and used by [ref] , which scales input projections by $1 / √()$, and output projections by $1 / √(2 ··l)$ at every layer.
OpenELM: An Efficient Language Model Family with Open Training and Inference Framework · OLMo · 0.80
Compares with 3 papers
-
We first compare LNS with previous scaling approaches, including (1) Scaled Initialization [ref] , which scales the initialization of $W_0$ and $W_2$ by the overall depth $1/√(2L)$; (2) Depth-Scaled Initialization [ref] scales the initialization of weight matrices by the current depth $1/√(2l)$; (3) SkipInit [ref] introduces a learnable parameter after FFN/Att layers, initialized as $1/√(L)$; (4) LayerScale [ref] applies per-channel weighting using a diagonal matrix, diag$(λ_1, …, λ_d)$, where each weight $λ_i$ is initialized to a small value (e.g., $λ_i = ϵ$).
Batch Normalization Biases Residual Blocks Towards the Identity Function in Deep Networks · Ablation Study · 0.94
-
We first compare LNS with previous scaling approaches, including (1) Scaled Initialization [ref] , which scales the initialization of $W_0$ and $W_2$ by the overall depth $1/√(2L)$; (2) Depth-Scaled Initialization [ref] scales the initialization of weight matrices by the current depth $1/√(2l)$; (3) SkipInit [ref] introduces a learnable parameter after FFN/Att layers, initialized as $1/√(L)$; (4) LayerScale [ref] applies per-channel weighting using a diagonal matrix, diag$(λ_1, …, λ_d)$, where each weight $λ_i$ is initialized to a small value (e.g., $λ_i = ϵ$).
Improving Deep Transformer with Depth-Scaled Initialization and Merged Attention · Ablation Study · 0.94
-
Moreover, compared with previous LayerNorm variants [ref] , is hyperparameter-free, easy to implement, and does not introduce additional learnable parameters, making it computationally efficient and readily applicable to existing Transformer architectures.
Mix-LN: Unleashing the Power of Deeper Layers by Combining Pre-LN and Post-LN · LayerNorm Scaling (LNS) · 0.84
Cites as support 1 paper
-
For instance, we can compress deeper layers significantly more [ref] to achieve high compression ratios.
Layer-Wise Quantization: A Pragmatic and Effective Method for Quantizing LLMs Beyond Integer Bit-Levels · Introduction · 0.97
Cites as background 7 papers
-
[ref] recently combines Post-LN and Pre-LN to enhance the middle layers.
Mix-LN: Unleashing the Power of Deeper Layers by Combining Pre-LN and Post-LN · Related Work · 0.84
-
Later on, Pre-LN [ref] dominated LLMs, due to its compelling performance and stability [ref] .
Mistral 7B · Related Work · 0.87
-
Later on, Pre-LN [ref] dominated LLMs, due to its compelling performance and stability [ref] .
LLaMA: Open and Efficient Foundation Language Models · Related Work · 0.87
Challenges and discussion
Know something about this paper? Leave a comment.
Come back by email
A short list of the week's newly reviewed papers. Nothing is sent until you confirm from your inbox, and every email has a link that stops it. No account.
No comments yet.
Sign in to comment