AutoSaddler:基于智能体执行轨迹的持久更新自动优化

·

观点分析 · 2026/08/26

LLM代理在长时间任务中仍然不可靠,小的局部失败可能会在扩展交互中累积并导致整体任务失败。尽管外部辅助框架可以显著提高鲁棒性,但辅助框架的设计仍然是一个手动且昂贵的过程,需要在大量提示、工具配置和控制逻辑中进行搜索。我们提出了AutoSaddler,一个自动辅助框架优化框架,将辅助框架改进形式化为离线学习问题,并使用小批量的失败信号迭代更新辅助框架。AutoSaddler结合了失败轨迹诊断、将辅助框架视为代码的结构化补丁生成以及基于验证的更新选择。在GAIA2、SWE-Bench Pro和Terminal-Bench 2.0上的实验表明,AutoSaddler显著提高了代理性能,分别提升了9.0、9.6和10.0个百分点。消融研究进一步表明,有效的辅助框架优化受益于三个要素:深度调试而非浅层反思、针对性修改而非无约束编辑、以及泛化感知选择而非轨迹特定修复。这些结果表明,自动辅助框架优化是通往更高效、更可靠代理系统的有前途的路径。

该论文针对LLM代理在长时任务中的可靠性问题,提出了一种自动优化外部辅助框架的方法,显著提升了性能,并通过消融实验提供了深入见解,对代理系统的发展具有重要价值。

LLM agents remain unreliable on long-horizon tasks, where small local failures can compound over extended interactions and lead to overall task failure. Although external harnesses can substantially improve robustness, harness design remains a manual and expensive process that requires searching over a large space of prompts, tool configurations, and control logic. We propose AutoSaddler, an automatic harness optimization framework that formulates harness improvement as an offline learning problem and iteratively updates the harness using failure signals from mini-batches. AutoSaddler combines failure-trace diagnosis, structured patch generation that treats the harness as code, and validation-based update selection. Experiments on GAIA2, SWE-Bench Pro, and Terminal-Bench 2.0 show that AutoSaddler substantially improves agent performance over the corresponding base harnesses, achieving gains of 9.0, 9.6, and 10.0 percentage points, respectively. Ablation studies further suggest that effective harness optimization benefits from three ingredients: deep debugging rather than shallow reflection, targeted modifications rather than unconstrained editing, and generalization-aware selection rather than trajectory-specific repair. Together, these results suggest that automatic harness optimization is a promising path toward more performant and reliable agent systems.

阅读原文

参与讨论