atlas

Research map / Large language models / Language, safety and interpretability

Systematic Outliers in Large Language Models

ICLR 2025 · Large language models › Language, safety and interpretability · approach: Pruning and circuits in LLMs · 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.

Analyzes activation, weight, and attention outliers in LLMs, attributes their formation to softmax attention, and shows that an explicit context-aware scaling factor in attention removes them and improves convergence and compression robustness on GPT-2.

Problem

Outliers in LLM activations, weights, and attention scores hurt performance and compression, but their formation mechanisms and functional roles are poorly understood, and prior work mostly mitigates them algorithmically.

Approach

Defines three outlier types, maps where they occur and how they interconnect (weight outliers -> activation outliers -> attention outliers), and argues via hypotheses, controlled GPT-2 attention variants, and theory that softmax's sum-to-one constraint forces large dynamic ranges that create outliers; they act as implicit context-aware scaling factors, and an explicit learnable scaling factor remo

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add context-aware scalingGPT-2 · WikiText2PPL (FP16): 27.24 -> 26.95Helped
add context-aware scalingGPT-2 · WikiText2PPL (AbsMax W8): 93.44 -> 29.22Helped
add context-aware scalingGPT-2 · WikiText2PPL (50% Sparse): 7235.68 -> 39.47Helped
add context-aware scalingGPT-2 attention · 50,000 training iterationsconvergence speedHelped
add context-aware scalingGPT-2 attention · validationvalidation lossNo clear effect
add an explicit fixed bias (ablation)GPT-2 attention · systematic outlier formationactivation outliersNo clear effect
add an explicit context-aware bias without a scaling factor (ablation)GPT-2 attention · systematic outlier formationactivation outliersNo clear effect
add a context-aware scaling factor (ablation)GPT-2 attention · systematic outlier formationactivation outliersHelped
replace softmax attention with sigmoid attention (ablation)GPT-2 · systematic outlier formationsystematic outliersHelped

Surprising findings

Limitations

Experimental setup

Datasets: RedPajama WikiText2

Benchmarks: WikiText2

Metrics: perplexity outlier magnitude extremal ratio overlap of activation and attention outliers training loss

Baselines: Default attention (GPT-2) Explicit fixed bias Explicit context-aware bias Attention bias Sigmoid attention

Builds on: Massive Activations Attention Sink sigmoid attention NanoGPT TinyLlama

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