Repetitions are not all alike: distinct mechanisms sustain repetition in language models
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) can sometimes degrade into repetitive loops, persistently generating identical word sequences. Because repetition is rare in natural human language, its frequent occurrence across diverse tasks and contexts in LLMs remains puzzling. Here we investigate whether behaviorally similar repetition patterns arise from distinct underlying mechanisms and how these mechanisms develop during model training. We contrast two conditions: repetitions elicited by natural text prompts with those induced by in-context learning (ICL) setups that explicitly require copying behavior. Our analyses reveal that ICL-induced repetition relies on a dedicated network of attention heads that progressively specialize over training, whereas naturally occurring repetition emerges early and lacks a defined circuitry. Attention inspection further shows that natural repetition focuses disproportionately on low-information tokens, suggesting a fallback behavior when relevant context cannot be retrieved. These results indicate that superficially similar repetition behaviors originate from qualitatively different internal processes, reflecting distinct modes of failure and adaptation in language models.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 23 of its 33 references that are in the map. First posted on arXiv 1 Apr 2025.
Builds on
23 of 33 references.
References · 23
- 2019The Curious Case of Neural Text Degenerationcited by 2,916
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
- 2022In-context Learning and Induction Headscited by 964
- 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 623
- 2024The Good, The Bad, and The Greedy: Evaluation of LLMs Should Not Ignore Non-Determinismcited by 116
- 2022Learning to Break the Loop: Analyzing and Mitigating Repetitions for Neural Text Generationcited by 94
- 2020A Theoretical Analysis of the Repetition Problem in Text Generationcited by 83
- 2023The MiniPile Challenge for Data-Efficient Language Modelscited by 75
- 2024Repetition Improves Language Model Embeddingscited by 72
- 2024Attention Heads of Large Language Models: A Surveycited by 67
- 2025Which Attention Heads Matter for In-Context Learning?cited by 61
11 more
- 2024Induction Heads as an Essential Mechanism for Pattern Matching in In-context Learningcited by 46
- 2024Competition of Mechanisms: Tracing How Language Models Handle Facts and Counterfactualscited by 40
- 2023Repetition In Repetition Out: Towards Understanding Neural Text Degeneration from the Data Perspectivecited by 39
- 2023Understanding In-Context Learning from Repetitionscited by 29
- 2024Repetition Neurons: How Do Language Models Produce Repetitions?cited by 23
- 2024Mitigating the Language Mismatch and Repetition Issues in LLM-based Machine Translation via Model Editingcited by 18
- 2024From Loops to Oops: Fallback Behaviors of Language Models Under Uncertaintycited by 14
- 2023Penalty Decoding: Well Suppress the Self-Reinforcement Effect in Open-Ended Text Generationcited by 13
- 2023Unnatural language processing: How do language models handle machine-generated prompts?cited by 8
- 2021Taming Repetition in Dialogue Generationcited by 5
- 2024Evil twins are not that evil: Qualitative insights into machine-generated promptscited by 5
Built on by
Citing papers per year: 2025: 2; 2026: 8.
10 papers.
- 2025Next Edit Prediction: Learning to Predict Code Edits from Context and Interaction Historycited by 3
- 2025Word Salad Chopper: Reasoning Models Waste A Ton Of Decoding Budget On Useless Repetitions, Self-Knowinglycited by 3
- 2026Many Circuits, One Mechanism: Input Variation and Evaluation Granularity in Circuit Discoverycited by 3
- 2026Resource Consumption Threats in Large Language Modelscited by 2
- 2026SepSeq: A Training-Free Framework for Long Numerical Sequence Processing in LLMscited by 2
- 2026Copy Less, Ground More: Overcoming Repetitive Copying in Long-Context Reasoning via Evidence-Aware Reinforcement Learningcited by 1
- 2026Prompt-Model Interaction Reaches the Fixed Points: A deterministic, task-free structural readout -- and the factorizations of it that failedcited by 1
- 2026Sequence Repetition Enhances Token Embeddings and Improves Sequence Labeling with Decoder-only Language Modelscited by 0
- 2026Improving LLM Code Reasoning via Semantic Equivalence Self-Play with Formal Verificationcited by 0
- 2026Automatic or Controlled? Repetition Priming Reveals Divergent Processing in Base LLMs, Instruct LLMs, and Humanscited by 0
- 2026Prompt-Model Interaction Reaches the Fixed Points: A deterministic, task-free structural readout -- and the factorizations of it that failed21 Aug 2026
- 2026Automatic or Controlled? Repetition Priming Reveals Divergent Processing in Base LLMs, Instruct LLMs, and Humans5 Aug 2026
- 2026Copy Less, Ground More: Overcoming Repetitive Copying in Long-Context Reasoning via Evidence-Aware Reinforcement Learning21 Jul 2026
- 2026Many Circuits, One Mechanism: Input Variation and Evaluation Granularity in Circuit Discovery4 Jun 2026
- 2026Improving LLM Code Reasoning via Semantic Equivalence Self-Play with Formal Verification18 Apr 2026
- 2026SepSeq: A Training-Free Framework for Long Numerical Sequence Processing in LLMs9 Apr 2026
- 2026Resource Consumption Threats in Large Language Models17 Mar 2026
- 2026Sequence Repetition Enhances Token Embeddings and Improves Sequence Labeling with Decoder-only Language Models24 Jan 2026
- 2025Word Salad Chopper: Reasoning Models Waste A Ton Of Decoding Budget On Useless Repetitions, Self-Knowingly1 Nov 2025
- 2025Next Edit Prediction: Learning to Predict Code Edits from Context and Interaction History13 Aug 2025