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

事后结构化建议蒸馏:利用基于执行智能体的失败案例与任务特征训练的建议者来引导执行智能体

Hindsight Structured Advice Distillation: Steering Executor Agents with Advisors Trained on Their Failures and Task Characteristics

Samaya AI(萨马亚人工智能公司)

O. Ozan Koyluoglu

AI总结:

该研究提出HSAD方法,用小型建议者生成结构化建议引导冻结的执行智能体,在金融基准上提升了研究智能体的合格查询率,还可泛化到多个任务基准。

摘要:

语言模型智能体被用于金融研究、医疗保健和法律等专业工作,这类智能体通常有能力完成任务,但仍会遗漏任务细节。例如在金融领域,这些细节包括某一数据对应哪份备案报告,或是某公司如何披露某一指标。对智能体进行重新训练以学习这些细节成本高昂,且当智能体是封闭或共享系统时往往无法实现。将缺失的专业知识写入智能体的提示词会导致提示词冗长,且对所有输入都相同,而不同输入需要不同的引导。我们提出学习生成这类引导内容:一个小型建议者模型读取每个输入并生成结构化建议,该建议会被附加到冻结执行智能体的提示词中。该建议者采用事后训练,遵循带有特权信息的蒸馏相关研究。在带有分级答案的训练池中,我们分析执行智能体的失败情况,以多种策略运行它以确定每种输入对应的有效策略,并让能看到分级结果和执行轨迹的教师生成本应提供帮助的建议。随后建议者通过监督微调学习仅从输入生成此类建议。由于学生是独立的小型模型而非执行智能体,其训练成本低且延迟增加极少。我们将该方法称为事后结构化建议蒸馏(HSAD)。在ExpertFinance(由专家编写的金融研究查询公开基准)上,一个8B规模的建议者将已位居该基准排行榜前列的Samaya专有研究智能体的合格查询率从52.9%提升至56.6%,且该成本比智能体自身高配置低37%。我们研究了该方法的泛化性,特别表明HSAD还能提升WebShop、BIRD文本到SQL和ExpertLongBench的结果。

英文摘要:

Language-model agents are used for specialized work such as financial research, healthcare and law. Such agents are often capable enough for a task but still miss its details. In finance, for example, these details include which filing reports a figure or how a company discloses a metric. Retraining the agent to learn these details is expensive, and often impossible when the agent is a closed or shared system. Writing the missing know-how into the agent's prompt makes the prompt long and identical for every input, although different inputs need different guidance. We propose to learn to generate this guidance instead. A small advisor model reads each input and writes structured advice, which is appended to the prompt of a frozen executor. The advisor is trained with hindsight, following work on distillation with privileged information. On a training pool with graded answers, we analyse the executor's failures, run it under several strategies to see which one worked on each input, and let a teacher that sees the grades and the traces write the advice that would have helped. The advisor then learns, by supervised fine-tuning, to write that advice from the input alone. Because the student is a separate small model rather than the executor, it is cheap to train and adds little latency. We call this approach hindsight structured advice distillation (HSAD). On FrontierFinance, a public benchmark of expert-written financial research queries, an 8B advisor raises the qualification rate of Samaya's proprietary research agent, which already leads the benchmark's leaderboard, from 52.9% to 56.6%. This is above the agent's own high-effort configuration, at 37% lower cost per query. We study the generalization of the proposed approach, and in particular show that HSAD also improves results on WebShop, BIRD text-to-SQL and ExpertLongBench.

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

↑