Regression-adjusted Monte Carlo Estimators for Shapley Values and Probabilistic Values
R. Teal Witter, Yurong Liu, Christopher Musco
TL;DR
Regression MSR tackles efficient estimation of probabilistic values, including Shapley, Beta Shapley, and weighted Banzhaf, by blending Monte Carlo sampling with regression-based variance reduction. It learns a function $f$ to approximate the value function $v$, yielding an unbiased estimator $\tilde{\boldsymbol{\phi}}$ via $\tilde{\phi}_i = \phi_i(f) + \frac{1}{|\mathcal S|} \sum_{S\in \mathcal S} [v(S) - f(S)] \frac{p_{|S|-1}\mathbf{1}[i\in S] - p_{|S|}\mathbf{1}[i\notin S]}{\mathcal D(S)}$, while retaining the Maximum Sample Reuse property. The framework supports linear and tree-based models (Linear MSR, Tree MSR), and provides a general, unbiased approach with a probabilistic-value-specific error bound. Empirical results across eight datasets show state-of-the-art accuracy, with Tree MSR delivering large gains over prior estimators for Shapley and broader probabilistic values, and robustness to noisy access to the value function. The work contributes a flexible, reproducible method that scales to realistic model explanations and data attribution tasks.
Abstract
With origins in game theory, probabilistic values like Shapley values, Banzhaf values, and semi-values have emerged as a central tool in explainable AI. They are used for feature attribution, data attribution, data valuation, and more. Since all of these values require exponential time to compute exactly, research has focused on efficient approximation methods using two techniques: Monte Carlo sampling and linear regression formulations. In this work, we present a new way of combining both of these techniques. Our approach is more flexible than prior algorithms, allowing for linear regression to be replaced with any function family whose probabilistic values can be computed efficiently. This allows us to harness the accuracy of tree-based models like XGBoost, while still producing unbiased estimates. From experiments across eight datasets, we find that our methods give state-of-the-art performance for estimating probabilistic values. For Shapley values, the error of our methods can be $6.5\times$ lower than Permutation SHAP (the most popular Monte Carlo method), $3.8\times$ lower than Kernel SHAP (the most popular linear regression method), and $2.6\times$ lower than Leverage SHAP (the prior state-of-the-art Shapley value estimator). For more general probabilistic values, we can obtain error $215\times$ lower than the best estimator from prior work.
