让大模型代理学会自我纠错,提升长时间任务的可靠性。
CAST: Critique-Aware Supervision for Training Reliable Long-Horizon Tool-Calling Agents

- 通过分析任务轨迹生成动作合理性解释,实现细粒度监督。
- 在零售和医疗场景中,可靠率比GPT-OSS-120B高出10%以上。
- 适合需要高可靠性、长流程决策的应用场景。
大型语言模型代理正被部署于长时程、交互式且状态敏感的环境中。单个错误操作(如退款错误订单)可能导致不可逆的任务失败,必须在执行前被拦截。此类失败并非每次都会出现,但在重复尝试中可能显现,因此跨步骤与跨试验的可靠性至关重要。然而,保障代理可靠性极具挑战:即使前沿大模型也难以解释为何某动作错误,尤其在受领域特定规则约束的复杂轨迹中。现有方法多依赖提示式批判代理,而基于优化的方法缺乏系统性生成丰富验证推理的能力。本文提出CAST框架,将稀疏的任务结果转化为动作级监督信号,用于批判学习与策略优化。CAST通过分析代理轨迹,合成结构化理由以解释在部分可观测情况下的动作有效性。由此构建的批判模型用于生成批判感知训练数据,优化策略模型。在动态工具调用基准上微调Qwen3系列模型,CAST在零售任务上优于GPT-OSS-120B超过10% pass^4,医疗场景下在域外设置中额外提升9%。结果表明,批判感知训练显著提升了大模型代理在真实动态环境中的鲁棒性。
原文摘要 · Abstract (English)
Large language model (LLM) agents are increasingly deployed in long-horizon, interactive, and stateful environments. In these settings, a single wrong action, such as refunding the wrong purchase, can cause irreversible task failure and must be intercepted before execution. Such failures may not appear in every single run, but can emerge across repeated trials, making reliability across steps and trials critical. However, ensuring agentic reliability is challenging: even frontier LLMs struggle to explain why an action may be wrong, especially in long, intertwined trajectories governed by domain-specific policies. Much recent work relies on prompt-based critique agents, while optimization-based methods lack a systematic way to produce rich verification rationales for training. We address this gap with CAST, a critique-aware training framework that converts sparse task outcomes into action-level supervision for critique learning and policy optimization. CAST analyzes agent trajectories to synthesize structured rationales explaining action validity under partial observability. The resulting critique model is used to construct critique-aware training data for optimizing the policy model. Fine-tuning Qwen3-family models on dynamic tool-calling benchmarks, CAST improves reliability across domains, outperforming GPT-OSS-120B by over 10% pass^4 on Retail tasks and yielding an additional 9% improvement on Telehealth in an out-of-domain setting. These results demonstrate that critique-aware training improves the robustness of LLM agents in realistic dynamic environments.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。