Towards Reliable Benchmarking: A Contamination Free, Controllable Evaluation Framework for Multi-step LLM Function Calling
Seiji Maekawa, Jackson Hassell, Pouya Pezeshkpour, Tom M. Mitchell, Estevam Rafael Hruschka Junior · 2026 · 18 citationsRead the paper
Existing benchmarks for tool-augmented language models (TaLMs) lack fine-grained control over task difficulty and remain vulnerable to data contamination. We present FuncBenchGen, a unified, contamination-free framework that evaluates TaLMs by generating synthetic multi-step tool-use tasks to stress-test TaLMs. The key idea is to cast tool use as traversal over a hidden function-dependency DAG where models must infer the correct sequence of calls to compute a target value. FuncBenchGen allows precise control over task difficulty (e.g., graph size, dependency depth, and distractor functions) while avoiding pretraining/test-time leakage. Our evaluation demonstrates reasoning-optimized models consistently outperform general-purpose models with GPT-5 significantly outperforming other available models. Performance declines sharply as dependency depth increases. Furthermore, connected distractors -- irrelevant functions sharing type-compatible variables with relevant functions -- prove especially difficult to handle. Also, strong models often make syntactically valid function calls but propagate incorrect or stale argument values across steps, revealing brittle state tracking by LLMs in multi-turn tool use. Motivated by this observation, we introduce a simple mitigation strategy that explicitly restates prior variable values to the agent at each step. Surprisingly, this lightweight change yields substantial gains across models. e.g., yielding an improvement in success rate from 62.5% to 81.3% for GPT-5.
What the full text shows
Working prototype- Reasoning-optimized models outperform general-purpose models, with GPT-5 showing the highest success rates. — 72.5% success rate for GPT-5 vs 12.0% for GPT-4.1 (with 5 core nodes) (Aggregated across various irrelevant function counts and connectivity types)
- Model performance declines significantly as the number of core nodes (dependency depth) increases. — GPT-5 success rate drops from 72.5% (5 nodes) to 38.2% (10 nodes) to 15.0% (20 nodes) (Aggregated across irrelevant function settings)
- Explicitly restating prior variable values to the agent at each step significantly improves success rates. — 62.5% to 81.3% success rate for GPT-5 (Mitigation strategy for state tracking errors)
- Performance degrades sharply when the number of core nodes is very large, even without irrelevant functions. — Success rate lower than 10% for 40 core nodes (GPT-5 in disconnected setting)
- Minimal thinking budgets severely limit the ability to reason through multi-step tasks. — Success rates less than 20% in most settings with minimal budget (GPT-5 with 5 core nodes)
- The most common failure type is attempting to use a variable whose value has not yet been established. — 79.6% of GPT-5 errors; 81.3% of Gemini-2.5-Flash errors (Averaged across 5, 10, 20 core nodes)
- Setup
- Seven LLMs (including GPT-5, Gemini-2.5-Pro, Qwen3, GPT-4.1) tested on synthetic graphs with core nodes {5, 10, 20}, irrelevant nodes {0, 10, 20, 40}, and varying dependency depths.
- How
- The authors developed FuncBenchGen, a framework that generates synthetic multi-step tool-use tasks by casting function dependencies as a hidden directed acyclic graph (DAG). They evaluated several LLMs by varying graph size, dependency depth, and the presence of connected/disconnected irrelevant functions.
- Limitations
- Synthetic nature of the generated tasks may not fully capture all real-world API complexities. · Evaluation of GPT-5 thinking budgets was limited to 'medium' and 'minimal' due to budget constraints.
Summarized by Gemma 4 from the open-access full text · 26 Nov 2026. Read it