Manuscript Offprint

arXiv:2610.10347

Dataset Pruning from First Principles: A Label-Free Linear Programming Approach

Rodrigo Schuller, Francisco Ganacim

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

ABSTRACT

Dataset pruning reduces a large training set to a representative subset while preserving model performance. Existing geometry-based methods typically assume that nearby points in embedding space share similar properties. Rather than imposing this assumption, we derive geometric selection criteria by reformulating unbiased subset selection as a variance minimization problem. Unbiasedness ensures that unweighted subset averages recover full-dataset averages in expectation, including losses and gradients at fixed model parameters. Specifically, we characterize a family of unbiased subset selection algorithms as a high-dimensional polytope. In this context, minimizing the expected sampling variance is a linear objective. Differences in sampling variance, averaged over rigid motions, admit closed-form pairwise expressions. Because the polytope has high dimension, directly applying standard linear programming is impractical. We instead use these expressions to construct an efficient vertex walk that optimizes an approximation of the variance objective while preserving unbiasedness, yielding a method that requires neither labels nor model training during selection. Across CIFAR-10, MNIST, and CelebA benchmarks, our method matches or exceeds uniform sampling in mean test accuracy at every evaluated budget and outperforms competing geometric methods in several settings, particularly at small selection budgets. Beyond dataset pruning, the same framework reduces stochastic-gradient variance by increasing diversity within mini-batches while keeping the batch size unchanged.

1 INTRODUCTION

Training large deep learning models on abundant data raises a basic question: given a fixed budget, which samples should we train on? The budget may be compute, as in self-supervised pretraining, where scaling laws favor larger models and datasets (Kaplan et al., 2020; Hoffmann et al., 2022) at substantial computational cost (Strubell et al., 2019), and where a well-chosen subset can outperform a larger random one (Sorscher et al., 2022). It may also be annotation, as in remote sensing, where unlabeled archives are abundant but expert labels are expensive (Tuia et al., 2011). Dataset pruning, also known as coreset selection, chooses a small, representative subset of the data. Addressing both cases requires selection that is label-free, so that annotation can be deferred until after selection, and training-free, so that selection does not itself consume the compute it is meant to save. We study methods that satisfy both requirements.

Without labels or training signals, selection must rely on the geometry of the embedding space alone. Existing geometry-based methods typically assume that nearby points in embedding space share similar properties (Moser et al., 2026). This assumption is a heuristic rather than a derived principle: it treats nearby points as redundant, which biases the distribution of the selected subset and can push accuracy below uniform random sampling (Guo et al., 2022). We drop this assumption and instead derive a geometric selection criterion from the principle of no preferred orientation.

We seek a subset whose unweighted averages are unbiased, minimum-variance estimates of full-dataset averages of an unknown downstream function, such as a loss or gradient. Since we know nothing about how downstream functions are aligned with the data, we assume no preferred orientation. Under this assumption, we average the mean squared estimation error over all rigid motions of the

Function value

Low High

Average errors over orientations

Figure

K-Center Greedy

KS = 0.0863

100 samples

10,000 runs

Figure

Uniform Random

KS = 0.0032

KS = 0.0570

Figure

Ours

KS = 0.0030

KS = 0.0029

Figure

KS = 0.0030

Figure

2,000 samples

500 runs

KS = 0.0030

Figure

Data Selected subset

Single run

2,000 samples

Figure 1: Left: orientation averaging. The data and the selected subset stay fixed while the function rotates, which is equivalent to rotating the data. The three orientations are illustrative; the estimation error is averaged over all of them. Right: spatial distributions of points selected from a vortex-shaped candidate distribution over Australia, shown in an equal-area projection. The top and middle rows pool 100 and 2,000 selected points from 10,000 and 500 runs, respectively, giving one million selected points per panel; the bottom row shows the first 2,000-point run. KS denotes the pooled two-dimensional Kolmogorov–Smirnov discrepancy against a vortex reference sample (lower is better; not a p-value).

