Glossary · AI security & threats
Out-of-distribution inputs (OOD)
also: OOD data, out-of-distribution
In short
Inputs that differ markedly from what a model saw in training. They easily lead to wrong results and can indicate an attack, but do not have to. Detecting them is one protective layer among several.
Reference: ISO/IEC 27090:2026, 3.26 and 7.7.1
What it means
A model is only as good as the data it knows. Inputs that differ markedly from the training data are called out-of-distribution inputs, OOD for short. ISO/IEC 27090:2026 defines the term in 3.26. A visual inspection model that has only seen parts from one manufacturer meets OOD data with a new supplier. So does a language model that suddenly receives specialist texts from an unfamiliar industry. The model still gives an answer, often with high confidence, and that answer can be wrong.
For security, OOD inputs matter in two ways. They can point to an attack, such as a deliberately altered input. They can also be entirely harmless. The standard states in 7.7.1 that not every OOD input is malicious and not every malicious input lies outside the distribution; some attacks are built specifically to slip past OOD detection. Detection is therefore one protective layer among several.
In practice and in the audit
Detection methods range from simple thresholds on the model’s confidence through distance measures to the training data up to dedicated detection models. More important than the method is what happens next: detected OOD inputs should be logged, held back where in doubt and put before a person. In visual inspection this can mean rejecting the part and having it rechecked.
If OOD inputs pile up, that is often a sign that reality has changed: new products, new suppliers, new customer groups. The model then needs a review and possibly new training. So link OOD detection to monitoring in operation and to the change procedure. In an audit against ISO/IEC 42001 it belongs to operation and monitoring under A.6.2.6.
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, 3.26Definition of out-of-distribution data.
- ISO/IEC 27090:2026, 7.7.1Detecting OOD inputs as a protective measure and its limits.
- ISO/IEC 42001:2023, A.6.2.6Operation and monitoring of AI systems.
Frequently asked questions
Is every OOD input an attack?
No. Most are harmless and show that the model is seeing something new. That is exactly what makes them valuable: they point to cases in which the model should be uncertain, with or without an attacker.
Related terms
Further reading in the insights
Matching service
Checking how your AI is monitored in operation
In an AI security audit I check whether your AI recognises unusual inputs, how it handles them and who is informed.
To AI securityAuthor: Lars Zimmermann
Term and explanation in my own words. Researched to the best of my knowledge and reviewed for accuracy.