When Tools Fail: Benchmarking Dynamic Replanning and Anomaly Recovery in LLM Agents
Intake entry · 2026-10-06 · awesome-ai-field-notes
- URL: https://arxiv.org/abs/2606.05806
- Source: arxiv · Dongsheng Zhu, Xuchen Ma, Yucheng Shen, Xiang Li, Yukun Zhao, Shuaiqiang Wang, Lingyong Yan, Dawei Yin · 提交 2026-06-04
- Category: agents
- Tags: benchmark, tool-use, error-recovery, replanning, agents, arxiv
- Quality Score: 4
中文导读
现有 Tool-Integrated Reasoning(TIR)基准大多在理想 happy path 上评测,真实部署里工具失败才是常态。ToolMaze 把失败放进多工具依赖链(DAG 结构)里度量:一个维度是拓扑复杂度,另一个维度是 2×2 扰动分类——显式/隐式 × 瞬时/永久。显式失败(404、429、超时)至少会宣告自己的存在;隐式失败返回值格式完全合法、内容却是错的(如库存延迟更新返回负数),专门用来把“系统性重规划”与“盲试错”分开。
主要发现:扰动几乎压低所有模型;隐式语义失败最尖锐——模型系统性过度信任“能解析、字段全”的毒数据,Perturbation Recovery Rate 平均暴跌约 37%,扰动顺着调用链往下传污染后续推理;复杂拓扑把 agent 困在无效试错循环。最关键:容错能力随模型规模改善的速度比基础任务执行慢 3.66 倍——把 agent 从中档模型换到旗舰,任务成功率会涨,恢复能力基本原地踏步。动态重规划是规模与提示都没有解决的独立瓶颈。数据与代码开源。
为什么值得关注
关键信息
- 设计:DAG 拓扑复杂度 × 2×2 扰动(显式/隐式 × 瞬时/永久),分离重规划与盲试错
- 隐式语义失败:PRR 平均跌约 37%(系统性过度信任格式合法的毒数据)
- 规模结论:容错改善速度比基础任务执行慢 3.66 倍,独立于规模与提示
- 复杂拓扑 → 无效试错循环
- 代码/数据:github.com/Zhudongsheng75/ToolMaze
One-liner
工具失败恢复是独立短板:隐式毒数据 PRR -37%,规模换容错的速度慢 3.66 倍
English Summary
ToolMaze targets dynamic path discovery and error recovery in Tool-Integrated Reasoning with DAG-based topological complexity and a 2x2 perturbation taxonomy (explicit/implicit, transient/permanent). Perturbations degrade nearly all models; implicit semantic failures - well-formed outputs with corrupted content - are worst, with Perturbation Recovery Rate falling around 37% from systemic over-trust. Fault-tolerance improves with model scale 3.66x slower than basic task execution: dynamic replanning is a distinct bottleneck unaddressed by scaling or prompting.
English Abstract
Existing benchmarks evaluate Tool-Integrated Reasoning (TIR) in LLMs on idealized 'happy paths', largely overlooking real-world tool failures. We introduce ToolMaze, a benchmark for dynamic path discovery and error recovery in TIR agents. To separate systematic replanning from blind trial-and-error, ToolMaze adopts a two-dimensional design: DAG-based topological complexity and a 2 x 2 taxonomy of tool perturbations (explicit/implicit, transient/permanent). Evaluations show that perturbations degrade performance across nearly all models, with the sharpest drops under implicit semantic failures. Driven by systemic over-trust in corrupted outputs, Perturbation Recovery Rate (PRR) plummets by around 37% in these scenarios, while complex topologies trap agents in futile trial-and-error loops. Crucially, agentic fault-tolerance improves with model scale 3.66x slower than basic task execution, highlighting dynamic replanning as a distinct bottleneck unaddressed by model scaling or prompting. Data and code are available at https://github.com/Zhudongsheng75/ToolMaze.
原文摘录(节选)
同日 Agent 实践探索笔记(OpenClaw定时任务/Agent实践探索/2026-10-06)有延伸分析:提示词层面声明"工具可能返回异常值"是最便宜的干预,各模型恢复率普遍上升——把"格式合法"和"内容正确"拆开后,模型开始对返回值做初级合理性检查。
注:元数据与摘要于 2026-10-06 经 opencli arxiv paper 2606.05806 -f json 获取;延伸解读出自同日 Agent 实践探索笔记(其对论文数字的引用与摘要一致)。