atlas

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

Facilitating Multi-turn Function Calling for LLMs via Compositional Instruction Tuning

ICLR 2025 · Large language models › Agents, code and math · approach: Agent instruction-following benchmarks · 0 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.

Proposes BUTTON, a bottom-up-then-top-down pipeline that synthesizes compositional multi-turn function-calling instruction data (BUTTONInstruct, 8k points) using GPT-4o, and fine-tunes Llama3 and Qwen2 models on it.

Problem

LLMs are mostly trained for single-turn function calling, lacking the ability to plan sequences of function calls for compositional, multi-step user queries; collecting such multi-turn function-calling data manually is costly.

Approach

Generate atomic tasks from scenarios, compose them into compositional tasks via sequential and parallel-then-sequential heuristics, synthesize functions guided by sub-task breakdowns, then simulate multi-turn trajectories with a multi-agent environment (user, assistant, tool agents).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Fine-tune Llama3-8B with BUTTONInstruct instead of general instruction tuning aloneLlama3-8B · GTA End-to-EndAns.: 1.4 -> 30.5Helped
Fine-tune Qwen2-7B with BUTTONInstruct instead of general instruction tuning aloneQwen2-7B · GTA End-to-EndAns.: 13.1 -> 27.3Helped
Fine-tune Llama3-70B with BUTTONInstruct instead of general instruction tuning aloneLlama3-70B · GTA End-to-EndAns.: 40.1 -> 43.5Helped
Fine-tune Qwen2-72B with BUTTONInstruct instead of general instruction tuning aloneQwen2-72B · GTA End-to-EndAns.: 27.3 -> 45.7Helped
Fine-tune Llama3-8B with BUTTONInstruct instead of general instruction tuning aloneLlama3-8B · Tool-Query AllSuccess Rate: 5.0 -> 35.0Helped
Fine-tune Qwen2-7B with BUTTONInstruct instead of general instruction tuning aloneQwen2-7B · Tool-Query AllSuccess Rate: 23.3 -> 28.3Helped
Fine-tune Llama3-70B with BUTTONInstruct instead of general instruction tuning aloneLlama3-70B · Tool-Query AllSuccess Rate: 31.7 -> 58.3Helped
Fine-tune Qwen2-72B with BUTTONInstruct instead of general instruction tuning aloneQwen2-72B · Tool-Query AllSuccess Rate: 41.7 -> 58.3Helped
Increase BUTTONInstruct training data from 2,000 to 8,000 examples (ablation)Llama3-8B-BUTTON · Tool-Query AllSuccess Rate: 21.7 -> 35.0Helped
Increase BUTTONInstruct training data from 2,000 to 8,000 examples (ablation)Llama3-8B-BUTTON · Tool-Query AllProcess Rate: 56.5 -> 63.2Helped
Turn off parallel function calling by changing the system prompt (ablation)Llama3-8B-BUTTON · Tool-Query AllSuccess Rate: 35.0% to 28.3%Hurt
Turn off parallel function calling by changing the system prompt (ablation)Llama3-8B-BUTTON · Tool-Query AllProcess Rate: 63.2% to 58.7%Hurt

Surprising findings

Limitations

Experimental setup

Datasets: glaive-function-calling-v2 ToolLLama dataset OpenHermes-2.5

Benchmarks: GTA Tool-Query

Metrics: Instruction accuracy Tool-selection accuracy Argument accuracy Summary accuracy F1 tool selection Final answer accuracy Grounding accuracy Process rate Success rate

Baselines: GPT-4o GPT-4-Turbo GPT-3.5-Turbo Llama3-8B-Instruct Llama3-70B-Instruct Qwen2-7B-Instruct Qwen2-72B-Instruct

Builds on: ReAct Self-Instruct APIGen Chain-of-Instruct Sequential Instruction Tuning

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