Papers
Topics
Authors
Recent
Search
2000 character limit reached

ProxySHAP: Hybrid Estimator for Feature Interactions

Updated 4 July 2026
  • ProxySHAP is a hybrid estimator that combines decision-tree proxies with an optional residual correction to approximate higher-order feature interactions.
  • It generalizes interventional TreeSHAP by enabling exact, polynomial-time extraction of cardinal-probabilistic interaction indices such as Shapley and Banzhaf.
  • Empirical evaluations across diverse datasets show ProxySHAP outperforms competing methods in speed and accuracy, guiding its use for singleton and pairwise interactions.

Searching arXiv for the main paper and cited related work to ground the article with current identifiers. arxiv_search(query="Proxy-Based Approximation of Shapley and Banzhaf Interactions", max_results=5) arxiv_search(query="ProxySPEX shapley interactions Butler 2025", max_results=10) arxiv_search(query="SHAP-IQ Fumagalli 2023 interactions", max_results=10) arxiv_search(query="KernelSHAP-IQ Fumagalli 2024", max_results=10) ProxySHAP is a hybrid estimator for higher-order feature interactions that combines a decision-tree proxy model with an optional residual correction term to approximate Shapley and Banzhaf interactions, as well as other cardinal-probabilistic interaction indices, in modern machine learning applications. Its central objective is to reconcile the high sample efficiency of tree-based proxy models with a principled path to consistency via residual correction. The method is introduced in “Proxy-Based Approximation of Shapley and Banzhaf Interactions” (Thies et al., 21 May 2026), which also derives a polynomial-time generalization of interventional TreeSHAP for exact interaction extraction on tree ensembles, analyzes the variance behavior of Maximum Sample Reuse (MSR), and reports extensive benchmarking across tabular, vision, language, graph, and vision–language settings.

1. Formal interaction framework

ProxySHAP is formulated on a cooperative-game representation of feature attribution. Let N={1,,n}N=\{1,\dots,n\} be the set of players, identified with features, and let a value function ν:2NR\nu:2^N\to\mathbb{R} assign a real score to each coalition SNS\subseteq N (Thies et al., 21 May 2026). For any SNS\subseteq N and TNST\subseteq N\setminus S, the discrete derivative of ν\nu at TT with respect to SS is

ΔSν(T):=LS(1)SLν(TL).\Delta_S \nu(T) := \sum_{L\subseteq S} (-1)^{|S|-|L|}\cdot \nu(T\cup L).

This discrete derivative is the interaction quantity from which the relevant indices are assembled. A cardinal-probabilistic interaction index with weights pts(n)p_t^s(n) is defined by

ν:2NR\nu:2^N\to\mathbb{R}0

Two special cases are emphasized.

Index Weight specification
Shapley Interaction Index (SII) ν:2NR\nu:2^N\to\mathbb{R}1
Banzhaf Interaction Index (BII) ν:2NR\nu:2^N\to\mathbb{R}2

The same interaction index can be expressed through the Möbius transform. Defining ν:2NR\nu:2^N\to\mathbb{R}3, one has

ν:2NR\nu:2^N\to\mathbb{R}4

where the ν:2NR\nu:2^N\to\mathbb{R}5-weights are obtained from the ν:2NR\nu:2^N\to\mathbb{R}6-weights by Möbius inversion (Thies et al., 21 May 2026). This formulation is important because it clarifies that ProxySHAP is not restricted to one attribution semantics: it targets a family of interaction indices, with Shapley and Banzhaf as the principal instances.

2. Proxy model and exact extraction on tree ensembles

The proxy stage fits a decision-tree ensemble, such as XGBoost or LightGBM, to sampled coalitions ν:2NR\nu:2^N\to\mathbb{R}7 (Thies et al., 21 May 2026). The fitted tree ensemble ν:2NR\nu:2^N\to\mathbb{R}8 then serves as a surrogate value function on which interaction indices can be computed exactly.

For a single tree surrogate, each leaf ν:2NR\nu:2^N\to\mathbb{R}9 has prediction SNS\subseteq N0, and the path to that leaf induces two sets: SNS\subseteq N1, the features that must be present, and SNS\subseteq N2, the features that must be absent. The surrogate takes the form

SNS\subseteq N3

By linearity of SNS\subseteq N4, the extraction problem reduces to computing the interaction index on indicator functions of the form SNS\subseteq N5. Proposition 1 gives the closed form

