On the Diversity of Synthetic Data and its Impact on Training Large Language Models
Preprint
Abstract
The rise of Large Language Models (LLMs) has accentuated the need for diverse, high-quality pre-training data. Synthetic data emerges as a viable solution to the challenges of data scarcity and inaccessibility. While previous literature has focused predominantly on the quality and quantity of real data, our work enables the measurement of diversity in synthetic data and explores its impact on LLM performance. We study the downstream effects of synthetic data diversity during both the pre-training and fine-tuning stages by introducing a new diversity metric, \textit{LLM cluster-agent}, designed to evaluate the diversity of synthetic datasets. Through a series of controlled experiments with models of 350M and 1.4B parameters, we demonstrate that the proposed cluster-based LLM scoring of diversity correlates positively with both pre-training and supervised fine-tuning performance. Our findings also reveal that synthetic data diversity in pre-training affects supervised fine-tuning more significantly than pre-training itself, even for smaller models. We hope this study advances our understanding of the optimal use of synthetic data in LLM training and opens new avenues for efficient data generation processes.Keywords
All Related Versions
This publication has 20 references indexed in Scilit:
- Key-Point-Driven Data Synthesis with Its Enhancement on Mathematical ReasoningProceedings of the AAAI Conference on Artificial Intelligence, 2025
- OLMo: Accelerating the Science of Language Models2024
- Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Research2024
- Locally Typical SamplingTransactions of the Association for Computational Linguistics, 2023
- Large Language Models Can Self-Improve2023
- Self-Instruct: Aligning Language Models with Self-Generated Instructions2023
- Increasing Diversity While Maintaining Accuracy: Text Data Generation with Large Language Models and Human Interventions2023
- ZeroGen: Efficient Zero-shot Learning via Dataset Generation2022
- Deduplicating Training Data Makes Language Models Better2022
- Identify, Align, and Integrate: Matching Knowledge Graphs to Commonsense Reasoning Tasks2021