Model Extraction
Model extraction is a type of attack in which someone tries to copy a machine learning model without authorized access to it, typically by repeatedly sending inputs to the model's public interface (such as an API) and observing the outputs. Using those query results, the attacker can build a substitute model that imitates the original's behavior. It is commonly treated as a form of intellectual property theft and a security threat to deployed AI systems.
Model extraction refers to an adversarial technique in which an attacker with query access to a target (victim) model systematically submits inputs and collects the corresponding outputs in order to replicate the model's functionality, typically by training a substitute or surrogate model on the query–response pairs. As commonly described in the sources here, the attack assumes only black-box API access rather than direct access to model weights, architecture, or training data. The objective may range from approximating functional behavior to reconstructing model parameters. Note that these sources characterize model extraction primarily as a security and intellectual-property threat; they do not establish standardized definitions of attack success, fidelity thresholds, or defensive controls, and treatment of these aspects varies across contexts and is out of scope for this entry.
Why it matters
Model extraction targets a valuable and often underprotected asset: the trained model itself. Organizations frequently invest substantial resources in developing proprietary models and then expose them through public interfaces such as APIs. As the sources here describe, an adversary with only black-box query access can systematically probe that interface and use the resulting input–output pairs to train a substitute model that imitates the original's behavior. This is commonly framed as both an intellectual-property threat and a security concern for deployed AI systems, because the attacker may replicate functionality without ever obtaining the model's weights, architecture, or training data.
Beyond direct loss of proprietary value, a successful extraction can serve as a stepping stone to further attacks. A high-fidelity surrogate model can, in principle, be studied offline to probe weaknesses, which may lower the cost of crafting subsequent adversarial inputs against the original system. The sources here characterize model extraction primarily as a security and intellectual-property risk; they do not establish standardized measures of attack success, fidelity thresholds, or agreed defensive controls, so organizations should treat these aspects as context-dependent rather than settled.
For governance and risk purposes, it is worth distinguishing model extraction from broader model risk. Model extraction is an adversarial security threat to a deployed asset, whereas model risk management as historically framed concerns risks arising from a model's own use and outputs. The two can intersect—for example, where a stolen or cloned model is deployed in ways that produce erroneous decisions—but they are distinct concerns and should not be collapsed into a single control objective.
Who it's relevant to
Inside Model Extraction
Common questions
Answers to the questions practitioners most commonly ask about Model Extraction.