ShortOPD: Recovering Pruned LLMs with Short-to-Long On-Policy Distillation

Qingyu Zhang, Qianhao Yuan, Hongyu Lin, Yaojie Lu, Xianpei Han, Le Sun, Xiang Li, Ming Xu, Jiarui Li, Xiuyin Zhao

arXiv:2607.13124 · 2026-07-16 공개 · arXiv · PDF

on-policy-distillation model-compression generation-quality token-level-supervision repetitive-suffix rollout-budget math-code-generation llm-pruning

Abstract

Structured pruning is a hardware-friendly way to compress LLMs, but it is mostly validated on multiple-choice recognition tasks, while the same compressed checkpoints can collapse on the free-form generation that deployment actually requires. Two observations trace this gap. First, greedy \textsc{pass}@$1$ nearly vanishes after compression, yet \textsc{pass}@$k$ recovers substantially under repeated sampling: useful generations are demoted, not erased. Second, the recoverable regime fails mainly through suffix repetition. Recovery should therefore train on the compressed model's own on-policy states with dense token-level supervision, which On-Policy Distillation (OPD) provides by reusing the pre-compression model as a frozen teacher. However, long on-policy rollouts spend early recovery budget on low-information repetitive suffixes, delaying loss descent. To mitigate this waste, we propose \textbf{\shortopd}, a short-to-long OPD schedule that detects teacher-confirmed repetitive suffixes, treats the surviving prefix as each rollout's effective length, and allocates future rollout budgets to the effective lengths the policy can currently use. Across math, code, and open-ended generation, \shortopd\ raises the compressed model's score to about $9\times$ its unrecovered value and $1.6$--$4.4\times$ standard recovery recipes (SFT w/o KD, KD, and SeqKD), and it matches a fixed $8192$-token rollout horizon within two points using a quarter of the training time ($8.5$ vs.\ $35.9$ hours) and $71\%$ fewer rollout tokens. We hope this recipe helps move structured pruning beyond marginal gains on perplexity and multiple-choice benchmarks, a step closer to deployment-ready generation quality.

한국어 요약

한 줄 요약

ShortOPD는 압축된 LLM의 생성 성능을 회복하기 위해 반복 후缀을 피하고 짧은 생성부터 점진적으로 길이를 늘리는 on-policy distillation 기법이다.

핵심 기여도

핵심 아이디어

기존 압축된 LLM은 생성 과정에서 반복적인 후缀을 생성하며, 유용한 정보는 상대적으로 뒤로 밀려난다. 이는 단순히 모델 내부에 잠재된 능력이 아닌, 생성 과정에서의 분포 문제이다. 따라서, 압축된 모델이 생성한 on-policy 상태에 대해 밀집된 토큰 수준의 지도가 필요하다. 이에 따라, ShortOPD는 압축 전의 동일 모델을 고정된 teacher로 사용하는 on-policy distillation(OPD)을 기반으로, 반복 후缀을 탐지하고 짧은 생성부터 점진적으로 길이를 늘리는 방식으로 학습 자원을 효율적으로 할당한다. 핵심 아이디어는 반복된 후缀은 정보가 적기 때문에 초기 학습 단계에서 이를 피하고, 유의미한 prefix에 집중하는 것이다.

기술적 접근법

주요 결과

의의 및 한계

실용적 활용