cs.LGApr 9, 2026

Adalina: Adaptive Linear Approximation for the Shapley Value and Beyond

Authors: Weida Li, Yaoliang Yu, Bryan Kian Hsiang Low

Organizations: Department of Computer Science, National University of Singapore, Republic of Singapore · School of Computer Science, University of Waterloo, Canada · Vector Institute, Canada

Abstract

The Shapley value, and its broader family of semi-values, has received much attention in various attribution problems. A fundamental and long-standing challenge is their efficient approximation, since exact computation generally requires an exponential number of utility queries in the number of players nn. To meet the challenges of large-scale applications, we explore the limits of efficiently approximating semi-values under a Θ(n)Θ(n) space constraint. Building upon a vector concentration inequality, we establish a theoretical framework that enables sharper query complexities for existing unbiased randomized algorithms. Within this framework, we systematically develop a linear-space algorithm that requires O(nε2log⁡1δ)O(\frac{n}{ε^{2}}\log\frac{1}δ) utility queries to ensure P(∥φ^−φ∥2≥ε)≤δP(\|\hat{\boldsymbolφ}-\boldsymbolφ\|_{2}\geqε)\leq δ for all commonly used semi-values. In particular, our framework naturally bridges OFA, unbiased kernelSHAP, SHAP-IQ and the regression-adjusted approach, and definitively characterizes when paired sampling is beneficial. Moreover, our algorithm allows explicit minimization of the mean squared error E[∥φ^−φ∥22]\mathbb{E}[\|\hat{\boldsymbolφ}-\boldsymbolφ\|_{2}^{2}] for each specific utility function. Accordingly, we introduce the first adaptive, linear-time, linear-space randomized algorithm, Adalina, that theoretically achieves improved mean squared error. All of our theoretical findings are experimentally validated. Our code is available at https://github.com/watml/adalina.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. ShaplEIG: Bayesian Experimental Design for Shapley Value Estimation

    Jun 1, 2026David Rundel, Fabian Fumagalli, Maximilian Muschalik +2Shapley Value AttributionAdaptive Sampling

  2. Regression-adjusted Monte Carlo Estimators for Shapley Values and Probabilistic Values

    Jun 13, 2025R. Teal Witter, Yurong Liu, Christopher MuscoShapley Value AttributionValue Function Estimation