arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.25776cs.AI
收藏

从轨迹到修复:长程智能体中的残余任务状态

From Trace to Fix: Residual Task State in Long-Horizon Agents

University of Central Florida(中佛罗里达大学)

Zile Huang, Ser-nam Lim

AI总结:

提出TRACE-FIX框架,结合残余任务状态跟踪与预算规划,通过LongH-Debug数据集验证其提升长程语言智能体故障恢复的因果定位与可靠性。

摘要:

从长程有状态语言智能体的故障中恢复极具挑战性,因为引入缺陷的动作、暴露缺陷的症状以及需要修复的持久状态常常相互分离。现有方法主要关注回溯式故障归因,在预算约束下,顺序诊断与状态修复的整合程度不足。我们提出TRACE-FIX,这是一个以版本化残余任务状态为核心的统一恢复框架。Trace将执行日志转换为结构化的依赖关联账本,优先处理未解决的任务需求而非显著的表面错误。Fix将恢复表述为在容许动作上的预算规划,结合结果预测与明确的修复预留约束,防止预算过早耗尽。为严格将定位精度与下游修复能力解耦,我们提出LongH-Debug,分别评估根本原因归因、已验证故障恢复以及端到端闭环执行。实证分析表明,结构化残余跟踪相比原始轨迹基线显著提升了因果定位能力,而感知预算的顺序规划则将已验证故障信号转化为更可靠的任务恢复,避免了破坏性的试错。代码可访问此https URL。

英文摘要:

Recovering from failures in long-horizon, stateful language agents is challenging because the action introducing a defect, the symptom exposing it, and the persistent state requiring repair frequently diverge. Existing methods largely focus on retrospective failure attribution, leaving sequential diagnosis and state repair poorly integrated under constrained budgets. We introduce TRACE-FIX, a unified recovery framework centered on versioned residual task state. Trace transforms execution logs into a structured dependency-linked ledger, prioritizing unresolved task requirements rather than salient surface errors. Fix formulates recovery as budgeted planning over admissible actions, incorporating outcome forecasting and explicit repair-reserve constraints to prevent premature budget exhaustion. To rigorously decouple localization accuracy from downstream repair capability, we present LongH-Debug, evaluating root-cause attribution, verified-fault recovery, and end-to-end closed-loop execution independently. Our empirical analysis demonstrates that structured residual tracking substantially improves causal localization over raw-trace baselines, while budget-aware sequential planning converts verified fault signals into more reliable task recovery without destructive trial-and-error. Code is available at https://github.com/toffeecat/tracedp.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