Understanding the Repeat Curse in Large Language Models from a Feature Perspective
On the map: Mechanistic interpretability → SAE features and their applications
Abstract (arXiv)
Large language models (LLMs) have made remarkable progress in various domains, yet they often suffer from repetitive text generation, a phenomenon we refer to as the "Repeat Curse". While previous studies have proposed decoding strategies to mitigate repetition, the underlying mechanism behind this issue remains insufficiently explored. In this work, we investigate the root causes of repetition in LLMs through the lens of mechanistic interpretability. Inspired by recent advances in Sparse Autoencoders (SAEs), which enable monosemantic feature extraction, we propose a novel approach, "Duplicatus Charm", to induce and analyze the Repeat Curse. Our method systematically identifies "Repetition Features" -the key model activations responsible for generating repetitive outputs. First, we locate the layers most involved in repetition through logit analysis. Next, we extract and stimulate relevant features using SAE-based activation manipulation. To validate our approach, we construct a repetition dataset covering token and paragraph level repetitions and introduce an evaluation pipeline to quantify the influence of identified repetition features. Furthermore, by deactivating these features, we have effectively mitigated the Repeat Curse. The source code of our work is publicly available at: https://github.com/kaustpradalab/repeat-curse-llm
Key facts. Cited by 37 papers in the map (data through 13 Oct 2026). Placed in SAE features and their applications, one of 13 directions in Mechanistic interpretability. Builds on 32 of its 55 references that are in the map. First posted on arXiv 19 Apr 2025.
Builds on
32 of 55 references.
Closest ancestors · 4
Same direction, newest first
- 2024Llama Scope: Extracting Millions of Features from Llama-3.1-8B with Sparse Autoencoders27 Oct
- 2024Applying sparse autoencoders to unlearn knowledge in language models25 Oct
- 2024Improving Dictionary Learning with Gated Sparse Autoencoders24 Apr
- 2023Sparse Autoencoders Find Highly Interpretable Features in Language Models15 Sep
Other references · 28
- 2024The Llama 3 Herd of Modelscited by 14,486
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,541
- 2019The Curious Case of Neural Text Degenerationcited by 2,893
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,323
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,145
- 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 420
- 2024Contrastive Preference Optimization: Pushing the Boundaries of LLM Performance in Machine Translationcited by 393
- 2022A Contrastive Framework for Neural Text Generationcited by 224
- 2023DetectLLM: Leveraging Log Rank Information for Zero-Shot Detection of Machine-Generated Textcited by 207
- 2022Factuality Enhanced Language Models for Open-Ended Text Generationcited by 202
- 2019The Second Conversational Intelligence Challenge (ConvAI2)cited by 179
- 2021Transformer visualization via dictionary learning: contextualized embedding as a linear superposition of transformer factorscited by 107
16 more
- 2023To Repeat or Not To Repeat: Insights from Scaling LLM under Token-Crisiscited by 91
- 2020A Theoretical Analysis of the Repetition Problem in Text Generationcited by 83
- 2024InterPLM: Discovering Interpretable Features in Protein Language Models via Sparse Autoencoderscited by 66
- 2023Repetition In Repetition Out: Towards Understanding Neural Text Degeneration from the Data Perspectivecited by 39
- 2024Locate-then-edit for Multi-hop Factual Recall under Knowledge Editingcited by 36
- 2025Fraud-R1 : A Multi-Round Benchmark for Assessing the Robustness of LLM Against Augmented Fraud and Phishing Inducementscited by 32
- 2024PsycoLLM: Enhancing LLM for Psychological Understanding and Evaluationcited by 26
- 2024Repetition Neurons: How Do Language Models Produce Repetitions?cited by 23
- 2025EAP-GP: Mitigating Saturation Effect in Gradient-based Automated Circuit Identificationcited by 21
- 2024Mitigating the Language Mismatch and Repetition Issues in LLM-based Machine Translation via Model Editingcited by 18
- 2024Learning biologically relevant features in a pathology foundation model using sparse autoencoderscited by 14
- 2023Humans and language models diverge when predicting repeating textcited by 13
- 2023Penalty Decoding: Well Suppress the Self-Reinforcement Effect in Open-Ended Text Generationcited by 13
- 2025Mechanistic Unveiling of Transformer Circuits: Self-Influence as a Key to Model Reasoningcited by 11
- 2024Understanding Reasoning in Chain-of-Thought from the Hopfieldian Viewcited by 10
- 2024The Hyperfitting Phenomenon: Sharpening and Stabilizing LLMs for Open-Ended Text Generationcited by 9
Built on by
Citing papers per year: 2025: 16; 2026: 21.
37 papers.
Sort:
By area:
- 2025When Truth Is Overridden: Uncovering the Internal Origins of Sycophancy in Large Language Modelscited by 49
- 2025Stochastic Self-Guidance for Training-Free Enhancement of Diffusion Modelscited by 35
- 2025AVoCaDO: An Audiovisual Video Captioner Driven by Temporal Orchestrationcited by 26
- 2025Adaptive Multi-Subspace Representation Steering for Attribute Alignment in Large Language Modelscited by 16
- 2025PIXEL: Adaptive Steering Via Position-wise Injection with eXact Estimated Levels under Subspace Calibrationcited by 10
- 2025COMPKE: Complex Question Answering under Knowledge Editingcited by 6
- 2025Understanding and Mitigating Political Stance Cross-topic Generalization in Large Language Modelscited by 6
- 2026Context Tokens are Anchors: Understanding the Repetition Curse in dMLLMs from an Information Flow Perspectivecited by 6
- 2025What Happens During the Loss Plateau? Understanding Abrupt Learning in Transformerscited by 5
- 2025DTS: Enhancing Large Reasoning Models via Decoding Tree Sketchingcited by 5
- 2026Controlling Repetition in Protein Language Modelscited by 5
- 2025Tracing and Mitigating Hallucinations in Multimodal LLMs via Dynamic Attention Localizationcited by 4
25 more
- 2025The Compositional Architecture of Regret in Large Language Modelscited by 3
- 2025Stop Before You Fail: Operational Capability Boundaries for Mitigating Unproductive Reasoning in Large Reasoning Modelscited by 3
- 2026Concept-Based Dictionary Learning for Inference-Time Safety in Vision Language Action Modelscited by 3
- 2026MapTab: A Diagnostic Benchmark for Long-Horizon Multi-Criteria Multimodal Reasoning on Heterogeneous Topological Graphscited by 3
- 2026Echoes as Anchors: Probabilistic Costs and Attention Refocusing in LLM Reasoningcited by 2
- 2026Visual Self-Fulfilling Alignment: Shaping Safety-Oriented Personas via Threat-Related Imagescited by 2
- 2026Word Recovery in Large Language Models Enables Character-Level Tokenization Robustnesscited by 2
- 2025POLIS-Bench: Towards Multi-Dimensional Evaluation of LLMs for Bilingual Policy Tasks in Governmental Scenarioscited by 1
- 2026Faithful-Patchscopes: Understanding and Mitigating Model Bias in Hidden Representations Explanation of Large Language Modelscited by 1
- 2026VideoSTF: Stress-Testing Output Repetition in Video Large Language Modelscited by 1
- 2026SinhaLegal: A Benchmark Corpus for Information Extraction and Analysis in Sinhala Legislative Textscited by 1
- 2026VecCISC: Improving Confidence-Informed Self-Consistency with Reasoning Trace Clustering and Candidate Answer Selectioncited by 1
- 2026Sanity Checks for Long-Form Hallucination Detectioncited by 1
- 2026Breaking the Likelihood Trap: Variance-Calibrated Modulation for Large Language Model Decodingcited by 1
- 2026Copy Less, Ground More: Overcoming Repetitive Copying in Long-Context Reasoning via Evidence-Aware Reinforcement Learningcited by 1
- 2025Evaluating Large Language Models for Functional and Maintainable Code in Industrial Settings: A Case Study at ASMLcited by 0
- 2025In-Context Learning Without Copyingcited by 0
- 2025Unsupervised Memorability Modeling from Tip-of-the-Tongue Retrieval Queriescited by 0
- 2026Mechanistic Knobs in LLMs: Retrieving and Steering High-Order Semantic Features via Sparse Autoencoderscited by 0
- 2026DharmaOCR: Specialized Small Language Models for Structured OCR that outperform Open-Source and Commercial Baselinescited by 0
- 2026From Representations to Behaviors: Exploring the Person-Situation-Behavior Triad in LLMscited by 0
- 2026CreativeInstruct: Scalably Teaching LLMs to Balance Quality, Creativity, and Diversitycited by 0
- 2026Don't Repeat Yourself: Stopping Verbatim Loops at Sampling Timecited by 0
- 2026Uncovering Uncontrolled Repetition through Residual Stream Dynamicscited by 0
- 2026Not All Answers Are Contextually Persuadable: Inference Dynamics in Large Language Models under Contextual Influencecited by 0
- 2026Not All Answers Are Contextually Persuadable: Inference Dynamics in Large Language Models under Contextual Influence3 Oct 2026
- 2026Uncovering Uncontrolled Repetition through Residual Stream Dynamics30 Sep 2026
- 2026Don't Repeat Yourself: Stopping Verbatim Loops at Sampling Time24 Aug 2026
- 2026CreativeInstruct: Scalably Teaching LLMs to Balance Quality, Creativity, and Diversity7 Aug 2026
- 2026From Representations to Behaviors: Exploring the Person-Situation-Behavior Triad in LLMs29 Jul 2026
- 2026Copy Less, Ground More: Overcoming Repetitive Copying in Long-Context Reasoning via Evidence-Aware Reinforcement Learning21 Jul 2026
- 2026Breaking the Likelihood Trap: Variance-Calibrated Modulation for Large Language Model Decoding21 Jun 2026
- 2026Sanity Checks for Long-Form Hallucination Detection8 May 2026
- 2026VecCISC: Improving Confidence-Informed Self-Consistency with Reasoning Trace Clustering and Candidate Answer Selection8 May 2026
- 2026DharmaOCR: Specialized Small Language Models for Structured OCR that outperform Open-Source and Commercial Baselines15 Apr 2026
- 2026Word Recovery in Large Language Models Enables Character-Level Tokenization Robustness11 Mar 2026
- 2026Visual Self-Fulfilling Alignment: Shaping Safety-Oriented Personas via Threat-Related Images9 Mar 2026
25 more
- 2026SinhaLegal: A Benchmark Corpus for Information Extraction and Analysis in Sinhala Legislative Texts5 Mar 2026
- 2026MapTab: A Diagnostic Benchmark for Long-Horizon Multi-Criteria Multimodal Reasoning on Heterogeneous Topological Graphs20 Feb 2026
- 2026VideoSTF: Stress-Testing Output Repetition in Video Large Language Models11 Feb 2026
- 2026Echoes as Anchors: Probabilistic Costs and Attention Refocusing in LLM Reasoning6 Feb 2026
- 2026Concept-Based Dictionary Learning for Inference-Time Safety in Vision Language Action Models2 Feb 2026
- 2026Controlling Repetition in Protein Language Models31 Jan 2026
- 2026Faithful-Patchscopes: Understanding and Mitigating Model Bias in Hidden Representations Explanation of Large Language Models30 Jan 2026
- 2026Context Tokens are Anchors: Understanding the Repetition Curse in dMLLMs from an Information Flow Perspective28 Jan 2026
- 2026Mechanistic Knobs in LLMs: Retrieving and Steering High-Order Semantic Features via Sparse Autoencoders6 Jan 2026
- 2025Unsupervised Memorability Modeling from Tip-of-the-Tongue Retrieval Queries25 Nov 2025
- 2025In-Context Learning Without Copying7 Nov 2025
- 2025POLIS-Bench: Towards Multi-Dimensional Evaluation of LLMs for Bilingual Policy Tasks in Governmental Scenarios4 Nov 2025
- 2025DTS: Enhancing Large Reasoning Models via Decoding Tree Sketching1 Nov 2025
- 2025AVoCaDO: An Audiovisual Video Captioner Driven by Temporal Orchestration12 Oct 2025
- 2025PIXEL: Adaptive Steering Via Position-wise Injection with eXact Estimated Levels under Subspace Calibration11 Oct 2025
- 2025Stop Before You Fail: Operational Capability Boundaries for Mitigating Unproductive Reasoning in Large Reasoning Models29 Sep 2025
- 2025Evaluating Large Language Models for Functional and Maintainable Code in Industrial Settings: A Case Study at ASML15 Sep 2025
- 2025Tracing and Mitigating Hallucinations in Multimodal LLMs via Dynamic Attention Localization9 Sep 2025
- 2025Stochastic Self-Guidance for Training-Free Enhancement of Diffusion Models18 Aug 2025
- 2025Adaptive Multi-Subspace Representation Steering for Attribute Alignment in Large Language Models14 Aug 2025
- 2025Understanding and Mitigating Political Stance Cross-topic Generalization in Large Language Models4 Aug 2025
- 2025When Truth Is Overridden: Uncovering the Internal Origins of Sycophancy in Large Language Models4 Aug 2025
- 2025The Compositional Architecture of Regret in Large Language Models18 Jun 2025
- 2025What Happens During the Loss Plateau? Understanding Abrupt Learning in Transformers16 Jun 2025
- 2025COMPKE: Complex Question Answering under Knowledge Editing1 Jun 2025
- 2025DTS: Enhancing Large Reasoning Models via Decoding Tree Sketchingcited by 5
- 2025Stop Before You Fail: Operational Capability Boundaries for Mitigating Unproductive Reasoning in Large Reasoning Modelscited by 3
- 2026MapTab: A Diagnostic Benchmark for Long-Horizon Multi-Criteria Multimodal Reasoning on Heterogeneous Topological Graphscited by 3
- 2026Echoes as Anchors: Probabilistic Costs and Attention Refocusing in LLM Reasoningcited by 2
- 2026VecCISC: Improving Confidence-Informed Self-Consistency with Reasoning Trace Clustering and Candidate Answer Selectioncited by 1
- 2026Sanity Checks for Long-Form Hallucination Detectioncited by 1
- 2026Copy Less, Ground More: Overcoming Repetitive Copying in Long-Context Reasoning via Evidence-Aware Reinforcement Learningcited by 1
- 2026Copy Less, Ground More: Overcoming Repetitive Copying in Long-Context Reasoning via Evidence-Aware Reinforcement Learning21 Jul 2026
- 2026Sanity Checks for Long-Form Hallucination Detection8 May 2026
- 2026VecCISC: Improving Confidence-Informed Self-Consistency with Reasoning Trace Clustering and Candidate Answer Selection8 May 2026
- 2026MapTab: A Diagnostic Benchmark for Long-Horizon Multi-Criteria Multimodal Reasoning on Heterogeneous Topological Graphs20 Feb 2026
- 2026Echoes as Anchors: Probabilistic Costs and Attention Refocusing in LLM Reasoning6 Feb 2026
- 2025DTS: Enhancing Large Reasoning Models via Decoding Tree Sketching1 Nov 2025
- 2025Stop Before You Fail: Operational Capability Boundaries for Mitigating Unproductive Reasoning in Large Reasoning Models29 Sep 2025
- 2025Adaptive Multi-Subspace Representation Steering for Attribute Alignment in Large Language Modelscited by 16
- 2025PIXEL: Adaptive Steering Via Position-wise Injection with eXact Estimated Levels under Subspace Calibrationcited by 10
- 2026Mechanistic Knobs in LLMs: Retrieving and Steering High-Order Semantic Features via Sparse Autoencoderscited by 0
- 2026Mechanistic Knobs in LLMs: Retrieving and Steering High-Order Semantic Features via Sparse Autoencoders6 Jan 2026
- 2025PIXEL: Adaptive Steering Via Position-wise Injection with eXact Estimated Levels under Subspace Calibration11 Oct 2025
- 2025Adaptive Multi-Subspace Representation Steering for Attribute Alignment in Large Language Models14 Aug 2025
- 2026Context Tokens are Anchors: Understanding the Repetition Curse in dMLLMs from an Information Flow Perspectivecited by 6
- 2025Tracing and Mitigating Hallucinations in Multimodal LLMs via Dynamic Attention Localizationcited by 4
- 2026Visual Self-Fulfilling Alignment: Shaping Safety-Oriented Personas via Threat-Related Imagescited by 2
- 2026Visual Self-Fulfilling Alignment: Shaping Safety-Oriented Personas via Threat-Related Images9 Mar 2026
- 2026Context Tokens are Anchors: Understanding the Repetition Curse in dMLLMs from an Information Flow Perspective28 Jan 2026
- 2025Tracing and Mitigating Hallucinations in Multimodal LLMs via Dynamic Attention Localization9 Sep 2025
- 2025When Truth Is Overridden: Uncovering the Internal Origins of Sycophancy in Large Language Modelscited by 49
- 2025AVoCaDO: An Audiovisual Video Captioner Driven by Temporal Orchestrationcited by 26
- 2025COMPKE: Complex Question Answering under Knowledge Editingcited by 6
- 2025Understanding and Mitigating Political Stance Cross-topic Generalization in Large Language Modelscited by 6
- 2025What Happens During the Loss Plateau? Understanding Abrupt Learning in Transformerscited by 5
- 2026Controlling Repetition in Protein Language Modelscited by 5
- 2025The Compositional Architecture of Regret in Large Language Modelscited by 3
- 2026Word Recovery in Large Language Models Enables Character-Level Tokenization Robustnesscited by 2
- 2025POLIS-Bench: Towards Multi-Dimensional Evaluation of LLMs for Bilingual Policy Tasks in Governmental Scenarioscited by 1
- 2026Faithful-Patchscopes: Understanding and Mitigating Model Bias in Hidden Representations Explanation of Large Language Modelscited by 1
- 2026VideoSTF: Stress-Testing Output Repetition in Video Large Language Modelscited by 1
- 2026SinhaLegal: A Benchmark Corpus for Information Extraction and Analysis in Sinhala Legislative Textscited by 1
12 most cited of 21 All 21 (JSON)
- 2026Not All Answers Are Contextually Persuadable: Inference Dynamics in Large Language Models under Contextual Influence3 Oct 2026
- 2026Uncovering Uncontrolled Repetition through Residual Stream Dynamics30 Sep 2026
- 2026Don't Repeat Yourself: Stopping Verbatim Loops at Sampling Time24 Aug 2026
- 2026CreativeInstruct: Scalably Teaching LLMs to Balance Quality, Creativity, and Diversity7 Aug 2026
- 2026From Representations to Behaviors: Exploring the Person-Situation-Behavior Triad in LLMs29 Jul 2026
- 2026Breaking the Likelihood Trap: Variance-Calibrated Modulation for Large Language Model Decoding21 Jun 2026
- 2026Word Recovery in Large Language Models Enables Character-Level Tokenization Robustness11 Mar 2026
- 2026SinhaLegal: A Benchmark Corpus for Information Extraction and Analysis in Sinhala Legislative Texts5 Mar 2026
- 2026VideoSTF: Stress-Testing Output Repetition in Video Large Language Models11 Feb 2026
- 2026Controlling Repetition in Protein Language Models31 Jan 2026
- 2026Faithful-Patchscopes: Understanding and Mitigating Model Bias in Hidden Representations Explanation of Large Language Models30 Jan 2026
- 2025Unsupervised Memorability Modeling from Tip-of-the-Tongue Retrieval Queries25 Nov 2025
12 newest of 21 All 21 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2022Scaling Laws and Interpretability of Learning from Repeated Data
- 2025A Survey on Sparse Autoencoders: Interpreting the Internal Mechanisms of Large Language Models
- 2025Interpreting and Steering LLMs with Mutual Information-based Explanations on Sparse Autoencoders
- 2025Rethinking Repetition Problems of LLMs in Code Generation
- 2025Antislop: A Comprehensive Framework for Identifying and Eliminating Repetitive Patterns in Language Models
- 2026PARTREP: Learning What to Repeat for Decoder-only LLMs
- 2026Scaling Monosemanticity: Extracting Interpretable Features from Claude 3 Sonnet
- 2024When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models