arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2505.10495cs.LGcs.CL
收藏

RouteNator:一种基于路由器的多模态架构,用于为函数调用大语言模型生成合成训练数据

RouteNator: A Router-Based Multi-Modal Architecture for Generating Synthetic Training Data for Function Calling LLMs

Adobe Inc.(Adobe公司)

Vibha Belavadi, Tushar Vatsa, Dewang Sultania, Suhas Suresha, Ishita Verma, Cheng Chen, Tracy Holloway King, Michael Friedrich

AI总结:

提出基于路由器的多模态架构RouteNator,利用领域资源和多模态语言模型生成高质量合成数据,解决LLM函数调用微调中真实数据缺失问题,显著提升分类与参数选择性能。

摘要:

本文针对在缺乏真实用户交互数据的情况下,对大型语言模型(LLM)进行函数调用任务微调的问题。在数字内容创作工具中,用户通过自然语言查询表达需求,这些查询必须映射到API调用,而缺乏真实世界的任务特定数据以及对其训练时的隐私限制,使得合成数据生成成为必要。现有的合成数据生成方法在多样性和复杂性方面存在不足,无法复现真实世界的数据分布,导致LLM微调后性能欠佳。我们提出了一种新颖的基于路由器的架构,利用领域资源(如内容元数据和结构化知识图谱)以及文本到文本和视觉到文本的语言模型,生成高质量的合成训练数据。我们架构的灵活路由机制能够生成与观察到的真实世界分布相匹配的合成数据,解决了传统方法的一个根本性局限。对一组全面的真实用户查询进行的评估表明,在函数分类准确性和API参数选择方面均有显著改进。使用我们的合成数据微调的模型始终优于传统方法,为函数调用任务树立了新的基准。

英文摘要:

This paper addresses fine-tuning Large Language Models (LLMs) for function calling tasks when real user interaction data is unavailable. In digital content creation tools, where users express their needs through natural language queries that must be mapped to API calls, the lack of real-world task-specific data and privacy constraints for training on it necessitate synthetic data generation. Existing approaches to synthetic data generation fall short in diversity and complexity, failing to replicate real-world data distributions and leading to suboptimal performance after LLM fine-tuning. We present a novel router-based architecture that leverages domain resources like content metadata and structured knowledge graphs, along with text-to-text and vision-to-text language models to generate high-quality synthetic training data. Our architecture's flexible routing mechanism enables synthetic data generation that matches observed real-world distributions, addressing a fundamental limitation of traditional approaches. Evaluation on a comprehensive set of real user queries demonstrates significant improvements in both function classification accuracy and API parameter selection. Models fine-tuned with our synthetic data consistently outperform traditional approaches, establishing new benchmarks for function calling tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