arXiv(opens in a new tab)cs.AIOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.19820

ActionOPD: Distilling Decisions, Not Tokens

Huining Yuan, Xiangmin Yi, Zelai Xu, Zixu Wang, Xinlei Chen, Xiao-Ping Zhang, Yu Wang, Chao Yu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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 τ2\tau^{2}-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.

1 INTRODUCTION

Language models are increasingly deployed as agents that communicate with users, maintain state, and act through external tools (Yao et al., 2023; 2025). In these interactions, an agent's decisions shape subsequent observations and the states it encounters. Distilling capable but expensive frontier agents into smaller models therefore raises two questions: at which states should the teacher supervise the student, and at what granularity should their behavior be aligned?

Distillation methods address these questions differently. Offline distillation provides dense supervision by fitting teacher-generated sequences (Kim & Rush, 2016), but can face teacher-student state-distribution mismatch (Ross et al., 2011). Token-level on-policy distillation (OPD) supervises student-generated sequences using teacher token probabilities, reducing mismatch while typically requiring compatible tokenization (Agarwal et al., 2024; Gu et al., 2024). Both supervise tokens without explicitly matching action semantics (Figure 2).

Figure

Figure 1: Student–teacher scaling of ActionOPD. Larger students attain higher final averages. DeepSeek-V4-Flash yields higher student averages than Qwen3.7-Flash.

Knowledge Distillation

Figure

On-Policy Distillation

Outcome-Based Reinforcement Learning

ActionOPD (Ours)

Figure 2: Supervision for agent learning. Offline distillation (KD) imitates teacher tokens at teacher-induced states. Token-level OPD compares token distributions along student-generated interactions. Outcome-based RL uses terminal feedback. ActionOPD instead rewards semantic agreement with teacher actions at student-encountered states. Here, we sample only one response per state for demonstration. For implementation, we expand the sampled teacher multiset and student state group.

Our key observation is that semantic actions provide a natural unit of supervision for agent distillation. A tool call expresses a decision through its tool name and arguments; a natural-language response conveys communicative intent and information. The same decision can be realized through different wording and reasoning. This shifts the objective from reproducing a particular teacher sequence to increasing the likelihood of its underlying action.

We introduce ActionOPD, an action-level on-policy distillation method motivated by maximizing expected teacher-action likelihood at student-encountered states. Here, likelihood is the total probability mass of student outputs that semantically match a teacher action, not the probability of reproducing one teacher-written sequence. This objective yields a REINFORCE-form policy gradient with action-level semantic agreement as reward (Williams, 1992). In practice, ActionOPD samples actions from the teacher and responses from the current student policy, rewarding student responses according to their semantic agreement with teacher actions. It requires only generation access to a black-box teacher, not teacher token probabilities or tokenizer alignment. The resulting action-level rewards train the student's own reasoning and action tokens without imposing teacher-written reasoning as a token-level imitation target.

We train Qwen3-4B and Qwen3-8B students using teachers from two model families on curated tool-use tasks from Agent World Model (AWM) and EnvScaler (Wang et al., 2026b; Song et al., 2026). All four configurations improve average performance across four out-of-distribution agent benchmarks. ActionOPD scales favorably with student size and teacher capability: larger students achieve higher final averages, and DeepSeek-V4-Flash yields higher student averages than Qwen3.7-Flash at both sizes (Figure 1). Comparisons on τ2\tau^{2}-bench (Barres et al., 2025) show competitive performance against offline distillation and token-level OPD. Ablation studies support the effectiveness of semantic action supervision. We further explore Self-ActionOPD, in which a same-model teacher receives privileged task information. This extension suggests a path toward agent self-improvement through action-level self-distillation.

Contributions. Our contributions are threefold:

• We introduce ActionOPD, an action-level on-policy distillation method that decouples teacher decision supervision from student token realization, enabling distillation from black-box teachers without teacher token probabilities or tokenizer alignment.

• We demonstrate ActionOPD’s applicability across teacher families and empirical scaling with student size and teacher capability. All tested configurations improve the four-benchmark average over their corresponding base models by 3.3–6.9 percentage points.

• We show that ActionOPD achieves competitive performance against offline distillation and token-level OPD while requiring only generation access to the teacher.

References (63)