TL;DR
Deep neural networks (DNNs) achieve remarkable generalization despite being overparameterized. This paper argues that this success stems from an inherent "Occam's razor" inductive bias in DNNs, favoring simpler functions. By analyzing DNNs through a Bayesian lens, the authors show this bias, combined with structured data, is crucial for their ability to avoid overfitting.
What Problem Does This Paper Address?
The central puzzle this paper tackles is why overparameterized deep neural networks (DNNs) generalize so well, defying traditional statistical learning theory which predicts overfitting. Despite having far more parameters than data points, DNNs often avoid memorizing noise and instead learn underlying patterns. This phenomenon, often referred to as the "generalization puzzle," is a fundamental question in machine learning. The authors aim to disentangle the roles of network architecture, training algorithms, and data structure in enabling this generalization.
Methods
The authors employ a Bayesian framework to analyze the functions expressed by DNNs. They model the network's inductive bias as a prior distribution over functions, which is determined by the network's architecture. Specifically, they investigate how varying the network's "regime" (from ordered to chaotic, controlled by weight initialization variance) affects this prior. For Boolean function classification, they approximate the likelihood of observing the training data given a function. By combining the prior and likelihood, they derive a posterior distribution over functions, which they compare to the actual functions learned by DNNs trained with stochastic gradient descent (SGD). This Bayesian approach allows them to quantify the "Occam's razor" bias towards simpler functions.
Datasets
The paper primarily uses synthetic Boolean function datasets for its analysis. These datasets are generated by defining Boolean functions of varying complexity. For experiments on real-world data, they mention using MNIST and CIFAR-10 datasets, though the detailed analysis focuses on the Boolean system.
Key Insights and Ideas
- DNNs possess an inherent Occam's Razor: The paper provides strong evidence that DNNs, by design, are biased towards learning simpler functions. This bias is quantifiable and can be manipulated by network architecture.
- The "Chaotic Regime" weakens the bias: As DNNs enter a "chaotic regime" (achieved with larger weight variances), their inductive bias towards simplicity diminishes, leading to poorer generalization.
- Simplicity bias is crucial for generalization: A sufficiently strong simplicity bias is necessary to counteract the exponential growth in the number of possible functions with increasing complexity. Without it, DNNs are more likely to converge on overly complex, non-generalizing solutions.
- Bayesian framework as a tool: The Bayesian approach effectively disentangles the contributions of network architecture (prior) and data (likelihood) to the learned function, providing a principled way to understand generalization.
Key Results
- The paper demonstrates that varying the weight initialization standard deviation ($\sigma_\omega$) in tanh-activated networks significantly alters the prior distribution over functions. Higher $\sigma_\omega$ values push the network into a chaotic regime, weakening the simplicity bias.
- For Boolean functions, networks with a stronger simplicity bias (lower $\sigma_\omega$) exhibit better generalization performance, especially for simpler target functions.
- The Bayesian posterior derived from the prior and likelihood accurately predicts the posterior distribution of functions learned by SGD-trained DNNs, validating the framework.
- The authors show that this simplicity bias is a fundamental property of DNNs, not solely dependent on specific optimizers like SGD or regularization techniques.
Limitations and Future Work
- Uncomputability: The theoretical underpinnings of Occam's razor, such as Kolmogorov complexity and algorithmic probability, are uncomputable. The paper relies on approximations (like Lempel-Ziv complexity) and empirical observations.
- Boolean Function Focus: While the principles are argued to extend to larger datasets, the core analysis is performed on Boolean functions, which are a simplified model.
- Feature Learning: The paper acknowledges that infinite-width limits of DNNs (which can be analyzed as Gaussian processes) do not perform feature learning, a capability that finite-width DNNs possess and which might be crucial for performance on complex real-world datasets.
- Future Directions: The authors suggest exploring the connection between their work and Solomonoff induction, further investigating the role of SGD in feature learning, and applying these principles to understand the structure of nature itself through the lens of what DNNs can learn.
Summary updated