Act First, Reason Later: Accelerating On-Policy Distillation for Multi-Turn Agents via Reference-Conditioned Inverse Dynamics
Organizations: Guangdong Provincial Key Laboratory of Brain-Inspired Intelligent Computation, Department of Computer Science and Engineering, Southern University of Science and Technology · DeepCybo · Hong Kong Polytechnic University · Zhongguancun Academy ·
Abstract
On-policy distillation (OPD) trains multi-turn language agents with dense teacher supervision on student-generated responses. However, standard think-then-act rollouts require lengthy reasoning before each short action, delaying environment transitions and experience collection. Generating actions directly reduces this delay but can degrade rollout quality. To address this, we propose ActFirst-OPD, an act-first, reason-later training framework that decouples environment interaction from full-response generation. The student infers and executes actions through reference-conditioned inverse dynamics using its current interaction context and a reference next observation, and switches to autonomous next-action prediction when the resulting transition deviates from the reference trajectory. From the collected interaction contexts, the student asynchronously generates full think-then-act responses for token-level teacher supervision. Experiments across 0.6B-, 1.7B-, and 4B-parameter Qwen3 students show that ActFirst-OPD achieves average wall-clock training speedups of on ALFWorld, on WebShop, and on ScienceWorld over Vanilla OPD. It matches or exceeds all compared OPD baselines in mean task success rate across eight of nine benchmark-model settings. These results demonstrate that reasoning need not block acting during multi-turn agent distillation.
Figures & tables
| Model | Method | ALFWorld | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Teacher | Student | Pick | Look | Clean | Heat | Cool | Pick2 | Seen | Unseen | All | Training Wall-clock Time (Speedup) | ||||
| SR | Round | SR | Round | SR | Round | ||||||||||
| Qwen3 Series | |||||||||||||||
| - | 0.6B | Zero-Shot | 0.00 | 6.45 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 30.00 | 1.49 | 29.69 | 0.73 | 29.85 | N/A |
| - | 1.7B | 40.68 | 16.13 | 13.79 | 12.82 | 8.70 | 4.88 | 17.86 | 27.68 | 17.16 | 27.28 | 17.52 | 27.48 | N/A | |
| - | 4B | 89.83 | 77.42 | 60.34 | 58.97 | 28.26 | 63.41 | 55.71 | 21.92 | 71.64 | 20.10 | 63.50 | 21.03 | N/A | |
| Model | Method | WebShop | ScienceWorld | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Teacher | Student | Score | SR | Round | Training Wall-clock Time (Speedup) | Score | SR | Round | Training Wall-clock Time (Speedup) | |
| Qwen3 Series | ||||||||||
| - | 0.6B | Zero-Shot | 49.54 | 11.00 | 4.56 | N/A | 5.59 | 0.00 | 19.86 | N/A |
| - | 1.7B | 51.10 | 15.67 | 5.22 | N/A | 22.28 | 6.89 | 19.65 | N/A | |
| - | 4B | 45.37 | 13.33 | 6.75 | N/A | 44.36 | 20.67 | 19.19 | N/A | |
| 8B | - | GiGPO | 71.54 | 43.33 | 4.28 | N/A | 55.58 | 35.33 | 15.40 | N/A |
| Method | ALFWorld | WebShop | ScienceWorld | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Avg. SR | Time (h) | Rank | Avg. SR | Time (h) | Rank | Avg. SR | Time (h) | Rank | |
| w/o ID | 58.92_{{\color[rgb]{0.75,0,0}\downarrow 17.31}} | 2.45 | 4.67 | 38.78_{{\color[rgb]{0.75,0,0}\downarrow 1.00}} | 1.75 | 3.17 | 19.63_{{\color[rgb]{0.75,0,0}\downarrow 3.04}} | 2.65 | 3.33 |
| w/o NAP Fallback | 75.18_{{\color[rgb]{0.75,0,0}\downarrow 1.05}} | 1.25 | 2.33 | 36.67_{{\color[rgb]{0.75,0,0}\downarrow 3.11}} | 2.09 | 4.50 | \underline{19.85}_{{\color[rgb]{0.75,0,0}\downarrow 2.82}} | 2.33 | 3.00 |
| Reference-Prefix Replay (50%) | 68.94_{{\color[rgb]{0.75,0,0}\downarrow 7.29}} | 1.90 | 4.33 | \underline{39.11}_{{\color[rgb]{0.75,0,0}\downarrow 0.67}} | 2.18 | 2.67 | 18.89_{{\color[rgb]{0.75,0,0}\downarrow 3.78}} | 2.87 | 3.67 |
| Reference-Prefix Replay (100%) | \underline{75.87}_{{\color[rgb]{0.75,0,0}\downarrow 0.36}} | 1.11 | 2.00 | 37.89_{{\color[rgb]{0.75,0,0}\downarrow 1.89}} | 1.66 | 3.17 | 18.45_{{\color[rgb]{0.75,0,0}\downarrow 4.22}} | 1.73 | 4.00 |
| ActFirst-OPD (Ours) | 76.23 | 1.94 | 1.67 | 39.78 | 1.83 | 1.50 | 22.67 | 2.27 | 1.00 |
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Benchmark | Version | Training | Evaluation | Max. turns |
|---|---|---|---|---|
| ALFWorld | 0.4.2 | 3,553 | 140 seen / 134 unseen | 30 |
| WebShop | 64fa2a5 | 4,096 | 100 | 15 |
| ScienceWorld | 1.2.3 | 2,294 | 150 | 30 |
| Teacher training | Candidate collection | ||||
|---|---|---|---|---|---|
| Benchmark | Time (h) | SFT steps | GiGPO steps | Time (h) | Candidates |
| ALFWorld | 4.18 | 250 | 250 | 8.50 | 71,060 |
| WebShop | 22.05 | 250 | 2,200 | 4.81 | 40,960 |
| ScienceWorld | 18.27 | — | 144 | 19.88 | 22,940 |
| Hyperparameter | Value |
|---|---|
| Algorithm and Optimization | |
| Distillation objective | Student-to-teacher reverse KL |
| PPO clipping | 0.2 |
| Dual-clipping constant | 3.0 |
| Optimizer | AdamW ( Loshchilov and Hutter, 2019 ) |
| Learning rate | |
| Hyperparameter | Value |
|---|---|
| Evaluation Protocol | |
| Interaction mode | Think-then-act |
| Reference information | None |
| Evaluation seeds | 42, 43, 44 |
| Trajectories per task and seed | 1 |
| Evaluation batch | 64 tasks |
| Parameter | Value |
|---|---|
| Workload | |
| Tasks per batch | 16 |
| Fast-action output length | 16 tokens |
| Full-response output length | 128 or 512 tokens |
| Sampling temperature | 1.0 |
| Top- | 1.0 |
| Window | Method | Transitions | Window time (s) | Env. steps / s |
|---|---|---|---|---|
| Full training | Vanilla OPD | 55,525 | 15,202 | 3.65 |
| ActFirst-OPD | 38,616 | 6,796 | 5.68 | |
| First 10 min | Vanilla OPD | 1,289 | 600 | 2.15 |
| ActFirst-OPD | 3,803 | 600 | 6.34 |
| Benchmark | Student | First-action alignment (%) | Full-trajectory alignment (%) | Aligned-turn coverage (%) |
|---|---|---|---|---|
| ALFWorld | 0.6B | 84.86 | 32.36 | 18.19 |
| 1.7B | 89.38 | 49.75 | 33.59 | |
| 4B | 93.39 | 85.63 | 64.05 | |
| WebShop | 0.6B | 49.33 | 11.80 | 18.77 |
| 1.7B | 56.89 | 21.24 | 23.50 | |
| 4B | 60.85 | 49.87 | 51.77 |
LLM Agent Training
Large language model agent training teaches models to plan, use tools, and learn from multi-step interaction with environments.
See all 590 papers