arXiv:2510.24645cs.AI2025-10被引 7

构建高质量多轮工具调用数据,提升AI Agent真实场景能力

FunReason-MT Technical Report: Advanced Data Synthesis Solution for Real-world Multi-Turn Tool-use

  • 通过环境-接口图交互精准获取多样化工具使用轨迹
  • 40亿参数模型在BFCLv3上达到同类模型最佳表现
  • 适合需要真实多轮工具调用训练数据的研究与开发

函数调用(FC)使大语言模型和自主智能体能够与外部工具交互,是解决复杂现实问题的关键能力。随着该能力日益重要,高质量多轮训练数据的需求愈发迫切。现有数据合成方法如随机环境采样或多智能体角色扮演,难以在真实环境中生成优质数据。实际挑战包括:目标数据生成、复杂查询构造和多轮逻辑依赖。为此,我们提出FunReason-MT,一种面向真实多轮工具使用的新型数据合成框架。该框架通过:1)环境-API图交互,实现针对特定工具的高质量轨迹收集;2)高级工具-查询合成,简化复杂查询生成;3)引导式迭代链,生成复杂思维链。在伯克利函数调用排行榜BFCLv3上的评估显示,基于FunReason-MT数据训练的40亿参数模型,在同类规模模型中表现最优。进一步在BFCLv4上的性能提升,验证了FunReason-MT作为智能体学习可靠数据源的有效性。

原文摘要 · Abstract (English)

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.

工具调用数据合成多轮对话智能体

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。