Bias–Variance Trade-off
Q: What are bias and variance, and how do they relate to under/overfitting?
Expected test error decomposes as bias² + variance + irreducible noise.
- Bias: error from wrong assumptions (model too simple) → underfitting: high train and test error.
- Variance: sensitivity to the particular training sample (model too flexible) → overfitting: low train error, high test error.
error
|\ / total
| \ bias² _/
| \__ __/
| \____ ______/ variance
| \/
+-----------------------------> model complexity
under sweet over
fit spot fit
| Symptom | Fix |
|---|---|
| High bias | bigger model, more features, less regularization, train longer |
| High variance | more data, regularization, dropout, early stopping, simpler model, ensembling (bagging) |
Note: very large neural nets can show double descent — test error falls again past the interpolation threshold.