atlas

Research map / Architectures and efficiency / Attention and transformers

The Sharpness Disparity Principle in Transformers for Accelerating Language Model Pre-Training

ICML 2025 · Architectures and efficiency › Attention and transformers · approach: Transformer block and depth design · 0 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.

Shows transformer blocks (embedding, QK, VO, FFN, LayerNorm) have a consistent sharpness ordering and proposes Blockwise LR, which rescales per-block learning rates to speed up AdamW and Adam-mini LLM pre-training by about 2x.

Problem

Transformer building blocks (embedding, normalization, attention QK/VO, FFN) differ in curvature, but existing layerwise learning-rate methods do not transfer to transformers; the paper asks how to exploit block-type sharpness disparity to accelerate LLM pre-training.

Approach

Empirically and theoretically establish a block-type sharpness ordering S(Embed) << S(QK) < S(FFN) < S(VO) << S(Norm) that emerges early and persists, then keep the LayerNorm LR at the base value and scale LRs of flatter block types up by tuned ratios, switching after warmup.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Blockwise LR (block-type LR scaling, LN kept at base LR) added to AdamWAdamW pre-training of LLaMA/GPT-2 · OpenWebText, MiniPile, C4 pre-training (0.12B-2B)terminal loss and training speed: nearly 2x speedup; lower terminal lossHelped
Blockwise LR added to AdamWLLaMA (1.1B) downstream accuracy · 0-shot lm-evaluation-harness, 7 tasksaccuracy: higher on all 7 tasks (e.g., ARC_E +1.6, WinoGrande +4.7)Helped
Blockwise LR added to Adam-miniAdam-mini · LLaMA pre-trainingtraining speed: 2x speedup; combined 2x speedup and 2x memory saving vs AdamWHelped
Blockwise LR added to LionLion · LLaMA (0.25B) on OpenWebTexttraining speed: 2x speedupHelped
Blockwise LR applied only to Embed blocks (ablation)AdamW, LLaMA (0.25B) · OpenWebText 50k stepsterminal loss: -0.016Helped
Blockwise LR applied to Embed and FFN (ablation)AdamW, LLaMA (0.25B) · OpenWebText 50k stepsterminal loss: -0.043Helped
Blockwise LR applied to Embed, FFN, QK, and VO (all non-norm blocks) (ablation)AdamW, LLaMA (0.25B) · OpenWebText 50k stepsterminal loss: -0.050Helped
Doubling LR of LN blocks only (ablation)AdamW, LLaMA (0.25B) · OpenWebText 50k stepsterminal loss: +0.003Hurt
Blockwise LR applied to FFN blocks alone vs Embed alone (ablation)AdamW, LLaMA (0.25B) · OpenWebText 50k stepsterminal loss: FFN gives largest gain (~0.027 over Embed-only as stated)Helped
Switching blockwise LR on at end of warmup vs at startAdamW Blockwise LR · trainingterminal lossNo clear effect
Sharpness disparity principle among block types (Embed < QK < FFN < VO << Norm)GPT-2 and LLaMA pre-training · OpenWebText, sharpness estimatesaverage block sharpness orderingHelped
Layer-wise learning rate adjustment based on layer-level sharpnessTransformers · LLaMA (0.25B) OpenWebTextlayer-level sharpness trendNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: OpenWebText MiniPile C4

Benchmarks: ARC_E ARC_C PIQA HellaSwag OBQA WinoGrande SCIQ

Metrics: terminal validation loss speedup zero-shot accuracy

Baselines: AdamW Adam-mini Lion

Builds on: AdamW Adam-mini Sophia-style diagonal Hessian estimation edge of stability WSD scheduler

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