LGAICLCRMar 11, 2025

Interpreting the Repeated Token Phenomenon in Large Language Models

DeepMind
arXiv:2503.08908v116 citationsh-index: 26ICML
Originality Highly original
AI Analysis

This addresses a vulnerability in LLMs that allows end-users to diverge models from intended behavior, offering insights for more secure and reliable models.

The study tackled the failure of Large Language Models to accurately repeat words by linking it to 'attention sinks' and identified the neural circuit responsible, proposing a patch that resolves the issue without harming performance.

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.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes