Distributionally Robust Data Valuation

Xiaoqiang Lin, Xinyi Xu, Zhaoxuan Wu, See-Kiong Ng, Bryan Kian Hsiang Low

In the evolving landscape of machine learning, data is a highly valuable commodity. However, pricing and valuing individual data points remains a notoriously difficult challenge. Standard data valuation methods—such as Data Shapley or Leave-One-Out (LOO)—typically define the "value" of a data point by how much it improves a model's performance on a specific, known validation set.

In real-world scenarios like data marketplaces (e.g., AWS Data Exchange) or collaborative machine learning across institutions, this standard approach falls apart. A data seller often does not know the buyer's specific test distribution a priori. If a seller values their data based on one validation set, but the buyer's local data looks completely different, the valuation becomes meaningless. The core challenge is: How do we value data without a fixed, known validation distribution?

A New Approach: Distributionally Robust Data Valuation

To address this, researchers propose a novel framework called Distributionally Robust Data Valuation. Instead of measuring average performance on a single validation set, this approach evaluates the Distributionally Robust Generalization Error (DRGE). Essentially, it measures the model's performance in the "worst-case" scenario within a certain neighborhood (a $\chi^2$-divergence ball) of the training distribution.

By optimizing for DRGE, the valuation provides a lower bound on performance. Even if a buyer's data distribution differs slightly from the training set, the highly-valued data is still guaranteed to be useful.

The "Model Deviation" Proxy

Calculating DRGE directly for every data point is computationally intractable. To solve this, the authors introduce a clever proxy: Model Deviation.

They define the value of a data point by how much the model's parameters or predictions change when that point is added to the training set. Mathematically, they measure the distance between models in a Reproducing Kernel Hilbert Space (RKHS). The authors prove that this change in the model itself is a sound upper bound for the change in worst-case error, justifying the use of a simple distance metric as a stand-in for a complex optimization problem.

Correlation between model deviation and DRGE improvement

To make this work efficiently for deep learning, they leverage Neural Tangent Kernel (NTK) theory. They demonstrate that model deviation calculated using the NTK at initialization is a highly accurate proxy for the DRGE improvement of a fully trained neural network. Because it uses the NTK at initialization, the method is entirely training-free. It only requires the gradients of the model at the start, avoiding the massive computational cost of retraining models thousands of times.

Key Insights: Uniqueness Equals Value

A major finding of this research is that high-value data points are characterized by their "uniqueness." This uniqueness breaks down into two factors:

  1. Scarcity: Few points in the dataset share that label.
  2. Dissimilarity: The point looks very different from other examples with the same label.

When visualizing the value of image datasets, the "high-value" images identified by this method are often those that are difficult to classify, represent rare edge cases, or feature unusual angles. Conversely, "low-value" images are prototypical, standard, and highly redundant.

MNIST digits with highest and lowest model deviation

Empirical Results

The approach was evaluated on five diverse real-world datasets, including California housing prices, Uber carpool pricing, hospital readmissions, MNIST, and CIFAR-10.

  • Data Selection: When selecting the top 45% of data points to train a model, the proposed "Deviation" method consistently achieved the lowest DRGE (worst-case error) compared to baselines like LOO, TracIn, and LAVA across almost all datasets.
  • Data Removal: In experiments where high-value data is removed, the model's performance degraded much faster using the authors' valuation than with traditional methods, proving it better identifies the "load-bearing" data points.
  • Efficiency: Because it is training-free, the method is orders of magnitude faster than traditional valuation. For example, computing values for the UBER dataset took less than a minute.

Limitations and Future Directions

While powerful, the framework has limitations. The robustness guarantee only holds if the buyer's distribution falls within the specified $\chi^2$ uncertainty ball ($\epsilon$-ball). If the distribution shift is too extreme, the valuation might not hold.

Additionally, while "unique" points are valuable, this approach could potentially overvalue outliers or noisy "garbage" data. Differentiating between high-value unique points and harmful anomalies remains an important direction for future research. Finally, extending this empirical validation from MLPs and CNNs to more complex architectures like Transformers will be a key next step.

Summary updated

BibTeX
@inproceedings{lin2024distributionally,
  author = {Xiaoqiang Lin and Xinyi Xu and Zhaoxuan Wu and See-Kiong Ng and Bryan Kian Hsiang Low},
  title = {{Distributionally Robust Data Valuation}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=mbBehLOAqR},
}
Figure