May 7, 2026J/K move · Enter open · S save
Majid Mohammadi, Grigory Reznikov, Pavel Sinitcyn, Krikamol Muandet+1
AI Technology for Life, Information and Computing Sciences, Utrecht University, The Netherlands · Biomolecular Mass Spectrometry and Proteomics, Pharmaceutical Sciences, Utrecht University, The Netherlands · Rational Intelligence Lab, CISPA Helmholtz Center for Information Security, Germany+1
We study the efficient computation of Shapley values for
product games -- cooperative games in which the coalition value factorizes as a product of per-player terms. Such games arise in machine learning explainability whenever the value function inherits a multiplicative structure from the underlying model, as in kernel methods with product kernels and tree-based models. Our key result is that the Shapley value of each player in a product game admits an exact one-dimensional integral representation: the weighted sum over exponentially many feature coalitions collapses to the integral of a degree-
(d−1) polynomial over
[0,1], where
d is the total number of features. This yields a Gauss--Legendre quadrature scheme that is
provably exact whenever the number of nodes satisfies
mq≥⌈d/2⌉, and otherwise provides a
near-exact approximation with error provably decaying geometrically in
mq. In practice, a few hundred nodes can achieve highly precise estimates even with thousands of features. Building on this formulation, we derive a numerically stable implementation via log-space evaluation, together with an efficient parallel implementation based on associative scan primitives that achieves
O(dmq) total work and
O(logd) parallel time. Experiments show that QuadraSHAP is the fastest numerically stable method across all tested configurations.