The Price of Exact Shapley Values: Lower Bounds by Interaction Order, Deterministic Rules, and ArraySHAP

Gonzalo Uribarri, Antonis MatakosarXiv 2026

TL;DR

Computing exact Shapley values normally requires evaluating all $2^n$ coalitions of $n$ features—an impossible price tag for modern models. This paper establishes the exact minimum number of evaluations needed when only small groups of features interact, and introduces ArraySHAP, a deterministic, tuning-free rule that is exact up to 4-way interactions and achieves 2.8 to over 3,000 times lower squared error than 13 popular estimators when larger groups interact.

What Problem Does This Paper Address?

Shapley values explain a model's prediction by assigning each feature its fair share of the output. The catch is combinatorial: for $n$ features, exact values require evaluating the model on all $2^n$ possible feature subsets (coalitions). With 101 features, that is $2.5 \cdot 10^{30}$ evaluations.

In practice, however, many models do not have all $n$ features interacting at once. A model's interaction order is the size of the largest group of features that together add something to the output beyond what their subgroups add. Shallow boosted trees of depth $d$, for instance, have interaction order at most $d$ (when explained before the link function).

The authors ask two fundamental questions for any method that only sees a model through its coalition values (even adaptive or randomized methods):

  1. What is the true price of exactness? How many coalition evaluations are strictly necessary when the interaction order is at most $t$?
  2. Can we hit that floor—and stay accurate beyond it? How do we build deterministic rules that match the lower bound and still perform well when 5 or more features interact?

Methods

The paper's approach rests on viewing each feature's Shapley value as the area under a 1D curve (Owen's integral): the expected gain when feature $i$ joins a random coalition where every other feature is present with probability $p \in [0, 1]$. On a model of interaction order $t$, this profile is a polynomial of degree at most $t-1$.

Occupation's profile and its area
  • Lower Bounds (New for $t \ge 3$): Using a moment-matrix argument, the authors prove that exact Shapley values require at least $2n$ evaluations for order 2 (classical), $\approx n^2/2$ for order 3, and $\approx n^2$ for order 4. Exact pairwise interaction indices sit one rung higher, costing what values cost one order up ($\approx n^3/6$ for order 4).
  • End-Layer Rules $H(a, b)$ (New for $a+b \ge 3$): These closed-form quadrature rules evaluate only coalitions with at most $a$ features present or $b$ features absent, reading the profile's heights and slopes at $p=0$ and $p=1$. They are exact on order $a+b$ and match the lower bounds up to a $1 + O(1/n)$ factor.
  • ArraySHAP (New): For unknown or higher interaction orders, ArraySHAP combines the end layers of $H(2,2)$ with one shared orthogonal array of strength 5—a fixed, balanced table of coalitions that estimates the profile's midpoint ($p=1/2$) for all features simultaneously. A simple shift (subtracting $1/n$ of the efficiency gap) ensures the values sum to the prediction minus the average prediction. ArraySHAP is deterministic, requires no sampling or regression, and is exact up to order 4.
One explanation and its price at n=14

Datasets

The authors evaluate against exact ground-truth Shapley values across four suites:

  • Tree benchmark: 8 tabular datasets from the shapiq benchmark (8–101 features) using boosted trees (depths 2, 3, 4, 6) and random forests.
  • Black-box & large black-box benchmarks: Neural networks, RBF-kernel SVMs, 10-nearest-neighbour models, and polynomial controls (12–16 features, all $2^n$ coalitions evaluated), plus SVMs and block-additive networks up to 101 features.
  • Text & Image classifiers: DistilBERT on 60 IMDb sentences (14 words) and a Vision Transformer on 90 Imagenette photographs (16 regions), plus 9 games on Qwen3-VL-2B-Instruct and Qwen3.5-4B.
  • Controlled synthetic games: 1,100 games (16–65 features) adding controlled higher-order residuals of size $k=4$ to $24$ to a low-order base.

Key Insights and Ideas

  • Adaptivity doesn't help: Even a method that chooses its next coalition based on all previous outputs cannot beat the $2n$, $\approx n^2/2$, and $\approx n^2$ lower bounds.
  • One shared array beats per-feature arrays: The authors show that the recent fractional-factorial rule FFD-RD is actually Simpson's rule with a separate array per feature. Sharing one strength-5 array and adding end-layer slopes makes ArraySHAP dramatically more accurate.
  • Free interaction breakdowns: Without any extra evaluations, ArraySHAP's end-layer coalitions split each feature's Shapley value into what it does alone, in pairs, and in larger groups, yield pairwise interaction indices exact up to order 3, and trigger a diagnostic check whenever 5+ features interact.

Key Results

  • Exactness: Inside their classes, $H(2,1)$, $H(2,2)$, and ArraySHAP returned exact values on all 480 (depths 2–3) and 630 (depths 2–4) tree explanations.
  • Tabular accuracy at equal cost: Outside its class (5+ interacting features), ArraySHAP beat the best of 13 sampling and regression estimators (including KernelSHAP, Leverage SHAP, RegressionMSR, kADD-SHAP, PolySHAP, OddSHAP, and SVARM) in all 32 tabular settings (12–101 features), with squared error 2.8 to over 3,000 times smaller.
  • Text, image, and interactions: ArraySHAP's squared error was 6.7 times smaller on the text classifier and 2.0 times smaller on the image classifier. Its pairwise interaction indices had 8 to 740 times smaller squared error than shapiq's best estimator.

Limitations and Future Work

  • Rough accuracy: If ~10% relative error is acceptable, sampling and regression estimators are just as cheap as any deterministic rule (in 54 of 58 tabular settings).
  • Very large groups & thresholds: On games dominated by interactions of 15+ features or threshold functions, the best baseline outperforms ArraySHAP.
  • Noisy outputs at large $n$: Beyond ~58 features, deterministic rules amplify independent noise in coalition values.
  • Open questions: The authors highlight whether the lower bounds are attained for infinitely many $n$ at order $\ge 3$, why ArraySHAP remains so accurate at orders 7+, and whether an estimator built on exact end-layer readings can beat ArraySHAP below $n^2$ evaluations.

Summary updated

BibTeX
@misc{uribarri2026price,
  author = {Gonzalo Uribarri and Antonis Matakos},
  title = {{The Price of Exact Shapley Values: Lower Bounds by Interaction Order, Deterministic Rules, and ArraySHAP}},
  year = {2026},
  eprint = {2612.00325},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.00325},
}
Figure