Svashasan Logo
Simulated data

AI and Machine Learning · Robustness

Model Generalisation

Also known as generalization, generalisation, out-of-sample performance, overfitting

IntermediateSource-checked · awaiting technical reviewLast reviewed 6 December 2026

Model generalisation is a trained model's ability to perform well on new data it did not see during training. A model that fits its training data closely but performs poorly on new data is said to overfit.

Explanation

Evaluation exists to estimate generalisation: a held-out test set stands in for new data, and the gap between training and test performance indicates overfitting. Google's ML Crash Course describes a generalisation curve, which plots training and validation loss over training iterations; validation loss rising while training loss keeps falling signals overfitting.

The estimate rests on assumptions: examples are independent and identically distributed, the data is stationary over time, and training, validation, test and real-world data are statistically similar. Driving data often breaks these: frames within a drive are correlated, conditions vary by region and season, and sensors or vehicle platforms change between programmes.

Generalisation is therefore always relative to a target distribution. A model can generalise well within its training conditions and still fail under domain shift, such as a new camera or a new country. More diverse data, augmentation, regularisation and early stopping help, but none replaces evaluation on data representative of the deployment conditions.

How it works

Split data so that test examples are genuinely new, by drive, location or time. Train while monitoring validation loss, and stop or regularise when it diverges from training loss. Evaluate once on the test set, then measure performance on slices such as night, rain or region, and on data from other sources, to find where generalisation breaks down.

Automotive applications

  • Estimating field performance before release
  • Deciding when to stop training
  • Assessing transfer to new markets or sensors
  • Defining ODD limits for ML components

Example

A traffic-light classifier scores very well on its test split but much worse in a new country. The test split had been drawn from the same cities as the training data, so it overstated generalisation; a split that holds out whole cities gives a more realistic estimate.

An illustrative example: any figures in it are worked numbers, not measurements.

References

  1. Overfitting (opens in a new tab)

    Google for Developers, Machine Learning Crash Course · Publication · Generalization conditions; Detecting overfitting · retrieved 6 December 2026

  2. Machine Learning Glossary (opens in a new tab)

    Google for Developers · Publication · generalization; generalization curve · retrieved 6 December 2026

Definitions are original summaries. Standards text is not reproduced; follow the links for the official publications.