Skip to content
Last Dictionary

surrogate model

nounAlso: surrogate, global surrogate, local surrogate, metamodel, emulator, substitute model

In plain wordsA simpler stand-in model trained to imitate a more complex one — to explain it, or to approximate a slow or costly calculation cheaply.

  1. 1

    Explainable AI

    A transparent stand-in for an opaque model: a shallow decision treedecision tree, n.: A model that makes a prediction by asking a series of yes-or-no questions about the input, like a flowchart, with each answer leading to the next question until it reaches a final answer., rule list or sparse linear model fitted not to the true labels but to a black-box model's own predictions, so that reading the stand-in gives an approximate account of what the black box does. A global surrogate is fitted to the black box's outputs across a dataset; a local surrogate approximates it only near one input, as in LIMELIME, abbr.: A method that explains one prediction of any AI model by testing slightly altered versions of the input and fitting a very simple model that copies the AI's behavior near that example.. A surrogate explains the black box only as far as it agrees with it, so its fidelity — the share of held-out inputs on which it matches the black box — should be reported with it: a surrogate with 80% fidelity is silent about the decisions on which it disagrees.

    A depth-four tree reproduced the neural network's decisions with 93% fidelity, so we used it as a global surrogate.

  2. 2

    Optimization and simulation

    A cheap approximation of an expensive function — a physical simulation, a laboratory experiment, or a model's validation loss as a function of its hyperparameters — built from a limited number of evaluations and used to decide where to evaluate next or to replace the expensive function. Gaussian processesGaussian process, n.: A way of predicting an unknown curve or surface that gives not just a best guess at each point but an honest error bar, narrow near measured points and wide far from them. are the classic surrogates in Bayesian optimizationBayesian optimization, n.: A smart way to tune settings when each test is expensive: build a statistical guess of how settings affect results, then try whichever setting that guess says is most promising next.; neural-network surrogates, or emulators, accelerate climate and engineering simulations.

  3. 3

    Security

    A local copy trained to imitate a target model from its input–output behavior, typically by querying the target's API and recording its answers. Attackers use such copies to craft adversarial examplesadversarial example, n.: An input altered on purpose, often too slightly for people to notice, so that an AI model gets it badly wrong — like a panda photo that a classifier confidently calls a gibbon. that transfer to the target, or keep them as the product of model extractionmodel extraction, n.: Copying an AI model without permission by asking it huge numbers of questions and using the answers to build a look-alike, or to work out hidden details of how it was made.; in this sense 'substitute model' is also common.

Origin

Approximating expensive experiments with fitted response surfaces goes back to George Box and K. B. Wilson (1951), and 'surrogate model' became standard in engineering design optimization by the 1990s. Mark Craven and Jude Shavlik's TREPAN (1996), which extracted decision trees mimicking trained neural networks, was an early explanatory surrogate.

Usage note

Distinguish a surrogate loss (a tractable function optimized in place of the true objective) and surrogate gradients (used to train spiking networks), which share only the idea of substitution. Closely related to knowledge distillationknowledge distillation, n.: Training a smaller or cheaper 'student' AI to copy the behavior of a larger 'teacher' AI, so the student keeps much of the teacher's skill while being faster to run., where the imitating model is meant to replace, not explain, the original.

Related

See also
  • LIMELIME, abbr.: A method that explains one prediction of any AI model by testing slightly altered versions of the input and fitting a very simple model that copies the AI's behavior near that example.
  • global explanationglobal explanation, n.: An explanation of how an AI model behaves overall — which factors matter most across all its decisions, and in what way — rather than why it made one particular decision.
  • interpretable modelinterpretable model, n.: A model simple or structured enough that a person can follow exactly how it turns inputs into a decision — like a short checklist or a points-based score — with no separate explanation tool needed.
  • Bayesian optimizationBayesian optimization, n.: A smart way to tune settings when each test is expensive: build a statistical guess of how settings affect results, then try whichever setting that guess says is most promising next.
  • model extractionmodel extraction, n.: Copying an AI model without permission by asking it huge numbers of questions and using the answers to build a look-alike, or to work out hidden details of how it was made.
  • knowledge distillationknowledge distillation, n.: Training a smaller or cheaper 'student' AI to copy the behavior of a larger 'teacher' AI, so the student keeps much of the teacher's skill while being faster to run.
Contrast with
  • black boxblack box, n.: A system whose inner workings are hidden or too complex to understand: we can see what goes in and what comes out, but not why it gave a particular answer.

Sources

  1. Craven, M. W. & Shavlik, J. W. (1996). Extracting Tree-Structured Representations of Trained Networks. Advances in Neural Information Processing Systems 8.

Mentioned in

explainable AIexplainable AI, n.: The field and set of methods that let people understand why an AI system produced a particular output — for example, which factors led it to reject a loan application., faithfulnessfaithfulness, n.: How accurately an explanation reflects the real reasons a model produced its output — or, for generated text, how closely it sticks to the source it was given., global explanationglobal explanation, n.: An explanation of how an AI model behaves overall — which factors matter most across all its decisions, and in what way — rather than why it made one particular decision., LIMELIME, abbr.: A method that explains one prediction of any AI model by testing slightly altered versions of the input and fitting a very simple model that copies the AI's behavior near that example., post hoc explanationpost hoc explanation, n.: An explanation produced after a model has been built, by a separate tool that examines the finished model, rather than one that comes from a model designed to be understandable., model-agnosticmodel-agnostic, adj.: Describes a method that works with any kind of AI model, because it only needs to feed the model inputs and observe its outputs, never to look inside., replacement modelreplacement model, n.: A more understandable copy of an AI model, built from simple labeled parts, that behaves almost like the original, so researchers can study the copy's workings instead.