AI
Better synthetic data for AI agents: Improving linguistic variety and argument coverage
Researchers propose a new approach to generating training data for function-calling agents that prioritizes diversity across both user requests and function parameters, achieving significant performance gains.
Training data quality is a critical bottleneck for building robust function-calling AI agents—systems that learn to invoke specific functions or tools in response to user requests. While prior research has focused on diversifying which functions are called, how often, and conversation flow, two important dimensions have been overlooked: how varied the natural language requests are, and how thoroughly the method covers different input parameters (like city names or stock tickers).
The Problem with Current Approaches#
Existing synthetic data generation methods rely heavily on hand-crafted rules or predefined taxonomies, making them inflexible across different real-world use cases. This narrow approach leaves gaps—certain linguistic phrasings and function arguments may be underrepresented in training sets, forcing deployed models to struggle when encountering similar variations they haven't seen before.
A New Solution#
The researchers present a technique that automatically generates diverse training datasets by optimizing general-purpose diversity metrics for both user queries and function arguments. By avoiding reliance on task-specific rules or category hierarchies, the method adapts readily to different scenarios without manual redesign.
Results#
Testing shows the approach outperforms existing baselines on multiple fronts:
- Better coverage: Intrinsic evaluation confirms superior diversity in both linguistic phrasing and argument representation
- Maintained accuracy: Generated data remains factually correct and usable for training
- Real-world gains: Models trained on this data show notably stronger performance on out-of-distribution test cases—a 7.4% accuracy improvement on the BFCL benchmark compared to comparable models trained on conventionally generated data
The work suggests that optimizing for linguistic and parameter diversity, rather than focusing narrowly on function-level variation, yields more robust and generalizable agents.

