FineInstructions: Scaling Synthetic Instructions to Pre-Training Scale
Ajay Patel, Colin Raffel, Chris Callison-Burch
TL;DR
FineInstructions rethinks pre-training by replacing raw documents with billions of synthetic instruction–answer pairs generated from 18M templates instantiated on real docs. The pipeline comprises template generation, document–template matching with Gaussian-pooling-enhanced embeddings, instantiation of templates into grounded answers, and rigorous judging to filter high-quality data. Empirical results show pre-training on FineInstructions outperforms standard pre-training and other synthetic approaches across several benchmarks (MixEval, MT-Bench-101, AlpacaEval), with improvements that persist across model scales and curricula. This approach aligns pre-training data with downstream user usage, enabling more efficient knowledge absorption and instruction-following behavior at scale, and provides a foundation for future scalable, domain-diverse synthetic data generation.
Abstract
Due to limited supervised training data, large language models (LLMs) are typically pre-trained via a self-supervised "predict the next word" objective on a vast amount of unstructured text data. To make the resulting model useful to users, it is further trained on a far smaller amount of "instruction-tuning" data comprised of supervised training examples of instructions and responses. To overcome the limited amount of supervised data, we propose a procedure that can transform the knowledge in internet-scale pre-training documents into billions of synthetic instruction and answer training pairs. The resulting dataset, called FineInstructions, uses ~18M instruction templates created from real user-written queries and prompts. These instruction templates are matched to and instantiated with human-written source documents from unstructured pre-training corpora. With "supervised" synthetic training data generated at this scale, an LLM can be pre-trained from scratch solely with the instruction-tuning objective, which is far more in-distribution with the expected downstream usage of LLMs (responding to user prompts). We conduct controlled token-for-token training experiments and find pre-training on FineInstructions outperforms standard pre-training and other proposed synthetic pre-training techniques on standard benchmarks measuring free-form response quality. Our resources can be found at https://huggingface.co/fineinstructions .
