Synthetic Data Generation in Low-Resource Settings via Fine-Tuning of Large Language Models
Jean Kaddour, Qi Liu
TL;DR
This paper addresses the challenge of deploying accurate NLP models in low-resource settings by combining fine-tuning of a large teacher LLM with synthetic data generation. The authors fine-tune a 20B GPT-NeoX as a teacher and generate augmented training data, either by annotating unlabeled instances or by producing new input–output pairs, to train compact student models (RoBERTa-Large for classification and BART-Large for generation). Across four text classification tasks and two NLG tasks, both annotation and generation consistently improve downstream performance, with larger gains when original data is scarce; a 125-example (5%) fine-tuning of the teacher can yield multi-point improvements. The study also shows NeoX-20B can outperform GPT-3.5 175B in some settings and that combining annotation and generation provides cost-effective gains. This approach offers a practical data-centric pathway to leverage large LLMs for training smaller, faster models.
Abstract
The in-context learning ability of large language models (LLMs) enables them to generalize to novel downstream tasks with relatively few labeled examples. However, they require enormous computational resources to be deployed. Alternatively, smaller models can solve specific tasks if fine-tuned with enough labeled examples. These examples, however, are expensive to obtain. In pursuit of the best of both worlds, we study synthetic data generation of fine-tuning training data via fine-tuned teacher LLMs to improve the downstream performance of much smaller models. In four text classification and two text generation tasks, we find that both data generation and annotation dramatically improve the respective downstream model's performance, occasionally necessitating only a minor fraction of the original training dataset.
