QuadraSHAP: -Exact Shapley Values for Product Games in Logarithmic Parallel Time
Abstract
We introduce QuadraSHAP, a method for -exact Shapley computation in product games, cooperative games whose coalition values factorize multiplicatively across players. Given a tolerance , our method determines a sufficient computational budget before evaluation, guaranteeing an absolute attribution error of at most for every feature in exact arithmetic. By extending to weighted sums of product games, the framework supports baseline and empirical interventional attribution across a broad class of models, including log-link regression models, Cox proportional-hazards models, odds-scale classifiers, product-kernel machines, and tree-based models. For a -player product game, we replace the exponentially large coalition sum by a one-dimensional integral of a polynomial of degree at most . Gauss–Legendre quadrature with nodes therefore recovers exact Shapley values when . For given positive tolerances, we derive a computable, factor-dependent error bound that decays geometrically in and yields a sufficient node budget for the prescribed tolerance. Efficient evaluation at scale is enabled by sharing computations across features and evaluating products in log-space with sign tracking, mitigating intermediate overflow and underflow. Given the quadrature rule, computing all attributions requires work per product game, compared with for direct coalition summation, and admits parallel time with sufficient processors. On a survival analysis problem with features, the exact quadrature configuration computes all feature attributions in approximately five minutes of GPU evaluation per explanation, at a scale where exhaustive coalition enumeration is infeasible. Explicit error control enables a further reduction: setting selects a smaller, theoretically certified quadrature budget and reduces the mean evaluation time to seconds per explanation. These results demonstrate scalable attribution with explicit error control and motivate application of low-latency explanations for real-time safety-critical decision support. Code is available at https://anonymous.4open.science/r/quadrashap-28D7.
Then back it, or bet against it.
Related papers
Open the market on this paper to see 7 more related papers.