Saved in:
Bibliographic Details
Main Authors: Belavadi, Vibha, Vatsa, Tushar, Sultania, Dewang, Suresha, Suhas, Verma, Ishita, Chen, Cheng, King, Tracy Holloway, Friedrich, Michael
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.10495
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918031467216896
author Belavadi, Vibha
Vatsa, Tushar
Sultania, Dewang
Suresha, Suhas
Verma, Ishita
Chen, Cheng
King, Tracy Holloway
Friedrich, Michael
author_facet Belavadi, Vibha
Vatsa, Tushar
Sultania, Dewang
Suresha, Suhas
Verma, Ishita
Chen, Cheng
King, Tracy Holloway
Friedrich, Michael
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2505_10495
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle RouteNator: A Router-Based Multi-Modal Architecture for Generating Synthetic Training Data for Function Calling LLMs
Belavadi, Vibha
Vatsa, Tushar
Sultania, Dewang
Suresha, Suhas
Verma, Ishita
Chen, Cheng
King, Tracy Holloway
Friedrich, Michael
Machine Learning
Computation and Language
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.
title RouteNator: A Router-Based Multi-Modal Architecture for Generating Synthetic Training Data for Function Calling LLMs
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2505.10495