Manuscript Offprint
arXiv:2610.10347Dataset Pruning from First Principles: A Label-Free Linear Programming Approach
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

K-Center Greedy
KS = 0.0863
100 samples
10,000 runs

Uniform Random
KS = 0.0032
KS = 0.0570

Ours
KS = 0.0030
KS = 0.0029

KS = 0.0030

2,000 samples
500 runs
KS = 0.0030

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 -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).
-
Algorithm. We give a label-free, training-free vertex walk that lowers a variance surrogate while preserving unbiasedness (Section 3).
-
Experiments. On CIFAR-10, MNIST, and CelebA, our method matches or exceeds uniform sampling at every budget and outperforms the compared geometric methods at small budgets on CIFAR-10 and MNIST (Section 6).
-
Mini-batches. The same framework reduces gradient variance in mini-batch construction at fixed batch size (Section 6.2).
2 RELATED WORK
We refer to Moser et al. (2026) for a recent taxonomy that organizes coreset selection into training-free, training-oriented, and label-free approaches. The DeepCore benchmark (Guo et al., 2022) compares many of these methods on CIFAR-10 and ImageNet and finds that uniform random selection remains a strong baseline that many sophisticated methods fail to beat consistently. Uniform sampling is unbiased; we keep this property by construction and search for lower variance within it.
Training-oriented methods score points with signals collected during training: gradient norms early in training (Paul et al., 2021), gradient matching (Mirzasoleiman et al., 2020; Killamsetty et al., 2021a), and bilevel formulations (Killamsetty et al., 2021b). These methods can reach higher accuracy than training-free selection, but they require labels and at least one training pass over the full dataset, which is precisely the cost that training-free and label-free selection is designed to avoid.
Closest to our setting are selection rules that operate directly on an embedding of the data, without labels or training runs. Herding (Welling, 2009; Chen et al., 2010) greedily selects points so that the subset mean tracks the full-data mean; k-center greedy (Sener & Savarese, 2018) minimizes a covering radius over the feature space; and Sorscher et al. (2022) prune by distance to self-supervised cluster prototypes. Related geometric criteria additionally exploit labels or training signals: moderate coresets keep points at intermediate distances from class centers (Xia et al., 2023), and coverage-centric selection stratifies the budget over difficulty scores to preserve coverage (Zheng et al., 2023). All of these methods encode some version of the heuristic that nearby points are redundant, and all of them bias the distribution of the selected subset, which can drive accuracy below uniform sampling, particularly at small budgets and under class imbalance (Guo et al., 2022; Zheng et al., 2023). In contrast, we derive the geometric intuition from first principles and search only among selections that are provably unbiased.
Unbiasedness is a classical requirement in the subset-sampling literature. Sensitivity-based coresets attach importance weights to the selected points so that the weighted subset loss is an unbiased estimator of the full loss (Feldman & Langberg, 2011; Bachem et al., 2017), and determinantal point processes yield Monte Carlo estimators with faster-than-standard convergence rates (Bardenet & Hardy, 2020). Kernel thinning (Dwivedi & Mackey, 2024) recursively splits the data into balanced blocks using a kernel-dependent randomized procedure, then selects a block with small maximum mean discrepancy and refines it greedily. The last two steps can bias the selection. We make the opposite choice: optimize the partition, then return a uniformly chosen block. Unlike the weighted estimators above, our selections are unweighted, and unbiasedness enters as a linear constraint that turns the set of selection algorithms into a convex polytope.
Mini-batch construction is a second setting where unbiased subset averages matter, since stochastic gradient descent relies on uniformly sampled batches being unbiased. Importance sampling draws examples non-uniformly and reweights their gradients to stay unbiased (Needell et al., 2014; Zhao & Zhang, 2015; Katharopoulos & Fleuret, 2018), at the cost of per-example gradient information. Stratified sampling draws each batch proportionally from clusters of similar examples (Zhao & Zhang, 2014), and repulsive point processes make similar examples less likely to share a batch, whether determinantal (Zhang et al., 2017) or Poisson disk (Zhang et al., 2019), at the cost of a batch gradient that is, in general, unbiased only for a re-weighted objective. Example ordering is a related lever: random reshuffling improves on sampling with replacement (Mishchenko et al., 2020), and GraB uses herding on stale gradients to order examples so that partial sums of gradients track the full gradient (Lu et al., 2022). Our batches are the blocks of an unbiased partition recomputed at each epoch from the embedding geometry alone. Like stratified and repulsive sampling, this needs no gradient information, but the partition minimizes our variance surrogate rather than a fixed clustering or a repulsion heuristic, and a uniformly chosen batch has an unbiased gradient for the original objective at fixed model parameters. Like reshuffling, every example is used once per epoch.
Finally, our closed forms are related to the variance analysis of sampling patterns in computer graphics, where the error of Monte Carlo integration under randomly transformed point sets admits spectral expressions on the torus and on the sphere (Pilleboue et al., 2015; Öztireli, 2016; Singh et al., 2019). The Poisson disk batches of Zhang et al. (2019) come from the same machinery: the variance of the stochastic gradient is expressed through the first- and second-order product densities of a point process over the data. These works analyze continuous point processes; we transport the machinery to the discrete setting of selecting subsets of a fixed dataset, average the estimation error over orientations of the unknown function, and couple the resulting closed forms with the polytope characterization of unbiased selections to obtain a practical algorithm that is unbiased by construction.
3 PROBLEM FORMULATION
3.1 DATASET PRUNING
Let be a training dataset, consisting of independent samples from the joint probability distribution . We define as the inputs and as the ground-truth labels. Dataset pruning aims to find a subset such that a model trained on and with parameters achieves a good generalization error (Moser et al., 2026):
where is the optimal subset, is known as the pruning ratio, and is the loss function. In practical applications, a subset is considered good if and , that is, if the model trained on the subset generalizes nearly as well as the model trained on the full dataset.
3.2 UNBIASED SELECTION
We want selection algorithms that are unbiased, meaning that subset averages equal full-dataset averages in expectation. Under this constraint, the mean squared error of any quantity we estimate from the subset, whether a loss, a gradient, or an accuracy, reduces to its variance, which is therefore the quantity to minimize. To make this precise, we model a selection algorithm as a discrete probability measure on the subsets of . The set of all such measures is , a probability simplex with coordinates. If , then is the probability that assigns to subset . Unbiasedness is then a condition on :
Definition 1. A selection algorithm is unbiased if for every function from an arbitrary set to a vector space over ,
Two restricted classes of unbiased algorithms will be central to what follows.
Definition 2. An unbiased selection algorithm selects elements if , . The set of all such algorithms is denoted by .
Definition 3. An algorithm is a uniform -selection algorithm, or simply a -selection, if , .
It follows that a k-selection exists only if k divides , and that every k-selection amounts to breaking into blocks of size k and selecting one of them uniformly at random.
4 FROM ORIENTATION AVERAGES TO PRACTICAL OBJECTIVES
This section shows how averaging over all orientations yields a practical objective. Since nothing is known about how the downstream function is aligned with the data, no orientation is preferred, and the variance is averaged over all orientations of the function, or equivalently of the data (Figure 1, left). On the sphere, a change of orientation is a rigid motion; on the flat torus, it is a rotation followed by a translation, with points wrapped back onto the torus. Either way the domain is mapped to itself, so the average never involves values of the function on unrelated regions outside it. Averaging over these transformations turns differences in variance between selection algorithms into sums over pairs of selected points (Theorems A.1 and A.2, proved in the Appendix), and these pairwise expressions motivate surrogate objectives that depend only on the geometry of the selection.
Let be a function whose full-dataset average is to be estimated by subset averages. For an unbiased selection algorithm , the variance coincides with the mean squared error and is defined by
After a change of orientation g of the points, the variance becomes
By Theorems A.1 and A.2, for two unbiased selection algorithms , averaging the difference over the uniform distribution of orientations on the torus or the sphere gives
in which
Here is the -th Fourier coefficient of , is the Bessel function of the first kind, is the normalized surface measure on , with , is the degree- spherical harmonic component of , and is the generalized Legendre polynomial of dimension and degree .
In both cases, the orientation-averaged variance difference is a linear combination of oscillating functions of the pairwise geometry (Figure 2). The spectral weights and depend on the unknown function , but the oscillating factors they multiply depend only on the distance between pairs of selected points on the torus, or on their inner product on the sphere. The envelopes of these factors identify regions of low correlation: large separations on the torus, and inner products near zero, corresponding to approximately perpendicular points, on the sphere. Placing pairs in these regions keeps every term of the combination small regardless of , which motivates a variance surrogate built from a geometry-only pairwise score :

