arXiv:2610.30442cs.LGOct 2026

Manuscript Offprint

arXiv:2610.30442

Towards Faithful Data Selection: Statistical Limits and Scalable Algorithms

Ahmed Mehdi Inane, Mahdi Haghifam, Gintare Karolina Dziugaite, Ioannis Mitliagkas

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

What does it mean to have an “optimal” data selection algorithm? Optimality is conventionally framed as finding a subset that minimizes the population error of the classifier trained only on that subset. Our starting point in this work is first to show that this goal is information-theoretically impossible unless the data selection algorithm has access to a validation set order-wise larger than the training set. This impossibility result motivates shifting from unverifiable population risk minimization to a one-sided guarantee that we refer to as faithfulness: for any candidate subset, we provide an estimable proxy that upper-bounds the difference between training on the full training data and on only the subset. We model training with the Unadjusted Langevin Algorithm and bound the Kullback–Leibler divergence between subset-trained and full-data-trained parameter distributions by the trajectory-accumulated gradient discrepancy. Minimizing this discrepancy gives a principled way to select a subset. Even though the resulting problem is NP-hard, we propose a swap-based local search that decreases the bound at every accepted step. It can therefore refine the output of any selector without worsening its bound. Finally, we provide experimental results on CIFAR10 and CIFAR100 showing that it matches existing data selection baselines. Implementation of our algorithm and the code for reproducing the results are available at: https://github.com/Mehdi-Inane/data_selection_swap.

1 Introduction

Training on ever-larger datasets is expensive, and not all samples contribute equally: careful pruning can improve how performance scales with dataset size (Sorscher et al., 2023). Data selection formalizes this idea: given a training set SS of nn samples and a learning algorithm A\mathcal{A}, find a subset I⊆SI \subseteq S of size m<nm < n such that training on II alone performs as well as training on all of SS. Besides reducing computation and storage, selection is a concrete instance of the data-centric view of machine learning (Zha et al., 2025), in which the dataset, rather than the model, is the object to curate.

There is a vast body of work on data selection algorithms (Moser et al., 2025), which differs in what the data selection algorithm has access to and in how it uses this information. Bi-level optimization approaches (Killamsetty et al., 2021b; Xia et al., 2024; Nikdan et al., 2026) select subsets of the training set based on the error on a held-out validation set, and training-data based methods use only information stemming from the training set and the learning dynamics induced by a learning algorithm (Toneva

∗^{*}Equal contribution First Authors.

†^{\dagger}Part of the work was done while MH was at the Simons Institute for the Theory of Computing, UC Berkeley.

et al., 2019; Paul et al., 2021; Killamsetty et al., 2021a; Cohen-Addad et al., 2026). Despite this empirical progress, the statistical limits of data selection remain poorly understood.

There has also been a recent line of theoretical work on the statistical aspects of data selection. For instance, data memorization is inherently related to data selection, since memorization identifies training examples that a learner cannot afford to discard. The work of Feldman (2020) shows theoretically that on long-tailed distributions, rare examples may provide the only information about subpopulations that collectively carry substantial test mass, making their memorization necessary for near-optimal accuracy. Empirically, Feldman and Zhang (2020) show that on standard image benchmarks memorized examples often improve accuracy on related test points, so dropping rare samples may degrade the test accuracy. In recent work, Hanneke et al. (2025) study the following fundamental question: for empirical risk minimizers, given a set of training samples, does there exist a (smaller) good subset such that training on it performs nearly as well as training on all the samples? Their main result is to give affirmative answers in various settings. Another line of work (Kolossov et al., 2023) identifies settings in which selection improves over full-sample training, and provides settings where popular selection methods like unbiased reweighting and influence-based rules are suboptimal. Neither work, however, asks what a selector can identify from the samples alone. In this work, we complete this picture by asking: when the training sample contains a subset on which training yields an accurate model, what can a data selection algorithm infer about this subset from finite training (and possibly validation) samples?

To make this question precise, let S=(Z1,…,Zn)S = (Z_1, \ldots, Z_n) be i.i.d. samples from an unknown distribution PP, and let A\mathcal{A} be a learning algorithm. For I⊆[n]I \subseteq [n], write RP(A(SI))R_P(\mathcal{A}(S_I)) for the population risk under PP of the model trained on SI=(Zi)i∈IS_I = (Z_i)_{i \in I}, and RP⋆R_P^\star for the Bayes error. Given a budget mm, let I^⊆[n]\widehat{I} \subseteq [n] with ∣I^∣=m|\widehat{I}| = m be the subset chosen by our data selection algorithm, and let I⋆∈arg⁡min⁡I⊆[n],∣I∣=mRP(A(SI))I^\star \in \arg\min_{I \subseteq [n], |I| = m} R_P(\mathcal{A}(S_I)) be the best subset with the same budget. Writing \mathcal{A}(S_\widehat{I}) to denote the hypothesis learned from S_\widehat{I}, we consider two ways of decomposing the excess risk, R_P(\mathcal{A}(S_\widehat{I})) - R_P^\star:

RP(A(SI⋆))−RP⋆⏟compressionerror+RP(A(SI^))−RP(A(SI⋆))⏟selectionerror,(1)\underbrace{R_{P}(\mathcal{A}(S_{I^{\star}}))-R_{P}^{\star}}_{compression error}+\underbrace{R_{P}(\mathcal{A}(S_{\widehat{I}}))-R_{P}(\mathcal{A}(S_{I^{\star}}))}_{selection error}, \tag{1} andRP(A(S))−RP⋆⏟full−data excess risk+RP(A(SI^))−RP(A(S))⏟faithfulness gap.(2)\mathrm{a n d}\underbrace{R_{P}(\mathcal{A}(S))-R_{P}^{\star}}_{\mathrm{f u l l-d a t a~e x c e s s~r i s k}}+\underbrace{R_{P}(\mathcal{A}(S_{\widehat{I}}))-R_{P}(\mathcal{A}(S))}_{\mathrm{f a i t h f u l n e s s~g a p}}. \tag{2}

The first decomposition separates two questions: whether the realized training sample contains a good subset of size at most m (a question that Hanneke et al. (2025) studies), and whether the data selection algorithm can identify one. In our statistical setting, however, the comparator A(SI∗)\mathcal{A}(S_{I^*}) is not available to the data selection algorithm, because I∗I^* depends on the unknown distribution P. The second decomposition replaces this inaccessible comparator with the full-data model A(S)\mathcal{A}(S); both A(SI^)\mathcal{A}(S_{\widehat{I}}) and A(S)\mathcal{A}(S) can be trained on the observed data. This motivates two questions: (1) When one or more good subsets of size m exist, can a data selection algorithm find a good subset, and do so using only the training sample and a validation set of moderate size? (2) When this is impossible, can the algorithm use the training data alone to ensure faithfulness to full-data training, and can it optimize this faithfulness at scale?

References (81)