CC-SHAP: Fast Shapley Attribution
- The paper introduces a budgeted CC-SHAP method that selects top-k contributive cooperators using second-order gradient interactions to efficiently approximate Shapley values.
- It reduces the exponential complexity of feature coalition enumeration to O(M·N) evaluations by focusing on the most influential feature interactions while maintaining error bounds.
- Empirical evaluations on datasets like Census Income, German Credit, and Criteo CTR demonstrate that CC-SHAP outperforms Kernel- and permutation-based methods in both accuracy and speed.
Searching arXiv for papers on CC-SHAP and related terminology. CC-SHAP is a fast Shapley-value estimation method for deep neural network explanations based on selecting a small set of feature-specific “contributive cooperators,” thereby avoiding enumeration of all possible input feature coalitions. In the original paper, the method is named SHEAR and is presented as an acceleration strategy for Shapley explanation in DNNs under a fixed evaluation budget; the core idea is to use second-order cross-feature information to retain only the most relevant cooperative interactions for each explained feature (Wang et al., 2022).
1. Problem setting and nomenclature
Shapley values provide an additive attribution of a model prediction to input features, but their direct computation requires enumeration over all subsets of features, which induces exponentially growing complexity. CC-SHAP addresses this bottleneck by replacing full coalition enumeration with a restricted coalition family tailored separately for each feature. The restriction is not arbitrary: it is guided by a feature-interaction quantity derived from mixed second derivatives of the DNN value function.
In the source paper, the method is called SHEAR, whereas the designation CC-SHAP refers to the same contributive-cooperator mechanism summarized under the name “contributive cooperator selection.” The setting assumes a differentiable DNN value function on feature set , an instance , and a reference or baseline . The objective is to approximate each feature attribution accurately while using only total model evaluations (Wang et al., 2022).
2. Contributive cooperators and cross-contribution
A contributive cooperator for feature is a feature whose joint second-derivative with is large. The paper formalizes this by the cross-contribution
This quantity measures how strongly 0 and 1 “cooperate.” The approximation strategy is then to choose, for each feature 2, a subset 3 consisting of the top-4 features 5 ranked by 6. Those selected features are the contributive cooperators (Wang et al., 2022).
The construction is explicitly local to feature 7. Rather than seeking one global coalition basis for all explanations, CC-SHAP assigns each explained feature its own restricted cooperative neighborhood. This matters because Shapley interactions are generally heterogeneous across features: a feature that is jointly important with one subset of variables need not interact strongly with another. A plausible implication is that the method allocates computational budget where interaction structure is most consequential for the specific attribution being estimated.
The paper further derives the practical selection rule from an approximation of an error-control coefficient: 8 which leads directly to the use of 9 as a one-point proxy for the importance of keeping feature 0 in the coalition family for feature 1.
3. Shapley chain rule and approximation objective
The theoretical basis of CC-SHAP is a Shapley chain rule stating that
2
where
3
and
4
This identity expresses the effect of removing a feature 5 from the coalition universe of feature 6 in terms of a second-order interaction term plus higher-order infinitesimals (Wang et al., 2022).
From this, the paper derives the error bound
7
with
8
By repeatedly removing all features not retained in a chosen subset 9, the summary gives
0
This yields the coalition-selection objective
1
Equivalently, CC-SHAP minimizes the neglected interaction mass by preserving the 2 strongest cooperators. The theoretical interpretation is direct: the residual approximation error is controlled by the omitted cross-contributions. The paper also states that as 3 increases the upper bound decays to zero, and when 4 one recovers the exact Shapley (Wang et al., 2022).
4. Algorithmic workflow and computational profile
The algorithm takes as input a DNN 5, an instance 6, a baseline 7, and a budget 8 of total evaluations. In the algorithm summary, one sets 9; in the practical guidance, the recommendation is 0. For each feature 1, the method proceeds in three main steps (Wang et al., 2022).
First, it computes 2 for every 3. The summary notes that one backward pass per feature can yield all 4. Second, it selects the top-5 features by 6 to form 7, using a greedy sort of complexity 8. Third, it estimates 9 by enumerating all 0 coalitions of 1, while handling all other features with antithetic sampling.
Let 2 be all subsets of 3. Pair each 4 with 5 and its antithetic complement in 6. The attribution estimate is
7
where 8 are the Shapley weights restricted to 9. This step costs 0 forward passes.
The summary reports the per-feature complexity as one backward pass 1 plus 2 forwards 3, with overall sequential cost
4
In condensed form, the method reduces the 5 blowup of exact Shapley to 6 evaluations by combining cross-gradient-based cooperator selection with a small 7 enumeration augmented by antithetic sampling (Wang et al., 2022).
5. Empirical evaluation
The empirical study covers three datasets: Census Income, German Credit, and Criteo CTR. Census Income contains 5 continuous and 8 categorical features with train/val/test split 8. German Credit contains 7 continuous and 9 categorical features with split 9. Criteo CTR contains 13 continuous and 26 one-hot features with split 0. The models are a 3-layer MLP with hidden size 64 and ReLU for Census and German, trained with Adam at learning rate 1, and DeepFM with embedding dimension 32 for Criteo, trained with Adam at learning rate 2 (Wang et al., 2022).
The baselines are Kernel-SHAP (KS), KS-Welford (KS-WF), KS-Pair, Permutation Sampling (PS), and Antithetic Permutation (APS). Evaluation uses five metrics:
- Absolute Error (AE): 3 against true brute-force Shapley.
- Ranking Accuracy (ACC): agreement of sorted attributions with the ground-truth ranking.
- Faithfulness: Pearson correlation between 4 and 5.
- Monotonicity: fraction of forward-add steps that preserve decreasing contribution order.
- Throughput: number of test instances divided by total explanation time.
The reported findings are consistent across these criteria. For fixed 6, CC-SHAP attains the lowest AE and highest ACC. It also yields the best faithfulness and monotonicity curves. In throughput-versus-ACC trade-off, it lies on the Pareto-front and outperforms all baselines. The summary therefore characterizes the method as outperforming state-of-the-art Kernel- and Permutation-based approximations in both accuracy and speed without sacrificing faithfulness (Wang et al., 2022).
6. Practical use, scope, and relation to adjacent SHAP lines
The practical guidance is budget-centric. One chooses an evaluation budget 7, sets 8, and uses the corresponding 9 restricted enumeration. The summary states that increasing 0 improves accuracy roughly exponentially because 1. Small 2, such as 3–4, still captures most salient cooperations, whereas larger 5 implies larger 6, more cooperators, and an error bound that decays toward zero. Proposed extensions include using second-order cross-contributions beyond a single point, adaptively selecting 7 per feature based on a desired local error bound, extending to group interactions through higher-order Shapley chains, and parallelizing across features or antithetic coalitions on multi-GPU or distributed backends (Wang et al., 2022).
The method belongs to the broader literature on reducing the computational burden of SHAP, but its mechanism is specific. It is not an exact SHAP algorithm; rather, it is a budgeted approximation scheme with provable error control based on featurewise second-order cooperation. This contrasts with work on exact tractability for specific model classes. For example, exact SHAP for arbitrary tensor networks is stated to be 8-hard, whereas for Tensor Trains the problem lies in 9, and decision trees, ensembles, linear models, and linear RNNs inherit that 0 exact algorithm through TT reductions (Marzouk et al., 24 Oct 2025). That comparison places CC-SHAP in the regime where exact SHAP remains intractable or impractical and selective approximation is the operative strategy.
A separate source of ambiguity is nomenclature. The label cc-Shapley is also used by Martin and Haufe for causal context Shapley, an interventional modification of observational Shapley values that uses a structural causal model and do-calculus to eliminate collider-bias-induced spurious associations (Martin et al., 23 Feb 2026). That method is conceptually different from CC-SHAP/SHEAR. The former changes the semantics of the value function by moving from conditioning to intervention; the latter keeps the Shapley target fixed and accelerates its computation via contributive cooperator selection. This distinction is essential because the two methods address different failure modes: one concerns computational complexity, the other causal interpretability.