Understanding and Minimising Outlier Features in Neural Network Training
Not on the map. Why?
Abstract (arXiv)
Outlier Features (OFs) are neurons whose activation magnitudes significantly exceed the average over a neural network's (NN) width. They are well known to emerge during standard transformer training and have the undesirable effect of hindering quantisation in afflicted models. Despite their practical importance, little is known behind why OFs emerge during training, nor how one can minimise them. Our work focuses on the above questions, first identifying several quantitative metrics, such as the kurtosis over neuron activation norms, to measure OFs. With these metrics, we study how architectural and optimisation choices influence OFs, and provide practical insights to minimise OFs during training. As highlights, we introduce a novel unnormalised transformer block, the Outlier Protected block, and present a previously unknown benefit of non-diagonal preconditioning optimisers, finding both approaches to significantly reduce OFs and improve quantisation without compromising convergence speed, at scales of up to 7B parameters. Notably, our combination of OP block and non-diagonal preconditioner (SOAP) achieves 14.87 int8 weight-and-activation perplexity (from 14.71 in standard precision), compared to 63.4 int8 perplexity (from 16.00) with a default OF-prone combination of Pre-Norm model and Adam, when quantising OPT-125m models post-training. Overall, our findings shed new light on our understanding of, our ability to prevent, and the complexity of this important aspect of NN training dynamics.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 72 of its 88 references that are in the map. First posted on arXiv 29 May 2024.
Builds on
72 of 88 references.
References · 72
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
- 2016Layer Normalizationcited by 5,669
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
- 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,621
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
- 2019Generating Long Sequences with Sparse Transformerscited by 1,546
38 more
- 2019Root Mean Square Layer Normalizationcited by 1,480
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,202
- 2020On Layer Normalization in the Transformer Architecturecited by 922
- 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 843
- 2021Going deeper with Image Transformerscited by 764
- 2023Scaling Vision Transformers to 22 Billion Parameterscited by 694
- 2018On Lazy Training in Differentiable Programmingcited by 675
- 2024QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMscited by 634
- 2017Deep Neural Networks as Gaussian Processescited by 622
- 2021Gradient Descent on Neural Networks Typically Occurs at the Edge of Stabilitycited by 427
- 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 419
- 2021High-Performance Large-Scale Image Recognition Without Normalizationcited by 360
- 2018Gaussian Process Behaviour in Wide Deep Neural Networkscited by 317
- 2020Towards Understanding Ensemble, Knowledge Distillation and Self-Distillation in Deep Learningcited by 297
- 2024Massive Activations in Large Language Modelscited by 294
- 2020Query-Key Normalization for Transformerscited by 280
- 2020ReZero is All You Need: Fast Convergence at Large Depthcited by 264
- 2016Exponential expressivity in deep neural networks through transient chaoscited by 261
- 2019Representation Degeneration Problem in Training Natural Language Generation Modelscited by 255
- 2018Adaptive Input Representations for Neural Language Modelingcited by 226
- 2019Fixup Initialization: Residual Learning Without Normalizationcited by 198
- 2016Deep Information Propagationcited by 195
- 2020Feature Learning in Infinite-Width Neural Networkscited by 190
- 2022Outlier Suppression: Pushing the Limit of Low-bit Transformer Language Modelscited by 181
- 2018Dynamical Isometry and a Mean Field Theory of CNNs: How to Train 10,000-Layer Vanilla Convolutional Neural Networkscited by 176
- 2023Stabilizing Transformer Training by Preventing Attention Entropy Collapsecited by 161
- 2021All Bark and No Bite: Rogue Dimensions in Transformer Language Models Obscure Representational Qualitycited by 156
- 2019Tensor Programs I: Wide Feedforward or Recurrent Neural Networks of Any Architecture are Gaussian Processescited by 151
- 2023Quantizable Transformers: Removing Outliers by Helping Attention Heads Do Nothingcited by 151
- 2022High-dimensional Asymptotics of Feature Learning: How One Gradient Step Improves the Representationcited by 150
- 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantizationcited by 141
- 2022Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapsecited by 141
- 2017Resurrecting the sigmoid in deep learning through dynamical isometry: theory and practicecited by 132
- 2020Infinite attention: NNGP and NTK for deep attention networkscited by 121
- 2021BERT Busters: Outlier Dimensions that Disrupt Transformerscited by 112
- 2022Self-Consistent Dynamical Field Theory of Kernel Evolution in Wide Neural Networkscited by 105
- 2019On the Impact of the Activation Function on Deep Neural Networks Trainingcited by 102
50 most cited of 72 All 72 (JSON)
Built on by
Citing papers per year: 2024: 3; 2025: 5; 2026: 2.
10 papers.
- 2025Scaling Behavior of Discrete Diffusion Language Modelscited by 35
- 2025Purifying Shampoo: Investigating Shampoo's Heuristics by Decomposing its Preconditionercited by 23
- 2025PLoP: Precise LoRA Placement for Efficient Finetuning of Large Modelscited by 14
- 2024From Attention to Activation: Unravelling the Enigmas of Large Language Modelscited by 13
- 2026Clarifying Shampoo: Adapting Spectral Descent to Stochasticity and the Parameter Trajectorycited by 8
- 2024ReLU's Revival: On the Entropic Overload in Normalization-Free Large Language Modelscited by 3
- 2024AERO: Entropy-Guided Framework for Private LLM Inferencecited by 3
- 2025Leveraging Registers in Vision Transformers for Robust Adaptationcited by 3
- 2026S2D: Selective Spectral Decay for Quantization-Friendly Conditioning of Neural Activationscited by 1
- 2025Feature Bank Enhancement for Distance-based Out-of-Distribution Detectioncited by 0
- 2026S2D: Selective Spectral Decay for Quantization-Friendly Conditioning of Neural Activations16 Feb 2026
- 2026Clarifying Shampoo: Adapting Spectral Descent to Stochasticity and the Parameter Trajectory10 Feb 2026
- 2025Scaling Behavior of Discrete Diffusion Language Models11 Dec 2025
- 2025Feature Bank Enhancement for Distance-based Out-of-Distribution Detection11 Jul 2025
- 2025PLoP: Precise LoRA Placement for Efficient Finetuning of Large Models25 Jun 2025
- 2025Purifying Shampoo: Investigating Shampoo's Heuristics by Decomposing its Preconditioner4 Jun 2025
- 2025Leveraging Registers in Vision Transformers for Robust Adaptation8 Jan 2025
- 2024From Attention to Activation: Unravelling the Enigmas of Large Language Models22 Oct 2024
- 2024AERO: Entropy-Guided Framework for Private LLM Inference16 Oct 2024
- 2024ReLU's Revival: On the Entropic Overload in Normalization-Free Large Language Models12 Oct 2024