atlas

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

The Berkeley Function Calling Leaderboard (BFCL): From Tool Use to Agentic Evaluation of Large Language Models

ICML 2025 · Large language models › Agents, code and math · approach: Software engineering agents

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 BFCL, a large multi-category function-calling benchmark with AST-based deterministic evaluation, crowd-sourced real user queries, multi-turn and agentic (web search, memory, SQL) tracks, and evaluates a wide range of LLMs.

Problem

Existing function-calling benchmarks are narrow, rely on LLM-simulated users or LLM judges, or cannot scale because they require executing functions, so there is no standard reliable benchmark for LLM tool use.

Approach

Use AST substring matching as a deterministic, execution-free proxy for function-call correctness, combined with real user-contributed queries, stateful multi-turn API environments, and agentic memory/web/SQL tasks, all in one leaderboard.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use native function-calling mode instead of prompting modeModels supporting both modes, on BFCL · Function-call decodingdecoding issues: 412.93 vs. 182.5 out of 4,251 total entriesHelped
Use native function-calling mode instead of prompting modeModels supporting both modes, on BFCL multiple function-call category · Multiple function-call categoryincorrect function-call counts: 77.5 vs. 21Hurt
Evaluate on crowd-sourced queries rather than single-turn queriesSalesforce xLAM-7B · Single-turn vs. crowd-sourcedperplexity: 3.67 to 5.09Hurt
Evaluate on crowd-sourced queries rather than single-turn queriesSalesforce xLAM-7B · Single-turn vs. crowd-sourcedChar-NLL: 0.340 to 0.427Hurt
Evaluate on crowd-sourced queries rather than single-turn queriesLlama2-7B · Single-turn vs. crowd-sourcedperplexity: 3.47 on single-turn compared to 2.56 on crowd-sourcedHelped
Evaluate on crowd-sourced queries rather than single-turn queriesLlama2-7B · Single-turn vs. crowd-sourcedChar-NLL: 0.344 versus 0.264Helped

Surprising findings

Limitations

Experimental setup

Datasets: BFCL single-turn dataset BFCL crowd-sourced dataset (64,517 collected queries, 2,251 curated) BFCL multi-turn dataset BFCL agentic dataset (web search, memory, SQL)

Benchmarks: BFCL

Metrics: accuracy AST accuracy execution accuracy state-based accuracy response-based accuracy perplexity char-NLL

Baselines: Gorilla APIBench ToolBench ToolSandbox TauBench StableToolBench T-Eval Nexus Function Calling Leaderboard

Builds on: Gorilla APIBench Toolformer ToolBench

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