Agent 与自动化 4.0 · 优秀 2025-09-25 · 论文

PALADIN: Self-Correcting Language Model Agents to Cure Tool-Failure Cases

工具故障(超时API 异常输出不一致)在真实部署里会引发级联推理错误直到任务放弃,而现有 agent 训练管线只优化成功轨迹PALADIN 反其道:系统性注入故障并配专家演示,在增强版 ToolBench 上构建 5 万+ 条带恢复标注的轨迹,用 LoRA 微调在保留基础能力的同时注入恢复能力推理时三步:检测执行期错误 从按 ToolScan 分类对齐的 55+ 故障范例库检索最相似案例 执行对应恢复动作结果:对训练分布外的未见工具 API 保留 95.2% 恢复性能;ToolBench 上 Recovery Rate 从 32.76% 提到 89.68%(相对 +57%),超最强基线 CRITIC(76.34%)13.3 个点...

打开原文回到归档

PALADIN: Self-Correcting Language Model Agents to Cure Tool-Failure Cases

Intake entry · 2026-10-06 · awesome-ai-field-notes
  • URL: https://arxiv.org/abs/2509.25238
  • Source: arxiv · Sri Vatsa Vuddanti, Aarav Shah, Satwik Kumar Chittiprolu, Tony Song, Sunishchal Dev, Kevin Zhu, Maheep Chaudhary · 提交 2025-09-25
  • Category: agents
  • Tags: tool-failure, recovery, fine-tuning, lora, agents, arxiv
  • Quality Score: 4

中文导读

工具故障(超时、API 异常、输出不一致)在真实部署里会引发级联推理错误直到任务放弃,而现有 agent 训练管线只优化成功轨迹,模型从未见过失败。PALADIN 反其道:系统性注入故障并配专家演示,在增强版 ToolBench 上构建 5 万+ 条带恢复标注的轨迹,用 LoRA 微调在保留基础能力的同时注入恢复能力。

推理时三步:检测执行期错误 → 从按 ToolScan 七类错误分类对齐的 55+ 故障范例库中检索最相似案例 → 执行对应恢复动作。结果:对训练分布外的未见工具 API 保留 95.2% 恢复性能;ToolBench 上 Recovery Rate 从 32.76% 提到 89.68%(相对 +57%),超最强基线 CRITIC(76.34%)13.3 个点;对 vanilla agent 89.86%(相对 +66%)。与同日入库的 ToolMaze 互为镜像:ToolMaze 证明恢复是独立于规模的短板,PALADIN 证明恢复经验可以预先灌进权重——事后反思式自纠不是唯一路线,55+ 错误-恢复策略对照库本身也是可复用资产(放进上下文同样有价值)。

为什么值得关注

关键信息

  • 训练数据:增强版 ToolBench 上系统性注入故障 + 专家演示 → 5 万+ 条恢复标注轨迹
  • 微调:LoRA,保留基础能力同时注入恢复能力
  • 推理:检测执行期错误 → 检索 55+ 故障范例库(ToolScan 分类对齐)→ 执行恢复动作
  • 泛化:未见工具 API 保留 95.2% 恢复性能
  • 主要数字:RR 32.76%→89.68%(+57% rel);超 CRITIC(76.34%)+13.3pt;vanilla 23.75%→89.86%(+66% rel)
  • 评测:PaladinEval 与 ToolReflectEval 上 RR/TSR/CSR/ES 一致提升

One-liner

恢复能力可以预先训练:5 万+故障轨迹 LoRA 微调,RR 32.76%→89.68%

English Summary

PALADIN trains on 50,000+ recovery-annotated trajectories built via systematic failure injection and expert demonstrations on an enhanced ToolBench dataset, using LoRA fine-tuning to retain base capabilities while injecting recovery competence. At inference it detects execution-time errors, retrieves the most similar case from a curated bank of 55+ failure exemplars aligned with ToolScan's taxonomy, and executes the corresponding recovery action. Retains 95.2% recovery on unseen tool APIs; RR 32.76% to 89.68% (+57% relative) over ToolBench, +13.3 points over CRITIC (76.34%).

English Abstract

Tool-augmented language agents frequently fail in real-world deployment due to tool malfunctions--timeouts, API exceptions, or inconsistent outputs--triggering cascading reasoning errors and task abandonment. Existing agent training pipelines optimize only for success trajectories, failing to expose models to the tool failures that dominate real-world usage. We propose PALADIN, a generalizable framework for equipping language agents with robust failure recovery capabilities. PALADIN trains on 50,000+ recovery-annotated trajectories constructed via systematic failure injection and expert demonstrations on an enhanced ToolBench dataset. Training uses LoRA-based fine-tuning to retain base capabilities while injecting recovery competence. At inference, PALADIN detects execution-time errors and retrieves the most similar case from a curated bank of 55+ failure exemplars aligned with ToolScan's taxonomy, then executes the corresponding recovery action. This approach generalizes to novel failures beyond the training distribution, retaining 95.2% recovery performance on unseen tool APIs. Evaluation across PaladinEval and ToolReflectEval demonstrates consistent improvements in Recovery Rate (RR), Task Success Rate (TSR), Catastrophic Success Rate (CSR), and Efficiency Score (ES). PALADIN improves RR from 32.76% to 89.68% (+57% relative) over ToolBench and outperforms the strongest baseline CRITIC (76.34%) by +13.3%. Against vanilla agents, PALADIN achieves 89.86% RR (+66% relative improvement from 23.75%). These results establish PALADIN as an effective method for building fault-tolerant agents capable of robust recovery in real-world tool environments.

原文摘录(节选)

同日 Agent 实践探索笔记(OpenClaw定时任务/Agent实践探索/2026-10-06)的对照解读:靠反思的事后自纠(CRITIC、ToolReflect 一类),效果不如提前见过大量失败样本;恢复经验无论用于微调还是放进上下文都值钱。

注:元数据与摘要于 2026-10-06 经 opencli arxiv paper 2509.25238 -f json 获取;延伸解读出自同日 Agent 实践探索笔记。