TL;DR
This paper introduces Data Valuation using Reinforcement Learning (DVRL), a novel framework that quantifies the importance of individual training samples. By using a reinforcement learning agent to "pick" the best data for a model, DVRL significantly improves performance in domain adaptation and robust learning while remaining computationally efficient enough for large-scale deep learning.
What Problem Does This Paper Address?
In the era of "Big Data," we often assume more is better. However, machine learning practitioners know that not all data is created equal. Some samples are mislabeled, some are noisy, and others simply don't represent the real-world scenario the model will eventually face.
The challenge is data valuation: how do we determine the "worth" of a single data point? Existing methods like Leave-one-out (LOO) or Data Shapley are theoretically sound but practically nightmarish for deep learning. They often require retraining models hundreds or thousands of times, making them computationally infeasible for large datasets. Furthermore, these methods are usually decoupled from the actual training process, meaning they don't adapt as the model learns.
Methods
The authors propose DVRL, which treats data valuation as a meta-learning problem solved via Reinforcement Learning (RL).
The architecture consists of two main components:
- Data Value Estimator (DVE): A neural network that takes a training sample $(x, y)$ and outputs a probability $w$, representing how likely that sample should be used for training.
- Predictor Model: The actual model (e.g., a ResNet or XGBoost) being trained on the data selected by the DVE.
The RL Loop: * Action: The DVE selects a subset of the training batch. * Environment: The Predictor model is trained on this subset. * Reward: The Predictor is evaluated on a small, clean validation set. If performance improves relative to a moving average, the DVE receives a positive reward; otherwise, it's penalized. * Optimization: The DVE is updated using the REINFORCE algorithm, allowing it to learn which types of data lead to better generalization.
The authors also introduce "marginal information"—the difference between a sample's label and the prediction from a model trained only on the validation set—as an extra input to help the DVE spot corrupted data more easily.
Datasets
The researchers evaluated DVRL across a diverse range of 12 public datasets:
- Tabular: Blog, Adult (Census), and Rossmann Store Sales.
- Image: CIFAR-10, CIFAR-100, MNIST, USPS, Flower, Fashion-MNIST, and HAM10000 (skin lesions).
- Language: Email Spam and SMS Spam.
These datasets were used to test various scenarios, including standard supervised learning, corrupted label discovery, and domain adaptation.
Key Insights and Ideas
- Joint Optimization is Key: Unlike previous methods that calculate data values as a post-processing step, DVRL learns them during training. This allows the DVE to adapt to the specific needs of the predictor model.
- Scalability via RL: Because DVRL uses a learnable estimator and policy gradients, it avoids the exponential complexity of game-theoretic approaches. The authors note that DVRL's training overhead is only about twice that of conventional training.
- Discrete Selection Matters: The use of a stochastic sampler (selecting data points with probability $w$) encourages exploration. This helps the agent discover valuable data points that might be overlooked by simple gradient-based weighting.
- Model Agnostic: The framework works regardless of whether the predictor is a Deep Neural Network, a Gradient Boosted Tree (XGBoost/LightGBM), or a Naive Bayes classifier.
Key Results
DVRL consistently outperformed state-of-the-art benchmarks (like Data Shapley and Influence Functions) across several metrics:
- Corrupted Sample Discovery: In datasets with 20% noisy labels, DVRL identified corrupted samples almost as effectively as if the noise were known a priori, significantly outpacing alternative methods.
- Robust Learning: On CIFAR-10 with 40% uniform noise, DVRL achieved 89.02% accuracy, significantly higher than "Learning to Reweight" (86.92%) and the noisy baseline (67.97%).
- Domain Adaptation: In a sales forecasting task (Rossmann dataset) where the training and test data came from different store types, DVRL reduced the error (RMSPE) by over 50% in some cases by prioritizing training samples that matched the target domain.
- Removing Samples: The authors showed that removing "low-value" samples identified by DVRL often increased model accuracy, while removing "high-value" samples caused performance to plummet, validating the quality of the estimates.
Limitations and Future Work
- Clean Validation Set: DVRL requires a small, high-quality validation set to provide the reward signal. While the authors show that even 10-100 samples can suffice, in some niche domains, even a small clean set might be hard to obtain.
- Computational Overhead: While much faster than Data Shapley, a 2x increase in training time is still a consideration for massive models that already take weeks to train.
- Future Directions: The authors suggest applying DVRL to active learning (deciding which new data to label) and using it to price data in commercial marketplaces.
Summary updated