arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.17052cs.AI
收藏

ToolCritic:检测并纠正对话系统中的工具使用错误

ToolCritic: Detecting and Correcting Tool-Use Errors in Dialogue Systems

Amazon(亚马逊)

Hassan Hamad, Yingru Xu, Liang Zhao, Wenbo Yan, Narendra Gyanchandani

AI总结:

本文提出 ToolCritic 框架,通过识别八类工具调用错误并反馈给主 LLM 进行修正,在 SGD 数据集上将工具调用准确率较基线最高提升 13%。

摘要:

工具增强的大型语言模型(LLM)正越来越多地应用于现实场景,但工具使用错误仍会妨碍其可靠性。我们提出 ToolCritic,这是一个用于评估并改进 LLM 在多轮、工具增强对话中行为的诊断框架。ToolCritic 可检测八种专属于工具调用的不同错误类型(例如过早调用、参数不对齐以及对工具输出的误解),并向主 LLM 提供有针对性的反馈。主 LLM 被假定具备较强的推理、任务理解和编排能力,随后会根据 ToolCritic 的反馈修改其响应。我们系统地定义了这些错误类别,并构建了一个合成数据集来训练 ToolCritic。在 Schema-Guided Dialogue(SGD)数据集上的实验结果表明,与包括零样本提示和自我纠正技术在内的基线相比,ToolCritic 将工具调用准确率最高提升了 13%。这代表着在现实对话应用中实现 LLM 与外部工具更稳健集成的一个有前景的进展。

英文摘要:

Tool-augmented large language models (LLMs) are increasingly employed in real-world applications, but tool usage errors still hinder their reliability. We introduce ToolCritic, a diagnostic framework that evaluates and improves LLM behavior in multi-turn, tool-augmented dialogues. ToolCritic detects eight distinct error types specific to tool-calling (e.g., premature invocation, argument misalignment, and misinterpretation of tool outputs) and provides targeted feedback to the main LLM. The main LLM, assumed to have strong reasoning, task understanding and orchestration capabilities, then revises its response based on ToolCritic's feedback. We systematically define these error categories and construct a synthetic dataset to train ToolCritic. Experimental results on the Schema-Guided Dialogue (SGD) dataset demonstrate that ToolCritic improves tool-calling accuracy by up to 13% over baselines, including zero-shot prompting and self-correction techniques. This represents a promising step toward more robust LLM integration with external tools in real-world dialogue applications.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