mlsanityData to 14 Oct 2026

Don't Repeat Yourself: Stopping Verbatim Loops at Sampling Time

arXiv 2608.22761 ↗First posted 24 Aug 2026cs.CL cs.AI cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Large Language Models generate text autoregressively, but open-ended generation is prone to verbatim looping, in which models repeat spans already present in context. Standard defenses such as repetition, presence, and frequency penalties and n-gram blocking act on token recurrence rather than the sequential structure of a loop, and often suppress looping only at strengths that also degrade formatting or fluency. We propose Don't Repeat Yourself (DRY), a sampling-time logit adjustment that penalizes a candidate token only when generating it would extend the current suffix into an exact continuation of a span seen earlier in the context. Sequence breakers protect chat templates and formatting tokens. Across models from 1.5B to 120B parameters, nine prompt families, and a 600-pair human study, DRY reduces suffix-extension rate by 47% while improving lexical diversity. An intervention-matched placebo produces no comparable reduction, identifying suffix matching as the operative mechanism. On AWQ-quantized 70B and 120B models, DRY reduces loop rate by roughly half while preserving MT-Bench, MMLU, and GSM8K performance, whereas standard alternatives lose measurable ground. DRY has been adopted by popular open-source LLM inference frameworks including llama.cpp, ExLlamaV2, and text-generation-webui, highlighting its practical impact on text generation.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 47 of its 56 references that are in the map. First posted on arXiv 24 Aug 2026.

Builds on

47 of 56 references.

References · 47

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2022Training language models to follow instructions with human feedbackcited by 15,971
  4. 2024The Llama 3 Herd of Modelscited by 14,715
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  6. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  7. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  8. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  9. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  10. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  11. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
  12. 2023Qwen Technical Reportcited by 3,344
35 more
  1. 2016Pointer Sentinel Mixture Modelscited by 3,096
  2. 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
  3. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  4. 2023A Survey of Large Language Modelscited by 2,576
  5. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
  6. 2024Qwen2 Technical Reportcited by 2,120
  7. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
  8. 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,298
  9. 2018Hierarchical Neural Story Generationcited by 1,193
  10. 2015A Diversity-Promoting Objective Function for Neural Conversation Modelscited by 1,077
  11. 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 799
  12. 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 762
  13. 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 609
  14. 2019Neural Text Generation with Unlikelihood Trainingcited by 503
  15. 2018Texygen: A Benchmarking Platform for Text Generation Modelscited by 491
  16. 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 470
  17. 2021FUDGE: Controlled Text Generation With Future Discriminatorscited by 376
  18. 2017A Deep Reinforced Model for Abstractive Summarizationcited by 365
  19. 2016Diverse Beam Search: Decoding Diverse Solutions from Neural Sequence Modelscited by 301
  20. 2019Representation Degeneration Problem in Training Natural Language Generation Modelscited by 255
  21. 2022A Contrastive Framework for Neural Text Generationcited by 225
  22. 2024Turning Up the Heat: Min-p Sampling for Creative and Coherent LLM Outputscited by 150
  23. 2019What makes a good conversation? How controllable attributes affect human judgmentscited by 140
  24. 2022Truncation Sampling as Language Model Desmoothingcited by 123
  25. 2024A Thorough Examination of Decoding Methods in the Era of LLMscited by 114
  26. 2022Locally Typical Samplingcited by 111
  27. 2016Modeling Coverage for Neural Machine Translationcited by 110
  28. 2022Learning to Break the Loop: Analyzing and Mitigating Repetitions for Neural Text Generationcited by 94
  29. 2022On Decoding Strategies for Neural Text Generatorscited by 90
  30. 2020A Theoretical Analysis of the Repetition Problem in Text Generationcited by 83
  31. 2019Jointly Measuring Diversity and Quality in Text Generation Modelscited by 61
  32. 2025Understanding the Repeat Curse in Large Language Models from a Feature Perspectivecited by 37
  33. 2026Mirage Probes: How Vision Models Fake Visual Understandingcited by 5
  34. 2025Antislop: A Comprehensive Framework for Identifying and Eliminating Repetitive Patterns in Language Modelscited by 1
  35. 2025A superpersuasive autonomous policy debating systemcited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026FOCUS & RePAIR: Mitigating Text Degeneration via Token-Level Guidance for Pruned Large Language Models
  2. 2026Context Tokens are Anchors: Understanding the Repetition Curse in dMLLMs from an Information Flow Perspective
  3. 2025A Lightweight Method to Disrupt Memorized Sequences in LLM
  4. 2025Derailing Non-Answers via Logit Suppression at Output Subspace Boundaries in RLHF-Aligned Language Models
  5. 2026Tail-Replay: Escaping the Curse of Linear Attention in Prefix Caching for Hybrid LLMs
  6. 2023To Repeat or Not To Repeat: Insights from Scaling LLM under Token-Crisis
  7. 2026Re-feeding Is Not Replaying: Measuring Replay Noise in Counterfactual Token-Credit Estimation
  8. 2026One Model to Loop Them All: Elastic Latent Recurrence for Language Models