AI
New Algorithm Makes Shapley Value Computation 50% More Accurate With Far Fewer Evaluations
Researchers introduce a lightweight modification to Kernel SHAP that achieves provably accurate feature attribution using only logarithmic model evaluations.
Researchers have developed a new approach to computing Shapley values—a central technique for explaining machine learning model predictions—that dramatically cuts computational cost while improving accuracy. The advance addresses a longstanding bottleneck in explainable AI.
The Challenge with Shapley Values#
Shapley values, borrowed from cooperative game theory, have become essential for interpreting how machine learning models arrive at their decisions. By assigning credit to individual input features, they help practitioners understand model behavior and debug errors. However, computing exact Shapley values requires an exponential number of model evaluations—specifically $O(2^n)$ for a model with $n$ features, making the approach impractical for high-dimensional data.
To work around this limitation, approximation algorithms have gained widespread adoption, with Kernel SHAP being among the most popular due to its model-agnostic nature and strong practical performance. Yet despite its effectiveness, Kernel SHAP lacked rigorous theoretical guarantees about the quality of its approximations.
Introducing Leverage SHAP#
The new method, called Leverage SHAP, is a targeted refinement of Kernel SHAP that leverages insights from active learning and regression theory. By employing leverage score sampling—a statistical technique for intelligently selecting which features to evaluate—the approach achieves provably accurate Shapley estimates using only $O(n\log n)$ model evaluations. This represents a polynomial rather than exponential scaling with problem size.
Beyond the theoretical guarantee, empirical testing reveals practical benefits: Leverage SHAP achieves approximately 50% error reduction compared to the highly optimized Kernel SHAP implementation available in the popular SHAP library [Lundberg & Lee, 2017].
Why It Matters#
Reducing computational complexity while improving accuracy has direct implications for practitioners working with large-scale models. The approach makes Shapley-based explanations more feasible for datasets with many features, potentially enabling broader adoption of principled explainability methods in production machine learning systems.

