FunReason-MT Technical Report: Overcoming the Complexity Barrier in Multi-Turn Function Calling

Zengzhuang Xu, Bingguang Hao, Zechuan Wang, Yuntao Wen, Maolin Wang, Yang Liu, Long Chen, Dong Wang, Yicheng Chen, Cunyin Peng, Chenyi Zhuang, Jinjie Gu, Leilei Gan, Xiangyu Zhao, Shi Gu · OpenReview

Abstract

Function calling (FC) empowers large language models (LLMs) and autonomous agents to interface with external tools, a critical capability for solving complex, real-world problems. As this ability becomes increasingly central to advanced AI systems, the need for high-quality, multi-turn training data to develop and refine it cannot be overstated. Existing data synthesis methods, such as random environment sampling or multi-agent role-playing, are not powerful enough to generate high-quality data in real-world environments. Practical challenges come in three folds: targeted data synthesis, hard query construction, and multi-turn logical dependency. To address these structural deficiencies, we present FunReason-MT, a novel data synthesis framework for real-world multi-turn tool use. FunReason-MT resolves the complexity barrier in multi-turn FC data by employing 1) Environment-API Graph Interactions to gather varied high-quality trajectories with targeted tool, 2) Advanced Tool-Query Synthesis to simplify hard query construction, and 3) Guided Iterative Chain for sophisticated CoT generation. Evaluations on Berkeley Function-Calling Leaderboard (BFCLv3) demonstrate the power of our framework: a 4B model built upon FunReason-MT generated data achieves state-of-the-art performance among comparable-sized models. Further performance improvements on BFCLv4 confirm that FunReason-MT provides a reliable and robust source for agentic learning.

Introduction

While Large Language Models (LLMs) have become proficient at simple, single-turn function calling, they frequently struggle in real-world "agentic" scenarios. These complex environments require multi-turn interactions where models must maintain logical consistency, manage dependencies between disparate tools, and navigate "logical jumps"—scenarios where a user's request does not explicitly state the necessary prerequisite steps.

The primary bottleneck in developing these capabilities is a "performance ceiling" inherent in current data synthesis methods. Traditional "bottom-up" approaches, such as random environment sampling, often produce "happy-path" data that lacks the diversity and complexity required for sophisticated reasoning. Specifically, these methods struggle with targeted synthesis of complex tools and the construction of queries that demand multi-step logical dependencies.

Methodology: The FunReason-MT Framework

FunReason-MT introduces a "top-down" philosophy to data synthesis, shifting from hoping for complexity to emerge to engineering it through environmental modeling. The framework consists of three distinct phases:

Phase I: Environment-API Graph Interactions

To move beyond random walks, FunReason-MT utilizes a Directed Sampler. By building an API relation graph that maps tool dependencies, the system employs a greedy heuristic to prioritize execution paths leading to specific "target tools." This ensures that generated trajectories are both executable and purposeful.

Phase II: Advanced Tool-Query Synthesis

To generate truly "hard" queries, the framework employs a reverse-engineering approach. It takes a successful execution trace and abstracts it into a single "Advanced Tool." A Querying Agent then generates a user request that requires this abstraction. This ensures the query is inherently complex, forcing the model to understand implicit prerequisites (e.g., realizing a "get_zipcode" call is necessary to fulfill a request to "buy a ticket").

Phase III: Guided Iterative Chain

High-quality training requires verifiable reasoning. If a model fails to generate the correct function call during synthesis, a Critiquing Agent analyzes the error and provides a corrective hint. This iterative loop continues until the Chain-of-Thought (CoT) correctly leads to the ground-truth tool execution, ensuring the final training sample is logically sound.

Experimental Results

The framework was used to synthesize 17,000 multi-turn samples, which were then used to train a 4B-parameter model. Evaluation was conducted using the Berkeley Function-Calling Leaderboard (BFCL).

Multi-Turn Performance

On the BFCLv3 Multi-Turn benchmark, the FunReason-MT-4B model achieved a score of 57.8%. This represents a massive leap from the base model's 15.75% and significantly outperforms much larger models, including GPT-4o (42.5%) and Claude-3.5-Sonnet (54.8%).

Performance on BFCLv3 Multi-Turn benchmark.

Agentic Generalization

To test robustness, the model was evaluated on BFCLv4, an out-of-distribution benchmark focusing on agentic capabilities like Web Search and Memory. Despite the training data being unrelated to these specific tasks, the model showed significant improvement, jumping from an 8.85% base score to 15.1%.

Performance on BFCLv4 Agentic Evaluation.

Conclusion

FunReason-MT demonstrates that small, efficient models can surpass frontier models in complex tasks when trained on high-quality, engineered reasoning chains. By treating CoT as a verifiable path and reverse-engineering complexity from execution traces, the framework provides a robust foundation for agentic learning. Future work will focus on scaling this approach to even more diverse environments to further bridge the gap between compact models and massive closed-source systems.

Summary updated

BibTeX
@misc{xu2025funreason,
  author = {Zengzhuang Xu and Bingguang Hao and Zechuan Wang and Yuntao Wen and Maolin Wang and Yang Liu and Long Chen and Dong Wang and Yicheng Chen and Cunyin Peng and Chenyi Zhuang and Jinjie Gu and Leilei Gan and Xiangyu Zhao and Shi Gu},
  title = {{FunReason-MT Technical Report: Overcoming the Complexity Barrier in Multi-Turn Function Calling}},
  year = {2025},
  eprint = {2510.24645},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.24645},
}
Figure