TL;DR
LAVA (Learning-Agnostic Data Valuation) is a novel framework that quantifies the value of training data without needing to specify or train a downstream machine learning model. By leveraging Optimal Transport and sensitivity analysis, LAVA identifies low-quality or malicious data points orders of magnitude faster than traditional methods while often achieving superior detection accuracy.
Introduction: The Data Valuation Bottleneck
In the world of machine learning, not all data is created equal. Some points are highly informative, while others—such as mislabeled samples, outliers, or poisoned data—can actively harm a model's performance. Data valuation aims to assign a "price" or score to individual data points, helping practitioners prioritize high-quality sources or filter out detrimental ones.
Traditionally, this valuation is performed using techniques like the Shapley Value or Leave-One-Out (LOO) error. However, these methods suffer from two massive drawbacks:
- Algorithm Dependence: The value of a data point is tied to a specific model architecture (e.g., ResNet-50) and its hyperparameters. Changing the model requires recalculating all data values.
- Computational Cost: These methods typically require retraining a model hundreds or thousands of times on different data subsets, making them prohibitively slow for large-scale datasets.
To overcome these limitations, the authors of LAVA pose a fundamental question: Can we value data based purely on its distribution, before we even select a learning algorithm?
Methodology
LAVA shifts the focus from empirical model performance to distributional distance, evaluating data based on its geometric relationship to a clean validation set.
1. The Proxy: Class-Wise Wasserstein Distance
Instead of measuring how much a data point improves a specific model's accuracy, LAVA measures how much it helps the training set "match" a small, clean validation set. It utilizes a non-conventional class-wise Wasserstein distance, a metric derived from Optimal Transport (OT) theory. This distance considers both the features (e.g., image vectors) and the labels simultaneously.
The authors theoretically prove that this distance provides an upper bound on the validation performance for any model satisfying certain smoothness (Lipschitz) conditions. As the Wasserstein distance between the training and validation sets decreases, the potential model performance increases.
2. Valuation via Sensitivity Analysis
The core innovation of LAVA lies in how it extracts individual data values from this distance metric. When solving an Optimal Transport problem, the process yields "dual variables"—essentially the gradients of the distance.
LAVA calculates calibrated gradients to represent how the total distance between the training and validation sets would change if the "mass" (importance) of a specific training point were slightly altered. If removing a point significantly reduces the distance to the clean validation set, that point is flagged as "low quality" (e.g., mislabeled or poisoned).
3. Computational Efficiency
By employing entropy-regularized OT (the Sinkhorn algorithm), LAVA's underlying optimization problem can be solved using fast, off-the-shelf solvers. The data values are obtained "for free" as a byproduct of calculating the distance, requiring absolutely zero model retraining.
Experimental Setup
The authors evaluated LAVA across a wide variety of standard benchmarks, including:
- Image Classification: CIFAR-10, CIFAR-100, MNIST, and STL-10.
- Traffic Signs: GTSRB (German Traffic Sign Recognition Benchmark).
- Large Scale: ImageNet-100.
- Attack Scenarios: Various data poisoning and backdoor attacks, including Trojan Square, Blend, and Feature Collision attacks.
Key Insights and Results
- Learning-Agnosticism is a Feature, Not a Bug: Surprisingly, LAVA often outperforms model-dependent methods at finding bad data. Models can be "fooled" by noise or overfit to poisoned data, whereas the geometric distance between distributions is much harder to trick.
- Massive Speedups: On ImageNet-100, LAVA is significantly faster than baselines. While methods like TracIn or KNN-Shapley can take many hours or days to scale, LAVA's complexity is near-linear with respect to the training set size.
- Robust Backdoor Detection: In a 5% backdoor attack on CIFAR-10, LAVA's top 20% "lowest value" points successfully contained over 80% of the poisoned samples.
- Mislabeled Data Filtering: LAVA consistently outperformed state-of-the-art methods (like Influence Functions and Data Shapley) in detecting flipped labels, even when the validation set was extremely small (e.g., only 500 samples).
- Data Rebalancing: LAVA can successfully "rebalance" an unbalanced dataset (e.g., a dataset with too many redundant images of a single class), improving final model accuracy by identifying and removing low-value, redundant points.
Limitations and Future Work
While LAVA presents a massive leap forward for data valuation, it does have limitations:
- Requirement of a Validation Set: LAVA assumes access to a small, high-quality, and representative validation set. If this set is biased or noisy, the resulting valuations will inherently reflect those flaws.
- Sophisticated Poisons: While highly effective at detecting distribution shifts, LAVA might be vulnerable to "clean-label" poisons specifically designed to perfectly mimic the clean data distribution.
- Beyond Accuracy: The current framework focuses on utility related to predictive accuracy. Extending LAVA to handle other objectives, such as fairness or privacy, remains an exciting future direction.
- Natural Language Processing: The current evaluation focuses heavily on image data. Applying this framework to NLP—where distances between text embeddings are more complex—is a promising area for future research.
Summary updated