Active-Dormant Attention Heads: Mechanistically Demystifying Extreme-Token Phenomena in LLMs
Not on the map. Why?
Abstract (arXiv)
Practitioners have consistently observed three puzzling phenomena in transformer-based large language models (LLMs): attention sinks, value-state drains, and residual-state peaks, collectively referred to as extreme-token phenomena. These phenomena are characterized by certain so-called "sink tokens" receiving disproportionately high attention weights, exhibiting significantly smaller value states, and having much larger residual-state norms than those of other tokens. These extreme tokens give rise to various challenges in LLM inference, quantization, and interpretability. We elucidate the mechanisms behind extreme-token phenomena. First, we show that these phenomena arise in very simple architectures -- transformers with one to three layers -- trained on a toy model, the Bigram-Backcopy (BB) task. In this setting, we identify an active-dormant mechanism, where attention heads become sinks for specific input domains while remaining non-sinks for others. Our theoretical analysis of the training dynamics reveals that these phenomena are driven by a mutual reinforcement mechanism. Building on these insights, we propose strategies to mitigate extreme-token phenomena during pretraining, including replacing softmax with ReLU and Adam with SGD. Next, we extend our analysis to pretrained LLMs, including Llama and OLMo, showing that many attention heads exhibit a similar active-dormant mechanism as in the BB task, and that the mutual reinforcement mechanism also governs the emergence of extreme-token phenomena during LLM pretraining. Our results reveal that many of the static and dynamic properties of extreme-token phenomena predicted by the BB task align with observations in pretrained LLMs.
Key facts. Cited by 54 papers in the map (data through 7 Oct 2026). Builds on 61 of its 75 references that are in the map. First posted on arXiv 17 Oct 2024.
Builds on
61 of 75 references.
References · 61
- 2017Attention Is All You Needcited by 59,932
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2023Mistral 7Bcited by 3,065
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
- 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,234
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 881
38 more
- 2023Vision Transformers Need Registerscited by 844
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 798
- 2024An Image is Worth 1/2 Tokens After Layer 2: Plug-and-Play Inference Acceleration for Large Vision-Language Modelscited by 629
- 2024OLMo: Accelerating the Science of Language Modelscited by 599
- 2016Linear Convergence of Gradient and Proximal-Gradient Methods Under the Polyak-Lojasiewicz Conditioncited by 526
- 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 517
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
- 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 475
- 2021A White Paper on Neural Network Quantizationcited by 453
- 2023Trained Transformers Learn Linear Models In-Contextcited by 331
- 2019Q8BERT: Quantized 8Bit BERTcited by 296
- 2023Function Vectors in Large Language Modelscited by 292
- 2024Massive Activations in Large Language Modelscited by 277
- 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 274
- 2023Physics of Language Models: Part 3.1, Knowledge Storage and Extractioncited by 264
- 2022The case for 4-bit precision: k-bit Inference Scaling Lawscited by 247
- 2022Towards Understanding Grokking: An Effective Theory of Representation Learningcited by 229
- 2024When Attention Sink Emerges in Language Models: An Empirical Viewcited by 200
- 2024DuQuant: Distributing Outliers via Dual Transformation Makes Stronger Quantized LLMscited by 165
- 2023Stabilizing Transformer Training by Preventing Attention Entropy Collapsecited by 154
- 2023Birth of a Transformer: A Memory Viewpointcited by 154
- 2023Quantizable Transformers: Removing Outliers by Helping Attention Heads Do Nothingcited by 147
- 2020Training with Quantization Noise for Extreme Model Compressioncited by 145
- 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantizationcited by 139
- 2023The mechanistic basis of data dependence and abrupt learning in an in-context classification taskcited by 115
- 2024How Transformers Learn Causal Structure with Gradient Descentcited by 114
- 2023In-Context Convergence of Transformerscited by 112
- 2022Unveiling Transformers with LEGO: a synthetic reasoning taskcited by 105
- 2023How do Language Models Bind Entities in Context?cited by 102
- 2023Scan and Snap: Understanding Training Dynamics and Token Composition in 1-layer Transformercited by 101
- 2024Universal Neurons in GPT2 Language Modelscited by 100
- 2023Linear attention is (maybe) all you need (to understand transformer optimization)cited by 97
- 2023How Many Pretraining Tasks Are Needed for In-Context Learning of Linear Regression?cited by 93
- 2023Transformers as Decision Makers: Provable In-Context Reinforcement Learning via Supervised Pretrainingcited by 82
- 2024Attention Score is not All You Need for Token Importance Indicator in KV Cache Reduction: Value Also Matterscited by 73
- 2023How Do Transformers Learn In-Context Beyond Simple Functions? A Case Study on Learning with Representationscited by 72
- 2024Unveiling and Harnessing Hidden Attention Sinks: Enhancing Large Language Models without Training through Attention Calibrationcited by 70
50 most cited of 61 All 61 (JSON)
Built on by
Citing papers per year: 2024: 2; 2025: 21; 2026: 31.
54 papers.
Sort:
By area:
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 722
- 2025Why do LLMs attend to the first token?cited by 122
- 2025On the Emergence of Position Bias in Transformerscited by 57
- 2025Attention Sinks and Compression Valleys in LLMs are Two Sides of the Same Coincited by 47
- 2025Massive Values in Self-Attention Modules are the Key to Contextual Knowledge Understandingcited by 44
- 2025RotateKV: Accurate and Robust 2-Bit KV Cache Quantization for LLMs via Outlier-Aware Adaptive Rotationscited by 42
- 2024Value Residual Learningcited by 25
- 2026The Spike, the Sparse and the Sink: Anatomy of Massive Activations and Attention Sinkscited by 23
- 2025How Do LLMs Perform Two-Hop Reasoning in Context?cited by 20
- 2025Softpick: No Attention Sink, No Massive Activations with Rectified Softmaxcited by 20
- 2025Attention Sinks: A 'Catch, Tag, Release' Mechanism for Embeddingscited by 16
- 2025Emergence of Superposition: Unveiling the Training Dynamics of Chain of Continuous Thoughtcited by 16
38 more
- 2024When Precision Meets Position: BFloat16 Breaks Down RoPE in Long-Context Trainingcited by 15
- 2025Unveiling Super Experts in Mixture-of-Experts Large Language Modelscited by 15
- 2025Beyond the Surface: Enhancing LLM-as-a-Judge Alignment with Human via Internal Representationscited by 14
- 2025Is the Reversal Curse a Binding Problem? Uncovering Limitations of Transformers from a Basic Generalization Failurecited by 13
- 2025Outlier-Safe Pre-Training for Robust 4-Bit Quantization of Large Language Modelscited by 13
- 2025ZeroTuning: Unlocking the Initial Token's Power to Enhance Large Language Models Without Trainingcited by 11
- 2025Generalization or Hallucination? Understanding Out-of-Context Reasoning in Transformerscited by 10
- 2026Attention Sinks Are Provably Necessary in Softmax Transformers: Evidence from Trigger-Conditional Taskscited by 10
- 2025Identifying and Evaluating Inactive Heads in Pretrained LLMscited by 8
- 2025Lost in the Middle: An Emergent Property from Information Retrieval Demands in LLMscited by 8
- 2026Value-Aware Stochastic KV Cache Eviction for Reasoning Modelscited by 8
- 2025Value-State Gated Attention for Mitigating Extreme-Token Phenomena in Transformerscited by 7
- 2026On the Nature of Attention Sink that Shapes Decoding Strategy in Omni-LLMscited by 5
- 2026OScaR: The Occam's Razor for Extreme KV Cache Quantization in LLMs and Beyondcited by 5
- 2026Attention Sink Forges Native MoE in Attention Layers: Sink-Aware Training to Address Head Collapsecited by 4
- 2026Surgery: Mitigating Harmful Fine-Tuning for Large Language Models via Attention Sinkcited by 3
- 2026A Structural Theory of Position Bias in Transformerscited by 3
- 2026Preference Redirection via Attention Concentration: An Attack on Computer Use Agentscited by 3
- 2025Towards Interpretable and Efficient Attention: Compressing All by Contracting a Fewcited by 2
- 2026Breaking the Reversal Curse in Autoregressive Language Models via Identity Bridgecited by 2
- 2026Attention Sinks Induce Gradient Sinks: Massive Activations as Gradient Regulators in Transformerscited by 2
- 2026LongAct: Harnessing Intrinsic Activation Patterns for Long-Context Reinforcement Learningcited by 2
- 2026Massive Spikes in LLMs are Bias Vectors: Mechanistic Uncovering and Spike-Free Quantizationcited by 2
- 2026Geometric Analysis of Token Selection in Multi-Head Attentioncited by 1
- 2026Sink vs. diagonal patterns as mechanisms for attention switch and oversmoothing preventioncited by 1
- 2026Transformers Provably Learn to Internalize Chain-of-Thoughtcited by 1
- 2026Semantic Head Specialization Guides Hybrid ViT Attention for Multimodal LLMscited by 1
- 2025Minimax Rates for Learning Pairwise Interactions in Attention-Style Modelscited by 0
- 2026Spectral Archaeology: The Causal Topology of Model Evolutioncited by 0
- 2026Gradient Flow Polarizes Softmax Outputs towards Low-Entropy Solutionscited by 0
- 2026CodeQuant: Unified Clustering and Quantization for Enhanced Outlier Smoothing in Low-Precision Mixture-of-Expertscited by 0
- 2026How Transformers Learn to Plan via Multi-Token Predictioncited by 0
- 2026A Mechanistic Account of Attention Sinks in GPT-2: One Circuit, Broader Implications for Mitigationcited by 0
- 2026Mechanistically Interpretable Neural Encoding Reveals Fine-Grained Functional Selectivity in Human Visual Cortexcited by 0
- 2026Contribution Weights: A Geometrical Analysis of Self-Attention Transformerscited by 0
- 2026A Unifying View of Attention Sinks: From Mechanisms to Architectural Interventionscited by 0
- 2026Abstention and Noise Filtering: Two Missing Primitives of Softmax Attentioncited by 0
- 2026Global Ranks Survive, Selected Heads Shift: BOS-Sink Topology under 4-bit Weight-Only Quantizationcited by 0
50 most cited of 54 All 54 (JSON)
- 2026Scaling Parameter and Context in Attention: Native Sparse Attention from Mixture-of-Head30 Sep 2026
- 2026Retrieval Capacity of Self-Attention Under Competition29 Sep 2026
- 2026CoWindow Attention: Full Causal Coverage Is a Collective Property26 Sep 2026
- 2026Global Ranks Survive, Selected Heads Shift: BOS-Sink Topology under 4-bit Weight-Only Quantization20 Sep 2026
- 2026Abstention and Noise Filtering: Two Missing Primitives of Softmax Attention18 Sep 2026
- 2026Temporal-Attention Head Specialization During Video Diffusion Training14 Sep 2026
- 2026Semantic Head Specialization Guides Hybrid ViT Attention for Multimodal LLMs28 Aug 2026
- 2026A Unifying View of Attention Sinks: From Mechanisms to Architectural Interventions6 Jun 2026
- 2026Value-Aware Stochastic KV Cache Eviction for Reasoning Models2 Jun 2026
- 2026Massive Spikes in LLMs are Bias Vectors: Mechanistic Uncovering and Spike-Free Quantization1 Jun 2026
- 2026Contribution Weights: A Geometrical Analysis of Self-Attention Transformers29 May 2026
- 2026Transformers Provably Learn to Internalize Chain-of-Thought27 May 2026
38 more
- 2026OScaR: The Occam's Razor for Extreme KV Cache Quantization in LLMs and Beyond19 May 2026
- 2026Mechanistically Interpretable Neural Encoding Reveals Fine-Grained Functional Selectivity in Human Visual Cortex15 May 2026
- 2026Sink vs. diagonal patterns as mechanisms for attention switch and oversmoothing prevention8 May 2026
- 2026LongAct: Harnessing Intrinsic Activation Patterns for Long-Context Reinforcement Learning16 Apr 2026
- 2026A Mechanistic Account of Attention Sinks in GPT-2: One Circuit, Broader Implications for Mitigation16 Apr 2026
- 2026How Transformers Learn to Plan via Multi-Token Prediction13 Apr 2026
- 2026CodeQuant: Unified Clustering and Quantization for Enhanced Outlier Smoothing in Low-Precision Mixture-of-Experts12 Apr 2026
- 2026Preference Redirection via Attention Concentration: An Attack on Computer Use Agents9 Apr 2026
- 2026Attention Sinks Induce Gradient Sinks: Massive Activations as Gradient Regulators in Transformers18 Mar 2026
- 2026On the Nature of Attention Sink that Shapes Decoding Strategy in Omni-LLMs15 Mar 2026
- 2026Attention Sinks Are Provably Necessary in Softmax Transformers: Evidence from Trigger-Conditional Tasks12 Mar 2026
- 2026Gradient Flow Polarizes Softmax Outputs towards Low-Entropy Solutions6 Mar 2026
- 2026The Spike, the Sparse and the Sink: Anatomy of Massive Activations and Attention Sinks5 Mar 2026
- 2026A Structural Theory of Position Bias in Transformers18 Feb 2026
- 2026Surgery: Mitigating Harmful Fine-Tuning for Large Language Models via Attention Sink5 Feb 2026
- 2026Breaking the Reversal Curse in Autoregressive Language Models via Identity Bridge2 Feb 2026
- 2026Geometric Analysis of Token Selection in Multi-Head Attention2 Feb 2026
- 2026Attention Sink Forges Native MoE in Attention Layers: Sink-Aware Training to Address Head Collapse1 Feb 2026
- 2026Spectral Archaeology: The Causal Topology of Model Evolution6 Jan 2026
- 2025Minimax Rates for Learning Pairwise Interactions in Attention-Style Models13 Oct 2025
- 2025Lost in the Middle: An Emergent Property from Information Retrieval Demands in LLMs11 Oct 2025
- 2025Value-State Gated Attention for Mitigating Extreme-Token Phenomena in Transformers10 Oct 2025
- 2025Attention Sinks and Compression Valleys in LLMs are Two Sides of the Same Coin7 Oct 2025
- 2025Emergence of Superposition: Unveiling the Training Dynamics of Chain of Continuous Thought27 Sep 2025
- 2025Towards Interpretable and Efficient Attention: Compressing All by Contracting a Few21 Sep 2025
- 2025Beyond the Surface: Enhancing LLM-as-a-Judge Alignment with Human via Internal Representations5 Aug 2025
- 2025Unveiling Super Experts in Mixture-of-Experts Large Language Models31 Jul 2025
- 2025Outlier-Safe Pre-Training for Robust 4-Bit Quantization of Large Language Models24 Jun 2025
- 2025Generalization or Hallucination? Understanding Out-of-Context Reasoning in Transformers12 Jun 2025
- 2025ZeroTuning: Unlocking the Initial Token's Power to Enhance Large Language Models Without Training16 May 2025
- 2025Softpick: No Attention Sink, No Massive Activations with Rectified Softmax29 Apr 2025
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory28 Apr 2025
- 2025Identifying and Evaluating Inactive Heads in Pretrained LLMs4 Apr 2025
- 2025Why do LLMs attend to the first token?3 Apr 2025
- 2025Is the Reversal Curse a Binding Problem? Uncovering Limitations of Transformers from a Basic Generalization Failure2 Apr 2025
- 2025How Do LLMs Perform Two-Hop Reasoning in Context?19 Feb 2025
- 2025On the Emergence of Position Bias in Transformers4 Feb 2025
- 2025Massive Values in Self-Attention Modules are the Key to Contextual Knowledge Understanding3 Feb 2025
50 newest of 54 All 54 (JSON)
- 2025How Do LLMs Perform Two-Hop Reasoning in Context?cited by 20
- 2025Emergence of Superposition: Unveiling the Training Dynamics of Chain of Continuous Thoughtcited by 16
- 2025Generalization or Hallucination? Understanding Out-of-Context Reasoning in Transformerscited by 10
- 2026Value-Aware Stochastic KV Cache Eviction for Reasoning Modelscited by 8
- 2026On the Nature of Attention Sink that Shapes Decoding Strategy in Omni-LLMscited by 5
- 2026Breaking the Reversal Curse in Autoregressive Language Models via Identity Bridgecited by 2
- 2026LongAct: Harnessing Intrinsic Activation Patterns for Long-Context Reinforcement Learningcited by 2
- 2026Transformers Provably Learn to Internalize Chain-of-Thoughtcited by 1
- 2026Value-Aware Stochastic KV Cache Eviction for Reasoning Models2 Jun 2026
- 2026Transformers Provably Learn to Internalize Chain-of-Thought27 May 2026
- 2026LongAct: Harnessing Intrinsic Activation Patterns for Long-Context Reinforcement Learning16 Apr 2026
- 2026On the Nature of Attention Sink that Shapes Decoding Strategy in Omni-LLMs15 Mar 2026
- 2026Breaking the Reversal Curse in Autoregressive Language Models via Identity Bridge2 Feb 2026
- 2025Emergence of Superposition: Unveiling the Training Dynamics of Chain of Continuous Thought27 Sep 2025
- 2025Generalization or Hallucination? Understanding Out-of-Context Reasoning in Transformers12 Jun 2025
- 2025How Do LLMs Perform Two-Hop Reasoning in Context?19 Feb 2025
- 2025Unveiling Super Experts in Mixture-of-Experts Large Language Modelscited by 15
- 2026Attention Sink Forges Native MoE in Attention Layers: Sink-Aware Training to Address Head Collapsecited by 4
- 2026CodeQuant: Unified Clustering and Quantization for Enhanced Outlier Smoothing in Low-Precision Mixture-of-Expertscited by 0
- 2026CodeQuant: Unified Clustering and Quantization for Enhanced Outlier Smoothing in Low-Precision Mixture-of-Experts12 Apr 2026
- 2026Attention Sink Forges Native MoE in Attention Layers: Sink-Aware Training to Address Head Collapse1 Feb 2026
- 2025Unveiling Super Experts in Mixture-of-Experts Large Language Models31 Jul 2025
- 2025Why do LLMs attend to the first token?cited by 122
- 2025On the Emergence of Position Bias in Transformerscited by 57
- 2025Attention Sinks and Compression Valleys in LLMs are Two Sides of the Same Coincited by 47
- 2025Massive Values in Self-Attention Modules are the Key to Contextual Knowledge Understandingcited by 44
- 2026The Spike, the Sparse and the Sink: Anatomy of Massive Activations and Attention Sinkscited by 23
- 2025Softpick: No Attention Sink, No Massive Activations with Rectified Softmaxcited by 20
- 2025Attention Sinks: A 'Catch, Tag, Release' Mechanism for Embeddingscited by 16
- 2024When Precision Meets Position: BFloat16 Breaks Down RoPE in Long-Context Trainingcited by 15
- 2025Is the Reversal Curse a Binding Problem? Uncovering Limitations of Transformers from a Basic Generalization Failurecited by 13
- 2025Outlier-Safe Pre-Training for Robust 4-Bit Quantization of Large Language Modelscited by 13
- 2025ZeroTuning: Unlocking the Initial Token's Power to Enhance Large Language Models Without Trainingcited by 11
- 2026Attention Sinks Are Provably Necessary in Softmax Transformers: Evidence from Trigger-Conditional Taskscited by 10
12 most cited of 34 All 34 (JSON)
- 2026Scaling Parameter and Context in Attention: Native Sparse Attention from Mixture-of-Head30 Sep 2026
- 2026Retrieval Capacity of Self-Attention Under Competition29 Sep 2026
- 2026CoWindow Attention: Full Causal Coverage Is a Collective Property26 Sep 2026
- 2026Global Ranks Survive, Selected Heads Shift: BOS-Sink Topology under 4-bit Weight-Only Quantization20 Sep 2026
- 2026Abstention and Noise Filtering: Two Missing Primitives of Softmax Attention18 Sep 2026
- 2026A Unifying View of Attention Sinks: From Mechanisms to Architectural Interventions6 Jun 2026
- 2026Massive Spikes in LLMs are Bias Vectors: Mechanistic Uncovering and Spike-Free Quantization1 Jun 2026
- 2026Contribution Weights: A Geometrical Analysis of Self-Attention Transformers29 May 2026
- 2026Mechanistically Interpretable Neural Encoding Reveals Fine-Grained Functional Selectivity in Human Visual Cortex15 May 2026
- 2026Sink vs. diagonal patterns as mechanisms for attention switch and oversmoothing prevention8 May 2026
- 2026A Mechanistic Account of Attention Sinks in GPT-2: One Circuit, Broader Implications for Mitigation16 Apr 2026
- 2026How Transformers Learn to Plan via Multi-Token Prediction13 Apr 2026
12 newest of 34 All 34 (JSON)