Bias-variance tradeoff
The bias-variance tradeoff is the tension between a model too simple to capture real patterns (high bias) and one so flexible it fits noise in its training data (high variance).
A model's errors on new data come from two different sources. Bias is error from wrong or overly simple assumptions: a straight line fitted to data that actually curves will miss the curve however much data it sees. Variance is error from being too sensitive to the particular sample used for training: a very wiggly curve may pass through every training point, but train it on a slightly different sample and it comes out quite different. High bias leads to underfitting; high variance leads to overfitting.
For the common case of squared error, statistics gives an exact accounting. The expected error on new data splits into three parts: bias squared, variance, and irreducible error that comes from noise in the data itself and that no model can remove. The tradeoff is that the usual levers pull the first two in opposite directions. Making a model more flexible tends to lower bias and raise variance; constraining it does the reverse. Classical practice therefore looks for the middle of a U-shaped curve of test error against model complexity, using techniques such as regularisation and cross-validation to find it.
Modern deep learning complicated the textbook picture. Large neural networks are often trained until they fit their training data perfectly, which the classical view says should mean severe overfitting, yet they still do well on new data. In a 2018 paper, Mikhail Belkin and colleagues described a double descent curve: test error rises as a model approaches the point where it can just fit the training data, then falls again as capacity grows further. The decomposition still holds; what changed is the assumption that more parameters always means more variance.
The idea remains a useful habit of mind. When a model does brilliantly on its training data and poorly on real cases, variance is the likely culprit and more data or more constraint usually helps. When it does poorly on both, bias is the problem and a more expressive model or better features are needed.
It is the balance between a model that is too simple to capture real patterns and one so flexible that it memorises noise. Too simple gives high bias and underfitting; too flexible gives high variance and overfitting. Good models sit between the two. No. Here bias is a statistical term for systematic error caused by a model's simplifying assumptions. AI bias in the fairness sense refers to unfair outcomes for particular groups of people. The two use the same word for different ideas. The decomposition of error into bias, variance and noise still holds, but the classic U-shaped curve does not always appear. Very large networks can fit their training data exactly and still generalise well, a pattern described as double descent. Researchers are still working out why. Common approaches are gathering more training data, simplifying the model, adding regularisation that penalises extreme weights, averaging several models together, and stopping training before the model starts fitting noise. Each tends to raise bias slightly, which is the tradeoff.Common questions
What is the bias-variance tradeoff in simple terms?
Is bias in the bias-variance tradeoff the same as AI bias?
Does the bias-variance tradeoff apply to deep learning?
How do you reduce variance in a model?
Search for "bias-variance decomposition", "underfitting vs overfitting" or "double descent" for explanations from the classical and modern sides. Statistics and machine learning textbooks, university course notes and the original double descent papers on arXiv are the most reliable sources. Be careful not to confuse articles about statistical bias with those about fairness, since search results mix the two.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.