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

超越在线策略与离线策略:LLM智能体蒸馏应在何种层级遵循学生?

Beyond On-Policy vs. Off-Policy: At What Level Should LLM Agent Distillation Follow the Student?

Aalto University(阿尔托大学)

Ya Gao, Zhengtao Zou, Pekka Marttinen

AI总结:

该研究提出层级式LLM智能体蒸馏框架,通过三阶段受控实验发现学生历史与教师动作前缀配对效果最优,还明确了混合策略、上下文时序安排的实用原则。

摘要:

蒸馏交互式大语言模型(LLM)智能体需要在教师生成的演示与学生生成的经验之间做出选择,大致对应离线策略(off-policy)与在线策略(on-policy)蒸馏。尽管两者均被证明有效,但本文认为该区分本质上是层级性的:产生交互历史的策略不必与生成当前动作token前缀的策略相同。我们提出一种层级智能体蒸馏框架,将这两个层级的在线策略性形式化,并支持对它们的配对、混合比例及训练计划进行显式控制。我们通过自蒸馏研究该问题,其中冻结的教师可获取学生无法获得的任务指导,并在三个模型和四个交互式环境中开展三阶段受控研究。我们发现,学生生成的历史与教师生成的动作前缀配对通常提供最强的独立训练信号,而在两个层级均遵循学生的表现通常最差。不过,当完全在线策略数据与其他配置混合时会变得有益。此外,各层级教师/学生比例相同的混合数据可产生显著不同的性能,表明两个层级的配对方式比在线策略数据的总量更重要。最后,将完全教师生成的上下文前置、延迟完全在线策略上下文的方式优于静态混合。这些发现为确定智能体蒸馏应在何处、多少以及何时遵循学生提供了实用原则。

英文摘要:

Distilling interactive LLM agents requires choosing between teacher-generated demonstrations and student-generated experience, corresponding broadly to off-policy and on-policy distillation. While both have proven effective, we argue that this distinction is inherently hierarchical: the policy that induces an interaction history need not be the same as the policy that generates the token prefix of the current action. We introduce a hierarchical agent distillation framework that formalizes these two levels of on-policiness and enables explicit control over their pairing, mixture proportions, and training schedule. We study this problem through self-distillation, where a frozen teacher has access to task guidance unavailable to the student, and conduct a three-stage controlled study across three models and four interactive environments. We find that student-induced histories paired with teacher-generated action prefixes generally provide the strongest standalone training signal, whereas following the student at both levels generally performs worst. Nevertheless, fully on-policy data becomes beneficial when incorporated into a mixture with other configurations. Moreover, mixtures with identical teacher/student proportions at each level can yield substantially different performance, showing that how the two levels are paired matters beyond the overall amount of on-policy data. Finally, front-loading fully teacher-generated contexts and delaying fully on-policy contexts improves over a static mixture. These findings provide practical principles for deciding where, how much, and when agent distillation should follow the student.

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

↑