Hugging Face Daily Papers论文
AutoSaddler:基于智能体执行轨迹的自动马具优化
本文提出AutoSaddler框架,将LLM智能体的外部马具(harness)优化视为离线学习问题,通过小批量失败信号迭代更新马具,以提升长时任务的可靠性。实验表明该方法能自动搜索提示、工具配置和控制逻辑,显著增强智能体鲁棒性。
这篇是正式发表的长论文,站内提供中文解读,全文请到原文阅读 PDF。
- +37
Abstract
AutoSaddler automatically improves LLM agent harnesses via offline failure-driven optimization, boosting performance on long-horizon benchmarks.
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.
https://github.com/microsoft/AutoSaddler
- +33