cs.CLAug 27, 2026

FOCUS & RePAIR: Mitigating Text Degeneration via Token-Level Guidance for Pruned Large Language Models

Authors: Junyoung Lee, Sehyeon Park, Shinhyoung Jang, Seonha Ryu, Hojeong Kim, Hyunsei Lee, Il Hong Suh, Yeseong Kim

Organizations: Department of Electrical Engineering and Computer Science, POSTECH, Pohang, Republic of Korea · Department of Electrical Engineering and Computer Science, Daegu Gyeongbuk Institute of Science and Technology (DGIST), Daegu, Republic of Korea · Hanyang University, Seoul, Republic of Korea

Abstract

Pruning is a practical approach to compress large language models (LLMs), but it can amplify text degeneration, especially repetition loops, even when perplexity and task accuracy remain largely unchanged. In this work, we present a token-level analysis of this failure mode by viewing decoding as a dynamical process that enters and persists in a small set of recurrent contexts. Our analysis decomposes degeneration into loop entry risk and loop persistence, and shows that persistence is controlled by the escape mass assigned to plausible alternatives within the token sampling set. Motivated by these findings, we propose two token-level guidance objectives for post-pruning fine-tuning. FOCUS reweights distillation toward high-confidence teacher regions to suppress leakage, while RePAIR uses onset-centered positive/negative continuation pairs with a margin loss to promote plausible alternatives and prevent early commitment to repetition loops. Experiments on open-ended continuation and instruction-based generation show that both methods consistently reduce repetition and improve generation quality.

Figures & tables

Appendix figures & tables10 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. To Reason but Not to Stop: Understanding and Recovering Pruned Large Reasoning Models

    Oct 14, 2026Minh-Anh Nguyen, Nguyen T. Ha Lan, Xiyan Fu +2Repetition in Language GenerationLLM Reasoning

  2. Beyond Size: How Gradients Shape Pruning Decisions in Large Language Models

    Nov 8, 2023Rocktim Jyoti Das, Mukul Ranjan, Mingjie Sun +2LVLM PruningLLM Pruning

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

    Aug 24, 2026Philipp Emanuel Weidmann, Allen Roush, Judah Goldfeder +2Repetition in Language Generation