Introduction
Large Language Models (LLMs) are increasingly deployed as autonomous agents capable of calling external APIs to book flights, search databases, or manage schedules. However, evaluating these tool-use capabilities remains a challenge. MTU-Bench is a comprehensive new benchmark designed to assess how well LLMs use external tools across diverse, real-world scenarios—ranging from simple single-step tasks to complex multi-turn, multi-tool dialogues. Unlike previous benchmarks that rely on expensive GPT-4 API calls for grading, MTU-Bench introduces a suite of fine-grained, fully automated metrics and a massive instruction-tuning dataset (MTU-Instruct) that significantly boosts the tool-use capabilities of open-source models.
The Evaluation Gap
Existing evaluation frameworks for LLM tool use suffer from two major flaws:
- Limited Scope: Most benchmarks focus on "single-turn, single-tool" interactions. In reality, users often engage in back-and-forth dialogues that require an agent to use multiple different tools in a specific order.
- High Evaluation Costs: Many current benchmarks use "LLM-as-a-judge" (e.g., asking GPT-4 to grade another model's output). This is not only expensive but can introduce biases and lack reproducibility.
To address these gaps, the authors created a "multi-granularity" benchmark covering five distinct levels of complexity: single-turn/single-tool (S-S), single-turn/multi-tool (S-M), multi-turn/single-tool (M-S), multi-turn/multi-tool (M-M), and out-of-distribution (OOD) tasks to test how well models generalize to unseen tools.
Methodology: Building the Benchmark
Instead of scraping the web, the researchers developed an automated pipeline to transform high-quality, human-annotated dialogue datasets (like MultiWOZ, SGD, TaskMaster, MetaLWOZ, ATIS, and SNIPS) into tool-use data.
The transformation process involves several key steps:
- Tool Synthesis: Converting user intents and "slots" (like destination or time) into standardized API calls.
- Tool Clustering: Using embedding-based clustering to reduce redundancy in tool names (e.g., merging
search_movieandfind_movie), shrinking a massive pool of potential tools into a refined set. - ReAct-style Data Generation: Using GPT-4 to synthesize "Thoughts," "Actions," and "Observations" based on the original dialogues, followed by rigorous manual and automated quality filtering.
To eliminate the need for LLM-as-a-judge, they introduced novel automated metrics. A standout is the Soft Averaged Turn Success Rate (SATS), which uses exponential decay to account for how an error early in a conversation cascades into later turns, and Tool Order Accuracy (TO) to evaluate the sequence of multi-tool calls.
Datasets and MTU-Instruct
The resulting MTU-Bench comprises 54,798 dialogues involving 136 unique tools. From the training split of this data, the authors derived MTU-Instruct, a large-scale instruction-tuning dataset. They also carved out a specific OOD Test Set containing 5 topics (e.g., weather, calendar) entirely excluded from the training set to test generalization.
Key Insights and Results
- The "Cascading Error" Problem: In multi-turn dialogues, a mistake in turn 2 often makes turn 4 impossible to get right. The SATS metric effectively penalizes models more heavily for early-stage failures that derail the entire task.
- Multi-Tool Complexity: Calling two tools in one turn is significantly harder than calling one tool twice. Models often struggle with "parameter inheritance"—using the output of Tool A as the input for Tool B.
- Instruction Tuning Works: By fine-tuning LLaMA-3-8B on their MTU-Instruct data, the authors created MTU-LLaMA. This fine-tuned model reached a 71.15% average on the S-S set, a massive jump from the base LLaMA-3-8B's 48.08%, outperforming much larger models and rivaling closed-source giants in specific scenarios.
- Closed-Source Dominance and the "Hard" Gap: GPT-4 and GLM-4-Plus remain the overall leaders. GPT-4 achieved a 73.96% average on the normal single-tool set. However, on the "Hard" test set (which includes noisy tools and complex parameter updates), performance for all models dropped sharply. GPT-4’s success rate in multi-turn, multi-tool (M-M) scenarios fell to 41.36%, highlighting that even the best models are far from perfect agents.
Limitations and Future Work
While MTU-Bench is diverse and comprehensive, it remains a static benchmark. It does not capture the "live" nature of real-world APIs where data changes constantly (like stock prices or flight availability).
Future work could involve:
- Moving toward dynamic environments where tool responses change based on previous actions.
- Expanding to multimodal tools (e.g., tools that process images or audio).
- Improving model robustness against confusable tools (tools with very similar descriptions but different functions).
Summary updated