arXiv cs.AI· Jiahao Wang, Ruichuan An, Xinru Jiang, Sihan Yang, Hao Liang, Bohan Zeng, YiFan Zhang, Aijun Yang, Xiaohua Wang·· 2 小时前AI 评分51
研究量化 LLM 智能体错误历史的下游代价并提出 TFAS 训练方法
The Cost of Failure: Quantifying the Downstream Impact of Error Histories in LLM Agents
AI 导读
论文提出错误代价概念与 Error Token Density(ETD)指标,衡量交互历史中执行失败内容占比对 LLM 智能体后续决策的影响。在 Qwen3-8B 的 ALFWorld rollout 上,ETD 为零时成功率 40.1%,ETD 不低于 40% 时降至 6.7%;控制实验显示插入失败轮比中性插入多降低 1.9-3.8 个百分点成功率。
正文 · 原文
Abstract:When an action fails, an LLM agent retains the action text and its feedback in the context used for subsequent decisions. We study the downstream impact of this retained content as the Cost of Failure. We define Error Token Density (ETD) as the fraction of an interaction history occupied by execution-failure content. On natural ALFWorld rollouts from Qwen3-8B, success is 40.1% at zero ETD and 6.7% when ETD is at least 40%. Controlled continuations separate this association from the effect of retained failure content: with environment state and remaining action budget fixed, inserting failure turns lowers success by 1.9-3.8 percentage points more than token-matched neutral insertions. Deleting existing failure turns yields complementary gains. Failure-conditioned evaluations across planning, code execution, and visual tool use establish the broader relevance of the problem. These findings motivate training agents to reduce the introduction of execution failures. We test this principle with Tool-Feedback Advantage Shaping (TFAS), which combines separately normalized task-success and trajectory-level execution-validity advantages. Across all six model-environment settings, TFAS improves overall accuracy and achieves the lowest ETD among the compared policies, reducing ETD by 26.5-67.7% relative to outcome-only RL. These measurements connect the intervention to lower failure-context density.
| Subjects: | Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2611.35727 [cs.AI] |
| (or arXiv:2611.35727v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2611.35727 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Jiahao Wang [view email]
[v1]
Thu, 26 Nov 2026 08:13:09 UTC (2,334 KB)
来源:arXiv cs.AI · arxiv.org