SNS\subseteq N6

with

SNS\subseteq N7

The extraction algorithm iterates over interactions of interest and over leaves, adding the corresponding SNS\subseteq N8 contribution whenever SNS\subseteq N9 (Thies et al., 21 May 2026). The resulting complexity is SNS\subseteq N0 per tree, equivalently SNS\subseteq N1 total for the ensemble, which is polynomial in tree depth rather than exponential SNS\subseteq N2 as in Fourier-based methods. In the terms used by the paper, this is a polynomial-time generalization of interventional TreeSHAP for Shapley, Banzhaf, and other indices.

A common misunderstanding is to view the tree proxy as merely heuristic compression. The closed-form extraction result shows that, once the proxy is fitted, interaction computation on the surrogate is exact for the surrogate itself, not a Monte Carlo approximation of the surrogate (Thies et al., 21 May 2026).

3. Residual correction and the role of MSR

ProxySHAP augments the tree proxy with an optional residual correction based on the linearity decomposition

SNS\subseteq N3

Here, the tree proxy captures the main interaction structure, while the residual term is estimated with Maximum Sample Reuse (MSR), following Fumagalli et al. ’23 as summarized in the ProxySHAP paper (Thies et al., 21 May 2026). Given SNS\subseteq N4 sampled coalitions SNS\subseteq N5, the MSR estimator for the residual SNS\subseteq N6 is

SNS\subseteq N7

Under leverage sampling,

SNS\subseteq N8

Theorem 3.1 yields the variance bound

SNS\subseteq N9

The sketch given in the paper derives a general variance identity, specializes the TNST\subseteq N\setminus S0-weights and TNST\subseteq N\setminus S1, and bounds the relevant double sums in terms of harmonic numbers for TNST\subseteq N\setminus S2 and polynomial factors for TNST\subseteq N\setminus S3 (Thies et al., 21 May 2026).

The practical conclusion is deliberately qualified. MSR is variance-efficient for singleton effects, but its variance blows up exponentially in interaction order TNST\subseteq N\setminus S4 unless TNST\subseteq N\setminus S5; accordingly, the paper recommends using MSR adjustment only when TNST\subseteq N\setminus S6 or TNST\subseteq N\setminus S7. This directly addresses a frequent misconception that residual correction is uniformly beneficial. For higher-order interactions, especially in high-dimensional games, the correction can worsen the estimate because the variance increase can dominate the reduction in proxy bias (Thies et al., 21 May 2026).

4. Computational profile and comparison with prior estimators

The paper places ProxySHAP against several prior estimators, notably ProxySPEX, KernelSHAP-IQ, and SHAP-IQ (Thies et al., 21 May 2026). For the tree-proxy variant of ProxySHAP, the reported complexity components are:

  • proxy fitting with XGBoost: TNST\subseteq N\setminus S8;
  • exact interaction extraction: TNST\subseteq N\setminus S9;
  • MSR adjustment, if used: ν\nu0.

The total complexity is therefore

ν\nu1

The linear-proxy variant is also described. Fitting a linear model with ν\nu2 features requires ν\nu3 via least squares, with ν\nu4 (Thies et al., 21 May 2026). By contrast, the comparison reported in the paper states that KernelSHAP-IQ, attributed there to Fumagalli et al. ’24, has complexity ν\nu5 per explained point; ProxySPEX, attributed to Butler et al. ’25, uses Fourier extraction with worst-case ν\nu6 per tree and then truncation solving least squares in ν\nu7, where ν\nu8 is often large; and SHAP-IQ, attributed to Fumagalli et al. ’23, has complexity ν\nu9 but high variance.

The significance of this comparison is twofold. First, ProxySHAP’s extraction stage avoids the depth-dependent combinatorial blow-up associated with Fourier-based methods on deep trees. Second, the method does not rely solely on asymptotically favorable scaling: its proxy model is intended to reduce the effective sample requirement before residual correction becomes necessary. This suggests that the method is designed to occupy a middle position between pure sampling estimators and exact but structurally constrained extractors.

5. Empirical evaluation across domains

