Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Train on Validation (ToV): Fast data selection with applications to fine-tuning

About

State-of-the-art machine learning often follows a two-stage process: $(i)$~pre-training on large, general-purpose datasets; $(ii)$~fine-tuning on task-specific data. In fine-tuning, selecting training examples that closely reflect the target distribution is crucial. However, it is often the case that only a few samples are available from the target distribution. Existing data selection methods treat these target samples as a validation set and estimate the effect of adding or removing a single sample from the training pool by performing inference on the validation set. We propose a simpler and faster alternative that inverts the usual role of train and validation: we perform inference on the training pool before and after fine-tuning on the validation set. We then select samples whose predictions change the most. Our key insight is that the training samples most affected by fine-tuning on a small validation set tend to be the most beneficial for reducing test loss on the target distribution. Experiments on instruction tuning and named entity recognition tasks show that, in most cases, our method achieves lower test log-loss than state-of-the-art approaches. We support our findings with theoretical analysis.

Ayush Jain, Andrea Montanari, Eren Sasoglu• 2025

Related benchmarks

TaskDatasetResultRank
Instruction TuningBBH
Accuracy (BBH)48.06
24
LLM Instruction TuningMMLU
MMLU59.37
22
Instruction TuningTyDiQA
Accuracy66.78
20
Instruction Tuning Data Selection EfficiencyCombined Instruction Tuning Pools (COT, Dolly, Flan, Oasst) Llama-3.2-3B
Peak Storage (GB)2
6
Showing 4 of 4 rows

Other info

Follow for update