Figure 2: Left: the normalized Bessel factor as a function of the pairwise separation . Right: the normalized Gegenbauer polynomial as a function of the inner product , both for . Colors identify the frequency norm (left) or the degree (right), from 1 to 7; the constant mode is omitted. Dotted red curves show the envelope of each family, and arrows mark the regions of low correlation that motivate the surrogate.
The difference then stands in for the orientation-averaged variance difference . The experiments use the inverse-distance score , which favors large separations, following the torus motivation, although exact upper bounds could also be used. On the sphere, scores that favor distant points also favor approximately perpendicular pairs when pairwise inner products are nonnegative. We observed this positive-inner-product regime for almost all sampled pairs of IMDb embeddings.
5 OUR METHOD
We partition into blocks , each containing points. Selecting one of these blocks uniformly at random defines a -selection (see Definition 3), which corresponds to a vertex of . Swapping two points from different blocks preserves the partition structure and therefore defines another -selection. Algorithm 1 exploits this property by repeatedly proposing swaps between blocks and accepting them only when they decrease the variance surrogate from Section 4:
Lemma A.3 shows that each k-selection of the training set corresponds to a vertex of the polytope of unbiased selection algorithms with selection budget k. It also shows that the expected sum of pairwise kernel evaluations is a linear objective in the subset-selection probabilities. Thus, our swap-based method moves among extreme points of the feasible polytope, each of which is optimal for some linear objective.
As a faster alternative to iterative swaps, we encode each embedding as an -bit vector whose scaled Hamming distances approximate the original distances. We maintain per-bit counts for each bucket, allowing us to compute a point's total Hamming distance to its members without storing pairwise distances. Using these distances as a surrogate, we greedily assign points to distant buckets while ensuring that each bucket ends with exactly points. Selecting one completed bucket uniformly at random then preserves unbiasedness and yields a partition-induced vertex of . Excluding encoding, assignment costs , which is linear in dataset size for a fixed selection fraction and number of bits. This greedy alternative gives up some fidelity to our derived variance surrogate, and may perform fewer comparisons, in exchange for faster execution (see Section 6).
We consider . If does not divide , we first discard mod points uniformly at random and apply the procedure to the retained dataset. The resulting selection remains unbiased for the original dataset.
Algorithm 1 Swap-based partition optimization
Require: Dataset T, subset size k with , variance surrogate , number of iterations L Output: A subset of k points 1: 2: Precompute for all 3: Partition T into blocks , each stored as a list of k points 4: for do 5: Sample i, j uniformly without replacement from 6: Sample r, s independently and uniformly from 7: 8: Swap and 9: 10: if then 11: Swap and back 12: end if 13: end for 14: Sample i uniformly from 15: return
6 EXPERIMENTS
6.1 DATASET PRUNING
We evaluate our method on CIFAR-10, MNIST, CelebA (Liu et al., 2015), and IMDb (Maas et al., 2011) at selection fractions from 0.005 to 0.3 of the training set. We compare against three training-free, label-free baselines: uniform sampling, herding (Welling, 2009; Chen et al., 2010), and k-center greedy (Sener & Savarese, 2018). We use the DeepCore framework (Guo et al., 2022) without class-balanced selection quotas, since enforcing them requires labels. Herding uses a corrected implementation, since the original DeepCore implementation contains a bug. Tables report mean test accuracy in percent with 95% Wald confidence-interval half-widths; boldface marks the highest mean in each column, not a statistically significant difference.
On CIFAR-10 and MNIST, the embedding-based methods use features from a ResNet18 trained for 10 epochs on the full labeled training set, following DeepCore's protocol for benchmark comparability. A freshly initialized ResNet18 is then trained on the selected subset for 200 epochs. Training uses stochastic gradient descent (SGD) with a batch size of 128 and a learning rate of 0.1. Each setting uses 30 jobs. Each job comprises five selection-and-training runs; we average their best-epoch test accuracies within each job and report means and confidence intervals across jobs.
CelebA and IMDb use pretrained embeddings. On CelebA, we use the latent codes of a variational autoencoder (VAE) (Kingma & Welling, 2014), whose regularized, approximately Gaussian embedding fits the toroidal setting. On IMDb, a film-review dataset, we use Qwen3-Embedding-8B embeddings (Zhang et al., 2025) to evaluate the spherical and label-free setting. Among one million uniformly sampled pairs of distinct IMDb training embeddings, all inner products were positive and over 99% exceeded 0.2 (Figure 3). Thus, increasing pairwise separation favors movement toward orthogonality in the observed regime. Test accuracy is that of a multilayer perceptron (MLP) trained on the selected subset, averaged over 100 independent runs per setting on CelebA and 200 on IMDb. Additional experimental details are given in Appendix B.
On all four datasets we use the surrogate score and run Algorithm 1 for 65,536k proposed swaps, reduced to 2,048k only at fraction 0.3 on CIFAR-10 and MNIST. The fast variant, reported as Ours (fast), replaces Euclidean distances by Hamming distances between 64k-bit binary representations of the embeddings. Tables 1, 2, and 3 show that our method is particularly competitive at small budgets on CIFAR-10 and MNIST, whereas k-center greedy achieves the highest mean accuracy at larger budgets on these datasets. On CelebA and IMDb, our method has the highest mean accuracy at every budget except the smallest, where herding leads. Unlike the other methods, ours matches or exceeds uniform sampling in mean accuracy at every evaluated budget.
Table 1: Test accuracy (%) on CIFAR-10 and MNIST.
| CIFAR-10 | |||||
|---|---|---|---|---|---|
| Method / selected fraction | 0.005 | 0.01 | 0.05 | 0.1 | 0.3 |
| Herding | |||||
| Ours | |||||
| Ours (fast) | |||||
| Uniform | |||||
| k-center greedy | |||||
| MNIST | |||||
| Herding | |||||
| Ours | |||||
| Ours (fast) | |||||
| Uniform | |||||
| k-center greedy | |||||
Table 2: CelebA mean test attribute accuracy (%).
| Method / selected fraction | 0.005 | 0.01 | 0.05 | 0.1 | 0.3 |
|---|---|---|---|---|---|
| Herding | |||||
| Ours | |||||
| Ours (fast) | |||||
| Uniform | |||||
| k-center greedy |
Table 3: IMDb test accuracy (%).
| Method / fraction | 0.005 | 0.01 | 0.05 |
|---|---|---|---|
| Herding | |||
| Ours | |||
| Ours (fast) | |||
| Uniform | |||
| kCenterGreedy |

