先行动,后推理:通过参考条件逆动力学加速多轮智能体的同策略蒸馏

·

研究论文 · 2026/09/30

在线策略蒸馏(OPD)通过在学生生成的响应上提供密集的教师监督来训练多轮语言智能体。然而,标准的先思考后行动展开方式要求在每次简短行动前进行冗长推理,延迟了环境转换和经验收集。直接生成行动可减少这种延迟,但可能降低展开质量。为此,我们提出ActFirst-OPD,一种先行动后推理的训练框架,将环境交互与完整响应生成解耦。学生通过参考条件逆动力学,利用当前交互上下文和参考下一观测来推断并执行行动,当产生的转换偏离参考轨迹时,切换为自主下一行动预测。从收集的交互上下文中,学生异步生成完整的先思考后行动响应,用于令牌级教师监督。在0.6B、1.7B和4B参数的Qwen3学生上的实验表明,ActFirst-OPD相比原始OPD在ALFWorld上平均墙钟训练加速2.3倍,在WebShop上1.8倍,在ScienceWorld上4.9倍。在九个基准模型设置中的八个里,其平均任务成功率匹配或超过所有比较的OPD基线。这些结果表明,在多轮智能体蒸馏中,推理不必阻塞行动。

该研究显著提升了多轮智能体在线策略蒸馏的训练效率,同时保持或提升任务成功率,为高效训练语言智能体提供了新思路。

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 2.3times on ALFWorld, 1.8times on WebShop, and 4.9times 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.

阅读原文

参与讨论