Efficient Embedding-based Synthetic Data Generation for Complex Reasoning Tasks
Organizations: IBM Research, Yorktown Heights, NY, USA
Abstract
Synthetic Data Generation (SDG), leveraging Large Language Models (LLMs), has recently been recognized and broadly adopted as an effective approach to improve the performance of smaller but more resource and compute efficient LLMs through fine-tuning. A key challenge in SDG is ensuring the quality and diversity of the generated data. In this paper, we analyze the diversity and distribution of generated data in the embedding space, and demonstrate a strong correlation between the density of examples within a specific neighborhood and the accuracy of predictions on examples drawn from that region. Building on this insight, we present a targeted pipeline for embedding-based sampling that enhances data diversity and consistently improves performance across several benchmarks.
Figures & tables
| Model | Random Seed Selection | EmbedSDG | Base Model | ||||
| 500 | 1000 | 4500 | 500 | 1000 | 4500 | ||
| Math - GSM8k | |||||||
| Granite 3 8b code instruct | 0.761 | 0.761 | 0.773 | 0.782 | 0.79 | 0.79 | 0.55 |
| Granite 3.1 8b instruct | 0.786 | 0.786 | 0.785 | 0.824 | 0.806 | 0.81 | 0.74 |
| Mistral 7B | 0.354 | 0.558 | 0.723 | 0.62 | 0.725 | 0.746 | 0.354 |
| Math - MATH | |||||||
Synthetic Data Generation
Synthetic data generation creates artificial examples, simulations, and datasets to train, test, or protect machine-learning systems.
See all 623 papers