Compute-Constrained Data Selection

Junjie Oscar Yin, Alexander M. Rush
2/12/2026

No official code found. Best implementation: oseyosey/CCDS (13 stars, Apache-2.0, last commit 2024-10-24).

Abstract

Data selection can reduce the amount of training data needed to finetune LLMs; however, the efficacy of data selection scales directly with its compute. Motivated by the practical challenge of compute-constrained finetuning, we consider the setting in which both the cost of selecting data and training are budgeted for. We first formalize the problem of data selection with a cost-aware utility function, and model the data selection problem as trading off initial-selection cost for training gain. We run a comprehensive sweep of experiments across multiple tasks, varying compute budget by scaling finetuning tokens, model sizes, and data selection compute. Interestingly we find that many powerful data selection methods are almost never compute-optimal, and that cheaper data selection alternatives dominate both from a theoretical and empirical perspective. For compute-optimal training, we find that perplexity and gradient data selection require training-to-selection model size ratios of 5x and 10x, respectively.

View on arXivView PDF

Code Implementations(1)

oseyosey/CCDSCommunity66%
Apache-2.0

Compute-Constrained Data Selection

131Shell, PythonOct 15, 20241 years agoApache-2.0

Cite this paper

@article{yin2026computeconstrained,
  title  = {Compute-Constrained Data Selection},
  author = {Junjie Oscar Yin and Alexander M. Rush},
  year   = {2026},
  eprint = {2410.16208},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2410.16208},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.16208.svg)](https://codeofpaper.com/paper/2410.16208)

Discussion