Global explanation

Also known as: global interpretability

On this page 7

A global explanation is a description of how a machine learning model behaves across its entire input distribution, summarizing which features matter, in which direction they push predictions and how they interact. In Explainable AI, it answers the question “how does this model work in general?”, whereas a local explanation answers “why did the model make this particular prediction?”

Global explanations are also called global interpretability outputs. They support model validation, regulatory review and scientific insight, because they reveal systematic patterns that individual predictions cannot show. Their main limitation is that any summary of a complex model is a simplification, and the simplification can hide behavior that matters for specific groups or inputs.

What a global explanation describes

A global explanation describes the aggregate logic of a model rather than a single decision. Depending on the method, it can take the form of a feature ranking, a set of response curves, a set of rules or a simpler model that imitates the original one.

Most global explanations address one or more of four questions. The table below maps each question to the type of output that answers it.

QuestionTypical outputExample methods
Which features matter most?Ranked importance scoresPermutation importance, mean absolute SHAP
How does a feature affect output?Response or effect curvesPartial dependence, accumulated local effects
Which features interact?Interaction strength scoresFriedman’s H-statistic, SHAP interaction values
What logic does the model follow?Rules or a simple surrogateGlobal surrogate model, rule extraction
Questions answered by global explanations

A complete global explanation usually combines several of these outputs. A feature ranking alone says that income matters, but only an effect curve shows whether higher income raises or lowers the predicted risk, and whether the relationship is linear, saturating or non-monotonic.

Main methods for global explanation

Methods for global explanation fall into two broad families: intrinsically interpretable models whose structure is the explanation, and post hoc techniques applied to an already trained black-box model. Post hoc methods are usually model-agnostic, meaning they only need access to inputs and predictions.

The following table compares widely used methods by what they produce and where they are weakest.

MethodWhat it producesKey weakness
Permutation feature importanceDrop in accuracy when a feature is shuffledMisleading with correlated features
Partial dependence plotAverage prediction as one feature variesUses unrealistic feature combinations
Accumulated local effectsEffect curves based on local differencesHarder to interpret for categories
Aggregated SHAP valuesMean contribution and direction per featureExpensive on large models and data
Global surrogate modelSimple model trained to mimic predictionsFidelity to the original may be low
Explainable boosting machineAdditive shape functions per featureRequires training a glass-box model
Comparison of common global explanation methods

Aggregating Shapley values across a dataset is a popular bridge between local and global views. Each prediction receives additive attributions, and averaging their absolute values yields a ranking, while plotting them against feature values shows direction and spread. The result inherits the assumptions of the chosen SHAP estimator, such as KernelSHAP or TreeSHAP.

Global explanation compared with local explanation

Global and local explanations differ in scope, audience and use, and mature interpretability workflows use both. A global view is needed to approve a model; a local view is needed to justify or contest an individual outcome.

AspectGlobal explanationLocal explanation
ScopeWhole model or datasetOne prediction
Main questionHow does the model behave overall?Why this output for this input?
Typical audienceModel validators, regulators, scientistsAffected individuals, case reviewers
Typical methodsPermutation importance, ALE, surrogatesLIME, SHAP for one instance, anchors
Main riskAveraging hides subgroup behaviorUnstable or unrepresentative of the model
Global and local explanations side by side

Between these extremes lie cohort explanations, which summarize behavior for a defined segment such as a region, an age band or a product line. Cohort views are often the most practical way to detect fairness problems, because a model can look reasonable on average while treating one subgroup very differently.

How practitioners use global explanations

Practitioners use global explanations to validate, debug and document models before and after deployment. A global view is often the fastest way to discover that a model relies on a feature it should not use.

  • Detecting leakage: a feature that dominates importance rankings may encode the target, such as a field filled in only after the outcome is known.
  • Domain validation: experts check whether effect curves agree with known science or business logic.
  • Regulatory documentation: credit, insurance and medical models often require evidence of which factors drive decisions.
  • Model cards: global summaries give readers a compact view of intended behavior and known limitations.
  • Monitoring: changes in global importance over time can signal drift or a broken upstream pipeline.

Toolkits such as InterpretML, Captum and AI Explainability 360 provide implementations of these methods. The choice of tool matters less than the choice of reference data, because every global explanation is computed over a dataset, and a summary computed on unrepresentative data describes the wrong population.

Limitations and common misconceptions

The central limitation is that a global explanation compresses a complex function into a small number of numbers or curves. Strong interactions, rare subpopulations and nonlinear thresholds can disappear in that compression.

MisconceptionWhy it is wrongBetter practice
High importance means causationImportance reflects model reliance, not real-world effectUse causal analysis for causal claims
Low importance means irrelevantCorrelated features can share or mask importanceGroup correlated features before ranking
One ranking is the truthDifferent methods and models give different rankingsCompare methods and note the Rashomon effect
Averages describe everyoneSubgroups can behave very differentlyAdd cohort and local explanations
Frequent misreadings of global explanations

Explanation faithfulness also deserves explicit testing. A surrogate tree with 70 percent agreement may look convincing while misrepresenting the model on the remaining 30 percent of cases, so practitioners should report surrogate fidelity alongside the explanation itself.

Understanding it simply

Imagine a teacher who grades thousands of essays. One student asks why a single essay got a B. That is a local question. A school inspector asks what the teacher rewards in general. That is a global question.

A global explanation answers the inspector. It might say that structure counts most, then evidence, then spelling. It shows the overall habits of the model, not the reason for one result. It is useful for checking fairness and sense. It can still miss unusual cases, so it works best together with explanations of single decisions.

Applied in practice

A regional bank builds a gradient-boosted credit scoring model with 45 input features. Before approval, the model risk team requires a global explanation. The data science team computes permutation importance and mean absolute SHAP values on a holdout set of 50,000 applications, and draws accumulated local effects curves for the ten most important features.

The analysis shows that debt-to-income ratio and payment history dominate, as expected. It also reveals that a field called account review date ranks third. Investigation shows the field is populated only after an application is approved, which is target leakage.

The team removes the field and retrains. Validation accuracy falls slightly, but the new model reflects information that is actually available at decision time. A cohort analysis by age band confirms similar effect curves across groups, and the global summary enters the model card used in the regulatory submission.