Skip to content
Current section
The Quantum Computing Enthusiast’s Hub
Saved
All sections

All sections

Saved
Skip Learn navigation
Encyclopedia
Glossary

Generalization

Generalization is a learning model’s ability to perform well on relevant examples beyond those used to fit it. Good training performance alone does not establish that the model learned useful patterns.

Edition released Entry updated Coverage: Overview
On this page

Plain-language explanation

A model may memorize quirks of its training set or benefit from accidental information leakage. Evaluate it on data held apart from model fitting and choose a task that matches the intended use. Quantum models face these same concerns along with finite-sampling and execution costs. Robust comparisons use suitable baselines and report how performance varies across data splits.

This is one of the most useful concepts for reading quantum-AI news. The question is not whether the model can fit examples, but whether it helps on new cases.

Example

A classifier that perfectly labels a tiny training set may perform poorly on new records. If similar records from the same source appear in both training and evaluation sets, the apparent success can also be misleading. The split should reflect the real use scenario.

Scope and limits

Large feature spaces and many parameters do not automatically improve generalization. The relationship among data, model assumptions and evaluation procedure matters more than a capacity headline.

Training accuracy is a related idea. Training accuracy measures performance on examples used for fitting. Generalization concerns new relevant examples, so the two numbers can differ substantially even for the same model.

Sources