arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.28914cs.AI
收藏

D-Skill:通过智能体技能蒸馏教师知识

D-Skill: Distilling Teacher Knowledge through Agent Skills

University of California, Berkeley(加州大学伯克利分校)

Shuo Yuan, Dacheng Li, Joseph E. Gonzalez

AI总结:

D-Skill是将教师视为黑盒的自然语言技能蒸馏框架,通过分析配对轨迹生成技能文档,在不更新模型权重的情况下缩小75%-95%的师生性能差距,推理成本降低5.7x-8.3x,性能优于单轮SFT且接近多轮SFT。

摘要:

前沿语言模型智能体在复杂任务中表现出色,但高昂的推理成本使得将其能力迁移到更小的模型中至关重要。传统知识蒸馏通过参数更新实现这一过程,需要访问学生模型的权重和额外的训练计算资源,同时将迁移的知识隐式编码在参数中。我们提出D-Skill,这是一个将教师视为黑盒的框架,通过分析配对的rollout(轨迹)、识别行为差异与一致点,将教师的行为优势蒸馏为可解释的自然语言技能。生成的经验会在离线阶段与任何兼容的技能更新后端整合为技能文档,在推理时提供给学生模型。D-Skill完全从固定轨迹中离线构建技能,无需标签、额外的环境交互,或在轨迹收集后的权重更新。在SpreadsheetBench-Verified、ALFWorld和国际象棋谜题等多个教师-学生对的实验中,D-Skill在不触及模型权重的情况下,缩小了75%-95%的教师-学生性能差距。在对配对轨迹进行一次离线处理后,D-Skill的表现优于单轮SFT基线,且与多轮SFT具有竞争力。在同一模型家族下,生成的学生模型每个任务的推理成本比教师低5.7x-8.3x。我们的结果表明,自然语言技能蒸馏提供了一种性能优异、可解释且高效的替代方案,可替代基于权重的能力迁移。

英文摘要:

Frontier language-model agents excel at complex tasks, but high inference costs make transferring their capabilities to smaller models essential. Traditional knowledge distillation achieves this through parameter updates, requiring access to the student's weights and additional training compute while encoding the transferred knowledge implicitly in the parameters. We introduce D-Skill, a framework that treats the teacher as a black box and distills its behavioral advantage into an interpretable natural-language skill by analyzing paired rollouts and identifying behavioral divergences and agreements. The resulting lessons are consolidated offline, with any compatible skill-update backend, into a skill document that is provided to the student at inference time. D-Skill constructs the skill entirely offline from fixed trajectories, without labels, further environment interaction, or weight updates after rollout collection. Across SpreadsheetBench-Verified, ALFWorld, and chess puzzles spanning multiple teacher-student pairs, D-Skill closes 75%-95% of the teacher-student gap without touching model weights. After a single offline pass over the paired traces, D-Skill outperforms one-epoch SFT baselines and remains competitive with multi-epoch SFT. Under the same model family, the resulting student also incurs 5.7x-8.3x lower inference cost per task than the teacher. Our results demonstrate that natural-language skill distillation offers a performant, interpretable, and efficient alternative to weight-based capability transfer.

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

↑