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

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

14 Jul 2026arXiv:2607.13124added by Syntology

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

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

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× its unrecovered value and $1.6$--4.4× 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.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2607.13124")

Code

Syntology Ran 21 of 24 code samples harvested from 2 repositories linked to this paper; 3 have no recorded run. Of those that ran: 21 ran with no contract checked.

By repository: found in paper text by Syntology: 24 samples from 2 repositories, 21 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

icip-cas/ShortX found in paper text by Syntology report
VisionOPD/Vision-OPD found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

24 samples harvested; 21 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

21ran
3unverified

Licence: 0 of the 24 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

acc_text VisionOPD/Vision-OPD/eval/cal_acc.py found in paper text by Syntology ran Apache-2.0 (permissive) · 2fb398873e75361f · report
block_influence icip-cas/ShortX/shortx/shortgpt/metrics.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 5949cb967d9e2f26 · report
extract_first_option VisionOPD/Vision-OPD/eval/judge_qwenlm.py found in paper text by Syntology ran fingerprinted Apache-2.0 (permissive) · 7375ac1003e75160 · report
extract_mcq_option VisionOPD/Vision-OPD/eval/judge_qwenlm.py found in paper text by Syntology ran fingerprinted Apache-2.0 (permissive) · c08ee5d994b5b602 · report
generate_config_from_args VisionOPD/Vision-OPD/verl/model_merger/base_model_merger.py found in paper text by Syntology ran Apache-2.0 (permissive) · 8896f4e2bafe8abc · report
identity_forward icip-cas/ShortX/shortx/utils/patch_strategies.py found in paper text by Syntology ran MIT (permissive) · 6650c706f3db2556 · report
is_correct VisionOPD/Vision-OPD/eval/cal_acc.py found in paper text by Syntology ran Apache-2.0 (permissive) · 3d659f15a1dfc162 · report
l2_distance icip-cas/ShortX/shortx/shortgpt/metrics.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 1215305d10fb1d13 · report
llama_attention_only_forward icip-cas/ShortX/shortx/shortgpt/adapters/llama.py found in paper text by Syntology ran MIT (permissive) · 7766ed6fe1ace2d2 · report
llama_ffn_only_forward icip-cas/ShortX/shortx/shortgpt/adapters/llama.py found in paper text by Syntology ran MIT (permissive) · 2f1ea70ec01e35ff · report
llama_last_attn_ffn_only_forward icip-cas/ShortX/shortx/shortgpt/adapters/llama.py found in paper text by Syntology ran MIT (permissive) · 51bc546d3017eaa6 · report
make_sample_uid VisionOPD/Vision-OPD/eval/infer.py found in paper text by Syntology ran Apache-2.0 (permissive) · 16c462aa165ced48 · report
pick_image_path VisionOPD/Vision-OPD/eval/infer.py found in paper text by Syntology ran Apache-2.0 (permissive) · ebfbc91b7ed393e0 · report
prepare_zoombench VisionOPD/Vision-OPD/eval/prepare_data.py found in paper text by Syntology ran Apache-2.0 (permissive) · d9c5a589cd427f50 · report
process_multi_modal_inputs_for_minicpmo VisionOPD/Vision-OPD/verl/utils/dataset/vision_utils.py found in paper text by Syntology ran Apache-2.0 (permissive) · ee4a16e546e12473 · report
qwen_attention_only_forward icip-cas/ShortX/shortx/shortgpt/adapters/qwen.py found in paper text by Syntology ran MIT (permissive) · cf3900721c85d810 · report
qwen_ffn_only_forward icip-cas/ShortX/shortx/shortgpt/adapters/qwen.py found in paper text by Syntology ran MIT (permissive) · 361a3caeaaaf446b · report
qwen_last_attn_ffn_only_forward icip-cas/ShortX/shortx/shortgpt/adapters/qwen.py found in paper text by Syntology ran MIT (permissive) · 5649b66daf070ead · report
resolve_benchmark_json VisionOPD/Vision-OPD/eval/prepare_data.py found in paper text by Syntology ran Apache-2.0 (permissive) · 225a4721e03c0bbb · report
should_retry_existing_record VisionOPD/Vision-OPD/eval/infer.py found in paper text by Syntology ran Apache-2.0 (permissive) · 36cd5e00420a29f4 · report
variance_change icip-cas/ShortX/shortx/shortgpt/metrics.py found in paper text by Syntology ran fingerprinted MIT (permissive) · a1a3b6eb1f6a9fa4 · report
calc_hrbench VisionOPD/Vision-OPD/eval/cal_acc.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 106f8da519c5a301 · report
pope_extract VisionOPD/Vision-OPD/eval/judge_qwenlm.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 5a8d7a90cea59181 · report
prepare_vstar VisionOPD/Vision-OPD/eval/prepare_data.py found in paper text by Syntology unverified Apache-2.0 (permissive) · d982d36f7304ff08 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2607.13124, was issued in July 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections