Definition
When a model learns patterns specific to its training or evaluation examples and performs worse on genuinely new data.
Distinguish it from nearby terms
Overfitting is poor generalization, not merely high model complexity.
Check your understanding
An agent can also overfit visible tests by changing code to pass them without satisfying the underlying requirement.