Skip to content

AI Glossary · Concepts

What is Bias-variance tradeoff?

Bias-variance tradeoff

The bias-variance tradeoff describes two different ways a model's predictions go wrong: bias, from assumptions too simple to capture the real pattern, and variance, from being so sensitive to the particular training data that a different sample would give noticeably different predictions. Making a model more flexible usually lowers bias and raises variance.

Also known as: bias-variance trade-off

· Chain of Thought

Model TrainingAI Evaluation & Reliability

  • 3 sources

Suppose you predict house prices. A straight-line model that uses only floor area misses the fact that the same space costs far more in some neighborhoods; retrain it on different sales and it makes the same systematic mistakes. That is high bias, or underfitting. A very deep decision tree can fit last year’s sales almost perfectly, but retrained on a different sample of sales it gives noticeably different prices for the same house. That is high variance, the root of overfitting.

For squared-error prediction, statisticians split the expected error on new data into three parts: bias squared, variance and noise that no model can remove. Making a model more flexible usually shrinks the first part and grows the second, so the best test error often comes somewhere in between. Tools such as regularization, more training data and bootstrap aggregating mainly attack variance; a richer model or better features attack bias.

The “bias” here is a statistical term, not the fairness sense of bias in AI products. The tradeoff is also a guide rather than a law: very large modern models can show double descent, where test error falls again after the point where the model fits its training data exactly. Measure on held-out data instead of assuming where the sweet spot is.

Sources