Revisiting DAgger in the Era of LLM-Agents
On the map: LLM agents and tool use → Reinforcement learning for LLM agents
Abstract (arXiv)
Long-horizon LM agents learn from multi-turn interaction, where a single early mistake can alter the subsequent state distribution and derail the whole trajectory. Existing recipes fall short in complementary ways: supervised fine-tuning provides dense teacher supervision but suffers from covariate shift because it is trained on off-policy teacher trajectories; while reinforcement learning with verifiable rewards avoids this off-policy mismatch by learning from on-policy rollouts but with only sparse outcome feedback. We address this dilemma by revisiting Dataset Aggregation (DAgger) for multi-turn LM agents: the algorithm collects trajectories through a turn-level interpolation of student and teacher policies, and the student is then trained on these trajectories using supervised labels provided by the teacher. By directly interacting with environments, we expose the model to realistic states likely to be encountered during deployment, thereby effectively mitigating covariate shift. Besides, since the student is learned by mimicking the teacher's behavior, it receives rich feedback during learning. To demonstrate DAgger enjoys the benefits of both worlds, we tested the algorithm to train a software-engineering agent with 4B- and 8B-scale student models. On SWE-bench Verified, our DAgger-style training improves over the strongest post-training baseline by +3.9 points at 4B and +3.6 points at 8B. The resulting 4B agent reaches 27.3%, outperforming representative published 8B SWE-agent systems, while the 8B agent achieves 29.8%, surpassing SWE-Gym-32B and coming within 5 points of stronger 32B-scale agents. Together with consistent gains on the held-out SWE-Gym split, these results suggest the effectiveness of DAgger for modern long-horizon LM agents.
Key facts. Cited by 4 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 45 of its 52 references that are in the map. First posted on arXiv 13 May 2026.
Builds on
45 of 52 references.
Closest ancestors · 4
Same direction, newest first
- 2026ProRL Agent: Rollout-as-a-Service for RL Training of Multi-Turn LLM Agents19 Mar
- 2025Imitation Learning for Multi-turn LM Agents via On-policy Expert Corrections16 Dec
- 2025SkyRL-Agent: Efficient RL Training for Multi-turn LLM Agent20 Nov
- 2025Reinforcement Learning for Machine Learning Engineering Agents1 Sep
Other references · 41
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2025Qwen3 Technical Reportcited by 8,195
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,655
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,678
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
- 2023On-Policy Distillation of Language Models: Learning from Self-Generated Mistakescited by 840
29 more
- 2025BrowseComp: A Simple Yet Challenging Benchmark for Browsing Agentscited by 616
- 2015Policy Distillationcited by 414
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
- 2026Self-Distilled Reasoner: On-Policy Self-Distillation for Large Language Modelscited by 386
- 2025Rubrics as Rewards: Reinforcement Learning Beyond Verifiable Domainscited by 328
- 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 300
- 2026Reinforcement Learning via Self-Distillationcited by 285
- 2024CodeAgent: Enhancing Code Generation with Tool-Integrated Agent Systems for Real-World Repo-level Coding Challengescited by 278
- 2025SWE-smith: Scaling Data for Software Engineering Agentscited by 255
- 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 254
- 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 246
- 2025BrowseComp-Plus: A More Fair and Transparent Evaluation Benchmark of Deep-Research Agentcited by 183
- 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 173
- 2025Multi-SWE-bench: A Multilingual Benchmark for Issue Resolvingcited by 165
- 2023Software Testing with Large Language Models: Survey, Landscape, and Visioncited by 163
- 2022Practical Program Repair in the Era of Large Pre-trained Language Modelscited by 133
- 2025SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agentscited by 127
- 2014Reinforcement and Imitation Learning via Interactive No-Regret Learningcited by 116
- 2023Evaluating the Code Quality of AI-Assisted Code Generation Tools: An Empirical Study on GitHub Copilot, Amazon CodeWhisperer, and ChatGPTcited by 71
- 2026Qwen3-Coder-Next Technical Reportcited by 60
- 2024Facilitating Multi-turn Function Calling for LLMs via Compositional Instruction Tuningcited by 40
- 2025MLE-Dojo: Interactive Environments for Empowering LLM Agents in Machine Learning Engineeringcited by 38
- 2025DCPO: Dynamic Clipping Policy Optimizationcited by 38
- 2025SWE-Dev: Building Software Engineering Agents with Training and Inference Scalingcited by 24
- 2026MARS: Modular Agent with Reflective Search for Automated AI Researchcited by 22
- 2025Training Versatile Coding Agents in Synthetic Environmentscited by 13
- 2025MLE-Smith: Scaling MLE Tasks with Automated Multi-Agent Pipelinecited by 9
- 2026DREAM: Deep Research Evaluation with Agentic Metricscited by 7
- 2026Beyond Verifiable Rewards: Rubric-Based GRM for Reinforced Fine-Tuning SWE Agentscited by 3
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026RISE: Recursive Improvement via Self-Extrapolating Policy Distillationcited by 3
- 2026A Few Teacher Steps Go a Long Way: Cost-Efficient On-Policy Data Augmentation for Agent Post-Trainingcited by 2
- 2026Learning from Teacher Continuations at Student Statescited by 0
- 2026Distilling Agentic Systems: A Roadmap across Models, Artifacts, and Harnessescited by 0
- 2026Distilling Agentic Systems: A Roadmap across Models, Artifacts, and Harnesses29 Sep 2026
- 2026Learning from Teacher Continuations at Student States28 Sep 2026
- 2026RISE: Recursive Improvement via Self-Extrapolating Policy Distillation4 Sep 2026
- 2026A Few Teacher Steps Go a Long Way: Cost-Efficient On-Policy Data Augmentation for Agent Post-Training6 Jul 2026
Similar, not cited
Close in wording, no citation either way
- 2026Know When to Stop, Where to Restart: Accelerating Multi-Turn Agentic On-Policy Distillation
- 2026Multi-Turn On-Policy Distillation with Prefix Replay
- 2026SAGE-OPD: Selective Agent-Guided Intervention for Multi-Turn On-Policy Distillation
- 2026From Scoring to Acting: Outcome-Verified Comparative Self-Distillation for LLM Agents
- 2026TCOD: Exploring Temporal Curriculum in On-Policy Distillation for Multi-turn Autonomous Agents
- 2026Skill-SD: Skill-Conditioned Self-Distillation for Multi-turn LLM Agents
- 2026MemOPD: On-Policy Distillation through Memory State Alignment for Long-Horizon Agents
- 2026TurnOPD: Making On-Policy Distillation Turn-Aware for Efficient Long-Horizon Agent Training