mlsanityData to 7 Oct 2026

Multi-Turn On-Policy Distillation with Prefix Replay

arXiv 2607.04763 ↗First posted 6 Jul 2026cs.LG cs.AI cs.CLcited by 12

On the map: LLM agents and tool use → Reinforcement learning for LLM agents

Abstract (arXiv)

We study on-policy distillation (OPD) for agentic tasks, where an LLM agent interacts with an environment over multiple turns and a student imitates a teacher over these multi-turn interaction histories. Fully online OPD is costly because each update requires fresh student rollouts through the environment and teacher queries at visited histories. We propose Replayed-Prefix On-Policy Distillation (ReOPD), an off-environment alternative that reuses pre-collected teacher trajectories as replayed prefixes: the student acts at selected steps, while the teacher provides dense per-step supervision without executing new environment interactions. We show that multi-turn OPD introduces a prefix trap: making histories more student-on-policy improves relevance to the student, but can query the teacher on histories where its target is unreliable. This creates a two-sided distribution shift between student occupancy and teacher reliability. ReOPD addresses this by treating multi-turn OPD as a reliability-aware prefix distribution design and implements it with a simple step-decaying sampling schedule that emphasizes early, lower-shift prefixes. Across mathematical reasoning with Python and search environments over multiple teacher and student model scales, ReOPD preserves or improves OPD-level accuracy, uses zero tool calls during student training, and is at least 4× faster per rollout than OPD. ReOPD therefore turns expensive agent-environment interaction into a reusable offline resource, enabling scalable distillation across tools, tasks, and environments.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Placed in Reinforcement learning for LLM agents, one of 16 directions in LLM agents and tool use. Builds on 67 of its 78 references that are in the map. First posted on arXiv 6 Jul 2026.

Builds on

67 of 78 references.

Closest ancestors · 2

Same direction, newest first

  1. 2025ReTool: Reinforcement Learning for Strategic Tool Use in LLMs15 Apr
  2. 2023Reflexion: Language Agents with Verbal Reinforcement Learning20 Mar

Other references · 65

  1. 2022Training language models to follow instructions with human feedbackcited by 15,712
  2. 2017Proximal Policy Optimization Algorithmscited by 14,441
  3. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  4. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  5. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  6. 2025Qwen3 Technical Reportcited by 8,195
  7. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  8. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  9. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  10. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  11. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  12. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
38 more
  1. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  2. 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,678
  3. 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,722
  4. 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,371
  5. 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,359
  6. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
  7. 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,216
  8. 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,103
  9. 2024OlympiadBench: A Challenging Benchmark for Promoting AGI with Olympiad-Level Bilingual Multimodal Scientific Problemscited by 1,099
  10. 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,054
  11. 2023A General Theoretical Paradigm to Understand Learning from Human Preferencescited by 906
  12. 2022STaR: Bootstrapping Reasoning With Reasoningcited by 895
  13. 2023Math-Shepherd: Verify and Reinforce LLMs Step-by-step without Human Annotationscited by 895
  14. 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 893
  15. 2023On-Policy Distillation of Language Models: Learning from Self-Generated Mistakescited by 840
  16. 2015Scheduled Sampling for Sequence Prediction with Recurrent Neural Networkscited by 779
  17. 2016Sequence-Level Knowledge Distillationcited by 761
  18. 2023MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Modelscited by 724
  19. 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 710
  20. 2023RAFT: Reward rAnked FineTuning for Generative Foundation Model Alignmentcited by 672
  21. 2015Sequence Level Training with Recurrent Neural Networkscited by 568
  22. 2023Reinforced Self-Training (ReST) for Language Modelingcited by 486
  23. 2023MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuningcited by 483
  24. 2023SLiC-HF: Sequence Likelihood Calibration with Human Feedbackcited by 395
  25. 2023Iterative Preference Learning from Human Feedback: Bridging Theory and Practice for RLHF under KL-Constraintcited by 346
  26. 2023Beyond Human Data: Scaling Self-Training for Problem-Solving with Language Modelscited by 325
  27. 2023Statistical Rejection Sampling Improves Preference Optimizationcited by 321
  28. 2023ToRA: A Tool-Integrated Reasoning Agent for Mathematical Problem Solvingcited by 276
  29. 2024RLHF Workflow: From Reward Modeling to Online RLHFcited by 265
  30. 2023FireAct: Toward Language Agent Fine-tuningcited by 247
  31. 2017Thinking Fast and Slow with Deep Learning and Tree Searchcited by 245
  32. 2016Professor Forcing: A New Algorithm for Training Recurrent Networkscited by 214
  33. 2023ReMax: A Simple, Effective, and Efficient Reinforcement Learning Method for Aligning Large Language Modelscited by 184
  34. 2024Preference Fine-Tuning of LLMs Should Leverage Suboptimal, On-Policy Datacited by 184
  35. 2026On-Policy Context Distillation for Language Modelscited by 161
  36. 2024Generalized Preference Optimization: A Unified Approach to Offline Alignmentcited by 155
  37. 2024Orca-Math: Unlocking the potential of SLMs in Grade School Mathcited by 151
  38. 2024DistiLLM: Towards Streamlined Distillation for Large Language Modelscited by 145

50 most cited of 65 All 65 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 12.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Know When to Stop, Where to Restart: Accelerating Multi-Turn Agentic On-Policy Distillation
  2. 2026From Trajectories to Prefixes: Reusing Teacher Trajectories via Replayed Prefixes and Online Continuation
  3. 2026Stochastic Teacher Intervention for Agentic On-Policy Distillation
  4. 2026SAGE-OPD: Selective Agent-Guided Intervention for Multi-Turn On-Policy Distillation
  5. 2026Graph-Conditioned On-Policy Agent Distillation from Off-the-Shelf Teachers
  6. 2026TCOD: Exploring Temporal Curriculum in On-Policy Distillation for Multi-turn Autonomous Agents
  7. 2026MemOPD: On-Policy Distillation through Memory State Alignment for Long-Horizon Agents
  8. 2026ATOD: Annealed Turn-Aware On-Policy Distillation for Multi-Turn Agentic Tasks