Hidden Dynamics of Massive Activations in Transformer Training
Not on the map. Why?
Abstract (arXiv)
We present the first comprehensive analysis of massive activation development throughout transformer training, using the Pythia model family as our testbed, and release our full dataset publicly to support further research. Through systematic analysis of various model sizes across multiple training checkpoints, we demonstrate that massive activation emergence follows highly predictable mathematical patterns that can be accurately modeled using an exponentially-modulated logarithmic function with five key parameters. Additionally, We develop a machine learning framework to predict these mathematical parameters from architectural specifications alone, achieving high accuracy for steady-state behavior and moderate accuracy for emergence timing and magnitude. These findings enable architects to predict and potentially control key aspects of massive activation emergence through design choices, with significant implications for model stability, training cycle length, interpretability, and optimization. Our findings demonstrate that the emergence of massive activations is governed by model design and can be anticipated, and potentially controlled, before training begins. Code is available at https://github.com/Aimpoint-Digital/massive-activations-fork
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 29 of its 45 references that are in the map. First posted on arXiv 5 Aug 2025.
Builds on
29 of 45 references.
References · 29
- 2017Attention Is All You Needcited by 60,361
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
- 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,166
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2020Rethinking Attention with Performerscited by 1,601
- 2019Root Mean Square Layer Normalizationcited by 1,480
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
- 2023Vision Transformers Need Registerscited by 871
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 629
- 2024Massive Activations in Large Language Modelscited by 294
- 2022Towards Understanding Grokking: An Effective Theory of Representation Learningcited by 230
17 more
- 2024DuQuant: Distributing Outliers via Dual Transformation Makes Stronger Quantized LLMscited by 167
- 2023Quantizable Transformers: Removing Outliers by Helping Attention Heads Do Nothingcited by 151
- 2021Dive into Deep Learningcited by 111
- 2025Massive Values in Self-Attention Modules are the Key to Contextual Knowledge Understandingcited by 47
- 2025Peri-LN: Revisiting Normalization Layer in the Transformer Architecturecited by 34
- 2025Systematic Outliers in Large Language Modelscited by 33
- 2024Mitigating the Impact of Outlier Channels for Language Model Quantization with Activation Regularizationcited by 23
- 2025Unleashing Diffusion Transformers for Visual Correspondence by Modulating Massive Activationscited by 23
- 2025Softpick: No Attention Sink, No Massive Activations with Rectified Softmaxcited by 22
- 2024Mitigating Quantization Errors Due to Activation Spikes in GLU-Based LLMscited by 21
- 2023Exploiting Activation Sparsity with Dense to Dynamic-k Mixture-of-Experts Conversioncited by 16
- 2024Tracking the Feature Dynamics in LLM Training: A Mechanistic Studycited by 16
- 2024From Attention to Activation: Unravelling the Enigmas of Large Language Modelscited by 13
- 2025Activation Control for Efficiently Eliciting Long Chain-of-thought Ability of Language Modelscited by 13
- 2025A Refined Analysis of Massive Activations in LLMscited by 12
- 2024House of Cards: Massive Weights in LLMscited by 9
- 2024First Activations Matter: Training-Free Methods for Dynamic Activation in Large Language Modelscited by 6
Built on by
Citing papers per year: 2025: 1; 2026: 9.
10 papers.
- 2025TWEO: Transformers Without Extreme Outliers Enables FP8 Training And Quantization For Dummiescited by 6
- 2026How Do Transformers Learn to Associate Tokens: Gradient Leading Terms Bring Mechanistic Interpretabilitycited by 3
- 2026Attention Sinks Induce Gradient Sinks: Massive Activations as Gradient Regulators in Transformerscited by 3
- 2026A Single Layer to Explain Them All:Understanding Massive Activations in Large Language Modelscited by 2
- 2026Massive Activations in Hybrid Linear Attention Large Language Models: Pre-Attention Spikes and Inter-Spike Plateauscited by 2
- 2026A Unifying View of Attention Sinks: From Mechanisms to Architectural Interventionscited by 0
- 2026Transformer MLP Gate Thresholds Are Couplings to a Carried Reference Directioncited by 0
- 2026Which the Eye Fears: Writing with Read-Blindness Explains Massive Activations in Transformerscited by 0
- 2026The Life Cycle of a Massive Activation: Stochastic Birth, Weight-Decay-Driven Growth, and Competitive Consolidationcited by 0
- 2026Fault-tolerant foundation modelscited by 0
- 2026Fault-tolerant foundation models7 Oct 2026
- 2026The Life Cycle of a Massive Activation: Stochastic Birth, Weight-Decay-Driven Growth, and Competitive Consolidation30 Sep 2026
- 2026Which the Eye Fears: Writing with Read-Blindness Explains Massive Activations in Transformers28 Sep 2026
- 2026Transformer MLP Gate Thresholds Are Couplings to a Carried Reference Direction25 Sep 2026
- 2026Massive Activations in Hybrid Linear Attention Large Language Models: Pre-Attention Spikes and Inter-Spike Plateaus12 Aug 2026
- 2026A Unifying View of Attention Sinks: From Mechanisms to Architectural Interventions6 Jun 2026
- 2026A Single Layer to Explain Them All:Understanding Massive Activations in Large Language Models8 May 2026
- 2026Attention Sinks Induce Gradient Sinks: Massive Activations as Gradient Regulators in Transformers18 Mar 2026
- 2026How Do Transformers Learn to Associate Tokens: Gradient Leading Terms Bring Mechanistic Interpretability27 Jan 2026
- 2025TWEO: Transformers Without Extreme Outliers Enables FP8 Training And Quantization For Dummies28 Nov 2025