Planning, Creation, Usage: Benchmarking LLMs for Comprehensive Tool Utilization in Real-World Complex Scenarios

Shijue Huang, Wanjun Zhong, Jianqiao Lu, Qi Zhu, Jiahui Gao, Weiwen Liu, Yutai Hou, Xingshan Zeng, Yasheng Wang, Lifeng Shang, Xin Jiang, Ruifeng Xu, Qun Liu

Introduction

As Large Language Models (LLMs) evolve into autonomous agents, their ability to interact with external environments through tool use has become a primary focus of research. However, existing benchmarks often oversimplify this interaction, focusing on single-turn scenarios where a user query maps directly to a pre-defined API. In real-world applications, tasks are rarely atomic; they require multi-step reasoning, the identification of tool gaps, and the ability to generate new tool specifications.

To address these limitations, we introduce UltraTool, a comprehensive benchmark designed to evaluate the entire tool-use lifecycle. UltraTool moves beyond simple selection and execution, probing a model's capacity for independent planning and tool creation in complex, multi-domain environments.

The UltraTool Framework

UltraTool evaluates LLMs across six critical dimensions that mirror the complexities of real-world agentic workflows:

  1. Planning: Decomposing complex user queries into a sequence of natural language sub-tasks.
  2. Tool Creation Awareness: Determining if the current tool library is sufficient to solve a sub-task.
  3. Tool Creation: Generating the schema (name, description, and JSON parameters) for a new tool when existing ones fail.
  4. Tool Usage Awareness: Deciding whether a specific sub-task requires external tool intervention.
  5. Tool Selection: Identifying the most appropriate tool from a library of thousands.
  6. Tool Usage: Generating the correct input parameters for the selected tool.
Overview of the tool utilization process and dataset construction in UltraTool.

By explicitly evaluating natural language planning before tool selection, UltraTool decouples a model's reasoning ability from its technical knowledge of specific APIs. This reveals whether a model's failure stems from a lack of logic or an inability to handle technical execution.

Dataset Characteristics

The UltraTool dataset comprises 5,824 samples spanning 22 diverse domains, including Finance, Travel, Health, and Document Management. The benchmark includes a library of 2,032 distinct tools and supports both Chinese and English.

The dataset construction involved a rigorous pipeline: expert-drafted queries were generalized and complicated using GPT-4, followed by manual refinement to ensure logical coherence and realism. Evaluation is conducted using a Multi-Dimensional Point-Wise LLM-as-Judge method, where GPT-4 scores model outputs on a 1-10 scale. This approach has demonstrated a high Pearson correlation (over 0.8) with human expert evaluations.

Key Insights and Results

Benchmarking a wide array of models—from 7B open-source variants to GPT-4—yielded several critical insights into the current state of LLM agents:

The Performance Gap

GPT-4 (specifically gpt-4-1106-preview) remains the gold standard, achieving overall scores of approximately 75% across both language subsets. While many open-source models are competent at basic "Planning," they struggle significantly with "Tool Creation" and "Nested Tool Usage," where scores often drop below 40%.

Scaling and Format Compliance

A clear scaling law is evident: 70B models vastly outperform 7B and 13B models, particularly in independent planning and tool creation. Furthermore, a major bottleneck for smaller models is format compliance. There is a strong positive correlation between a model's ability to strictly follow JSON formatting requirements and its overall success in the benchmark.

Language and Domain Bias

Models exhibit performance variations based on their primary alignment data. For instance, Qwen performs better on Chinese tasks, while Llama-2 excels in English. This suggests that tool-use capabilities are influenced by the linguistic and cultural nuances of the training data.

Conclusion and Future Work

UltraTool highlights that while top-tier LLMs excel at basic tool usage, significant hurdles remain in independent planning and the dynamic creation of new tools. Current limitations include the use of "skeleton" tool schemas rather than fully executable code and a static evaluation environment. Future research will focus on simulating tool execution and incorporating multi-turn feedback loops to further increase the benchmark's fidelity to real-world deployment.

Summary updated

BibTeX
@inproceedings{huang2024planning,
  author = {Shijue Huang and Wanjun Zhong and Jianqiao Lu and Qi Zhu and Jiahui Gao and Weiwen Liu and Yutai Hou and Xingshan Zeng and Yasheng Wang and Lifeng Shang and Xin Jiang and Ruifeng Xu and Qun Liu},
  title = {{Planning, Creation, Usage: Benchmarking LLMs for Comprehensive Tool Utilization in Real-World Complex Scenarios}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-acl.259},
}
Figure