SABER: 小动作,大误差 -- 保护LLM代理中的突变步骤
SABER: Small Actions, Big Errors -- Safeguarding Mutating Steps in LLM Agents
AI总结:
SABER通过分析LLM代理中的突变步骤,提出针对性保护措施,提升长周期任务的稳定性。
摘要:
尽管在LLM代理方面取得了快速进展,但在长周期、使用工具的任务上的表现仍然脆弱。为了更好地理解这种脆弱性,我们提出了一个简单的问题:所有动作对失败的贡献是否相等?通过分析τ-Bench(航空/零售)和SWE-Bench Verified上的执行轨迹,我们将轨迹分解为突变步骤(环境改变)和非突变步骤,并正式化了“决定性偏差”,即最早的动作、层级分歧,这些分歧会将成功转变为失败。逻辑回归显示,在突变步骤中每增加一个偏差,成功的机会会减少92%(在航空上)或96%(在零售上)对于最先进的模型。相比之下,非突变步骤中的偏差几乎没有影响。错误还会随着上下文长度增加,因为代理会偏离角色并基于过时的约束进行操作。受这些观察的启发,我们引入了\cm{},一种模型无关、无梯度、测试时的保护措施,它(i)添加了突变门控验证,(ii)在突变步骤前注入了“针对性反思”,(iii)执行基于块的上下文清理。\cm{}带来了持续的收益,例如Qwen3-Thinking:在航空上相对提升28%,在零售上提升11%,在SWE-Bench Verified上提升7%;Claude:提升9%/7%。我们进一步识别了在τ-Bench中的天花板效应,其中标注错误和未明确规定的任务人为限制了模型性能。为了解决这个问题,我们发布了τ-Bench Verified,通过针对性的修订恢复了基准的余量。我们的结果表明,针对动作层面的分析、有针对性的保护措施和可靠的评估是构建稳健的多轮代理的前提。
英文摘要:
Despite rapid progress in LLM agents, performance on long-horizon, tool-using tasks remains fragile. To better understand this fragility, we ask a simple question: \emph{do all actions contribute equally to failure?} Analyzing execution traces on $τ$-Bench (Airline/Retail) and SWE-Bench Verified, we decompose trajectories into \emph{mutating} (environment-changing) vs.\ non-mutating steps and formalize \emph{decisive deviations}, earliest action, level divergences that flip success to failure. A logistic regression reveals that each additional deviation in a mutating action reduces the odds of success by upto $92\%$ on Airline and upto $96\%$ on Retail for SoTA models. In contrast, deviations in non-mutating actions have little to no effect. Errors also grow with context length as agents drift from role and act on stale constraints. Motivated by these observations, we introduce \cm{}, a model-agnostic, gradient-free, test-time safeguard that (i) adds mutation-gated verification, (ii) injects \emph{Targeted Reflection} before mutating steps, and (iii) performs block-based context cleaning. \cm{} delivers consistent gains, e.g., Qwen3-Thinking: +28\% \emph{relative} on Airline, +11\% on Retail, and +7\% on SWE-Bench Verified; Claude: +9\%/+7\%. We further identify ceiling effects in $τ$-Bench, where annotation errors and underspecified tasks artificially cap model performance. To address this, we release $τ$-Bench Verified, which restores benchmark headroom through targeted revisions. Our results argue for action-level analysis, targeted safeguards, and reliable evaluations as prerequisites for robust multi-turn agents.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。