Towards Generalizable Data Valuation: Learning an End-to-end Deep Model to Compute Shapley Values
Zhiyu Chen, Jicong Fan
NeurIPS page · OpenReview · Open on the map
Category: Causality, Privacy & Learning Theory › Shapley Value Estimation and Attribution · Type: new method · Keywords: data valuation, Shapley values, amortised learning, graph neural network, dataset representation
Summary
GenSHAP is a graph-based amortised deep model that predicts Data Shapley values for any classification dataset in seconds, dramatically speeding up data valuation.
Explained to a 5-year-old
Some people want to know which pieces of data are most useful for teaching a computer. Figuring that out is usually very slow and takes a lot of time. The new idea makes a fast shortcut that learns from many examples to guess the useful data. It looks at how data points are related to each other, like a big puzzle. This helps decide which data to keep or discard quickly, saving a lot of time.
Explained to a 5-year-old, longer
When we teach a computer, we give it lots of examples. Sometimes we wonder which examples are the most helpful. A special way to measure helpfulness is called Data Shapley. The usual way to calculate Data Shapley is super slow, like walking a long road. The paper creates a fast shortcut that learns from many examples how to guess helpfulness. It looks at how the examples relate to each other, like a network of friends. By seeing these connections, the model can understand the value of each example without starting over. It also adds a small check that makes the guess even more accurate. This new method can tell you which data to keep and which to drop in just a few seconds. It works for many different kinds of data, not just one type. The result is that people can pick good data quickly, saving hours of work. The code is shared so others can try it out and help improve it.
For a technical reader
The approach turns data valuation into a machine-learning problem, training a model once that can predict each data point’s contribution to model performance. It represents the dataset as a graph where each example is a node and edges capture relationships between examples, then uses a hybrid graph neural network and transformer to capture both local and global patterns. An additional low-budget probing step refines the predictions, giving high-fidelity estimates without the need for expensive retraining. In practice, this reduces valuation time from hours to seconds while still approximating the gold-standard permutation-Shapley values. The system is open-sourced, allowing engineers to integrate fast data selection into their pipelines for tasks like data cleaning and subset selection.
Problem
Computing Data Shapley values for datasets is computationally expensive, requiring exponential time and costly model retraining for each dataset. This limits practical use of data valuation in real-world applications.
Method
The approach formulates data valuation as a transferable learning problem, using a relation-based dataset representation and a hybrid GIN-Transformer architecture to capture inter-sample dependencies. It learns an amortised deep model that can predict Shapley values for unseen datasets in a single forward pass, and a variant adds low-budget marginal contribution probes for higher fidelity.
Results
The approach approximates reference Shapley estimates accurately and reduces valuation time from hours to seconds.
Contributions
It introduces a graph-based amortised learning framework that transfers data valuation across datasets and a low-budget probing extension for higher fidelity. This enables fast, scalable data valuation without retraining models for each dataset.
Practical relevance
The method enables practitioners to perform data valuation quickly and at scale, facilitating efficient data selection and cleaning in real-world machine learning pipelines.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction