Issue 13 · Nov 2–8, 2026Editions · Glossary · Archive · Method · RSS · HU / ENG

News of the AI era, curated weekly

Glossary › Training and data

overfitting

basicwidespread

Overfitting occurs when an AI model memorizes its training examples, performing well on them but poorly on new, unknown cases.

In plain terms

Think of a student who memorizes the solutions to last year's exam papers word for word. They repeat the old tasks flawlessly, but as soon as the question is phrased slightly differently, they get stuck. They did not understand the material, they just memorized the specific examples.

The same happens in machine learning: the model learns from examples, and the goal is for it to capture the general rule behind them. In overfitting, it instead treats the random details, errors and idiosyncrasies of the examples as rules too.

This is why it is misleading: the developer sees excellent results on their own data, yet the system disappoints when real people use it in real situations. Overfitting is not a useful method but an error that must be continuously monitored and prevented during training.

How it works

  1. Developers split data into at least two parts: the model trains on one, while the other is set aside and used only for verification. Often, a third part is separated for final measurement.
  2. During training, the model becomes increasingly accurate on the training data as it gradually adjusts its internal settings to match them.
  3. Beyond a certain point, it no longer learns only the general pattern but also memorizes the noise and random coincidences of individual examples.
  4. This is revealed by the fact that it improves further on training data but begins to deteriorate on held-out, never-before-seen data.
  5. Defense is possible with more and diverse data, simpler models, stopping training at the right time, or methods that penalize overly complex solutions.

An everyday example

A resume screening program learns from a company's few dozen past hiring decisions. It infers that a good candidate attended a particular university, because by chance many such people were among the few examples. When you apply from a different school with excellent experience, the system ranks you lower because you do not fit the memorized pattern.

Who is affected

developerIt must detect and prevent issues, otherwise a model that looks good in testing will fail in production. → Code
entrepreneur, executiveIf you buy an AI system, the accuracy seen in the demo is worthless until you test it on your own, real data.
patient, doctorIf a diagnostic system has learned the specific characteristics of a single hospital's images (such as the characteristic image noise of the equipment there), it may be less accurate with other machines and other patients than its measurements suggest. → Health
bank customer, investorA credit assessment or stock market model overfitted to past data treats past coincidences as rules, leading to poor decisions in new situations. → Money

A common misconception

MythThe longer and more precisely a model is trained on its own data, the better it becomes.
In realityNear-perfect results on training data prove nothing on their own; they could simply indicate rote memorization. What matters is how well the model performs on cases it has never seen before.

Limits and risks

Similar, but not the same

Related concepts

Broader

machine learning, training

Narrower

–

On the edge

underfitting, generalization, regularization, early stopping, data breach, training data, tesztadat, validation, benchmark

A brief history

The phenomenon originates from statistics, where it was known long before modern AI in the context of curve fitting: an overly complex model also follows measurement noise. Machine learning inherited the concept, and with the spread of neural networks, it became a fundamental question in training.

Where things stand

Overfitting checks will be a routine part of all serious AI development by the end of 2026. For large language models, the debate focuses mainly on how much training data containing test tasks distorts public benchmark results.

Status: 2026 November

Also known as

overfitting · overfitting · overtraining · overfitting · overfitting · overfit · over-fitting · overtraining

Sources

This entry was machine-edited and has undergone machine expert review; the “In the news” section updates automatically from Agent Age stories.