Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Enhancing Tool Learning in Large Language Models with Hierarchical Error Checklists

About

Large language models (LLMs) have significantly advanced natural language processing, particularly through the integration of external tools and APIs. However, their effectiveness is frequently hampered by parameter mis-filling during tool calling. In this paper, we propose the Hierarchical Tool Error Checklist (HiTEC) framework to systematically diagnose and mitigate tool-calling errors without relying on extensive real-world interactions. HiTEC introduces a two-tiered approach: a global error checklist that identifies common, cross-tool issues, and a local error checklist that targets tool-specific and contextual failures. Building on this structure, we propose two deployments: HiTEC-In Context Learning (HiTEC-ICL) and HiTEC-Kahneman-Tversky Optimization (HiTEC-KTO). HiTEC-ICL embeds the global checklist in the initial prompts and leverages a two-round conversational interaction to dynamically refine parameter handling, while HiTEC-KTO generates high-quality negative examples to drive fine-tuning via preference-based optimization. Extensive experiments across five public datasets demonstrate that our framework significantly improves parameter-filling accuracy and tool-calling success rates compared to baseline methods.

Yue Cui, Liuyi Yao, Shuchang Tao, Weijie Shi, Yaliang Li, Bolin Ding, Xiaofang Zhou• 2025

Related benchmarks

TaskDatasetResultRank
Tool CallingAPI-Bank L-1
F1 Name Match94.99
46
Tool CallingTool-Alpaca
Tool Name Accuracy91.17
31
Tool CallingSeal-Tools Single-Tool
Name Match Score98.14
30
Tool CallingAPI-Bank L-2
Name Match F190.42
25
Tool CallingNexus Raven
Score (Name)94.84
16
Tool CallingF1 Average
Tool Call Name F191.37
16
Tool CallingAPI-Bank L-1 v1 (test)
F1 Score90.78
12
Tool CallingAPI-Bank L-2 v1 (test)
F1 Name Match88
12
Tool CallingTool-Alpaca v1 (test)
F1 Name87.63
12
Tool CallingSeal-Tools Single-Tool v1 (test)
F1 Name98.14
12
Showing 10 of 12 rows

Other info

Follow for update