HERA:面向可靠智能体弃权的挽具-环境协同演化

·

研究论文 · 2026/10/20

大型语言模型(LLM)智能体在复杂工具使用环境中行动能力日益增强,但往往无法识别任务不可行且不存在有效解的情况。近期工作将这一可靠性差距形式化为智能体弃权问题,现有方法通常针对固定任务集优化模型或智能体框架,导致对未见失败模式的泛化能力有限。我们提出HERA,一个用于智能体弃权的框架-环境协同进化框架。HERA包括:(i)一个通过应用受控环境变异将可解任务转化为需要弃权的案例,自动构建可行与不可行任务的可验证对的流水线;(ii)一个协同进化过程,利用先前任务上的性能失败来驱动框架适应,并生成针对先前弱点的新的执行环境和任务。在留出评估任务上,HERA进化出的框架将弃权准确率从61.7%提高到83.3%,同时将可行任务完成率从68.3%提高到76.7%,在比较方法中实现了最高的弃权和可行任务完成率。所得最佳框架可迁移到其他19个LLM,平均将弃权准确率提高15.3个百分点,无需任何模型特定优化,并使较小模型能够以估计低85%的成本匹配更强大模型的性能。

HERA通过协同进化框架与环境,显著提升了智能体在不可行任务上的弃权准确率和可行任务完成率,且进化后的框架无需模型特定优化即可跨模型迁移,大幅降低成本,对构建可靠LLM智能体具有重要实践意义。

Large language model (LLM) agents are increasingly capable of acting in complex tool-use environments, yet they often fail to recognize when tasks are infeasible and no valid solution exists. Recent work has formalized this reliability gap as the problem of agentic abstention, and existing approaches typically optimize a model or agent harness against a fixed set of tasks, leading to limited generalization to unseen failure modes. We introduce HERA, a framework for harness-environment co-evolution for agentic abstention. HERA consists of (i) a pipeline to automatically construct verifiable pairs of feasible and infeasible tasks by applying controlled environment mutations that transform solvable tasks into cases requiring abstention, and (ii) a co-evolution procedure in which performance failures on previous tasks are used to drive harness adaptation and generate new execution environments and tasks geared towards previous weaknesses. On held-out evaluation tasks, an evolved harness from HERA improves abstention accuracy from 61.7% to 83.3% while improving feasible-task completion from 68.3% to 76.7%, achieving the highest abstention and feasible-task completion among the compared methods. The resulting best harness transfers across 19 other LLMs, improving abstention accuracy by 15.3 percentage points on average without any model-specific optimization, and enabling smaller models to match the performance of more powerful models at an estimated 85% lower cost.

阅读原文

参与讨论