A Modern Take on the Bias-Variance Tradeoff in Neural Networks

Brady Neal, Sarthak Mittal, Aristide Baratin, Vinayak Tantia, Matthew Scicluna, Simon Lacoste-Julien, Ioannis MitliagkasarXiv 2018

Abstract

Traditional machine learning theory suggests a fundamental tradeoff between bias and variance, leading to a U-shaped test error curve as model complexity increases. However, modern deep learning practitioners often observe that larger models continue to improve performance even after perfectly fitting the training data. This paper investigates this discrepancy by decomposing error into bias, sampling variance, and optimization variance. The authors demonstrate that in the over-parameterized regime, optimization variance vanishes and sampling variance plateaus, explaining why wider networks generalize better.

Introduction: Rethinking the Dogma

In the world of machine learning, the "Bias-Variance Tradeoff" is a foundational concept. It teaches that as a model becomes more complex, its bias decreases while its variance increases, eventually leading to overfitting. This produces the famous U-shaped test error curve. Yet, modern deep learning defies this rule: we consistently build wider and deeper networks that achieve better results. This paper, "A Modern Take on the Bias-Variance Tradeoff in Neural Networks," explores this mystery by measuring what actually happens to bias and variance in over-parameterized models.

The Conflict with Classical Theory

Traditional theory suggests that once a model has enough capacity to memorize training data, adding more parameters should lead to high variance and poor generalization. Empirical evidence, however, shows that "wider is better." Even after reaching 100% training accuracy, increasing hidden units often improves test performance.

Comparison between the classical bias-variance tradeoff and empirical observations in wide neural networks.

As seen in the comparison above, the classical U-curve (left) does not match the behavior of neural networks (right), where both bias and variance can decrease simultaneously as width increases.

Methodology: Disentangling Error Components

To resolve this contradiction, the authors develop a method to isolate the components of error:

  1. Direct Measurement: They use bootstrap replicates to train multiple models on different subsets of data, allowing for the calculation of actual bias and variance.
  2. A New Decomposition: The paper's key contribution is breaking down total variance into:
  3. Sampling Variance: Sensitivity to the specific training dataset.
  4. Optimization Variance: Sensitivity to the random initialization (seed) for a fixed dataset.
  5. Theoretical Analysis: Using concentration of measure (Levy’s Lemma), they show that in high-dimensional spaces, the functions learned by wide networks concentrate around a mean, causing optimization variance to vanish.

Key Insights: The Vanishing Optimization Variance

The most significant finding is that optimization variance vanishes with width. In narrow networks, the random starting point matters significantly. In ultra-wide networks, the high-dimensional landscape ensures that almost all random initializations lead to functionally similar solutions.

Decomposition of variance into sampling and optimization components.

As shown in the figure, optimization variance peaks at the "interpolation threshold" (where the model barely fits the data) and then drops as the model becomes wider. Sampling variance, meanwhile, plateaus rather than exploding. This provides a mechanistic explanation for the "double descent" phenomenon: the error peak occurs at the threshold, after which increasing width reduces variance.

Empirical Results and Mathematical Proofs

The study validates these trends across benchmarks like MNIST, CIFAR-10, and SVHN.

  • Empirical Proof: On all datasets, both bias and variance decrease as the number of hidden units grows.
  • Visualization: In sinusoid regression tasks, 100 different narrow networks produce wildly different curves, while 100 ultra-wide networks produce nearly identical ones.
  • Theorem 1: The authors prove that variance due to initialization decreases at a rate of $1/N$ (where $N$ is width).
  • Classification vs. Regression: They demonstrate that classification error is bounded by four times the regression error, justifying the use of squared-loss analysis for classification tasks.

Conclusion

While the "both decrease" rule is clear for width, the authors find that depth is more temperamental and requires specific architectural choices like skip connections to avoid increasing variance. This research fundamentally shifts our understanding of model complexity, suggesting that high-dimensionality can be a tool for stability rather than a source of overfitting.

Summary updated

BibTeX
@misc{neal2018modern,
  author = {Brady Neal and Sarthak Mittal and Aristide Baratin and Vinayak Tantia and Matthew Scicluna and Simon Lacoste-Julien and Ioannis Mitliagkas},
  title = {{A Modern Take on the Bias-Variance Tradeoff in Neural Networks}},
  year = {2018},
  eprint = {1810.08591},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1810.08591},
}
Figure