[Paper Review] Computing Nonvacuous Generalization Bounds for Deep (Stochastic) Neural Networks with Many More Parameters than Training Data
The paper optimizes PAC-Bayes bounds to compute nonvacuous generalization bounds for deep stochastic neural networks with millions of parameters trained on tens of thousands of examples, demonstrating nontrivial generalization in overparameterized regimes.
One of the defining properties of deep learning is that models are chosen to have many more parameters than available training data. In light of this capacity for overfitting, it is remarkable that simple algorithms like SGD reliably return solutions with low test error. One roadblock to explaining these phenomena in terms of implicit regularization, structural properties of the solution, and/or easiness of the data is that many learning bounds are quantitatively vacuous when applied to networks learned by SGD in this "deep learning" regime. Logically, in order to explain generalization, we need nonvacuous bounds. We return to an idea by Langford and Caruana (2001), who used PAC-Bayes bounds to compute nonvacuous numerical bounds on generalization error for stochastic two-layer two-hidden-unit neural networks via a sensitivity analysis. By optimizing the PAC-Bayes bound directly, we are able to extend their approach and obtain nonvacuous generalization bounds for deep stochastic neural network classifiers with millions of parameters trained on only tens of thousands of examples. We connect our findings to recent and old work on flat minima and MDL-based explanations of generalization.
Motivation & Objective
- Motivate and quantify nonvacuous generalization bounds for deep networks trained with SGD in heavily overparameterized regimes.
- Extend Langford and Caruana’s PAC-Bayes approach to modern deep architectures with millions of parameters.
- Demonstrate that a broad region around SGD solutions contains similarly good models, enabling nonvacuous bounds.
- Connect bounds to ideas on flat minima and MDL-based explanations of generalization.
Proposed method
- Formulate a PAC-Bayes bound for stochastic neural networks and express the bound in terms of a Gaussian distribution over weights with mean w and diagonal covariance s.
- Optimize the bound by gradient-based methods to find a distribution Q = N(w, diag(s)) that minimizes empirical surrogate loss plus a bound-dependent regularizer.
- Use a union-bound style prior over a discretized variance scale lambda to enable a tractable bound and its optimization.
- Employ an unbiased gradient estimate of the surrogate empirical loss under random perturbations of the SGD solution.
- Compute the bound using a Monte Carlo approximation to estimate the empirical error of the randomized classifier and invoke a sample-convergence bound to control estimation error.
- Report results with bounds that hold with high probability (around 0.965) for the tested architectures.
Experimental results
Research questions
- RQ1Can nonvacuous generalization bounds be obtained for deep stochastic networks with millions of parameters when training data is relatively scarce?
- RQ2Does optimizing a PAC-Bayes bound around SGD solutions reveal a large region of similarly performing weight configurations (flatness around the solution)?
- RQ3How do data-dependent PAC-Bayes bounds compare to data-independent VC bounds in heavily overparameterized regimes?
- RQ4Do bounds reflect differences between true-label and random-label training scenarios?
Key findings
- Nonvacuous numerical bounds on generalization are achievable for deep networks with millions of parameters trained on tens of thousands of examples.
- Optimized PAC-Bayes bounds yield test-error bounds in the range of roughly 16–22% for several architectures on a binary MNIST variant, despite large model capacity.
- For true-label training, the stochastic neural network (SNN) bounds remain nontrivial and do not grow dramatically with larger networks, indicating nontrivial generalization beyond mere parameter-count considerations.
- When trained on random labels, the PAC-Bayes bound becomes vacuous, highlighting the limits of the approach in non-generalizing settings.
- Empirical results show SGD solutions are near the center of a broad region of low-error weight configurations, supporting the hypothesis that flat regions around SGD solutions contribute to generalization.
- KC bounds (VC dimension) remain prohibitively loose for data-independent analysis, underscoring the need for data-dependent approaches like PAC-Bayes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.