GenesisFunc: Multi-Agent Data Generation for Accurate and Generalizable Function-Calling

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Xu, Hao-Xiang, Deng, Chong, Liu, Jiaqing, Wang, Wen, Chen, Qian, Bao, Lujia, Li, Xiangang, Ling, Zhen-Hua
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911725310181376
author Xu, Hao-Xiang
Deng, Chong
Liu, Jiaqing
Wang, Wen
Chen, Qian
Bao, Lujia
Li, Xiangang
Ling, Zhen-Hua
author_facet Xu, Hao-Xiang
Deng, Chong
Liu, Jiaqing
Wang, Wen
Chen, Qian
Bao, Lujia
Li, Xiangang
Ling, Zhen-Hua
contents Large Language Models (LLMs) extend their capabilities through function-calling (FC), which relies on training data with high quality, diversity, and broad coverage of scenario. However, obtaining and annotating real function-calling data is challenging, while synthetic data from existing pipelines often suffers from unreliable APIs, limited tool scalability, insufficient diversity, and weak quality control. To address these, we present GenesisFunc, an automated pipeline for generating FC training data. Starting from reliable tools in widely used public benchmarks, our GenesisFunc employs a multi-agent framework to support a dialogue generation system that produces conversations spanning diverse scenarios, while maintaining both diversity and quality throughout the process. The accuracy of the data is further reinforced through a multi-stage evaluation system. We fine-tune an 8B LLM on the synthetic dataset and show through extensive experiments that it outperforms similarly sized open-source models in in-domain FC performance and out-of-domain generalization, while reaching FC capabilities comparable to some of the latest API-based models. In addition, our method demonstrates strong potential to scale effectively across downstream tools, underscoring its real-world applicability.
format Preprint
id arxiv_https___arxiv_org_abs_2605_28835
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle GenesisFunc: Multi-Agent Data Generation for Accurate and Generalizable Function-Calling
Xu, Hao-Xiang
Deng, Chong
Liu, Jiaqing
Wang, Wen
Chen, Qian
Bao, Lujia
Li, Xiangang
Ling, Zhen-Hua
Computation and Language
Artificial Intelligence
Large Language Models (LLMs) extend their capabilities through function-calling (FC), which relies on training data with high quality, diversity, and broad coverage of scenario. However, obtaining and annotating real function-calling data is challenging, while synthetic data from existing pipelines often suffers from unreliable APIs, limited tool scalability, insufficient diversity, and weak quality control. To address these, we present GenesisFunc, an automated pipeline for generating FC training data. Starting from reliable tools in widely used public benchmarks, our GenesisFunc employs a multi-agent framework to support a dialogue generation system that produces conversations spanning diverse scenarios, while maintaining both diversity and quality throughout the process. The accuracy of the data is further reinforced through a multi-stage evaluation system. We fine-tune an 8B LLM on the synthetic dataset and show through extensive experiments that it outperforms similarly sized open-source models in in-domain FC performance and out-of-domain generalization, while reaching FC capabilities comparable to some of the latest API-based models. In addition, our method demonstrates strong potential to scale effectively across downstream tools, underscoring its real-world applicability.
title GenesisFunc: Multi-Agent Data Generation for Accurate and Generalizable Function-Calling
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2605.28835