Figure 3: IMDb inner products.
Figure 4 shows the recorded runtimes for 4096-dimensional embeddings. The largest run of our method, with embeddings, takes 153.1 seconds, whereas both baselines complete at most embeddings within the 300-second limit of the sweep.
6.2 MINI-BATCH VARIANCE REDUCTION
We evaluate mini-batch construction on CelebA's 40 attributes using ResNet-18 trained with AdamW (initial learning rate , weight decay ) and cosine annealing (, ). At each epoch, we use the previous epoch's 512-dimensional pooled features, extracted in evaluation mode, as the selection features for batch optimization. Before each reported epoch, we compare random and optimized partitions of the same samples at fixed model parameters and batch size 128. For each scheme, we estimate variance as the mean squared Euclidean distance of the mini-batch loss gradients from their mean. We report means Wald confidence-interval half-widths across 256 paired runs. Table 4 shows lower mean gradient variance for optimized batches than for random batches at every evaluated epoch.
7 LIMITATIONS AND FUTURE WORK
The linear objective of Lemma A.3 has one variable per subset, so Algorithm 1 settles for a local search over uniform -selections. It accepts only improving swaps, uses a fixed iteration budget with no optimality guarantee, and precomputes all pairwise scores at quadratic cost. Faster or more accurate optimizers, of which the fast variant is a first step, are directions for future work.
The inverse-distance surrogate is motivated by the envelopes of the exact kernels in Theorems A.1 and A.2, but decreasing it does not guarantee a reduction in the true variance. When a single spectral

