SHAP Values
SHAP values are a way to explain the prediction of a machine learning model by estimating how much each input feature contributed to that prediction. The approach borrows an idea from game theory, treating each feature like a player in a game and assigning it a share of the model's output based on its contribution. Positive SHAP values push a prediction higher, while negative values push it lower, helping non-experts see which inputs mattered most for a given result.
SHAP (SHapley Additive exPlanations) applies the Shapley value, a solution concept introduced by Shapley (1953) in cooperative game theory for fairly distributing a total payout among players according to their contributions, to attribute a model's prediction across its input features. Each feature is treated as a 'player,' and its SHAP value represents its marginal contribution to the prediction relative to a baseline, with the attributions typically summing (additively) to the difference between the prediction and that baseline. In common explanatory visualizations, each Shapley value acts as a directional force that increases (positive) or decreases (negative) the prediction, and these forces balance to produce the final output. As commonly framed, SHAP is a widely used post-hoc feature-attribution method; note that the evidence provided does not specify computational details, approximation methods, or limitations, so those aspects are out of scope for this entry.
Why it matters
SHAP values matter because many machine learning models used in regulated settings produce predictions that are difficult to explain in human terms. When a model influences a consequential decision, stakeholders often need to understand which inputs drove a particular outcome. SHAP provides a structured, feature-level attribution that can help translate an otherwise opaque prediction into a set of contributions that non-experts can inspect, supporting model documentation, review, and challenge processes.
As a post-hoc feature-attribution method, SHAP is commonly used to support explainability objectives within both AI governance and model risk management, though the two frame the need differently. Governance functions may treat explainability as part of accountability and oversight expectations, while model risk management may use feature attributions as one input to validation and ongoing monitoring. It is important not to overstate what SHAP delivers: attributions describe how a model behaves relative to a baseline, not whether the model is correct, fair, or fit for purpose. The evidence provided does not establish that SHAP satisfies any specific regulatory requirement, so its role in any given framework should be assessed in context.
Professionals should also be careful to distinguish explainability from interpretability. SHAP offers a post-hoc explanation of a model's output rather than making the model itself inherently interpretable. Using SHAP to justify a decision does not eliminate model risk or guarantee that the underlying model is reliable; it is one tool among several that can help reduce the opacity of a prediction and inform review.
Who it's relevant to
Inside SHAP
Common questions
Answers to the questions practitioners most commonly ask about SHAP.