Global surrogate model

On this page 7

A global surrogate model is an interpretable model trained to imitate the predictions of a black-box model across the entire input distribution, so that its structure can be read as an approximate explanation of how the original model behaves. In Explainable AI, it is a classic model-agnostic, post-hoc method for producing a global explanation: instead of explaining one prediction, it summarizes the overall decision logic.

The surrogate is usually a shallow decision tree, a sparse linear model or a rule list. Its value depends entirely on fidelity, the degree to which it reproduces the black-box outputs, and on whether its form remains small enough for a person to understand.

How a global surrogate model is built

A global surrogate is built by treating the black-box model as a labeling oracle. The original model is queried on a set of inputs, and an interpretable model is trained to predict those outputs rather than the true labels. The process is sometimes called model extraction for interpretation or knowledge distillation into a transparent model.

  1. Select a representative dataset, typically the training set, a holdout set or synthetic samples.
  2. Query the black-box model to obtain predictions or class probabilities for every row.
  3. Choose an interpretable model family and a complexity limit, such as tree depth.
  4. Train the surrogate on the inputs with the black-box predictions as targets.
  5. Measure fidelity on held-out data and inspect the surrogate structure.

The key distinction is the target. A surrogate trained on true labels is simply another model; one trained on black-box predictions explains the black box. Using predicted probabilities instead of hard classes often yields a more faithful surrogate, because it captures how confident the original model is near decision boundaries.

Choosing the surrogate model family

The surrogate family determines what kind of explanation the reader receives. Each family trades readability against its capacity to capture interactions and nonlinear effects.

Surrogate familyExplanation formCaptures interactionsMain limitation
Shallow decision treeReadable if-then splitsYes, through nested splitsUnstable; small data changes alter the tree
Sparse linear modelSigned coefficients per featureNo, unless terms are addedMisses nonlinear behavior
Rule list or rule setOrdered or unordered rulesPartlyRule search can be costly
Generalized additive modelShape function per featureOnly with pairwise termsMany plots to read
Explainable boosting machineAdditive shapes plus selected pairsLimited pairwiseLarger than a single tree
Common surrogate model families

A practical starting point is a decision tree with a depth of three to five, which typically yields between 8 and 32 leaves. Deeper trees raise fidelity but quickly stop being interpretable, which defeats the purpose of the method.

Measuring fidelity and its trade-offs

Fidelity is measured by comparing surrogate predictions with black-box predictions, not with ground truth. For regression, the usual measure is the R-squared between the two prediction sets; for classification, it is the agreement rate or accuracy against the black-box labels. Fidelity must be computed on data not used to fit the surrogate.

Fidelity levelTypical R-squared or agreementInterpretation
HighAbove about 0.9The surrogate is a usable global summary
ModerateAbout 0.7 to 0.9Useful for main trends, not for details
LowBelow about 0.7Explanation is unreliable; do not present it as the model logic
How to read fidelity scores

These thresholds are conventions, not standards, and acceptable values depend on the stakes. The core tension is the fidelity-interpretability trade-off: a complex black box with strong interactions cannot be summarized faithfully by a small, readable model. Fidelity can also vary sharply between regions, so a high overall score may hide poor fidelity on rare but important subgroups. Reporting fidelity per segment addresses this risk.

Global surrogates compared with other explanation methods

Global surrogates belong to a broader toolbox, and their scope and guarantees differ from those of neighboring techniques in the Topic. The comparison below positions them against frequently used alternatives.

MethodScopeWhat it explainsFaithfulness basis
Global surrogate modelGlobalOverall decision logicMeasured fidelity of the approximation
LIMELocalOne prediction via a local surrogateFidelity in a sampled neighborhood
Shapley valuesLocal, aggregableFeature contributions per predictionAxiomatic attribution
Permutation feature importanceGlobalImportance ranking onlyDirect effect on model error
Accumulated local effectsGlobalEffect shape of one or two featuresComputed on the model itself
Global surrogate versus related methods

LIME is effectively a local surrogate, fitted only around one instance, whereas the global surrogate covers the whole distribution. Global surrogates are also related to intrinsically interpretable models: if a surrogate reaches near-perfect fidelity, the black box may be unnecessary.

Limitations and common mistakes

The most serious limitation is that a surrogate explains the approximation, not the model itself. Conclusions drawn from it hold only where fidelity is high, and they say nothing about causal relationships in the real world.

  • Reporting accuracy instead of fidelity, which measures the wrong relationship.
  • Ignoring the Rashomon effect: several different surrogates can reach similar fidelity yet tell different stories.
  • Sampling outside the data manifold, which forces the black box to predict on unrealistic inputs.
  • Correlated features that let the surrogate substitute one feature for another.
  • Overreliance in audits, where regulators may require explanations faithful to the deployed model.

Used carefully, a global surrogate is an efficient first look at model behavior and a strong communication aid, best combined with local methods and direct checks on the original model.

The idea in brief

Some AI models are too complex to read. They give answers, but nobody can see why. A global surrogate model is a simple copy that learns to give the same answers.

Imagine a skilled chef who never writes recipes down. A student watches hundreds of dishes and writes a short recipe book that produces similar food. The book is not the chef. Still, it shows the main habits clearly. If the copied dishes taste almost the same, the book is trustworthy. If not, it can mislead.

A practical scenario

A bank uses a gradient-boosted model with 600 trees to score small business loan applications. The model performs well, but the internal model risk team must describe its overall logic to a validation committee that does not work with machine learning.

The analysts query the model on 40,000 historical applications and train a decision tree of depth four on its predicted default probabilities. On a separate set of 10,000 applications, the tree reaches an R-squared of 0.88 against the black-box scores. Its top splits show that debt service coverage, time in business and recent payment delinquencies dominate the decisions, which matches domain expectations.

Fidelity for very young companies is only 0.61, so the report flags that segment and supplements it with Shapley value analysis. The committee approves the model with a documented explanation and a condition to review the low-fidelity segment quarterly.