跳到正文
arXiv (AI + Vision + Imaging)· Dan Greenstein, Zohar Karnin, Chen Amiraz, Oren Somekh·· 1 天前AI 评分22

面向函数调用Agent的合成数据:优化查询与参数的语言及论元多样性

Linguistic and Argument Diversity in Synthetic Data for Function-Calling Agents

AI 导读

一种不依赖手工规则或分类体系的合成数据生成方法,通过优化查询与参数(如 city_name、stock_ticker)的通用多样性指标,提升函数调用Agent训练数据的语言多样性与论元覆盖。该方法在多样性上优于基线且正确率相当,用其训练的模型在分布外表现更佳,BFCL基准准确率较同类基线提升7.4%。

正文 · 原文

arXiv:2601.17829v2 Announce Type: replace Abstract: The construction of function calling agents has emerged as a promising avenue for extending model capabilities. A major challenge for this task is obtaining high quality diverse data for training. Prior work emphasizes diversity in functions, invocation patterns, and interaction turns, yet linguistic diversity of requests and coverage of arguments (e.g., \texttt{city\_name}, \texttt{stock\_ticker}) remain underexplored. We propose a method that generates synthetic datasets via optimizing general-purpose diversity metrics across both queries and arguments, without relying on hand-crafted rules or taxonomies, making it robust to different usecases. We demonstrate the effectiveness of our technique via both intrinsic and extrinsic testing, comparing it to SoTA data generation methods. We show a superiority over baselines in terms of diversity, while keeping comparable correctness. Additionally, when used as a training set, the model resulting from our dataset exhibits superior performance compared to analogous models based on the baseline data generation methods in out-of-distribution performance. In particular, we achieve an $7.4\%$ increase in accuracy on the BFCL benchmark compared to similar counterparts.

来源:arXiv (AI + Vision + Imaging) · arxiv.org