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

以自身风格训练智能体:面向Web智能体的黑盒教师蒸馏

Teaching Agents in their Own Style: Blackbox Teacher Distillation for Web Agents

Kahlert School of Computing, University of Utah(卡勒特计算学院,犹他大学)

Md Farhan Ishmam, Kenneth Marino

AI总结:

针对闭源Web智能体成本高的问题,提出WebKD方法,通过教师以学生风格最小化编辑失败案例,在TimeWarp等基准上显著提升开源Web智能体性能,为黑盒模型蒸馏提供新路径。

摘要:

采用闭源模型的前沿Web智能体具有较高的推理和计算成本,更小的开源模型可作为替代方案,但要达到良好性能,它们需要来自人类或教师模型的训练监督。令牌级教师蒸馏不适用于闭源教师,因为该方法需要访问模型的logits(对数几率)。标准方法是离线模仿教师演示,但这种方法会在智能体从未访问过的状态、且教师未采用的风格上训练学生。我们提出WebKD,其中教师是学生失败案例的编辑者:给定一个失败的回合,教师找到第一个错误点,并从该点开始重写学生的推理轨迹、利用状态和动作。编辑过程显示,教师的修正对学生而言可能比学生自身的文本更令人意外,因此WebKD旨在进行最小化编辑:在数据空间中,教师以学生的风格编写每一处修正;在目标空间中,推理过程按其对动作的贡献进行加权;角色非对称KL锚点允许修正后的动作自由调整,同时保持推理接近学生的先验。在TimeWarp基准测试中,WebKD学生相较于行为克隆、结果奖励强化学习和教师编辑基线,性能提升约5.5至10.7个百分点;该性能还可迁移至未见过的版本及OnlineMind2Web基准测试中的实时Web。WebKD为蒸馏黑盒模型以提升开源权重Web智能体的能力开辟了新途径。

英文摘要:

Frontier web agents using closed models have high inference and computational costs. Smaller open models can be an alternative, but to be performant, they require training supervision from a human or teacher model. Token-level teacher distillation is not an option for closed teachers as it needs access to the model's logits. The standard approach is to imitate teacher demonstrations offline, but it trains the student on states it has never visited, and in a style it does not write in. We introduce WebKD, where the teacher is the editor of the student's failures. Given a failed episode, the teacher finds the first point of mistake, and rewrites the student's reasoning traces, harness states, and actions from that point onward. The editing reveals that the teacher's corrections can be more surprising to the student than the student's own text. WebKD instead aims to edit minimally. In the data space, the teacher writes each correction in the student's style. In the objective space, the reasoning is weighted by its contribution to the action. A role-asymmetric KL anchor allows the corrected action to move freely while keeping the reasoning near the student's prior. On the TimeWarp benchmark, WebKD students gain about 5.5-10.7 pp over behavior cloning, outcome-reward RL, and teacher editing baselines. The performance transfers to unseen versions and to the live web in the OnlineMind2Web benchmark. WebKD opens a new way of distilling black-box models to improve the capabilities of open-weight web agents.

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

↑