PPL-Factory: Task-Aware and Budget-Aware Data Selection from Language Modeling to Reasoning

2026-07-20Computation and Language

Computation and LanguageMachine Learning
AI summary

The authors explain that not all training examples are equally useful when fine-tuning large language models. They introduce PPL-Factory, a new method that picks important training data based on how hard the examples are for the model, while considering the task type and the training data limits. Their tests show that using PPL-Factory, the model can learn well with much less data than usual, sometimes even doing better than training on all the data. This method helps make fine-tuning more efficient and tailored to the specific task.

fine-tuninglarge language modelsdata selectionperplexitytask-aware learningtraining efficiencyGSM8K datasetMATH datasetmodel performancecomputational cost
Authors
Hang Zhang, Warren J. Gross
Abstract
Not all training samples contribute equally to large language model fine-tuning. Selecting informative training samples can reduce the computational cost while preserving downstream performance. Many existing data selection methods rely on indirect heuristics, such as data quality, diversity or reasoning trace length. However, the effectiveness of these fixed criteria is task-dependent and difficult to generalize across diverse downstream tasks. Perplexity-based data selection provides a simple and model-aware solution to estimate the sample difficulty, but existing approaches typically score the entire training sequence and ignore the difference in learning objectives of language modeling and reasoning tasks. In this paper, we propose PPL-Factory, a simple and interpretable data selection framework that combines task-aware perplexity-based scores and data budget-aware selection criteria. Experiments on GSM8K demonstrate that PPL-Factory outperforms other state-of-the-art data selection methods using only $1\%$ of the training set. With $10\%$ of the data, PPL-Factory exceeds full-data fine-tuning accuracy by 0.9 on GSM8K and 4.8 on MATH. Overall, our results demonstrate that task-aware and budget-aware perplexity-based selection provides an effective and applicable approach for efficient fine-tuning.