SAVA: Scalable Learning-Agnostic Data Valuation

Samuel Kessler, Tam Le, Vu Nguyen

TL;DR

SAVA (Scalable Learning-Agnostic Data Valuation) is a novel framework that uses hierarchical optimal transport to identify high-quality training data by comparing it to a clean validation set. Unlike previous methods that hit a "memory wall" at modest dataset sizes, SAVA's batch-based approach allows it to scale to datasets with millions of points without sacrificing performance or requiring expensive model training.

What Problem Does This Paper Address?

In the era of massive, web-scraped datasets, "more data" isn't always "better data." Real-world datasets are often riddled with noisy labels, irrelevant features, and even malicious "poisoning" attacks that can degrade model performance. Data valuation aims to solve this by assigning a score to each training point based on its utility.

A recent promising approach called LAVA used Optimal Transport (OT) to value data in a "learning-agnostic" way—meaning it doesn't require training a neural network to figure out which data is good. However, LAVA has a fatal flaw: its memory requirements grow quadratically ($O(N^2)$) with the number of data points. For a dataset of 1 million points, LAVA would require over 7,000 GB of RAM, making it unusable for modern large-scale machine learning.

Methods

SAVA overcomes the scalability bottleneck by introducing a hierarchical approach to optimal transport. Instead of trying to solve one massive OT problem across the entire dataset, SAVA breaks the problem down into two levels:

  1. Batch-level OT: The training and validation sets are divided into disjoint batches. SAVA computes the OT distance between every pair of training and validation batches.
  2. Global-level OT: It then solves a higher-level OT problem to find an optimal "plan" for how these batches relate to one another.
Overview of the SAVA method showing the hierarchical batching process.

The final valuation score for an individual data point is derived from the gradients of this hierarchical OT objective. This "stochastic-like" approach keeps the memory footprint small—scaling with the batch size rather than the total dataset size—while still capturing the global structure of the data distribution. Additionally, the authors provide a refined theoretical derivation for regularized OT gradients, correcting errors in previous literature.

Datasets

The authors evaluated SAVA on several benchmarks:

  • CIFAR10: Used for controlled experiments with four types of synthetic corruptions: noisy labels, noisy features, backdoor attacks (Trojan squares), and "poison frog" attacks.
  • Clothing1M: A large-scale, real-world dataset containing over 1 million web-scraped images with naturally noisy labels. This served as the primary test for SAVA's scalability.

Key Insights and Ideas

  • The "Memory Wall" is Real: The paper vividly demonstrates how standard OT methods fail as datasets grow. While LAVA performs well on small sets, it consistently hits Out-Of-Memory (OOM) errors once the training set exceeds 10k–50k samples.
  • Hierarchical OT as Regularization: Interestingly, the authors suggest that solving OT exactly can sometimes lead to overfitting. By using a batch-based approximation, SAVA acts as a form of regularization that can actually improve the quality of data valuation in some scenarios.
  • Model-Agnosticism is a Superpower: Because SAVA doesn't rely on a specific model's loss function, it avoids the "chicken-and-egg" problem where a model trained on bad data is used to find bad data. It values data based purely on how well it matches the distribution of a clean "gold standard" validation set.

Key Results

SAVA matches or exceeds the performance of state-of-the-art methods while being significantly more scalable:

  • Scaling to Millions: SAVA successfully valued the 1-million-point Clothing1M dataset. By pruning the bottom 30% of data identified by SAVA, the authors improved ResNet18 accuracy from 67.6% to 70.0%, outperforming other popular methods like EL2N.
  • Robust Corruption Detection: In CIFAR10 experiments, SAVA maintained a high detection rate for corrupted data even as the dataset size increased, whereas LAVA's performance dropped to zero due to OOM errors.
Figure 2: SAVA can value the full CIFAR10 dataset with various corruptions, while LAVA has out-of-memory (OOM) issues. We sort training examples by the highest OT gradients in Eq. (6) and Eq. (12) for LAVA and SAVA respectively, and use the fraction of corrupted data recovered for a prefix of size N/4 as the detection rate (where N is the training set size). The star symbol (⋆) denotes the point at which LAVA is unable to continue valuing training due GPU out-of memory (OOM) errors.
  • Efficiency: With a "label-to-label" caching strategy, SAVA's runtime is comparable to LAVA's on small datasets but remains stable as the dataset grows, making large-scale valuation practical on standard hardware (like a single NVIDIA K80 GPU).

Limitations and Future Work

While SAVA is a major step forward, the authors note a few limitations:

  • Clean Validation Set Dependency: Like its predecessor, SAVA requires a small, high-quality, curated validation set to act as a reference. If this reference set is biased or poorly chosen, the valuation will be too.
  • Looser Bounds: Theoretically, hierarchical OT provides a looser bound on validation error compared to global OT, though the authors' experiments suggest this doesn't hurt practical performance.
  • Ground Cost Limitations: The current implementation focuses on labeled image data. Future work could explore applying SAVA to unlabeled data or different modalities like text and speech by defining new "ground cost" metrics.

Summary updated

BibTeX
@inproceedings{kessler2025sava,
  author = {Samuel Kessler and Tam Le and Vu Nguyen},
  title = {{SAVA: Scalable Learning-Agnostic Data Valuation}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=0UCoWxPhQ4},
}
Figure