SAVA: Scalable Learning-Agnostic Data Valuation
Samuel Kessler, Tam Le, Vu Nguyen
TL;DR
This work addresses the challenge of valuing data for training large models when training sets contain noisy artifacts by casting data valuation as a transport-based discrepancy between a noisy training distribution $\mu_t$ and a clean validation distribution $\mu_v$. It introduces SAVA, a scalable variant of LAVA that performs multiple small OT computations on data batches within a hierarchical OT framework, reducing memory usage from $O(N^2)$ to batch-scale costs while preserving valuation quality. The authors provide refined theoretical results for entropic regularization in OT gradients and demonstrate that SAVA scales to millions of data points with competitive performance on corruption-detection and data-pruning tasks, notably on CIFAR-10 with various corruptions and the large Clothing1M dataset. The approach enables practical OT-based data valuation for real-world large-scale datasets, offering efficiency gains and robust data selection without model-specific dependencies. Overall, SAVA advances data valuation by delivering scalable, model-agnostic data pruning that preserves valuation fidelity on massive web-scraped datasets.
Abstract
Selecting data for training machine learning models is crucial since large, web-scraped, real datasets contain noisy artifacts that affect the quality and relevance of individual data points. These noisy artifacts will impact model performance. We formulate this problem as a data valuation task, assigning a value to data points in the training set according to how similar or dissimilar they are to a clean and curated validation set. Recently, LAVA demonstrated the use of optimal transport (OT) between a large noisy training dataset and a clean validation set, to value training data efficiently, without the dependency on model performance. However, the LAVA algorithm requires the entire dataset as an input, this limits its application to larger datasets. Inspired by the scalability of stochastic (gradient) approaches which carry out computations on batches of data points instead of the entire dataset, we analogously propose SAVA, a scalable variant of LAVA with its computation on batches of data points. Intuitively, SAVA follows the same scheme as LAVA which leverages the hierarchically defined OT for data valuation. However, while LAVA processes the whole dataset, SAVA divides the dataset into batches of data points, and carries out the OT problem computation on those batches. Moreover, our theoretical derivations on the trade-off of using entropic regularization for OT problems include refinements of prior work. We perform extensive experiments, to demonstrate that SAVA can scale to large datasets with millions of data points and does not trade off data valuation performance.
