arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.24005cs.LGcs.AI
收藏

TCOD:探索在线蒸馏在多轮自主代理中的时间课程

TCOD: Exploring Temporal Curriculum in On-Policy Distillation for Multi-turn Autonomous Agents

Tongyi Lab(通义实验室);Alibaba Group(阿里巴巴集团)

Jiaqi Wang, Wenhao Zhang, Weijie Shi, Yaliang Li, James Cheng

AI总结:

本文提出TCOD框架,通过时间课程策略缓解在线蒸馏在多轮任务中的KL不稳定性,提升代理性能,实验显示性能提升达18个百分点,甚至超越教师模型。

摘要:

在线蒸馏(OPD)在将前沿或领域特定模型的推理能力转移到较小的学生模型上显示出强大潜力。尽管在静态单轮任务中有效,其在多轮代理设置中的行为仍缺乏探索。本文识别出在这样的设置中,常规OPD的一个关键限制,我们称之为轨迹级KL不稳定性。具体而言,我们观察到KL散度随着成功率的下降而增加,即使在收敛后,KL仍保持高位,导致训练不稳定。这种不稳定性源于轮间误差叠加:随着误差积累,学生模型被推离教师的有效支持范围,使监督信号变得不可靠。为了解决这一问题,我们提出了TCOD(时间课程在线蒸馏),一个简单而有效的框架,通过控制学生模型所接触的轨迹深度,并逐步从短到长扩展,采用课程计划。在四个学生-教师对的三个多轮代理基准(ALFWorld、WebShop、ScienceWorld)上的实验结果表明,TCOD缓解了KL升幅并增强了训练过程中的KL稳定性,将代理性能提升高达18个百分点超过常规OPD。进一步评估显示,TCOD甚至可以超越教师的性能,并泛化到教师失败的任务上。我们的代码可在https://github.com/kokolerk/TCOD上获取。

英文摘要:

On-policy distillation (OPD) has shown strong potential for transferring reasoning ability from frontier or domain-specific models to smaller students. While effective on static single-turn tasks, its behavior in multi-turn agent settings remains underexplored. In this work, we identify a key limitation of vanilla OPD in such settings, which we term Trajectory-Level KL Instability. Specifically, we observe that KL divergence increases together with a drop in success rate, and even after convergence, the KL remains high, leading to unstable training. This instability arises from inter-turn error compounding: as errors accumulate, the student is driven beyond the teacher's effective support, rendering the supervision signal unreliable. To address this, we propose TCOD (Temporal Curriculum On-Policy Distillation), a simple yet effective framework that controls the trajectory depth exposed to the student and progressively expands it from short to long with a curriculum schedule. Experimental results across four student-teacher pairs on three multi-turn agent benchmarks (ALFWorld, WebShop, ScienceWorld) show that TCOD mitigates KL escalation and enhances KL stability throughout training, improving agent performance by up to 18 points over vanilla OPD. Further evaluations show that TCOD can even surpass the teacher's performance and generalize to tasks on which the teacher fails. Our code is available at https://github.com/kokolerk/TCOD.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