Quant Memo
Core

Global Surrogate Models

Training a simple, fully transparent model to mimic a complex model's predictions, so you can read the simple model's logic as an approximate explanation of the complex one.

Prerequisites: Intrinsically Interpretable vs Post-Hoc Explained Models

A gradient-boosted tree ensemble with 800 trees produces excellent predictions but no human can read 800 trees and say what the model "believes." A global surrogate model sidesteps that by training a second, deliberately simple model — a shallow decision tree or a linear regression — to predict the outputs of the first model, not the original labels. If the simple model can reproduce the complex model's predictions well, its readable logic becomes an approximate window into the complex model's behavior.

How it works

The recipe has three steps: generate a large set of inputs (the original training data, or fresh samples spanning the input space), run the complex "black box" model on each to get its predictions, then fit an interpretable model — most often a shallow decision tree, capped at depth 3 or 4 — to predict those black-box outputs from the same features. The surrogate's own accuracy at matching the black box, often reported as R2R^2 for regression or agreement rate for classification, tells you how much to trust its explanation. A surrogate with R2=0.95R^2 = 0.95 is a decent proxy; one with R2=0.4R^2 = 0.4 is telling you the black box's logic doesn't collapse into anything simple, which is itself useful information.

Worked example

A quant firm has a neural network that scores 2,000 stocks daily on expected next-week return using twelve features. To understand the model's broad logic, they sample 50,000 (feature, prediction) pairs from a year of scores and fit a depth-3 decision tree to predict the network's score from the same twelve features. The tree achieves R2=0.81R^2 = 0.81 against the network's outputs and its first split is on 60-day price momentum above or below a threshold, the second split on short-interest percentile. Reading the tree, the desk learns the network's dominant behavior is roughly "buy momentum unless short interest is very high" — a genuinely useful summary, even though the tree misses the remaining 19% of the network's more intricate, higher-order interactions.

Black-box model 800-tree ensemble predictions on X Surrogate tree fit to reproduce those predictions Fidelity ($R^2$ = 0.81) measures how much of the black box's logic the surrogate captures
A surrogate model is trained on the complex model's predictions, not the original labels — its own fit quality is the honesty check on the explanation.

What this means in practice

Global surrogates are cheap, model-agnostic, and give a whole-model summary rather than a single prediction's explanation, which is exactly what a risk committee often wants before approving a strategy: "roughly, what is this model doing?" They're a starting point, not a substitute for the real model — trading decisions should never be routed through the surrogate itself, only through the audited black box, with the surrogate serving as documentation and a sanity check.

A global surrogate is a simple, interpretable model trained to predict a complex model's outputs, giving a readable approximation of its overall logic. Its usefulness is bounded by its own fidelity to the original model — always report and check that fidelity, never treat the surrogate as if it were the real model.

It's tempting to read a high-fidelity surrogate and assume you now understand the black box completely. You don't — the surrogate captures the dominant patterns the black box learned, but by construction discards everything that didn't survive being compressed into a simple form, including possibly the exact edge cases where the black box's extra complexity earns its keep.

Related concepts

Practice in interviews

Further reading

  • Molnar, Interpretable Machine Learning, ch. 5
ShareTwitterLinkedIn