TL;DR
SynAE is a comprehensive evaluation framework designed to quantify the quality of synthetic datasets used for testing multi-turn, tool-calling AI agents. By evaluating synthetic data across three core pillars—validity, fidelity, and diversity—SynAE ensures that synthetic benchmarks reliably replicate real-world data characteristics without introducing hidden biases or flaws.
What Problem Does This Paper Address?
AI agents that interact with external tools (like databases, APIs, or web browsers) are typically evaluated using static datasets of execution traces. However, using real production data for testing poses major challenges: it often contains highly sensitive or proprietary user information (e.g., emails, medical records), or the datasets are simply too small to support rigorous pre-deployment testing.
To overcome this, developers increasingly turn to synthetic datasets to replace or augment real data. The critical gap is that there are currently no systematic, quantitative methods to verify the quality of these synthetic benchmarks. If a synthetic dataset lacks diversity, contains invalid tool calls, or fails to accurately mimic real user behavior, the agent evaluations performed on it become meaningless.
Methods
SynAE introduces a multi-axis evaluation pipeline that evaluates synthetic data trajectories across four distinct categories: task instructions/responses, tool calls, final outputs, and downstream agent performance. It organizes these measurements into three pillars:
- Validity: Measures whether the synthetic tool calls and outputs actually fulfill the given user instructions (acting as a self-consistency check), typically evaluated using an LLM-as-a-judge or rule-based checkers.
- Fidelity: Quantifies how closely the synthetic data distribution matches the real baseline data. This includes structural metrics like Key Node Dependency (semantic similarity between alternating turns) and k-Step Tool Planning Match (conditional tool-use patterns), alongside non-structural metrics like KNN-Precision/Recall and Fréchet Inception Distance (FID).
- Diversity: Assesses the coverage of the synthetic dataset without requiring real data. It leverages the Vendi Score (an entropy-based diversity metric) and Attribute Diversity to ensure the dataset isn't just repeating a few safe scenarios.
To validate SynAE, the authors designed controlled synthetic data degradation schemes—such as Blank Filling (randomly masking and replacing tokens), Oversampling (duplicating traces), and In-Context Generation—to simulate common real-world synthetic data pitfalls.
Datasets
The framework was evaluated using three prominent multi-turn agent benchmarks serving as the "real" baseline data:
- T1: A multi-turn attraction-recommendation dataset containing 225 samples of user instructions, reference tool calls, and final text outputs.
- BFCL (Berkeley Function Calling Leaderboard): 200 multi-turn samples covering domains like file operations, mathematical calculations, and travel booking.
- ACP (ACPBench): 260 samples focused on complex planning domains such as transportation and robot action planning.
Key Insights and Ideas
- No single metric is enough: Synthetic data quality cannot be boiled down to a single score. For instance, as you mask more tokens in the "Blank Filling" generation scheme, the dataset's diversity increases because it introduces novel topics, but its fidelity sharply drops. A multi-axis framework is essential to capture these trade-offs.
- Simple baselines are deceptive: Standard NLP metrics like vocabulary overlap (F1) or unigram distribution distances can be highly misleading. They often suggest that adding more in-context examples monotonically improves data quality, whereas SynAE reveals that it can actually degrade complex structural properties like KNN-Recall.
- Iterative Diagnosis: SynAE functions effectively as a diagnostic tool for developers. In a case study, a naive keyword-substitution approach to fix a skewed dataset successfully boosted diversity but caused a severe drop in validity due to semantic contradictions. SynAE successfully caught this, guiding the developer to escalate to a higher-capacity model (GPT-4o-mini) that preserved both validity and fidelity.
Key Results
SynAE demonstrated high sensitivity to fine-grained variations in data quality across all tested datasets:
- Fidelity Degradation: In the Blank Filling experiments, as the masking probability $p$ increased, KNN-Precision for instructions and outputs dropped predictably toward 0, which SynAE successfully mapped across its radar visualizations.
- Oversampling Detection: When the duplication rate $r$ was increased to simulate low-diversity data, SynAE accurately captured the collapse in output KNN-Recall and Vendi scores.
- Human Alignment: The default LLM-as-a-judge configuration (using Mistral-7B-Instruct) achieved an F1-score of 0.86 and a Cohen’s $\kappa$ of 0.61 against human annotations for validity checking, confirming it as a reliable automated evaluator.
Limitations and Future Work
Currently, SynAE is optimized for multi-turn, tool-calling agent settings that rely primarily on text-based outputs and static execution traces. The authors note that extending this framework to more dynamic environments—such as interactive state-based environments (where tools alter a live database or operating system) or multi-agent coordination setups—remains an important and open direction for future research.
Summary updated