Skip to main content
QUICK REVIEW

[Paper Review] The Deep Bootstrap Framework: Good Online Learners are Good Offline Generalizers

Preetum Nakkiran, Behnam Neyshabur|arXiv (Cornell University)|Oct 16, 2020
Domain Adaptation and Few-Shot LearningComputer Science77 references15 citations
TL;DR

This paper introduces the Deep Bootstrap Framework, a novel decomposition of test error into online learning performance on the population loss (Ideal World) and a bootstrap error gap due to finite data. Empirically, it shows that the bootstrap gap is small in practice—especially for CNNs—implying that good generalization stems from fast optimization on the population loss, not just data efficiency.

ABSTRACT

We propose a new framework for reasoning about generalization in deep learning. The core idea is to couple the Real World, where optimizers take stochastic gradient steps on the empirical loss, to an Ideal World, where optimizers take steps on the population loss. This leads to an alternate decomposition of test error into: (1) the Ideal World test error plus (2) the gap between the two worlds. If the gap (2) is universally small, this reduces the problem of generalization in offline learning to the problem of optimization in online learning. We then give empirical evidence that this gap between worlds can be small in realistic deep learning settings, in particular supervised image classification. For example, CNNs generalize better than MLPs on image distributions in the Real World, but this is "because" they optimize faster on the population loss in the Ideal World. This suggests our framework is a useful tool for understanding generalization in deep learning, and lays a foundation for future research in the area.

Motivation & Objective

  • Address the limitations of classical generalization theory in deep learning, where models achieve zero training error yet generalize well.
  • Overcome the vacuity of existing generalization bounds that fail to predict performance in modern deep networks.
  • Propose an alternative decomposition of test error that separates optimization on the population loss from finite-sample deviations.
  • Establish a new research agenda focused on understanding online optimization in the infinite-data regime and finite-sample bootstrap effects.

Proposed method

  • Define two worlds: the Real World (training on finite data with stochastic gradients) and the Ideal World (training on the full population loss with fresh samples at each step).
  • Decompose test error as: TestError(f_t) = TestError(f^iid_t) + [TestError(f_t) - TestError(f^iid_t)], where f^iid_t is the model trained in the Ideal World.
  • Use the Ideal World test error as a proxy for online optimization performance on the true data distribution.
  • Measure the bootstrap error as the difference between Real World and Ideal World test errors, reflecting finite-sample deviation.
  • Train models in both worlds using identical architectures and hyperparameters, but with different sampling strategies (reused vs. fresh samples).
  • Empirically evaluate the framework on CIFAR-10-like and ImageNet datasets, comparing CNNs and MLPs across different data regimes.

Experimental results

Research questions

  • RQ1Can the generalization performance of deep networks be explained by their ability to optimize quickly on the population loss?
  • RQ2How small is the bootstrap error gap between finite-data (Real World) and infinite-data (Ideal World) training in realistic deep learning settings?
  • RQ3Why do CNNs generalize better than MLPs on image datasets, despite similar inductive biases?
  • RQ4To what extent does the Ideal World test error predict the Real World test error in practice?
  • RQ5Can the bootstrap framework provide a more predictive and interpretable theory of generalization than classical approaches?

Key findings

  • The bootstrap error gap between Real World and Ideal World training is small in practice, especially for CNNs, indicating that generalization is largely determined by optimization on the population loss.
  • CNNs generalize better than MLPs on image datasets not due to architectural bias per se, but because they optimize faster on the population loss in the Ideal World.
  • The Ideal World test error closely tracks the Real World test error across multiple architectures and data regimes, validating the framework’s predictive power.
  • For ResNet-18 on CIFAR-10 with 5M samples, the Ideal World test error is within 1.5% of the Real World test error, despite a large generalization gap in standard decomposition.
  • The framework reveals that generalization in deep learning is better understood as a property of online optimization on the true data distribution than as a finite-sample generalization gap.
  • Empirical results show that the bootstrap framework can explain generalization differences between architectures, even when classical generalization bounds fail.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.