mlsanityData to 24 Nov 2026

SWE-OPD: On-Policy Distillation for Agentic Coding

arXiv 2611.21020 ↗Submitted 16 Nov 2026cs.AI cs.LGcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

also in 1 more
Abstract (arXiv)

In this work, we study on-policy distillation (OPD) for transferring agentic coding capabilities from a large teacher model to a smaller student model. Prior work has focused primarily on reasoning and short-horizon agentic tasks. We present SWE-OPD, a minimal OPD study for software engineering, where the student interacts with executable repositories and the teacher supervises the prefixes visited by the student. Across three teacher--student pairs, two training sources, and three SWE benchmarks, we find that on-policy supervision transfers coding capability: supervision from Qwen3.6-27B increases the SWE-bench Pro resolve rate of Qwen3.5-9B from 35.9% to 39.4%. Refreshing trajectories is not strictly required either, as an offline variant with cached teacher scores still improves over the student baselines while cutting end-to-end GPU-hours by 59.4%--72.6% and halving peak GPU allocation, at benchmark-dependent accuracy. Furthermore, we extend the offline variant to corss-tokenizer scenarios: distilling GLM-4.5-Air from DeepSeek-V4-Flash-0731 raises its SWE-bench Pro and Multilingual resolve rate from 35.8% to 39.7% and from 41.8% to 46.2%, around 4% and 4.6% improvement, respectively. We also find that a decreasing loss, however, does not necessarily indicate improved agent performance: under top-K reverse-KL loss, one student exhibits severe repetition despite a decreasing loss. We identify a support-mass gradient term as a potential mechanism underlying this failure.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 35 of its 48 references that are in the map. Submitted 16 Nov 2026.

Builds on

35 of 48 references.

Closest ancestors · 3

Same direction, newest first

  1. 2026GLM-5: from Vibe Coding to Agentic Engineering17 Feb
  2. 2026Immersion in the GitHub Universe: Scaling Coding Agents to Mastery10 Feb
  3. 2025R2E-Gym: Procedural Environments and Hybrid Verifiers for Scaling Open-Weights SWE Agents9 Apr

Other references · 32

  1. 2015Distilling the Knowledge in a Neural Networkcited by 10,967
  2. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 10,542
  3. 2020Knowledge Distillation: A Surveycited by 1,645
  4. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,372
  5. 2023On-Policy Distillation of Language Models: Learning from Self-Generated Mistakescited by 1,201
  6. 2016Sequence-Level Knowledge Distillationcited by 908
  7. 2026Self-Distilled Reasoner: On-Policy Self-Distillation for Large Language Modelscited by 573
  8. 2015Policy Distillationcited by 496
  9. 2026Rethinking On-Policy Distillation of Large Language Models: Phenomenology, Mechanism, and Recipecited by 369
  10. 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 363
  11. 2026Kimi K3: Open Frontier Intelligencecited by 233
  12. 2026Learning beyond Teacher: Generalized On-Policy Distillation with Reward Extrapolationcited by 224
20 more
  1. 2026MiMo-V2-Flash Technical Reportcited by 220
  2. 2025Multi-SWE-bench: A Multilingual Benchmark for Issue Resolvingcited by 198
  3. 2024DistiLLM: Towards Streamlined Distillation for Large Language Modelscited by 193
  4. 2026A Survey of On-Policy Distillation for Large Language Modelscited by 189
  5. 2026Self-Distilled RLVRcited by 149
  6. 2026MOPD: Multi-Teacher On-Policy Distillation for Capability Integration in LLM Post-Trainingcited by 105
  7. 2020Autoregressive Knowledge Distillation through Imitation Learningcited by 90
  8. 2026Nemotron-Cascade 2: Post-Training LLMs with Cascade RL and Multi-Domain On-Policy Distillationcited by 76
  9. 2026TCOD: Exploring Temporal Curriculum in On-Policy Distillation for Multi-turn Autonomous Agentscited by 62
  10. 2026Uni-OPD: Unifying On-Policy Distillation with a Dual-Perspective Recipecited by 60
  11. 2026Lightning OPD: Efficient Post-Training for Large Reasoning Models with Offline On-Policy Distillationcited by 43
  12. 2026Trust Region On-Policy Distillationcited by 35
  13. 2026MAD-OPD: Breaking the Ceiling in On-Policy Distillation via Multi-Agent Debatecited by 25
  14. 2026SAGE-OPD: Selective Agent-Guided Intervention for Multi-Turn On-Policy Distillationcited by 20
  15. 2026SimCT: Recovering Lost Supervision for Cross-Tokenizer On-Policy Distillationcited by 19
  16. 2026Breaking the Tokenizer Barrier: On-Policy Distillation across Model Familiescited by 15
  17. 2026Cross-Tokenizer On-Policy Distillation via Byte-Prefix Marginalizationcited by 11
  18. 2026MEnvAgent: Scalable Polyglot Environment Construction for Verifiable Software Engineeringcited by 9
  19. 2025Analyzing the Effects of Supervised Fine-Tuning on Model Knowledge from Token and Parameter Levelscited by 8
  20. 2026SimpleOPD: Simple Tokenizer-Agnostic On-Policy Distillation for Long-Context Reasoningcited by 8

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Graph-Conditioned On-Policy Agent Distillation from Off-the-Shelf Teachers
  2. 2026OPRD: On-Policy Reminder Distillation for Long-Horizon Coding Agents
  3. 2026Rethinking Offline On-Policy Distillation: From Scalar Advantages to Distributional Supervision
  4. 2026RE-0: Verified Recursive Improvement of Embodied Code-as-Policy Agents through Local On-Policy Distillation
  5. 2026Agentic On-Policy Distillation Implicitly Reshapes LLMs' ReAct Patterns
  6. 2026Fast and Effective On-policy Distillation from Reasoning Prefixes
  7. 2026Branching On-Policy Distillation
  8. 2026Multi-Turn On-Policy Distillation with Prefix Replay