ToolCritic: Detecting and Correcting Tool-Use Errors in Dialogue Systems
Hassan Hamad, Yingru Xu, Liang Zhao, Wenbo Yan, Narendra Gyanchandani
TL;DR
ToolCritic proposes a diagnostic framework that identifies eight tool-use errors in multi-turn tool-augmented dialogues and delivers descriptive feedback to an LLM for on-the-fly revision. Trained on a synthetically augmented Schema-Guided Dialogue dataset, ToolCritic demonstrates up to a 13% boost in tool-calling success over baselines and validates the necessity of external feedback over self-correction. The work provides a granular error taxonomy, a synthetic data generation pipeline, and a feedback loop that enhances robustness of tool usage in real-world dialogue applications. While effective, the approach incurs higher inference and labeling costs and currently relies on a fixed tool set, leaving room for improved generalization to unseen tools and more efficient reasoning.
Abstract
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.
