Abstract
Shapley value is a classic notion from game theory, historically used to quantify the contributions of individuals within groups, and more recently applied to assign values to data points when training machine learning models. Despite its foundational role, a key limitation of the data Shapley framework is that it only provides valuations for points within a fixed data set. It does not account for statistical aspects of the data and does not give a way to reason about points outside the data set. To address these limitations, we propose a novel framework — distributional Shapley — where the value of a point is defined in the context of an underlying data distribution. We prove that distributional Shapley has several desirable statistical properties; for example, the values are stable under perturbations to the data points themselves and to the underlying data distribution. We leverage these properties to develop a new algorithm for estimating values from data, which comes with formal guarantees and runs two orders of magnitude faster than state-of-the-art algorithms for computing the (non-distributional) data Shapley values. We apply distributional Shapley to diverse data sets and demonstrate its utility in a data market setting.
Introduction
In the burgeoning "data economy," a fundamental challenge is quantifying the contribution of individual data points to machine learning model performance. The Shapley value, a concept from cooperative game theory, has emerged as a gold standard for this task. However, traditional "Data Shapley" is constrained to fixed, static datasets. This limitation makes it fragile to minor dataset changes and computationally expensive to recompute, hindering its application in dynamic real-world data markets. We address these issues by introducing Distributional Shapley, a framework that shifts the focus from fixed sets to underlying data distributions.
Methodology
Distributional Shapley defines the value of a point $z$ as its expected marginal contribution across all possible datasets of a certain size drawn from a distribution $\mathcal{D}$. This approach offers several key advantages:
- Mathematical Reformulation: We prove that the distributional value is equivalent to the expected marginal improvement a point provides when added to a set of i.i.d. samples of random size. This allows for an unbiased estimator that does not require fixed sets.
- Stability Guarantees: If a learning algorithm is "stable" (small changes in input lead to small changes in output), then the Distributional Shapley values are also stable under perturbations and distribution shifts.
- FAST-$\mathcal{D}$-SHAPLEY Algorithm: To achieve computational feasibility, we introduce two optimizations:
- Subsampling & Interpolation: Since similar points should have similar values (Lipschitz stability), we valuate a small subset of points and use a regression model to "fill in the blanks" for the rest.
- Importance Sampling: We bias sampling toward smaller dataset sizes, where a single data point's marginal contribution is more pronounced and easier to measure, significantly reducing the number of model trainings required.
Experimental Evaluation
We evaluated the framework on several diverse real-world datasets, including the UK Biobank (genotypic and phenotypic data for breast cancer prediction), Adult Income (census data), and Diabetes130 (clinical records).
Efficiency and Fidelity
The FAST-$\mathcal{D}$-SHAPLEY algorithm achieved a 100x to 500x speedup over previous methods like TMC-Shapley. For example, valuating the entire CIFAR-10 dataset—previously considered prohibitively expensive—became feasible. Despite these speedups, the estimated values remained highly correlated with the "true" values computed via exhaustive methods, often achieving rank correlations near or above 0.9.
Data Filtering and Utility
In "point removal" experiments, we demonstrated that removing the highest-valued points identified by our algorithm caused a much sharper drop in model accuracy compared to removing points at random. This confirms that the algorithm correctly identifies the most influential data points for the predictive task.
Discussion and Future Work
By moving from a fixed set to a distribution, data valuation becomes an intrinsic property of the datum itself. This perspective helps solve the "Buyer-Seller" paradox in data markets: a seller can provide a "price list" based on a general distribution that remains valid for a buyer's specific, but similar, data.
While promising, the framework currently requires a pre-defined learning algorithm and performance metric; switching these requires re-estimation. Future work will focus on ensuring that revealing a data point's value does not leak sensitive information about the rest of the training set, potentially integrating differential privacy into the valuation process.
Summary updated