Skip to content

Noch nicht auf Deutsch verfügbar. Alles auf Deutsch ansehen

Stockertim Dictionary · Technology · Artificial intelligence

SHAP value

Also called SHAP, SHAP values, Shapley additive explanations, Shapley value

In short

A way to explain one prediction by sharing out the gap between that prediction and the model's average output among the inputs, giving each a positive or negative contribution.

  • Advanced
  • Ratio or metric
  • Checked

In detail

SHAP stands for Shapley additive explanations. It applies an idea from cooperative game theory, the Shapley value, which divides a team's payoff fairly among players according to their contribution across every possible combination of team members. In a model, the players are the features and the payoff is the prediction for one case minus the model's average prediction, called the base value.

Each feature receives a SHAP value, positive if it pushed the prediction up and negative if it pushed it down, and the values add up exactly to the gap between the prediction and the base value. That additivity makes explanations easy to present: a credit decline can be broken into the contributions of high existing debt, short credit history and recent missed payments. Averaging the absolute SHAP values across many cases gives a global view of which features matter most.

SHAP explains the model, not the world. A large contribution shows the model relies on a feature, not that the feature causes the outcome. Exact calculation is expensive, so tools use approximations, and results can be unstable when features are strongly correlated or when the choice of background data changes. Explanations should be checked for sense rather than treated as proof of fairness.

Formula

f(x) = φ0 + φ1 + φ2 + … + φn

f(x)
the model's prediction for one case
φ0
the base value: the model's average prediction
φ1
the SHAP value of the first feature for this case
φn
the SHAP value of the last of n features

Worked example

A default model has an average predicted probability of 5%. For one applicant it predicts 12%. SHAP gives existing debt +4%, missed payments +5% and long employment −2%.

  1. Sum of contributions: 4% + 5% − 2% = 7%
  2. Prediction: 5% + 7% = 12%

The contributions add up exactly to the gap between this applicant's prediction and the average.

In practice

Lenders use SHAP to generate reasons for declines and to review models for unwanted reliance on sensitive features. Model validators and regulators see SHAP charts in documentation for AI models in credit, fraud and insurance pricing.

Watch out

  • A SHAP value measures influence on the model's output, not cause and effect.
  • Correlated features can share or swap credit, making individual values misleading.

Learn it properly

Official sources

Facts last checked on 4 November 2026.

Education, not advice: the Stockertim Dictionary explains what terms mean. It never recommends buying or selling anything.

English