[Paper Review] Measuring the Effect of Training Data on Deep Learning Predictions via Randomized Experiments
This paper introduces Average Marginal Effect (AME), a new data attribution metric rooted in causal inference that quantifies each training data point's contribution to a model's behavior. Using LASSO regression on randomized submodel evaluations, the method estimates AME efficiently in O(k log N) training runs under sparsity, significantly improving prior Shapley value estimators and enabling practical detection of data poisoning and model behavior explanation.
We develop a new, principled algorithm for estimating the contribution of training data points to the behavior of a deep learning model, such as a specific prediction it makes. Our algorithm estimates the AME, a quantity that measures the expected (average) marginal effect of adding a data point to a subset of the training data, sampled from a given distribution. When subsets are sampled from the uniform distribution, the AME reduces to the well-known Shapley value. Our approach is inspired by causal inference and randomized experiments: we sample different subsets of the training data to train multiple submodels, and evaluate each submodel's behavior. We then use a LASSO regression to jointly estimate the AME of each data point, based on the subset compositions. Under sparsity assumptions ($k \ll N$ datapoints have large AME), our estimator requires only $O(k\log N)$ randomized submodel trainings, improving upon the best prior Shapley value estimators.
Motivation & Objective
- To address the challenge of attributing model behavior to individual training data points in deep learning.
- To develop a scalable, principled method for data attribution that overcomes the computational infeasibility of exact Shapley value computation.
- To enable efficient detection of data poisoning and faulty data points through a robust, query-aware metric.
- To extend the framework to hierarchical data sources and control for false positives using knockoffs.
Proposed method
- Propose AME as a causal metric measuring the expected marginal effect of adding a data point to random subsets of training data.
- Sample subsets of training data uniformly and train corresponding submodels to evaluate their behavior on a given query.
- Use LASSO regression to jointly estimate AME values for all data points based on subset compositions and submodel outputs.
- Leverage sparsity assumptions (k ≪ N) to reduce required submodel evaluations to O(k log N), improving prior state-of-the-art.
- Extend the estimator to control false positive rates using the knockoffs method for data poisoning detection.
- Support hierarchical data source estimation by modeling nested contributions, enabling joint analysis of groups and individual points.
Experimental results
Research questions
- RQ1How can we efficiently estimate the contribution of individual training data points to a deep learning model’s behavior?
- RQ2Can we achieve a better computational rate than existing Shapley value estimators under sparsity assumptions?
- RQ3How can we control false positive rates when detecting data poisoning using data attribution?
- RQ4Can the method be extended to analyze contributions of grouped data sources, such as users or time windows?
Key findings
- The proposed AME estimator requires only O(k log N) submodel trainings under sparsity, significantly improving upon the prior O(N log log N) rate for Shapley value estimation.
- When subsets are sampled uniformly, AME reduces to the Shapley value, making the method a new, more efficient estimator for Shapley values.
- The method enables accurate detection of data poisoning with controlled false positive rates using the knockoffs procedure.
- Empirical evaluation shows AME outperforms existing methods in data poisoning detection, prediction explanation, and Shapley value estimation.
- The hierarchical extension successfully identifies both influential data sources and the specific data points driving their contribution.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.