Skip to content
Back to the AI glossary

Glossary · AI security & threats

Model inversion

In short

An attack that draws conclusions about the training data from a model’s outputs, up to the reconstruction of individual data points. Particularly critical for models trained on personal data. Mitigations: differential privacy, output limiting.

Reference: ISO/IEC 27090:2026, 6.6; ISO/IEC TR 24028:2020

What it means

A model carries traces of its training data. Model inversion tries to make those traces visible through the outputs: the attacker queries the model in a targeted way and infers from the answers, often from the confidence scores returned with them, features of the data it was trained on. ISO/IEC 27090:2026 describes the attack in 6.6. Among the standard’s examples is the case of large language models reproducing memorised parts of their training data.

The result is a permanent loss of confidentiality. Once a feature has been reconstructed, it cannot be taken back. The standard points out that reconstructed data often resembles an average of the training data more than a single individual. The attack remains critical all the same when a model was trained on health, HR or financial data, because then even a partial feature can amount to a personal data breach.

In practice and in the audit

First check which data is in your models. A model trained only on machine data is of little interest for this attack. One trained or fine-tuned on customer data or personnel files certainly is. For those models, the following help: as few personal features in training as possible, pseudonymisation or synthetic data, differential privacy during training and outputs without exact confidence scores.

Like a model rebuild, the attack shows in query patterns: many similar requests from one sender that systematically search the output space. So limit the number of queries per user and analyse the logs. If a model processes personal data, the possibility of reconstruction belongs in the data protection impact assessment and in the risk assessment under ISO/IEC 42001.

References in standards and law

I cite standards by clause number and in my own words, never verbatim. Legal texts link to EUR-Lex.

  • ISO/IEC 27090:2026, 6.6Inferring training data from model outputs, detection and mitigation.
  • ISO/IEC TR 24028:2020, 8.3.4Privacy threats arising from queries to a model.
  • Article 15(5) Regulation (EU) 2024/1689 Protection of high-risk AI systems against confidentiality attacks.

Frequently asked questions

Is model inversion a data protection issue?

Yes, as soon as the model was trained on personal data. A successfully reconstructed feature can be a personal data breach, with the duties the GDPR attaches to it.

Related terms

Further reading in the insights

Matching service

Checking the confidentiality of your models

I check which data is in your models, what the outputs give away and how queries are limited and logged.

To AI security

Author: Lars Zimmermann

Term and explanation in my own words. Researched to the best of my knowledge and reviewed for accuracy.

This is my interpretation from practice. For legal advice, please turn to the appropriate professionals.