{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2607-13124","title":"ShortOPD: Recovering Pruned LLMs with Short-to-Long On-Policy Distillation","arxiv_id":"2607.13124","date":"2026-07-14","proceeding":null,"authors":["Qingyu Zhang","Qianhao Yuan","Hongyu Lin","Yaojie Lu","Xianpei Han","Le Sun","Ming Xu","Jiarui Li"],"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.","url_abs":"https://arxiv.org/abs/2607.13124","url_pdf":"https://arxiv.org/pdf/2607.13124","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2607.13124","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2607.13124"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/icip-cas/ShortX","reach":null},{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/VisionOPD/Vision-OPD","reach":null}],"summary":{"ran":21,"unverified":3},"by_repo_kind":{"found_in_text":{"samples":24,"ran":21,"repositories":2}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"2fb398873e75361f","entry":"acc_text","repo":"VisionOPD/Vision-OPD","repo_kind":"found_in_text","path":"eval/cal_acc.py","file_url":"https://github.com/VisionOPD/Vision-OPD/blob/HEAD/eval/cal_acc.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2fb398873e75361f"}},{"code_sha256_prefix":"5949cb967d9e2f26","entry":"block_influence","repo":"icip-cas/ShortX","repo_kind":"found_in_text","path":"shortx/shortgpt/metrics.py","file_url":"https://github.com/icip-cas/ShortX/blob/HEAD/shortx/shortgpt/metrics.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5949cb967d9e2f26"}},{"code_sha256_prefix":"7375ac1003e75160","entry":"extract_first_option","repo":"VisionOPD/Vision-OPD","repo_kind":"found_in_text","path":"eval/judge_qwenlm.py","file_url":"https://github.com/VisionOPD/Vision-OPD/blob/HEAD/eval/judge_qwenlm.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"7375ac1003e75160"}},{"code_sha256_prefix":"c08ee5d994b5b602","entry":"extract_mcq_option","repo":"VisionOPD/Vision-OPD","repo_kind":"found_in_text","path":"eval/judge_qwenlm.py","file_url":"https://github.com/VisionOPD/Vision-OPD/blob/HEAD/eval/judge_qwenlm.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c08ee5d994b5b602"}},{"code_sha256_prefix":"8896f4e2bafe8abc","entry":"generate_config_from_args","repo":"VisionOPD/Vision-OPD","repo_kind":"found_in_text","path":"verl/model_merger/base_model_merger.py","file_url":"https://github.com/VisionOPD/Vision-OPD/blob/HEAD/verl/model_merger/base_model_merger.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"8896f4e2bafe8abc"}},{"code_sha256_prefix":"6650c706f3db2556","entry":"identity_forward","repo":"icip-cas/ShortX","repo_kind":"found_in_text","path":"shortx/utils/patch_strategies.py","file_url":"https://github.com/icip-cas/ShortX/blob/HEAD/shortx/utils/patch_strategies.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6650c706f3db2556"}},{"code_sha256_prefix":"3d659f15a1dfc162","entry":"is_correct","repo":"VisionOPD/Vision-OPD","repo_kind":"found_in_text","path":"eval/cal_acc.py","file_url":"https://github.com/VisionOPD/Vision-OPD/blob/HEAD/eval/cal_acc.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"3d659f15a1dfc162"}},{"code_sha256_prefix":"1215305d10fb1d13","entry":"l2_distance","repo":"icip-cas/ShortX","repo_kind":"found_in_text","path":"shortx/shortgpt/metrics.py","file_url":"https://github.com/icip-cas/ShortX/blob/HEAD/shortx/shortgpt/metrics.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1215305d10fb1d13"}},{"code_sha256_prefix":"7766ed6fe1ace2d2","entry":"llama_attention_only_forward","repo":"icip-cas/ShortX","repo_kind":"found_in_text","path":"shortx/shortgpt/adapters/llama.py","file_url":"https://github.com/icip-cas/ShortX/blob/HEAD/shortx/shortgpt/adapters/llama.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7766ed6fe1ace2d2"}},{"code_sha256_prefix":"2f1ea70ec01e35ff","entry":"llama_ffn_only_forward","repo":"icip-cas/ShortX","repo_kind":"found_in_text","path":"shortx/shortgpt/adapters/llama.py","file_url":"https://github.com/icip-cas/ShortX/blob/HEAD/shortx/shortgpt/adapters/llama.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2f1ea70ec01e35ff"}},{"code_sha256_prefix":"51bc546d3017eaa6","entry":"llama_last_attn_ffn_only_forward","repo":"icip-cas/ShortX","repo_kind":"found_in_text","path":"shortx/shortgpt/adapters/llama.py","file_url":"https://github.com/icip-cas/ShortX/blob/HEAD/shortx/shortgpt/adapters/llama.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"51bc546d3017eaa6"}},{"code_sha256_prefix":"16c462aa165ced48","entry":"make_sample_uid","repo":"VisionOPD/Vision-OPD","repo_kind":"found_in_text","path":"eval/infer.py","file_url":"https://github.com/VisionOPD/Vision-OPD/blob/HEAD/eval/infer.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"16c462aa165ced48"}},{"code_sha256_prefix":"ebfbc91b7ed393e0","entry":"pick_image_path","repo":"VisionOPD/Vision-OPD","repo_kind":"found_in_text","path":"eval/infer.py","file_url":"https://github.com/VisionOPD/Vision-OPD/blob/HEAD/eval/infer.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ebfbc91b7ed393e0"}},{"code_sha256_prefix":"d9c5a589cd427f50","entry":"prepare_zoombench","repo":"VisionOPD/Vision-OPD","repo_kind":"found_in_text","path":"eval/prepare_data.py","file_url":"https://github.com/VisionOPD/Vision-OPD/blob/HEAD/eval/prepare_data.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d9c5a589cd427f50"}},{"code_sha256_prefix":"ee4a16e546e12473","entry":"process_multi_modal_inputs_for_minicpmo","repo":"VisionOPD/Vision-OPD","repo_kind":"found_in_text","path":"verl/utils/dataset/vision_utils.py","file_url":"https://github.com/VisionOPD/Vision-OPD/blob/HEAD/verl/utils/dataset/vision_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ee4a16e546e12473"}},{"code_sha256_prefix":"cf3900721c85d810","entry":"qwen_attention_only_forward","repo":"icip-cas/ShortX","repo_kind":"found_in_text","path":"shortx/shortgpt/adapters/qwen.py","file_url":"https://github.com/icip-cas/ShortX/blob/HEAD/shortx/shortgpt/adapters/qwen.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cf3900721c85d810"}},{"code_sha256_prefix":"361a3caeaaaf446b","entry":"qwen_ffn_only_forward","repo":"icip-cas/ShortX","repo_kind":"found_in_text","path":"shortx/shortgpt/adapters/qwen.py","file_url":"https://github.com/icip-cas/ShortX/blob/HEAD/shortx/shortgpt/adapters/qwen.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"361a3caeaaaf446b"}},{"code_sha256_prefix":"5649b66daf070ead","entry":"qwen_last_attn_ffn_only_forward","repo":"icip-cas/ShortX","repo_kind":"found_in_text","path":"shortx/shortgpt/adapters/qwen.py","file_url":"https://github.com/icip-cas/ShortX/blob/HEAD/shortx/shortgpt/adapters/qwen.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5649b66daf070ead"}},{"code_sha256_prefix":"225a4721e03c0bbb","entry":"resolve_benchmark_json","repo":"VisionOPD/Vision-OPD","repo_kind":"found_in_text","path":"eval/prepare_data.py","file_url":"https://github.com/VisionOPD/Vision-OPD/blob/HEAD/eval/prepare_data.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"225a4721e03c0bbb"}},{"code_sha256_prefix":"36cd5e00420a29f4","entry":"should_retry_existing_record","repo":"VisionOPD/Vision-OPD","repo_kind":"found_in_text","path":"eval/infer.py","file_url":"https://github.com/VisionOPD/Vision-OPD/blob/HEAD/eval/infer.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"36cd5e00420a29f4"}},{"code_sha256_prefix":"a1a3b6eb1f6a9fa4","entry":"variance_change","repo":"icip-cas/ShortX","repo_kind":"found_in_text","path":"shortx/shortgpt/metrics.py","file_url":"https://github.com/icip-cas/ShortX/blob/HEAD/shortx/shortgpt/metrics.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a1a3b6eb1f6a9fa4"}},{"code_sha256_prefix":"106f8da519c5a301","entry":"calc_hrbench","repo":"VisionOPD/Vision-OPD","repo_kind":"found_in_text","path":"eval/cal_acc.py","file_url":"https://github.com/VisionOPD/Vision-OPD/blob/HEAD/eval/cal_acc.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"106f8da519c5a301"}},{"code_sha256_prefix":"5a8d7a90cea59181","entry":"pope_extract","repo":"VisionOPD/Vision-OPD","repo_kind":"found_in_text","path":"eval/judge_qwenlm.py","file_url":"https://github.com/VisionOPD/Vision-OPD/blob/HEAD/eval/judge_qwenlm.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5a8d7a90cea59181"}},{"code_sha256_prefix":"d982d36f7304ff08","entry":"prepare_vstar","repo":"VisionOPD/Vision-OPD","repo_kind":"found_in_text","path":"eval/prepare_data.py","file_url":"https://github.com/VisionOPD/Vision-OPD/blob/HEAD/eval/prepare_data.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d982d36f7304ff08"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,795 of the 9,581 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9581,"papers_checked":6795},"entries":[],"not_placed":{"boards":0,"rejected_by_independent_check":0,"refused_by_a_rule":0,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}