atlas

Research map / Architectures and efficiency / RNNs and normalization

Understanding and Minimising Outlier Features in Transformer Training

NeurIPS 2024 · Architectures and efficiency › RNNs and normalization · approach: Representation geometry and collapse · 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.

Studies why outlier features (OFs) emerge in transformer training and proposes an Outlier Protected (OP) normalisation-free block plus non-diagonal preconditioners (SOAP) to minimise OFs and improve int8 quantisation.

Problem

Outlier Features (neurons with activation magnitudes far above the layer average) emerge during standard transformer training and hinder low-precision quantisation; little is known about why they emerge or how to minimise them.

Approach

Introduces kurtosis-based OF metrics linked to signal propagation (input-wise Gram matrix), an Outlier Protected transformer block that removes Norm layers while keeping their training benefits (downweighted residuals plus QK-Norm entropy regulation), and shows that non-diagonal (rotated) preconditioners like SOAP and larger diagonal Adam epsilon reduce OFs.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace Pre-LN with the Outlier Protected blockTransformer · Languini BooksEval PPL: 19.1 -> 18.9; 16.2 -> 16.2; 13.9 -> 13.9No clear effect
Remove dropout regularisation (ablation)Pre-LN · OPT-125m, BookCorpus+WikipediaW8A8 perplexity: 63.4±50.1 -> 105.9±25.0Hurt
Increase maximum LR from 4 × 10−4 to 10−3 (ablation)Pre-LN · OPT-125m, BookCorpus+WikipediaW8A8 perplexity: 63.4±50.1 -> 59.0±10.7Helped
Increase AdamW ϵ from 10−8 to 10−5 (ablation)Pre-LN · OPT-125m, BookCorpus+WikipediaW8A8 perplexity: 63.4±50.1 -> 216.2±87.5Hurt
Replace AdamW with SOAP (ablation)Pre-LN · OPT-125m, BookCorpus+WikipediaW8A8 perplexity: 63.4±50.1 -> 16.43±0.12Helped
Remove dropout regularisation (ablation)Gated Attention [15] · OPT-125m, BookCorpus+WikipediaW8A8 perplexity: 16.2±0.09 -> 18.7±0.09Hurt
Increase maximum LR from 4 × 10−4 to 10−3 (ablation)Gated Attention [15] · OPT-125m, BookCorpus+WikipediaW8A8 perplexity: 16.2±0.09 -> 17.04±0.09Hurt
Increase AdamW ϵ from 10−8 to 10−5 (ablation)Gated Attention [15] · OPT-125m, BookCorpus+WikipediaW8A8 perplexity: 16.2±0.09 -> 15.54±0.01Helped
Replace AdamW with SOAP (ablation)Gated Attention [15] · OPT-125m, BookCorpus+WikipediaW8A8 perplexity: 16.2±0.09 -> 15.64±0.01Helped
Use the Outlier Protected block instead of Pre-LNTransformer with default optimiser hyperparameters · OPT-125m, BookCorpus+WikipediaW8A8 perplexity: 63.4±50.1 -> 16.01±0.01Helped
Remove dropout regularisation (ablation)OP · OPT-125m, BookCorpus+WikipediaW8A8 perplexity: 16.01±0.01 -> 15.78±0.03Helped
Increase maximum LR from 4 × 10−4 to 10−3 (ablation)OP · OPT-125m, BookCorpus+WikipediaW8A8 perplexity: 16.01±0.01 -> 15.60±0.01Helped

Surprising findings

Limitations

Experimental setup

Datasets: CodeParrot Languini Books BookCorpus English Wikipedia FineWeb-Edu ImageNet-style image classification (MLP/ViT)

Benchmarks: Languini Books eval perplexity FineWeb-Edu loss BookCorpus+Wikipedia W8A8 perplexity

Metrics: activation kurtosis training loss perplexity (FP16/32) W8A8 int8 perplexity max-median ratio

Baselines: Pre-LN Post-LN Pre-RMSNorm Pre-SRMSNorm Gated Attention AdamW AdaFactor

Builds on: Pre-Norm transformer Signal Propagation QK-Norm Shampoo AdamW Gated Attention (Bondarenko et al.)

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