跳到正文
@rohanpaul_ai· @rohanpaul_ai · X·· 2026-08-27AI 评分40
AI 导读

AutoSaddler 将智能体框架视为代码,从失败执行轨迹中诊断问题并自动修补提示词、工具与中间件,但只保留同时能提升留出开发集的更新。论文发现,若不加泛化性检查,自动优化后的框架表现反而低于最初手写的版本。作者建议手动或 LLM 调优智能体时,留出一批补丁未针对的任务,并按"修复减回归"而非仅修复来评分。

正文

Automatically patching an agent's harness is easy; keeping the patches that help is the hard part.

So if you let a model rewrite your prompts, tools, and hooks from failure traces, spend the rollout budget on a held-out split that catches collateral damage.

Harness optimization does work, but this paper finds that without a check on whether an update generalizes, the result lands below the hand-written harness it started from.

AutoSaddler diagnoses failed traces from a mini-batch, treats the harness as code, patches prompts, tools, and middleware, and keeps only updates that also improve a held-out development set.

If you're tuning an agent by hand or with an LLM in the loop, hold out a set of tasks that the patch was not written for, and score fixes minus regressions rather than fixes alone.

– arxiv. org/abs/2608.23041

Title: "AutoSaddler: Automatic Harness Optimization with Durable Updates from Agent Execution Traces"

来源:@rohanpaul_ai · x.com