A Theoretical Analysis of the Repetition Problem in Text Generation
Not on the map. Why?
Abstract (arXiv)
Text generation tasks, including translation, summarization, language models, and etc. see rapid growth during recent years. Despite the remarkable achievements, the repetition problem has been observed in nearly all text generation models undermining the generation performance extensively. To solve the repetition problem, many methods have been proposed, but there is no existing theoretical analysis to show why this problem happens and how it is resolved. In this paper, we propose a new framework for theoretical analysis for the repetition problem. We first define the Average Repetition Probability (ARP) to characterize the repetition problem quantitatively. Then, we conduct an extensive analysis of the Markov generation model and derive several upper bounds of the average repetition probability with intuitive understanding. We show that most of the existing methods are essentially minimizing the upper bounds explicitly or implicitly. Grounded on our theory, we show that the repetition problem is, unfortunately, caused by the traits of our language itself. One major reason is attributed to the fact that there exist too many words predicting the same word as the subsequent word with high probability. Consequently, it is easy to go back to that word and form repetitions and we dub it as the high inflow problem. Furthermore, we derive a concentration bound of the average repetition probability for a general generation model. Finally, based on the theoretical upper bounds, we propose a novel rebalanced encoding approach to alleviate the high inflow problem. The experimental results show that our theoretical framework is applicable in general generation models and our proposed rebalanced encoding approach alleviates the repetition problem significantly. The source code of this paper can be obtained from https://github.com/fuzihaofzh/repetition-problem-nlg.
Key facts. Cited by 83 papers in the map (data through 7 Oct 2026). First posted on arXiv 29 Dec 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 5; 2022: 10; 2023: 24; 2024: 14; 2025: 12; 2026: 18.
83 papers.
Sort:
By area:
- 2022On the Effectiveness of Parameter-Efficient Fine-Tuningcited by 140
- 2023VisText: A Benchmark for Semantically Rich Chart Captioningcited by 111
- 2022Learning to Break the Loop: Analyzing and Mitigating Repetitions for Neural Text Generationcited by 90
- 2023Stay on topic with Classifier-Free Guidancecited by 90
- 2023Applying Large Language Models and Chain-of-Thought for Automatic Scoringcited by 68
- 2023The No Free Lunch Theorem, Kolmogorov Complexity, and the Role of Inductive Biases in Machine Learningcited by 63
- 2023Distilling Script Knowledge from Large Language Models for Constrained Language Planningcited by 45
- 2021Structural Persistence in Language Models: Priming as a Window into Abstract Language Representationscited by 44
- 2023Decoder-Only or Encoder-Decoder? Interpreting Language Model as a Regularized Encoder-Decodercited by 44
- 2024Neural Redshift: Random Networks are not Random Functionscited by 43
- 2023Repetition In Repetition Out: Towards Understanding Neural Text Degeneration from the Data Perspectivecited by 39
- 2021The Grammar-Learning Trajectories of Neural Language Modelscited by 36
38 more
- 2024True Knowledge Comes from Practice: Aligning LLMs with Embodied Environments via Reinforcement Learningcited by 36
- 2025Understanding the Repeat Curse in Large Language Models from a Feature Perspectivecited by 36
- 2024From Self-Attention to Markov Models: Unveiling the Dynamics of Generative Transformerscited by 34
- 2023ChatGPT as an Attack Tool: Stealthy Textual Backdoor Attack via Blackbox Generative Model Triggercited by 29
- 2023Understanding In-Context Learning from Repetitionscited by 27
- 2024Repetition Neurons: How Do Language Models Produce Repetitions?cited by 22
- 2024Know When To Stop: A Study of Semantic Drift in Text Generationcited by 18
- 2022Parameter-Efficient Neural Reranking for Cross-Lingual and Multilingual Retrievalcited by 17
- 2022Compose & Embellish: Well-Structured Piano Performance Generation via A Two-Stage Approachcited by 17
- 2023A Frustratingly Simple Decoding Method for Neural Text Generationcited by 16
- 2025Unveiling Attractor Cycles in Large Language Models: A Dynamical Systems View of Successive Paraphrasingcited by 14
- 2022Self-Repetition in Abstractive Neural Summarizerscited by 13
- 2023SequenceMatch: Imitation Learning for Autoregressive Sequence Modelling with Backtrackingcited by 13
- 2024Large Language Model Meets Graph Neural Network in Knowledge Distillationcited by 13
- 2023Object Recognition as Next Token Predictioncited by 12
- 2024ETHIC: Evaluating Large Language Models on Long-Context Tasks with High Information Coveragecited by 12
- 2023"One-Size-Fits-All"? Examining Expectations around What Constitute "Fair" or "Good" NLG System Behaviorscited by 11
- 2023Synthetically generated text for supervised text analysiscited by 10
- 2024The Hyperfitting Phenomenon: Sharpening and Stabilizing LLMs for Open-Ended Text Generationcited by 9
- 2025Repetitions are not all alike: distinct mechanisms sustain repetition in language modelscited by 9
- 2023Language Model Decoding as Direct Metrics Optimizationcited by 8
- 2022Conditional set generation using Seq2seq modelscited by 7
- 2026Lookahead-then-Verify: Reliable Constrained Decoding for Diffusion LLMs under Context-Free Grammarscited by 6
- 2023Mitigating Data Imbalance and Representation Degeneration in Multilingual Machine Translationcited by 5
- 2025MAGNET: Augmenting Generative Decoders with Representation Learning and Infilling Capabilitiescited by 5
- 2025What Happens During the Loss Plateau? Understanding Abrupt Learning in Transformerscited by 5
- 2025On the Empirical Power of Goodness-of-Fit Tests in Watermark Detectioncited by 5
- 2024A Tulu Resource for Machine Translationcited by 4
- 2024Emotion-driven Piano Music Generation via Two-stage Disentanglement and Functional Representationcited by 4
- 2025EfficientUICoder: A Bidirectional Token Compression Framework for Efficient MLLM-Based UI Code Generationcited by 4
- 2026OmniGen-AR: AutoRegressive Any-to-Image Generationcited by 4
- 2023Domain-Expanded ASTE: Rethinking Generalization in Aspect Sentiment Triplet Extractioncited by 3
- 2023Mitigating the Learning Bias towards Repetition by Self-Contrastive Training for Open-Ended Generationcited by 3
- 2021Diversifying Neural Text Generation with Part-of-Speech Guided Softmax and Samplingcited by 2
- 2022RMBR: A Regularized Minimum Bayes Risk Reranking Framework for Machine Translationcited by 2
- 2022Implicit causality in GPT-2: a case studycited by 2
- 2023Joint Repetition Suppression and Content Moderation of Large Language Modelscited by 2
- 2024Attention Overflow: Language Model Input Blur during Long-Context Missing Items Recommendationcited by 2
50 most cited of 83 All 83 (JSON)
- 2026Absorbed in Inertia: Activation Analysis for Computer-Use Agents29 Sep 2026
- 2026Target-Language Generation in Multilingual Models: Activation Steering and Optimal Control15 Sep 2026
- 2026What a Cross-Model Fixed-Point Census Can and Cannot Arbitrate About Repetition24 Aug 2026
- 2026Don't Repeat Yourself: Stopping Verbatim Loops at Sampling Time24 Aug 2026
- 2026Prompt-Model Interaction Reaches the Fixed Points: A deterministic, task-free structural readout -- and the factorizations of it that failed21 Aug 2026
- 2026Who Are You Explaining To? A Multi-Agent System for Audience-Aware XAI Narratives11 Aug 2026
- 2026Temperature-driven inversion and nonlinear dynamics in ChatGPT-like AIs2 Aug 2026
- 2026Many-body Tipping Dynamics of ChatGPT-like AIs28 Jul 2026
- 2026Geometric Reciprocity: Unlocking Self-Supervision for Stereoscopic Video Generation6 Jul 2026
- 2026Data-Centric Benchmarking of Exploit Generation in LLMs: Understanding the Impact of Fine-Tuning13 Jun 2026
- 2026When Can One Neuron Fix Repetition Loops in LLMs?9 Jun 2026
- 2026OmniGen-AR: AutoRegressive Any-to-Image Generation8 Jun 2026
38 more
- 2026Self-Attention as a Covariance Readout: A Unified View of In-Context Learning and Repetition11 May 2026
- 2026Escaping Mode Collapse in LLM Generation via Geometric Regulation1 May 2026
- 2026DharmaOCR: Specialized Small Language Models for Structured OCR that outperform Open-Source and Commercial Baselines15 Apr 2026
- 2026Resource Consumption Threats in Large Language Models17 Mar 2026
- 2026VideoSTF: Stress-Testing Output Repetition in Video Large Language Models11 Feb 2026
- 2026Lookahead-then-Verify: Reliable Constrained Decoding for Diffusion LLMs under Context-Free Grammars31 Jan 2026
- 2025Overview of the Plagiarism Detection Task at PAN 20258 Oct 2025
- 2025On the Empirical Power of Goodness-of-Fit Tests in Watermark Detection4 Oct 2025
- 2025EfficientUICoder: A Bidirectional Token Compression Framework for Efficient MLLM-Based UI Code Generation15 Sep 2025
- 2025Analyzing and Mitigating Repetitions in Trip Recommendation26 Jul 2025
- 2025Stable Preference Optimization: A Bilevel Approach to Catastrophic Preference Shift10 Jul 2025
- 2025What Happens During the Loss Plateau? Understanding Abrupt Learning in Transformers16 Jun 2025
- 2025Understanding the Repeat Curse in Large Language Models from a Feature Perspective19 Apr 2025
- 2025Repetitions are not all alike: distinct mechanisms sustain repetition in language models1 Apr 2025
- 2025Detection Avoidance Techniques for Large Language Models10 Mar 2025
- 2025Unveiling Attractor Cycles in Large Language Models: A Dynamical Systems View of Successive Paraphrasing21 Feb 2025
- 2025DiffSampling: Enhancing Diversity and Accuracy in Neural Text Generation19 Feb 2025
- 2025MAGNET: Augmenting Generative Decoders with Representation Learning and Infilling Capabilities15 Jan 2025
- 2024The Hyperfitting Phenomenon: Sharpening and Stabilizing LLMs for Open-Ended Text Generation5 Dec 2024
- 2024MolMetaLM: a Physicochemical Knowledge-Guided Molecular Meta Language Model23 Nov 2024
- 2024ETHIC: Evaluating Large Language Models on Long-Context Tasks with High Information Coverage22 Oct 2024
- 2024Repetition Neurons: How Do Language Models Produce Repetitions?17 Oct 2024
- 2024Contrastive Token Learning with Similarity Decay for Repetition Suppression in Machine Translation30 Sep 2024
- 2024Generative-Adversarial Networks for Low-Resource Language Data Augmentation in Machine Translation24 Aug 2024
- 2024Emotion-driven Piano Music Generation via Two-stage Disentanglement and Functional Representation30 Jul 2024
- 2024Attention Overflow: Language Model Input Blur during Long-Context Missing Items Recommendation18 Jul 2024
- 2024Know When To Stop: A Study of Semantic Drift in Text Generation8 Apr 2024
- 2024A Tulu Resource for Machine Translation28 Mar 2024
- 2024Neural Redshift: Random Networks are not Random Functions4 Mar 2024
- 2024From Self-Attention to Markov Models: Unveiling the Dynamics of Generative Transformers21 Feb 2024
- 2024Large Language Model Meets Graph Neural Network in Knowledge Distillation8 Feb 2024
- 2024True Knowledge Comes from Practice: Aligning LLMs with Embodied Environments via Reinforcement Learning25 Jan 2024
- 2023Object Recognition as Next Token Prediction4 Dec 2023
- 2023Applying Large Language Models and Chain-of-Thought for Automatic Scoring30 Nov 2023
- 2023Lexical Repetitions Lead to Rote Learning: Unveiling the Impact of Lexical Overlap in Train and Test Reference Summaries15 Nov 2023
- 2023Boosting Summarization with Normalizing Flows and Aggressive Training1 Nov 2023
- 2023"One-Size-Fits-All"? Examining Expectations around What Constitute "Fair" or "Good" NLG System Behaviors23 Oct 2023
- 2023Repetition In Repetition Out: Towards Understanding Neural Text Degeneration from the Data Perspective16 Oct 2023
50 newest of 83 All 83 (JSON)
- 2022On the Effectiveness of Parameter-Efficient Fine-Tuningcited by 140
- 2023VisText: A Benchmark for Semantically Rich Chart Captioningcited by 111
- 2022Learning to Break the Loop: Analyzing and Mitigating Repetitions for Neural Text Generationcited by 90
- 2023Stay on topic with Classifier-Free Guidancecited by 90
- 2023The No Free Lunch Theorem, Kolmogorov Complexity, and the Role of Inductive Biases in Machine Learningcited by 63
- 2023Distilling Script Knowledge from Large Language Models for Constrained Language Planningcited by 45
- 2021Structural Persistence in Language Models: Priming as a Window into Abstract Language Representationscited by 44
- 2023Decoder-Only or Encoder-Decoder? Interpreting Language Model as a Regularized Encoder-Decodercited by 44
- 2024Neural Redshift: Random Networks are not Random Functionscited by 43
- 2023Repetition In Repetition Out: Towards Understanding Neural Text Degeneration from the Data Perspectivecited by 39
- 2021The Grammar-Learning Trajectories of Neural Language Modelscited by 36
- 2024True Knowledge Comes from Practice: Aligning LLMs with Embodied Environments via Reinforcement Learningcited by 36
12 most cited of 74 All 74 (JSON)
- 2026Target-Language Generation in Multilingual Models: Activation Steering and Optimal Control15 Sep 2026
- 2026What a Cross-Model Fixed-Point Census Can and Cannot Arbitrate About Repetition24 Aug 2026
- 2026Don't Repeat Yourself: Stopping Verbatim Loops at Sampling Time24 Aug 2026
- 2026Prompt-Model Interaction Reaches the Fixed Points: A deterministic, task-free structural readout -- and the factorizations of it that failed21 Aug 2026
- 2026Temperature-driven inversion and nonlinear dynamics in ChatGPT-like AIs2 Aug 2026
- 2026Many-body Tipping Dynamics of ChatGPT-like AIs28 Jul 2026
- 2026Geometric Reciprocity: Unlocking Self-Supervision for Stereoscopic Video Generation6 Jul 2026
- 2026Data-Centric Benchmarking of Exploit Generation in LLMs: Understanding the Impact of Fine-Tuning13 Jun 2026
- 2026When Can One Neuron Fix Repetition Loops in LLMs?9 Jun 2026
- 2026OmniGen-AR: AutoRegressive Any-to-Image Generation8 Jun 2026
- 2026Self-Attention as a Covariance Readout: A Unified View of In-Context Learning and Repetition11 May 2026
- 2026Escaping Mode Collapse in LLM Generation via Geometric Regulation1 May 2026
12 newest of 74 All 74 (JSON)