The empirical study covers 47 datasets (Thies et al., 21 May 2026). The tabular component includes 26 TabArena datasets with TT0 up to approximately TT1 and UCI tasks with TT2. Additional evaluations use synthetic “Local XAI” games on TabPFN and LightGBM, a ViT setting with up to 16 patches, DistilBERT on IMDB, two molecular datasets with GNNs having approximately 30–35 nodes, and a vision–language setting explaining CLIP via FIxLIP.

Approximation quality is measured by relative MSE,

TT3

with lower values better, averaged over 30 explained instances and reported with SEM error bars (Thies et al., 21 May 2026).

The benchmark findings reported in Figures 2 and 3 are specific. ProxySHAP with XGBoost achieves the lowest relative MSE across all budgets and for both second- and third-order Shapley and Banzhaf interactions. In the low-budget regime, TT4–TT5, tree-proxy methods dominate linear baselines and KernelSHAP-IQ. In the high-budget regime, TT6–TT7, MSR adjustment recovers consistency for singleton and pairwise effects when TT8, but for TT9 it often hurts due to variance blow-up unless both SS0 and SS1 are small. The paper further reports that ProxySHAP outperforms ProxySPEX by orders of magnitude in speed, with extraction SS2–SS3 faster, and in error, especially when deep trees are used (Thies et al., 21 May 2026).

The downstream CLIP experiment evaluates pairwise Banzhaf interactions between image and text tokens for SS4–SS5, using AID, defined there as the area between insertion/deletion curves, and SS6 faithfulness. In this setting, ProxySHAP without adjustment Pareto-dominates both the FIxLIP baseline and ProxySPEX over evaluation budgets from SS7 to SS8 CLIP calls (Thies et al., 21 May 2026). This is notable because it moves the discussion from approximation error alone to downstream explainability utility.

6. Contributions, limitations, and practitioner implications

The paper identifies three main contributions (Thies et al., 21 May 2026). The first is ProxySHAP itself: a hybrid estimator combining a tree-based regression proxy with exact polynomial-time extraction of any cardinal-probabilistic interaction index and a situational residual correction via MSR. The second is theoretical: a polynomial-time generalization of interventional TreeSHAP that bypasses the SS9 blow-up, together with formal MSR variance bounds that characterize when residual adjustment is useful. The third is empirical: state-of-the-art approximation quality on 47 datasets, across budgets and domains, with strong performance in both small- and large-budget regimes.

The practitioner guidance in the paper is correspondingly specific. ProxySHAP requires only ΔSν(T):=LS(1)SLν(TL).\Delta_S \nu(T) := \sum_{L\subseteq S} (-1)^{|S|-|L|}\cdot \nu(T\cup L).0 model calls and a standard gradient-boosted tree fit, such as XGBoost, to obtain highly accurate interaction estimates. Tree-proxy extraction is recommended for deep ensembles because it avoids combinatorial blow-up. MSR adjustment is recommended for singleton and pairwise interactions when budget exceeds ΔSν(T):=LS(1)SLν(TL).\Delta_S \nu(T) := \sum_{L\subseteq S} (-1)^{|S|-|L|}\cdot \nu(T\cup L).1, and it is advised to skip it for higher orders or high-dimensional games unless very large ΔSν(T):=LS(1)SLν(TL).\Delta_S \nu(T) := \sum_{L\subseteq S} (-1)^{|S|-|L|}\cdot \nu(T\cup L).2 is available. The paper also states that the method outperforms ProxySPEX, KernelSHAP-IQ, and SHAP-IQ in both speed and accuracy, making large-scale interaction explanations with ΔSν(T):=LS(1)SLν(TL).\Delta_S \nu(T) := \sum_{L\subseteq S} (-1)^{|S|-|L|}\cdot \nu(T\cup L).3 practical (Thies et al., 21 May 2026).

Two limitations are integral to the method rather than peripheral caveats. First, the consistency path provided by residual correction is conditional on a variance regime that is favorable only for low-order interactions or comparatively small ΔSν(T):=LS(1)SLν(TL).\Delta_S \nu(T) := \sum_{L\subseteq S} (-1)^{|S|-|L|}\cdot \nu(T\cup L).4. Second, the performance profile depends on the quality of the fitted tree proxy. A plausible implication is that ProxySHAP is best understood not as a universal replacement for sampling-based estimators, but as a regime-adaptive procedure: exact on the proxy, optionally corrected on the residual, and most effective when the interaction structure is well captured by a tree ensemble while residual variance remains manageable.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to ProxySHAP.