ActionOPD: Distilling Decisions, Not Tokens
cs.AI
Submitted: 2026-10-14
Updated: 2026-10-14
Code: https://github.com/thu-nics/ActionOPD
License: http://creativecommons.org/licenses/by/4.0/
The gist: Distilling capable language-model agents into smaller models requires aligning the student's behavior with the teacher's.
Abstract
Distilling capable language-model agents into smaller models requires aligning the student's behavior with the teacher's. This raises a fundamental question: at which states and at what granularity should this alignment be performed? Offline imitation provides dense but token-specific supervision and can suffer from state-distribution mismatch. Token-level on-policy distillation (OPD) addresses this mismatch but typically requires teacher token probabilities and compatible tokenization. We argue that semantic actions provide a natural unit of supervision for agent distillation. We introduce ActionOPD, an action-level on-policy distillation method motivated by maximizing expected teacher-action likelihood at student-encountered states. At each such state, ActionOPD samples actions from both the student and a black-box teacher, rewarding student actions according to their semantic agreement with the sampled teacher actions. Through policy optimization, ActionOPD aligns the student's action-level behavior with the teacher's decisions without requiring reproduction of teacher-written reasoning or access to teacher token probabilities. Training Qwen3-4B and Qwen3-8B with two teachers on diverse, curated tool-use tasks yields average gains of 3.3-6.9 percentage points across four out-of-distribution benchmarks. ActionOPD scales favorably with student size and teacher capability, without requiring the teacher and student to share a model family or tokenizer. On τ squared-bench, ActionOPD achieves competitive performance against offline distillation and token-level OPD. We further explore Self-ActionOPD with a same-model teacher and privileged context. These results establish ActionOPD as a promising approach to agent distillation.
Sources
- $\tau^2$-Bench: Evaluating Conversational Agents in a Dual-Control Environment
- MENTOR: Reinforcement Learning via Flexible Teacher-Optimized Rewards for Tool-Use Distillation
- Rubric-based On-policy Distillation
- Revisiting On-Policy Distillation: Empirical Failure Modes and Simple Fixes
- Distilling the Knowledge in a Neural Network
- Reinforcement Learning via Self-Distillation
- On-Policy Distillation with Curriculum Turn-level Guidance for Multi-turn Agents
- Student-Centered Distillation Narrows the Agentic Gap Between Small and Large LLMs
- Breaking the Tokenizer Barrier: On-Policy Distillation across Model Families
- Privileged Information Distillation for Language Models
- Proximal Policy Optimization Algorithms
- DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
- ATOD: Annealed Turn-Aware On-Policy Distillation for Multi-Turn Agentic Tasks
- Cross-Tokenizer On-Policy Distillation via Byte-Prefix Marginalization
- Agent World Model: Infinity Synthetic Environments for Agentic Reinforcement Learning
- OVD: On-policy Verbal Distillation
- Qwen3 Technical Report
- ReAct: Synergizing Reasoning and Acting in Language Models
- Black-Box On-Policy Distillation of Large Language Models
- Self-Distilled Reasoner: On-Policy Self-Distillation for Large Language Models
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems