
Explain like I'm five
Imagine a student who memorizes the answers to a practice test perfectly, but when the real test has slightly different questions, they fail because they didn't learn the underlying concepts. Overfitting is like that — the model gets too attached to the exact examples it saw and can't handle anything new.

Why it matters
Overfitting is critical because it makes AI models unreliable in real-world applications, like a spam filter that blocks your emails after learning your specific wording too well. You encounter it whenever a model performs great on training data but poorly in practice, such as in medical diagnosis or stock prediction.

Common misconception
Many think overfitting means the model is 'too smart' or too complex, but it's actually a sign of poor generalization — the model is memorizing, not learning. Another misconception is that more data always fixes overfitting, but without proper regularization, even large datasets can be overfit if the model is too flexible.

Formal definition
Overfitting occurs when a statistical model captures random noise or fluctuations in the training data instead of the underlying signal, leading to high variance and low bias. It is characterized by excellent performance on training data but poor performance on unseen test data, often due to excessive model complexity relative to the amount of training data. Techniques like cross-validation, regularization, and pruning are used to mitigate overfitting.