atlas

Research map / Large language models / Language, safety and interpretability

Interpreting the Repeated Token Phenomenon in Large Language Models

ICML 2025 · Large language models › Language, safety and interpretability · approach: Task vectors and steering · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Mechanistically explains why LLMs fail to repeat a single token by linking the failure to attention-sink neurons triggered by repeated tokens, introduces a "cluster attack" and a targeted neuron patch that mitigates it.

Problem

LLMs often fail to accurately repeat a single token when asked, outputting unrelated text (repeated token divergence), an unexplained vulnerability that can leak training data.

Approach

Shows repeated tokens acquire attention-sink-like high norms via the same sink neurons that mark the BoS token, because the first attention layer marks any single-token sequence as "first"; this yields a cluster attack using non-repeated same-cluster tokens and a simple neuron-zeroing patch.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
patch the sink neuronLLaMa-1-7B-HF · MMLUscore: 29.81 -> 29.93 (+0.12)Helped
patch the sink neuronLLaMa-1-7B-HF · HellaSwagscore: 56.97 -> 56.95 (-0.02)No clear effect
patch the sink neuronLLaMa-1-7B-HF · TruthfulQAscore: 31.21 -> 29.38 (-1.83)Hurt
patch the sink neuronLLaMa-1-7B-HF · WinoGrandescore: 69.93 -> 69.93 (0.00)No clear effect
patch the sink neuronLLaMa-1-7B-HF · AI2-ARCscore: 41.89 -> 42.15 (+0.26)Helped
patch the sink neuronLLaMa-2-7B-HF · MMLUscore: 41.20 -> 42.17 (+0.97)Helped
patch the sink neuronLLaMa-2-7B-HF · HellaSwagscore: 57.12 -> 57.13 (+0.01)No clear effect
patch the sink neuronLLaMa-2-7B-HF · TruthfulQAscore: 34.15 -> 34.39 (+0.24)Helped
patch the sink neuronLLaMa-2-7B-HF · WinoGrandescore: 68.98 -> 69.06 (+0.08)No clear effect
patch the sink neuronLLaMa-2-7B-HF · AI2-ARCscore: 43.52 -> 43.34 (-0.18)No clear effect
patch the sink neuronMistral-7B-Instruct-v0.1 · MMLUscore: 53.41 -> 52.58 (-0.83)Hurt
patch the sink neuronMistral-7B-Instruct-v0.1 · HellaSwagscore: 56.23 -> 55.75 (-0.48)Hurt

Surprising findings

Limitations

Experimental setup

Datasets: MMLU HellaSwag TruthfulQA WinoGrande AI2-ARC The Pile Tiny Shakespeare

Benchmarks: MMLU HellaSwag TruthfulQA WinoGrande AI2-ARC

Metrics: accuracy difference before and after patch L2 norm of hidden states

Baselines: original unpatched models

Builds on: attention sinks repeated token divergence (Nasr et al. 2023) massive activations RoPE

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy