Evaluating Language Models as Synthetic Data Generators

Seungone Kim, Juyoung Suk, Xiang Yue, Vijay Viswanathan, Seongyun Lee, Yizhong Wang, Kiril Gashteovski, Carolin Lawrence, Sean Welleck, Graham Neubig

Abstract

Given the increasing use of synthetic data in language model (LM) post-training, an LM’s ability to generate high-quality data has become nearly as crucial as its ability to solve problems directly. While prior works have focused on developing effective data generation methods, they lack systematic comparison of different LMs as data generators in a unified setting. To address this gap, we propose AgoraBench, a benchmark that provides standardized settings and metrics to evaluate LMs’ data generation abilities. Through synthesizing 1.26 million training instances using 6 LMs and training 99 student models, we uncover key insights about LMs’ data generation capabilities. First, we observe that LMs exhibit distinct strengths. For instance, GPT-4o excels at generating new problems, while Claude-3.5-Sonnet performs better at enhancing existing ones. Furthermore, our analysis reveals that an LM’s data generation ability doesn’t necessarily correlate with its problem-solving ability. Instead, multiple intrinsic features of data quality—including response quality, perplexity, and instruction difficulty—collectively serve as better indicators. Finally, we demonstrate that strategic choices in output format and cost-conscious model selection significantly impact data generation effectiveness.

Introduction: The Need for a Unified Benchmark

Post-training LLMs on synthetic data (data generated by other LLMs) has become a standard way to improve performance. However, existing research usually focuses on the method of generation (e.g., Self-Instruct or Evol-Instruct) rather than the model doing the generating.

AgoraBench provides a standardized setting to compare different models and data generation methods fairly.

Because different studies use different teacher models, different quantities of data, and different student models, it has been impossible to say which LLM is actually the best "teacher." AGORABENCH provides a controlled environment where the only variable is the data generator, allowing for a fair comparison of models like GPT-4o, Claude-3.5-Sonnet, and Llama-3.1.

Methods and Metrics

The authors evaluate six state-of-the-art LLMs across nine distinct settings, combining three domains (Math, Code, Instruction-Following) with three generation methods:

  1. Instance Generation: Creating new (instruction, response) pairs from a small seed set.
  2. Response Generation: Writing answers for a fixed set of instructions.
  3. Quality Enhancement: Refining and improving existing low-quality data.

To measure success, they introduce Performance Gap Recovered (PGR). This metric calculates how much of the performance gap between a base model (Llama-3.1-8B) and a fully-tuned reference model (Llama-3.1-8B-Instruct) is closed by training on the synthetic data.

The Performance Gap Recovered (PGR) metric quantifies how much synthetic data helps a student model reach the performance of a reference model.

The study utilized seed datasets such as GSM8K and MATH for math, MBPP and xP3x for code, and LIMA for instruction-following. In total, the authors generated 1.26 million training instances. Student models were then tested on standard benchmarks including HumanEval, Arena-Hard, and MATH.

Key Insights and Results

The study yielded several surprising findings about the nature of "teaching" in LLMs:

  • The "Teaching" Decoupling: Surprisingly, there is no strong correlation between a model's benchmark scores and its data generation quality. A model might be a "genius" at solving math but produce data that fails to improve a student model.
  • Specialized Roles: Models have distinct "personalities" as generators. GPT-4o was the overall strongest generator, achieving the highest PGR in 5 out of 9 experimental settings, particularly in "creative" tasks like generating entirely new problems. Conversely, Claude-3.5-Sonnet dominated the "Quality Enhancement" category, outperforming GPT-4o by +6.69% in average PGR.
  • Intrinsic Quality Matters: Instead of looking at the teacher's scores, the authors found that intrinsic features of the data itself—such as instruction difficulty, response perplexity, and diversity—collectively explain 93.4% of the variance in student improvement.
  • Quantity vs. Quality: In a "fixed budget" scenario, generating 50k instances with a cheaper model (like GPT-4o-mini) often yields better student performance than generating 10k instances with a premium model (like GPT-4o).
  • Format Sensitivity: Using a free-form output for data generation resulted in 4.45% higher performance than forcing the model to output in a structured JSON format, suggesting that strict formatting constraints may degrade the quality of the reasoning.
  • Home Field Advantage: Llama-3.1-8B-Instruct showed a surprising advantage in the code domain, achieving a 55.69% PGR in instance generation, outperforming much larger models.

Conclusion

AGORABENCH reveals that evaluating LLMs as data generators requires a different perspective than evaluating them as problem solvers. The "teaching" ability is a distinct skill set, where model selection, generation method, and output format all play critical roles in the final performance of the student model. As synthetic data becomes more prevalent, benchmarks like AgoraBench will be essential for optimizing the post-training pipeline and understanding how to best leverage LLMs as teachers.

For more details, visit the project repository at https://github.com/neulab/data-agora.

Summary updated

BibTeX
@inproceedings{kim2025evaluating,
  author = {Seungone Kim and Juyoung Suk and Xiang Yue and Vijay Viswanathan and Seongyun Lee and Yizhong Wang and Kiril Gashteovski and Carolin Lawrence and Sean Welleck and Graham Neubig},
  title = {{Evaluating Language Models as Synthetic Data Generators}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
  url = {https://openreview.net/forum?id=sCO9HHUH5q},
}
Figure