Glossary · AI concepts & terminology
Overfitting
also: overtraining
In short
When a model more or less memorises the training data instead of learning general patterns, and then performs poorly on new data. Remedies are more data, simpler models and clean validation.
Reference: General AI knowledge
What it means
Overfitting occurs when a model learns the peculiarities of its training data, including noise and coincidences, and therefore performs worse on new data. ISO/IEC 23053:2022 defines overfitting in 3.1.4 and contrasts it with underfitting (3.1.5), where a model does not even represent the training data well. The goal is generalisation (3.1.3): the model should work well on data it has never seen.
The typical sign is a gap between training and test: very good values on the training data, clearly worse ones on separate test data. The hidden form is more dangerous. If test data accidentally get into training, for example because images of the same part sit in both sets, the test looks good and the problem only shows in operation. Remedies are more and more varied data, simpler models, regularisation and a clean separation of the data sets.
In practice and in the audit
If a provider asks you to trust an accuracy figure, ask on which data it was measured. If training and test data come from the same day, the same machine or the same customers, the figure is worth little. A credible test uses data from a later period or from other sites. Better still is a trial run with your own cases before the decision is made.
ISO/IEC 42001 requires in A.6.2.4 that verification and validation measures and criteria are defined, and the implementation guidance in B.6.2.4 explicitly mentions the selection of test data and how well they represent the intended domain of use. For high-risk AI, Article 15(3) of the EU AI Act requires that the levels of accuracy and the relevant metrics are declared in the instructions for use. A figure based on overfitted tests will not hold up in operation.
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 23053:2022, 3.1.3 to 3.1.5Generalisation, overfitting and underfitting.
- ISO/IEC 42001:2023, A.6.2.4Verification and validation with defined criteria.
- Article 15(3) Regulation (EU) 2024/1689 Declaring accuracy levels and metrics in the instructions for use.
Frequently asked questions
How can I tell that an accuracy figure might be overfitted?
By very high values without any statement on how training and test data were separated, and by tests drawn from the same period or source as the training. Ask about the test conditions and have the result shown to you on your own data.
Related terms
Further reading in the insights
Matching service
Checking providers’ performance claims
On your behalf I check how your AI provider measured its performance figures and whether the test data fit your use.
To AI vendor auditsAuthor: 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.