function, or equivalently of the data (Figure 1, left). For unbiased selections, this averaged error is exactly the expected sampling variance. On toroidal and spherical embedding spaces, this averaging yields closed-form expressions previously studied in the context of blue-noise sampling for computer graphics (Pilleboue et al., 2015). We then use these formulas to build a novel unbiased coreset selection method.

These two geometries cover most embedding spaces used in practice. Many encoders are trained with cosine similarity and output ℓ2\ell_{2}-normalized features, so their embeddings lie on the unit sphere; this is the case for contrastive image encoders (Chen et al., 2020; Wang & Isola, 2020), sentence embeddings for language (Reimers & Gurevych, 2019), and multimodal models such as CLIP (Radford et al., 2021). Any other embedding distribution with bounded support, or with rapidly decaying tails such as the approximately Gaussian latent codes of a variational autoencoder (Kingma & Welling, 2014), can be enclosed in a sufficiently large box. Identifying opposite faces of this box places the data on a flat torus while leaving the pairwise distances between data points unchanged.

Our method rests on one reformulation: we treat a selection algorithm as a probability distribution over subsets of the training set (Section 3). Unbiased algorithms that select k elements then form a convex polytope, and the orientation-averaged estimation error is a linear function over it, so unbiased minimum-variance selection is a linear program. The program has one coordinate per subset, far too many for standard solvers, so we instead develop an efficient vertex walk that decreases a variance surrogate while staying on the polytope, and hence unbiased.

We evaluate on CIFAR-10 and MNIST within the widely used DeepCore benchmarking framework, whose comparative study found uniform random selection to remain a strong baseline that competing methods did not consistently outperform (Guo et al., 2022; Moser et al., 2026). In our experiments, our method matches or exceeds uniform selection in mean accuracy at every evaluated budget and outperforms the compared geometric methods at small budgets on CIFAR-10 and MNIST (Section 6). Beyond dataset pruning, the same framework applies to mini-batch construction for stochastic gradient descent, where optimized batches show lower mean gradient variance than random batches at the same batch size (Section 6.2).

References (37)

  • Practical coreset constructions for machine learning, 2017
  • Monte carlo with determinantal point processes
  • A simple framework for contrastive learning of visual representations
  • Super-samples from kernel herding
  • Kernel thinning
  • A unified framework for approximating and clustering data
  • DeepCore: A Comprehensive Library for Coreset Selection in Deep Learning, 2022
  • Training Compute-Optimal Large Language Models
  • Scaling Laws for Neural Language Models
  • Not all samples are created equal: Deep learning with importance sampling
  • GRAD-MATCH: Gradient matching based data subset selection for efficient deep model training
  • GLIS-TER: Generalization based data subset selection for efficient and robust learning
  • Auto-encoding variational Bayes
  • Deep learning face attributes in the wild
  • GraB: Finding provably better data permutations than random reshuffling
  • Learning word vectors for sentiment analysis
  • Coresets for data-efficient training of machine learning models
  • Random reshuffling: Simple analysis with vast improvements
  • A Coreset Selection of Coreset Selection Literature: Introduction and Recent Advances, 2026
  • Stochastic gradient descent, weighted sampling, and the randomized Kaczmarz algorithm
  • Deep learning on a data diet: Finding important examples early in training
  • Variance analysis for Monte Carlo integration
  • Learning transferable visual models from natural language supervision
  • Sentence-BERT: Sentence embeddings using siamese BERT-networks
  • Active learning for convolutional neural networks: A core-set approach
  • Analysis of sample correlations for Monte Carlo rendering
  • Beyond neural scaling laws: Beating power law scaling via data pruning
  • Energy and policy considerations for deep learning in NLP. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics (ACL), 2019
  • A survey of active learning algorithms for supervised remote sensing image classification
  • Understanding contrastive representation learning through alignment and uniformity on the hypersphere
  • Moderate coreset: A universal method of data selection for real-world data-efficient deep learning
  • Determinantal point processes for mini-batch diversification
  • Active mini-batch sampling using repulsive point processes
  • Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Models
  • Accelerating minibatch stochastic gradient descent using stratified sampling, 2014
  • Stochastic optimization with importance sampling for regularized loss minimization
  • Coverage-centric coreset selection for high pruning rates