atlas

Research map / Large language models / Agents, code and math

MetaTool Benchmark for Large Language Models: Deciding Whether to Use Tools and Which to Use

ICLR 2024 · Large language models › Agents, code and math · approach: Agent instruction-following benchmarks · 5 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces MetaTool, a benchmark with the ToolE dataset (~21k queries over 390 OpenAI plugin tools) to test whether LLMs know when to use tools and which tool to select, finding most eight evaluated LLMs perform poorly.

Problem

Existing tool-use benchmarks focus on tool invocation and execution, not on whether LLMs decide to use a tool or select the right tool(s) from candidate lists, which agents need; prior datasets also lack diversity and have overlapping tool functionality.

Approach

Builds a diverse query dataset from OpenAI plugin tool descriptions using multiple prompting styles (emotional, keyword, direct, detailed, multi-tool), resolves overlapping tools via merging/decomposition, and defines four tool-selection subtasks plus a tool-usage-awareness test with correct selection rate (CSR) as metric.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use five-shot instead of zero-shot promptsLLMs on tool usage awareness · Tool usage awarenessF1: Llama2-13b: 11.53 -> 54.32; +42.79%Helped
Use five-shot instead of zero-shot promptsVicuna-7b · Tool selection with similar choicesCSR: 73.46 -> 63.67; -9.79Hurt
Use five-shot instead of zero-shot promptsLLMs · Tool selection with possible reliability issuesCSR: +28.14Helped
Force selection of two tools rather than allowing zero, one, or twoVicuna-33b · Multi-tool selectionCSR: 48.49 -> 91.15Helped
Increase the number of tools in the candidate listLLMs · Tool selection in specific scenariosCSRHurt
Use longer, more detailed tool descriptionsLLMs selecting tools · Tool selectionCSRHelped
Rewrite tool descriptions with Llama2-70bLlama2-13b · Tool selectionCSR: +7.83%Helped
Rewrite tool descriptions with Llama2-70bVicuna series models · Tool selectionCSRNo clear effect
Rewrite tool descriptions with GPT-4ChatGLM and Llama2 series · Tool selectionCSRHurt
Rewrite tool descriptions with GPT-4Vicuna series · Tool selectionCSRHelped

Surprising findings

Limitations

Experimental setup

Datasets: ToolE (generated from OpenAI plugin descriptions) public daily-conversation and common-sense instruction datasets (negative samples) LIMA instructions

Benchmarks: MetaTool (ToolE-based tool usage awareness and tool selection tasks)

Metrics: accuracy precision recall F1 correct selection rate (CSR) Top@k error analysis

Baselines: ChatGPT ChatGLM2 Llama2-7b-chat Llama2-13b-chat Vicuna-7b Vicuna-13b Vicuna-33b Koala-13b

Builds on: ReAct ToolLLM APIBank

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy