atlas

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

ToolACE: Winning the Points of LLM Function Calling

ICLR 2025 · Large language models › Agents, code and math · approach: Software engineering agents · 3 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 ToolACE, an agentic pipeline that synthesizes a 26,507-API pool and complexity-aware, rule- and model-verified function-calling dialogs, then fine-tunes LLaMA-3.1-8B to match GPT-4-class function calling.

Problem

Function-calling training data from real logs is hard to collect, and existing synthetic pipelines lack API coverage, dialog complexity, and accuracy, limiting LLM tool-use generalization.

Approach

A self-evolving API synthesis (speciation, adaptation, evolution) from pretraining documents, multi-agent dialog generation whose complexity is calibrated by the target model's own loss, and a dual-layer verifier combining rule checks with LLM-based checks.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
train on ToolACE data instead of the ToolLLM datasetLLaMA-3.1-8B-Instruct · BFCL overallaccuracy: 24.90 -> 58.19Helped
train on ToolACE data instead of the xLAM datasetLLaMA-3.1-8B-Instruct · BFCL overallaccuracy: 40.51 -> 58.19Helped
add parallel execution samples (ablation)ToolACE · BFCL overallaccuracy: 50.60 -> 58.19Helped
add parallel execution samples (ablation)ToolACE · BFCLNon-live AST: 74.75 -> 86.96Helped
add parallel execution samples (ablation)ToolACE · BFCLNon-live executable: 77.30 -> 84.73Helped
add dependent-call samples (ablation)ToolACE · BFCL overallaccuracy: 57.97 -> 58.19Helped
add nested-parameter samples (ablation)ToolACE · BFCL overallaccuracy: 57.19 -> 58.19Helped
add multi-type samples (ablation)ToolACE · BFCLirrelevance: 6.99 -> 86.42Helped
use the learner itself as complexity evaluator instead of Qwen1.5-7B-Chat (ablation)ToolACE training · BFCL overallaccuracy: 57.61 -> 59.22Helped
use the learner itself as complexity evaluator instead of Qwen1.5-14B-Chat (ablation)ToolACE training · BFCL overallaccuracy: 57.67 -> 59.22Helped
train on medium-complexity data instead of easy or hard data (ablation)LLaMA-3.1-8B-Instruct · BFCL overall and tool-use accuracyaccuracyHelped
increase training API diversity (ablation)LLaMA-3.1-8B-Instruct · BFCL overallaccuracyHelped

Surprising findings

Limitations

Experimental setup

Datasets: ToolACE synthetic data ToolLLM data xLAM data pretraining documents (seed for API synthesis)

Benchmarks: BFCL-v3 API-Bank MMLU HumanEval GSM8K CommonSenseQA

Metrics: AST accuracy executable accuracy relevance irrelevance multi-turn accuracy overall accuracy API-Bank accuracy

Baselines: GPT-4-turbo GPT-4o GPT-4o-mini xLAM-7b-fc-r Gorilla-OpenFunctions-v2 Functionary LLaMA-3.1-8B-Instruct ToolLLM data xLAM data

Builds on: LoRA ToolLLM xLAM

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