CAST:面向可靠长时程工具调用代理训练的批判感知监督
研究论文 · 2026/09/01
大型语言模型(LLM)代理越来越多地部署在长周期、交互式和有状态的环境中。在这些环境中,单个错误动作(如退款错误)可能导致不可逆的任务失败,必须在执行前拦截。此类失败可能不会在每次运行中出现,但会在重复试验中显现,因此跨步骤和试验的可靠性至关重要。然而,确保代理可靠性具有挑战性:即使是前沿LLM也难以解释动作为何错误,尤其是在受领域特定策略约束的长而交织的轨迹中。近期工作多依赖基于提示的批评代理,而基于优化的方法缺乏系统生成丰富验证理由的方式。我们提出CAST,一个批评感知训练框架,将稀疏任务结果转化为动作级监督,用于批评学习和策略优化。CAST分析代理轨迹,合成结构化理由,在部分可观测性下解释动作有效性。所得批评模型用于构建批评感知训练数据以优化策略模型。在动态工具调用基准上微调Qwen3系列模型,CAST提高了跨领域的可靠性,在零售任务上超过GPT-OSS-120B超过10%的pass^4,并在域外设置中在远程医疗上额外提升9%。这些结果表明,批评感知训练提高了LLM代理在现实动态环境中的鲁棒性。
本文提出CAST框架,解决LLM代理在长周期任务中的可靠性问题,通过批评感知训练将稀疏结果转化为动作级监督,显著提升性能,具有实际应用价值。
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.