Figure 4: Recorded runtime versus input size (linear axes). We select points from standard-normal, 4096-dimensional float32 embeddings on an NVIDIA GeForce RTX 5090. We use binary representations with 64k bits.
Table 4: Gradient variance of random and optimized mini-batches at fixed batch size.
| Epoch | Random variance | Optimized variance | Reduction (%) |
|---|---|---|---|
| 2 | 0.20397 ± 0.00901 | 0.17367 ± 0.00751 | 14.85 |
| 9 | 0.23544 ± 0.00827 | 0.20531 ± 0.00644 | 12.80 |
| 16 | 0.24042 ± 0.00839 | 0.21829 ± 0.00651 | 9.20 |
| 23 | 0.10832 ± 0.00475 | 0.10365 ± 0.00407 | 4.32 |
| 30 | 0.00800 ± 0.00018 | 0.00794 ± 0.00017 | 0.78 |
component dominates, the sign of its geometric factor matters: the Bessel factor alternates sign with separation, and even-degree sphere factors favor perpendicular rather than antipodal pairs, so pushing pairs apart can increase the variance. Estimating the dominant components of from a few labels, and using the exact kernels, could close this gap.
When the data lie on a submanifold of the domain, as images do in an embedding space, most motions carry them off it. The orientation average then evaluates the downstream function, such as the loss of an image classifier, at points that are not images, and the closed forms are no longer informative about the actual variance. To address this, we could use a submersion that maps the data onto a lower-dimensional sphere or torus that they fill, so that no motion carries them off it.
Unbiasedness is a design choice. For particular functions, a biased selection can have lower estimation error than any unbiased one, for instance a smooth estimated from the evenly spread points of -center greedy. The price is a selected subset whose distribution differs from that of the data, as in the -center greedy column of Figure 1 (right). This is undesirable when the subset must represent the population, for instance under class imbalance.
Future work. Beyond the directions above, the Haar average extends to other homogeneous spaces, such as hyperbolic and projective embeddings and products of spheres, where harmonic analysis yields analogous pairwise kernels. Weighted selections enlarge the polytope and connect the framework to sensitivity-based coresets. On the application side, the annotation-budget setting that motivates label-free selection, such as remote sensing, remains to be tested.
8 CONCLUSION
Label-free, training-free dataset pruning has relied on the heuristic that nearby points are redundant, which biases the selected subset. This paper replaces the heuristic with a principle. If no orientation of the downstream function relative to the data is preferred, the objective is the sampling variance averaged over all orientations, and the search space is the polytope of unbiased selection algorithms. On the torus and the sphere, the averaged variance has closed pairwise forms in which the unknown function enters only through spectral weights, and the envelopes of the geometric factors give a surrogate that a vertex walk optimizes without labels or training. The resulting selections keep the unbiasedness of uniform sampling and match or exceed its mean accuracy at every budget on CIFAR-10, MNIST, CelebA, and IMDb with the largest gains at small budgets. The same partitions lower gradient variance in mini-batch construction at fixed batch size.
AI USE STATEMENT
In this work, we did not use generative AI tools for any task with required disclosure: generating synthetic datasets, developing theoretical models or conceptual frameworks, formulating mathematical claims, providing critical ingredients for proofs, writing proofs, proposing or refining hypotheses, designing or giving feedback on the research methodology or experiments, implementing methods, translation, cleaning or reformatting datasets, qualitative or thematic data analysis, and interpreting results.
We used generative AI tools for the following tasks with recommended disclosure. In writing, they corrected grammar and spelling and gave feedback on the quality of the text. They helped identify relevant literature. They helped create and format the figures and plots. Most of the code in the project was written by hand; generative AI assisted in optimizing CUDA kernels and in orchestrating (but not design) tests.
We have reviewed all AI-assisted work. Every AI-suggested text edit was reviewed by the authors before being accepted; every AI-suggested reference was read and verified against its original source before citation; and the AI-assisted CUDA kernels and test orchestration were verified and tested for correctness by the authors. We take responsibility for the final content of this work, including text, claims, or artifacts produced with the aid of generative AI.
REPRODUCIBILITY STATEMENT
All theoretical results are stated with their assumptions and proved in full in the Appendix: Theorems A.1 and A.2 give the closed-form variance differences on the torus and the sphere, and Lemma A.3 establishes the polytope and linear-objective structure the method relies on. The definitions of unbiased selection and of k-selections are in Section 3, and Algorithm 1 specifies the selection procedure completely, with the surrogate score used in all experiments given in Section 4. The experimental setup in Section 6 lists the datasets, selection fractions, baselines, training framework and hyperparameters, numbers of runs and seeds, and the reporting conventions for accuracies and confidence intervals. The remaining dataset-pruning settings and the CelebA autoencoder details are given in Appendices B.1 and B.2, and the mini-batch experiments are described in Section 6.2.
ACKNOWLEDGMENTS
The first author is supported by a scholarship from the Brazilian National Council for Scientific and Technological Development (CNPq). The second author is supported by the Institute for Pure and Applied Mathematics (IMPA).
REFERENCES
Olivier Bachem, Mario Lucic, and Andreas Krause. Practical coreset constructions for machine learning, 2017.
Rémi Bardenet and Adrien Hardy. Monte carlo with determinantal point processes. The Annals of Applied Probability, 30(1), 2020.
Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. In Proceedings of the 37th International Conference on Machine Learning (ICML), 2020.
Yutian Chen, Max Welling, and Alexander J. Smola. Super-samples from kernel herding. In Proceedings of the 26th Conference on Uncertainty in Artificial Intelligence (UAI), 2010.
Raaz Dwivedi and Lester Mackey. Kernel thinning. Journal of Machine Learning Research, 25(152):1–77, 2024.
Dan Feldman and Michael Langberg. A unified framework for approximating and clustering data. In Proceedings of the 43rd Annual ACM Symposium on Theory of Computing (STOC), 2011.
H Groemer. Geometric applications of Fourier series and spherical harmonics. ENCYCLOPEDIA OF MATHEMATICS AND ITS APPLICATIONS.
Chengcheng Guo, Bo Zhao, and Yanbing Bai. DeepCore: A Comprehensive Library for Coreset Selection in Deep Learning, 2022.
Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza Rutherford, Diego de Las Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, Tom Hennigan, Eric Noland, Katie Millican, George van den Driessche, Bogdan Damoc, Aurelia Guy, Simon Osindero, Karen Simonyan, Erich Elsen, Jack W. Rae, Oriol Vinyals, and Laurent Sifre. Training compute-optimal large language models, 2022. URL https://arxiv.org/abs/2203.15556.
Jared Kaplan, Sam McCandlish, Tom Henighan, Tom B. Brown, Benjamin Chess, Rewon Child, Scott Gray, Alec Radford, Jeffrey Wu, and Dario Amodei. Scaling laws for neural language models, 2020. URL https://arxiv.org/abs/2001.08361.
Angelos Katharopoulos and François Fleuret. Not all samples are created equal: Deep learning with importance sampling. In Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pp. 2525–2534, 2018.
Krishnateja Killamsetty, Durga Sivasubramanian, Ganesh Ramakrishnan, Abir De, and Rishabh Iyer. GRAD-MATCH: Gradient matching based data subset selection for efficient deep model training. In Proceedings of the 38th International Conference on Machine Learning (ICML), 2021a.
Krishnateja Killamsetty, Durga Sivasubramanian, Ganesh Ramakrishnan, and Rishabh Iyer. GLIS-TER: Generalization based data subset selection for efficient and robust learning. In Proceedings of the AAAI Conference on Artificial Intelligence, 2021b.
Diederik P. Kingma and Max Welling. Auto-encoding variational Bayes. In International Conference on Learning Representations (ICLR), 2014.
Ziwei Liu, Ping Luo, Xiaogang Wang, and Xiaoou Tang. Deep learning face attributes in the wild. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), pp. 3730–3738, 2015. URL https://openaccess.thecvf.com/content_iccv_2015/html/Liu_Deep_Learning_Face_ICCV_2015_paper.html.
Yucheng Lu, Wentao Guo, and Christopher De Sa. GraB: Finding provably better data permutations than random reshuffling. In Advances in Neural Information Processing Systems 35, 2022.
Andrew L. Maas, Raymond E. Daly, Peter T. Pham, Dan Huang, Andrew Y. Ng, and Christopher Potts. Learning word vectors for sentiment analysis. In Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies, pp. 142–150, 2011. URL https://aclanthology.org/P11-1015/.
Baharan Mirzasoleiman, Jeff Bilmes, and Jure Leskovec. Coresets for data-efficient training of machine learning models. In Proceedings of the 37th International Conference on Machine Learning (ICML), 2020.
Konstantin Mishchenko, Ahmed Khaled, and Peter Richtárik. Random reshuffling: Simple analysis with vast improvements. In Advances in Neural Information Processing Systems 33, 2020.
Brian B. Moser, Arundhati S. Shanbhag, Stanislav Frolov, Federico Raue, Joachim Folz, and Andreas Dengel. A Coreset Selection of Coreset Selection Literature: Introduction and Recent Advances, 2026.
Deanna Needell, Nathan Srebro, and Rachel Ward. Stochastic gradient descent, weighted sampling, and the randomized Kaczmarz algorithm. In Advances in Neural Information Processing Systems 27, 2014.
A. Cengiz Öztireli. Integration with stochastic point processes. ACM Transactions on Graphics, 35(5), 2016.
Mansheej Paul, Surya Ganguli, and Gintare Karolina Dziugaite. Deep learning on a data diet: Finding important examples early in training. In Advances in Neural Information Processing Systems 34 (NeurIPS), 2021.
Adrien Pilleboue, Gurprit Singh, David Coeurjolly, Michael Kazhdan, and Victor Ostromoukhov. Variance analysis for Monte Carlo integration. ACM Transactions on Graphics, 34(4), 2015.
Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervision. In Proceedings of the 38th International Conference on Machine Learning (ICML), 2021.
Nils Reimers and Iryna Gurevych. Sentence-BERT: Sentence embeddings using siamese BERT-networks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), 2019.
Ozan Sener and Silvio Savarese. Active learning for convolutional neural networks: A core-set approach. In International Conference on Learning Representations (ICLR), 2018.
Gurprit Singh, Cengiz Öztireli, Abdalla G. M. Ahmed, David Coeurjolly, Kartic Subr, Oliver Deussen, Victor Ostromoukhov, Ravi Ramamoorthi, and Wojciech Jarosz. Analysis of sample correlations for Monte Carlo rendering. Computer Graphics Forum, 38(2):473–491, 2019.
Ben Sorscher, Robert Geirhos, Shashank Shekhar, Surya Ganguli, and Ari S. Morcos. Beyond neural scaling laws: Beating power law scaling via data pruning. In Advances in Neural Information Processing Systems 35 (NeurIPS), 2022.
Emma Strubell, Ananya Ganesh, and Andrew McCallum. Energy and policy considerations for deep learning in NLP. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics (ACL), 2019.
Devis Tuia, Michele Volpi, Loris Copa, Mikhail Kanevski, and Jordi Muñoz-Marí. A survey of active learning algorithms for supervised remote sensing image classification. IEEE Journal of Selected Topics in Signal Processing, 5(3):606–617, 2011.
Tongzhou Wang and Phillip Isola. Understanding contrastive representation learning through alignment and uniformity on the hypersphere. In Proceedings of the 37th International Conference on Machine Learning (ICML), 2020.
Max Welling. Herding dynamical weights to learn. In Proceedings of the 26th International Conference on Machine Learning (ICML), 2009.
Xiaobo Xia, Jiale Liu, Jun Yu, Xu Shen, Bo Han, and Tongliang Liu. Moderate coreset: A universal method of data selection for real-world data-efficient deep learning. In International Conference on Learning Representations (ICLR), 2023.
Cheng Zhang, Hedvig Kjellström, and Stephan Mandt. Determinantal point processes for mini-batch diversification. In Proceedings of the 33rd Conference on Uncertainty in Artificial Intelligence (UAI), 2017.
Cheng Zhang, Cengiz Öztireli, Stephan Mandt, and Giampiero Salvi. Active mini-batch sampling using repulsive point processes. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pp. 5741–5748, 2019.
Yanzhao Zhang, Mingxin Li, Dingkun Long, Xin Zhang, Huan Lin, Baosong Yang, Pengjun Xie, An Yang, Dayiheng Liu, Junyang Lin, Fei Huang, and Jingren Zhou. Qwen3 Embedding: Advancing text embedding and reranking through foundation models. arXiv preprint arXiv:2506.05176, 2025. URL https://arxiv.org/abs/2506.05176.
Peilin Zhao and Tong Zhang. Accelerating minibatch stochastic gradient descent using stratified sampling, 2014.
Peilin Zhao and Tong Zhang. Stochastic optimization with importance sampling for regularized loss minimization. In Proceedings of the 32nd International Conference on Machine Learning, volume 37 of Proceedings of Machine Learning Research, pp. 1–9, 2015.
Haizhong Zheng, Rui Liu, Fan Lai, and Atul Prakash. Coverage-centric coreset selection for high pruning rates. In International Conference on Learning Representations (ICLR), 2023.
A APPENDIX
A.1 THEOREMS
Theorem A.1 (Torus). Let be a finite set of independent samples from , and let . Identify torus points with their canonical representatives in , and let denote coordinatewise wrapping modulo one. For a translation and a rotation , define
Thus, rotation of the fixed representatives is followed by translation and periodic wrapping. The distances below are Euclidean distances between these representatives. Write . For an unbiased selection algorithm and a nonempty subset , define
it follows that is the realized sampled variance of , and thus is the mean of the realized sampled variances of the unbiased selection algorithm (see Definition 1).
If are unbiased selection algorithms and is the distribution of induced by independently sampling and from the normalized Haar measures on and , respectively, then
in which
and is the Bessel function of the first kind. The normalized Bessel factor is defined by its continuous extension, with value one when .
Proof. Expanding the square yields
Note that for almost every g,
It follows from our definition of unbiased selection algorithm that
which is independent on the algorithm p and thus
One can conclude that both terms cancel out and that we can concentrate on the second element of Equation 6. Let us define as the uniform distribution over rotation matrices in . Write for the periodic extension of . Then, it follows that
in which
Using the substitution , it follows that . The translated domain can be replaced by because is -periodic, and we can proceed by applying Parseval's theorem
Here ; the interchange of expectation and summation follows from .
For , the formula simplifies to
Indeed, and since is real.
Otherwise, is defined and it follows that (with )
□
Theorem A.2 (Sphere). Let be a finite set of independent samples from , a rigid motion and . Let be the normalized surface measure on , with , and let be the degree- spherical harmonic component of . Its squared norm is
For an unbiased selection algorithm and a nonempty subset , define
it follows that is the realized sampled variance of , and thus is the mean of the realized sampled variances of the unbiased selection algorithm (see Definition 1).
If are unbiased selection algorithms and is the uniform distribution over the isometries in , then
in which
and is the generalized Legendre polynomial of dimension and degree , that can alternatively be defined for as:
in which are the Gegenbauer polynomials, and . For , we use the limiting definition
Proof. Expanding the square yields
As shown in Theorem A.1, unbiasedness gives
for almost every . Thus these terms cancel out in , and we can focus on the second element of Equation 8.
Let be any rotation such that . Since all isometries on the sphere are orthogonal transformations, we will denote with the letter :
in which . At , each normalized slice integral below is interpreted as evaluation at ; at , it is interpreted as evaluation at . Note that now the expected value only depends on rather than , and it follows that
Let denote the space of degree- spherical harmonics on , identified with their homogeneous harmonic extensions to .
By expressing f as the direct sum
it follows that
We want to show that
is in .
For ,
This is a consequence of the Funk–Hecke theorem Groemer, since , for some function that will be characterized latter. The previous item can be used to extend the equality to , thus proving that .
Then, we can use the orthogonality of the spherical harmonics and the Funk–Hecke theorem to conclude that
in which is the generalized Legendre polynomial of dimension and degree .
A selection algorithm is unbiased in the sense of Definition 1 if and only if
Indeed, the empty subset must have zero probability for the subset average to be defined. Expanding the expectation over nonempty subsets gives
The stated conditions therefore imply unbiasedness; conversely, applying unbiasedness to the indicator function of each individual point gives these conditions. For subsets of fixed size , they reduce to equal inclusion probabilities:
These linear constraints yield the polytope characterization below.
Lemma A.3. Let be an enumeration of the subsets of with size . Note that any unbiased selection algorithm of size can be uniquely identified as
Similarly, any loss function can be uniquely identified as
It follows from the definition of expectation that
Thus,
is a linear programming problem. If divides and is a uniform -selection, then is a vertex of the convex polytope .
Proof. Enumerate . Let
in which are the binary column vectors
Using this definition, we can rewrite Equation 13 as the following optimization problem:
Given , minimize
in which is subject to being a probability measure on :
and being unbiased, i.e.
From Equation 16 and non-negativity, it follows immediately that
Thus, we can rewrite Equations 14-16 as follows:
which indeed is a convex polytope . Since in real-world applications the number of dimensions would surpass the number of atoms in the universe, traditional linear programming techniques are not applicable. However, we can find vertices of by solving the surrogate problem below.
For the vertex claim, assume . For , maximize
Subject to , a convex polytope defined by the following two equations
The problem has at least one solution, since is a compact set and is continuous. We will show that if is a solution to the problem, then . Suppose by hypothesis that maximizes , but
Since and , it follows that
This implies that u is not a solution, since
satisfies the Equations 20 and 21, and . Thus, there are solutions that maximize the distance to the origin, which includes all uniform -selections (see Definition 3). Note that among these solutions, only the uniform -selections belong to .
Since squared Euclidean norm is strictly convex, these maximizers are vertices of .
B ADDITIONAL EXPERIMENTAL DETAILS
B.1 DATASET-PRUNING SETTINGS
CIFAR-10 and MNIST. We use DeepCore (Guo et al., 2022) with ResNet18 and the standard training and test splits. All results in Table 1 use selection without class-balanced quotas. For the embedding-based methods, a randomly initialized ResNet18 is trained on the full labeled training set for 10 epochs with cross-entropy loss. Selection uses its penultimate-layer features, extracted in evaluation mode after the final epoch. Thus, the selection rules require neither labels nor additional training given the embeddings, but producing these embeddings involves supervised training. Evaluation uses a separate, freshly initialized ResNet18 trained on the selected subset for 200 epochs.
Preprocessing and optimization. CIFAR-10 images are normalized channelwise with means (0.4914, 0.4822, 0.4465) and standard deviations (0.2470, 0.2435, 0.2616); MNIST uses mean 0.1307 and standard deviation 0.3081. Downstream CIFAR-10 training additionally uses random crops with four-pixel reflection padding and random horizontal flips. Embedding training, feature extraction, and test evaluation use no augmentation; MNIST uses no augmentation in either training stage. Both training stages use SGD with batch size 128, momentum 0.9, Nesterov acceleration, weight decay , and cross-entropy loss. Embedding training uses a constant learning rate of 0.1; downstream training uses an initial learning rate of 0.1 with cosine annealing to over 200 epochs, updated after each mini-batch.
B.2 CELEBA EXPERIMENTAL DETAILS
VAE embeddings. We use an ADM-style residual and self-attention VAE pretrained on aligned CelebA images. RGB images are converted to floating-point values in and resized bilinearly to . The model has approximately 130 million parameters and a 512-dimensional Gaussian latent space. Its residual blocks use GroupNorm and SiLU, with four-head self-attention at spatial resolutions and below; the decoder ends with a sigmoid. The VAE is trained for 140 epochs with batch size 32, learning rate , and zero weight decay. The objective combines a Gaussian reconstruction likelihood with standard deviation 0.1, KL regularization with a free-bits threshold of 0.5, and a VGG perceptual loss weighted by 0.5. Selection and downstream classification use the deterministic 512-dimensional posterior means, extracted with the VAE in evaluation mode, rather than sampled latent vectors.
Downstream classification. The selection pool contains 40.5k embedding vectors; selection fractions are relative to this pool, and the selected vectors are used for downstream training. Evaluation uses a separate 20.2k-vector test split. The classifier is an MLP with widths . Each hidden linear layer is followed by LayerNorm, ReLU, and dropout with probability 0.2; the output layer produces 20 logits. We train for 20 epochs with Adam, a constant learning rate of , batch size 256, and binary cross-entropy with logits.
The targets are Male, Young, Attractive, Smiling, Heavy Makeup, Wearing Lipstick, Blond Hair, Black Hair, Brown Hair, Gray Hair, Bald, Bangs, Eyeglasses, Goatee, Mustache, No Beard, Wearing
Hat, Wearing Earrings, Pale Skin, and Chubby. Labels are mapped from to , and predictions use a sigmoid threshold of 0.5. Mean test attribute accuracy averages the per-attribute test accuracies over these 20 targets. Each run contributes its highest mean test attribute accuracy over the 20 training epochs, and the table averages these values over 100 runs per setting.
B.3 IMDB EXPERIMENTAL DETAILS
Data and embeddings. We use the standard labeled IMDb splits: 25,000 training reviews and 25,000 test reviews, each containing equal numbers of positive and negative examples. The unlabeled split is not used. Reviews are embedded with the pretrained Qwen3-Embedding-8B model (Zhang et al., 2025), using the original review text without an added task-specific instruction and a truncation limit of 8,192 tokens. The resulting 4,096-dimensional, unit- -norm embeddings are stored in float32 and used unchanged for selection and downstream classification, with no additional normalization, dimensionality reduction, or augmentation. Selection operates only on the training split, without class-balanced quotas or additional embedding training.
Classifier and optimization. For each selected subset, we train a freshly initialized MLP with widths , ReLU activations after both hidden layers, and no dropout or normalization layers. The output consists of two sentiment logits, trained with cross-entropy loss. Training runs for 200 epochs using SGD with batch size 128, momentum 0.9, Nesterov acceleration, and weight decay . The learning rate starts at 0.1 and follows cosine annealing to over 200 epochs, updated after each mini-batch. Training examples are shuffled each epoch.
Epoch selection and reporting. We evaluate accuracy on the full test split after every epoch. Each run contributes its highest test accuracy over the 200 training epochs; no separate validation split is used for epoch selection. The main IMDb comparison uses 200 selection-and-training runs per method–fraction setting. Table 3 reports their mean accuracy and 95% Wald confidence-interval half-width, computed as , where is the sample standard deviation of the per-run best-epoch accuracies.