atlas

Research map / Large language models / Instruction and fine-tuning

The Curse of Depth in Large Language Models

NeurIPS 2025 · Large language models › Instruction and fine-tuning · approach: Efficient LLM fine-tuning systems · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Identifies the "Curse of Depth" in modern LLMs (deep Pre-LN layers are near-identity) and proposes LayerNorm Scaling (LNS), which scales LN output by 1/sqrt(depth), improving pre-training and SFT across 130M–7B models.

Problem

Deeper Transformer layers in modern Pre-LN LLMs contribute much less than expected (removable or near-identity), wasting training resources; the root cause and a fix were unclear.

Approach

Pre-LN output variance grows exponentially with depth, making deep block Jacobians near identity; LayerNorm Scaling multiplies the LN output by 1/sqrt(layer index), which bounds variance growth to polynomial and makes deep layers contribute, with no extra parameters or hyperparameters.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Scale LayerNorm output by 1/sqrt(layer index)Pre-LN LLaMA · LLaMA-130M, LLaMA-250M, LLaMA-350M, and LLaMA-1B pre-trainingperplexity: 26.73 -> 25.76; 21.92 -> 20.35; 19.58 -> 18.20; 17.02 -> 15.71Helped
Scale LayerNorm output by 1/sqrt(layer index)LLaMA SFT models · Commonsense170K SFT averageAverage: 41.34 -> 43.14; 43.01 -> 44.87Helped
Scale LayerNorm output by 1/sqrt(layer index)OLMo-7B · 20B-token pre-trainingtraining loss: 2.69 to 2.50Helped
Replace OLMo's Scaled Initialization with LayerNorm ScalingOLMo-1B · 20B-token pre-trainingtraining loss: 2.96 -> 2.85Helped
Scale LayerNorm output by 1/sqrt(layer index)Qwen2.5-0.5B · 6B-token pre-trainingperplexity: 20.62 to 19.57Helped
Apply LNS after attention/MLP blocks (ablation)ViT-S without LayerScale · ImageNet-1Ktop-1 accuracy: 67.91 -> 68.75Helped
Insert LNS after LayerNorm (ablation)ViT-S without LayerScale · ImageNet-1Ktop-1 accuracy: 67.91 -> 66.43Hurt
Use LayerScale instead of LayerNorm Scaling (ablation)LLaMA-130M · pre-trainingperplexity: 25.76 -> 27.93Hurt
Use SkipInit instead of LayerNorm Scaling (ablation)LLaMA-130M · pre-trainingperplexity: 25.76 -> 27.41Hurt
Use Scaled Initialization instead of LayerNorm Scaling (ablation)LLaMA-130M · pre-trainingperplexity: 25.76 -> 26.04Hurt
Combine LayerNorm Scaling with Scaled Initialization (ablation)LLaMA-130M · pre-trainingperplexity: 25.76 -> 25.80Hurt
Replace Pre-LN with Admin or Group-LN (ablation)LLaMA-130M · pre-trainingperplexity: 26.73 -> 27.91; 26.73 -> 28.01Hurt

Surprising findings

Limitations

Experimental setup

Datasets: C4 Commonsense170K ImageNet-1K

Benchmarks: MMLU SQuAD v1.1 ARC-e Commonsense170K downstream tasks (MMLU, BoolQ, ARC-e, PIQA, Hellaswag, OBQA, Winogrande) ImageNet-1K

Metrics: perplexity performance drop angular distance top-1 accuracy training loss

Baselines: Post-LN DeepNorm Mix-LN Pre-LN LayerScale SkipInit Depth-Scaled Initialization Scaled Initialization Admin Sandwich-LN Group-LN

Builds on: Pre-LN Post-LN Scaled Initialization Mix-LN OLMo

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy