mlsanityData to 7 Oct 2026

Interpreting the Repeated Token Phenomenon in Large Language Models

arXiv 2503.08908 ↗First posted 11 Mar 2025cs.LG cs.AI cs.CLcited by 15

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs), despite their impressive capabilities, often fail to accurately repeat a single word when prompted to, and instead output unrelated text. This unexplained failure mode represents a vulnerability, allowing even end-users to diverge models away from their intended behavior. We aim to explain the causes for this phenomenon and link it to the concept of ``attention sinks'', an emergent LLM behavior crucial for fluency, in which the initial token receives disproportionately high attention scores. Our investigation identifies the neural circuit responsible for attention sinks and shows how long repetitions disrupt this circuit. We extend this finding to other non-repeating sequences that exhibit similar circuit disruptions. To address this, we propose a targeted patch that effectively resolves the issue without negatively impacting the model's overall performance. This study provides a mechanistic explanation for an LLM vulnerability, demonstrating how interpretability can diagnose and address issues, and offering insights that pave the way for more secure and reliable models.

Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Builds on 18 of its 23 references that are in the map. First posted on arXiv 11 Mar 2025.

Builds on

18 of 23 references.

References · 18

  1. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  2. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  3. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  4. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  5. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
  6. 2020GLU Variants Improve Transformercited by 1,724
  7. 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,359
  8. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
  9. 2023Scalable Extraction of Training Data from (Production) Language Modelscited by 415
  10. 2024Massive Activations in Large Language Modelscited by 277
  11. 2024When Attention Sink Emerges in Language Models: An Empirical Viewcited by 200
  12. 2023Quantizable Transformers: Removing Outliers by Helping Attention Heads Do Nothingcited by 147
6 more
  1. 2024Round and Round We Go! What makes Rotary Positional Encodings useful?cited by 111
  2. 2024Interpreting and Editing Vision-Language Representations to Mitigate Hallucinationscited by 103
  3. 2024Transformers need glasses! Information over-squashing in language taskscited by 87
  4. 2024Unveiling and Harnessing Hidden Attention Sinks: Enhancing Large Language Models without Training through Attention Calibrationcited by 70
  5. 2024Softmax is not Enough (for Sharp Size Generalisation)cited by 42
  6. 2024Interpreting the Second-Order Effects of Neurons in CLIPcited by 36

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 7; 2026: 8.

15 papers.

Sort:

By area: