SHAP (SHapley Additive exPlanations)

A unified framework for interpreting model predictions based on Shapley values from cooperative game theory, attributing the contribution of each feature to a particular prediction.

Method

Shapley values average marginal contributions of a feature across all possible coalitions. KernelSHAP approximates them model-agnostically; TreeSHAP computes exact values efficiently for tree ensembles; DeepSHAP adapts DeepLIFT ideas. Values are additive and satisfy desirable axioms (local accuracy, missingness, consistency).

Applications

Credit decision explanations, insurance pricing transparency, regulatory compliance (fair lending), model debugging, feature importance analysis, medical decision support.

Advantages

Strong theoretical foundation; consistent and locally accurate; model-agnostic options; excellent software ecosystem (SHAP library); widely accepted in industry.

Limitations

Computational cost for exact values on complex models; dependence on background dataset choice; can be misinterpreted as causal; correlated features complicate attribution; global interpretations require aggregation. SHAP exactness depends on chosen background/feature-perturbation semantics; attributions are not causal effects.

Alternatives

LIME, Integrated Gradients, Partial Dependence / ICE plots, permutation importance, counterfactual explanations, attention weights (when available). Top Algorithms & Models — Part 2 (101–200) Research Compendium

Editorial clarification

SHAP exactness depends on chosen background/feature-perturbation semantics; attributions are not causal effects.

Sources

Educational reference only, not professional advice.

All algorithms