Metraipolis › archive › dc_b4592e0cba2a
Don't Repeat Yourself: Stopping Verbatim Loops at Sampling Time — arXiv:2608.22761
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.22761
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-18T07:45:01.502Z
- SHA-256 of the archived text
6b622393ab95610709eb7e62be3abc4bcf31dd58164439bccf92ba305371131f- Stable URL of this page
https://metraipolis.com/documento/dc_b4592e0cba2a
How to cite
Don't Repeat Yourself: Stopping Verbatim Loops at Sampling Time — arXiv:2608.22761 — arXiv (en), https://arxiv.org/abs/2608.22761 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_b4592e0cba2a (Metraipolis archive dc_b4592e0cba2a, sha256 6b622393ab95610709eb7e62be3abc4bcf31dd58164439bccf92ba305371131f)
BibTeX
@misc{dcb4592e0cba2a,
title = {Don't Repeat Yourself: Stopping Verbatim Loops at Sampling Time — arXiv:2608.22761},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.22761},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_b4592e0cba2a; sha256 6b622393ab95610709eb7e62be3abc4bcf31dd58164439bccf92ba305371131f},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.22761. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
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 this http URL , ExLlamaV2, and text-generation-webui, highlighting its practical impact on text generation. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-25 in cs.AI). Categorie arXiv: Computation and Language (cs.CL) ; Artificial Intelligence (cs.AI); Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2608.22761 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-18T07:37:52.898Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-08-25?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).