When the model itself becomes the side channel into training data
What this risk is
Active attacks on AI models that exploit the relationship between a model’s behavior and its training data to extract private information about individuals — even without direct access to the training data itself.
These attacks are particularly concerning because they can violate privacy without the model ever outputting the target data explicitly.
How it occurs · Mechanisms
Membership Inference Attack
What it determines: Whether a specific individual’s data was in the training set.
Why this is sensitive: Knowing that someone’s data was in a training set can reveal sensitive information. If a model was trained on HIV patient records, knowing a specific person’s data was in the training set confirms they have HIV.
How it works: Models behave slightly differently (with lower loss, higher confidence) on examples they have seen during training vs. examples they haven’t. This difference can be exploited to determine membership.
Demonstrated on: Medical records, financial data, genomic data, private communications.
Model Inversion Attack
What it recovers: Statistical reconstruction of training data from model parameters or outputs.
How it works: By repeatedly querying a model and analyzing its outputs, an attacker reconstructs representative examples of what the training data looked like — including faces from facial recognition models, medical conditions from diagnostic models, or text from language models.
Classic example: Fredrikson et al. (2015) reconstructed patient faces from a facial recognition model and inferred medication doses from a pharmacogenetics model using model inversion.
Attribute Inference Attack
What it infers: Sensitive attributes about an individual from seemingly unrelated data.
Example: A model trained to predict income from social media data can infer health conditions, political views, or sexual orientation without those attributes ever being in the training data — because they correlate with patterns in the data the model does use.
Mitigations · Governance
- Differential privacy — Mathematical guarantee that limits what adversaries can infer about individual training examples
- Output perturbation — Add noise to model outputs, reducing the precision available to membership inference attacks
- Confidence score restriction — Limit or avoid returning confidence scores in public-facing APIs; confidence scores are the primary information source for inference attacks
- API rate limiting — Limit query volume; membership inference attacks typically require many queries
- Federated learning — Train models without centralizing raw data, reducing the attack surface for membership inference
—
Risk you cannot name is risk you cannot manage.
Map your AI portfolio against this taxonomy with Zertia.
