atlas

Research map / Architectures and efficiency / RNNs and normalization

Peri-LN: Revisiting Normalization Layer in the Transformer Architecture

ICML 2025 · Architectures and efficiency › RNNs and normalization · approach: Normalization layer theory · 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.

Proposes Peri-LN, which wraps each Transformer sub-layer with normalization on both its input and output, and shows via theory and pre-training up to 3.2B parameters that it yields more stable variance growth, gradient flow, and training than Pre-LN and Post-LN.

Problem

Choosing a layer normalization placement (Post-LN, Pre-LN) that stabilizes training and speeds convergence in large-scale Transformers; Pre-LN suffers from hidden-state variance blow-up ("massive activations") and gradient spikes, while Post-LN weakens gradient flow.

Approach

Applies normalization both before and after each sub-layer (Peri-LN, Output-LN on module output in addition to Pre-LN input norm), which bounds the magnitude of the residual-path additions and provides a damping factor on the final-layer gradient norm, unifying placements used in recent open models such as Gemma and OLMo.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use Peri-LN instead of Pre-LN400M Transformer · language-model benchmarksAvg. benchmark score: 49.69 -> 51.57Helped
use Peri-LN instead of Pre-LN1.5B Transformer · language-model benchmarksAvg. benchmark score: 53.71 -> 56.55Helped
use Peri-LN instead of Pre-LN3.2B Transformer · language-model benchmarksAvg. benchmark score: 56.69 -> 58.56Helped
use Peri-LN instead of Pre-LN400M Transformer · C4 evaluationloss: 3.43 -> 3.34Helped
use Peri-LN instead of Pre-LN1.5B Transformer · C4 evaluationloss: 3.29 -> 3.18Helped
use Peri-LN instead of Pre-LN3.2B Transformer · C4 evaluationloss: 3.20 -> 3.11Helped
add QK-Norm (ablation)Peri-LN · 1.5B pre-trainingfinal training loss: 2.722 -> 2.711Helped
place LN at A + C rather than Peri-LN placements (ablation)400M Transformer · 30B-token pre-trainingfinal training loss: 2.91 -> 3.01Hurt
place LN only at B rather than Peri-LN placements (ablation)400M Transformer · 30B-token pre-trainingtraining stabilityHurt
increase weight decay coefficient from 0 to 0.33 (ablation)400M Pre-LN · pre-trainingfinal training loss: 3.03 -> 3Helped
increase weight decay coefficient from 0 to 0.33 (ablation)400M Peri-LN · pre-trainingfinal training loss: 2.94 -> 2.90Helped
increase initialization variance (ablation)Pre-LN · pre-trainingtraining stabilityHurt

Surprising findings

Limitations

Experimental setup

Datasets: DCLM-baseline LIMA C4 Wikitext RedPajama-Data-1T OpenBookQA CommonSenseQA GLUE

Benchmarks: ARC-Easy HellaSwag PIQA SIQA Winogrande

Metrics: accuracy C4 evaluation loss training loss gradient norm activation variance angular distance

Baselines: Post-LN Pre-LN

Builds on: Pre-LN Post-LN RMSNorm Llama 3 DCLM

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