Abstract
This paper bridges the gap between deep learning and kernel methods by demonstrating that neural networks with multiple "infinitely wide" layers can be represented as stochastic kernels. By extending the theory of single-layer infinite networks to deeper architectures, the authors provide a theoretical framework explaining why over-parameterized models generalize effectively without overfitting. Empirical results on MNIST show a 10% relative error reduction compared to single-layer infinite models.
Introduction: The Overfitting Paradox
In modern deep learning, a significant theoretical challenge exists: the "Overfitting Paradox." Standard statistical learning theory suggests that models with significantly more parameters than training examples should memorize noise and fail to generalize. However, deep networks with millions of parameters consistently perform well.
Previous research established that a neural network with a single infinitely wide hidden layer is equivalent to a Gaussian Process (GP). While foundational, these single-layer models lack the hierarchical depth characteristic of modern architectures. This work extends the "infinite" logic to multiple layers to uncover the theoretical properties of deep networks.
Methods: From Infinite Layers to Stochastic Kernels
The authors introduce Stochastic Kernels to represent multi-layer infinite networks. The transition from discrete neurons to continuous measures is illustrated below:
The derivation follows a structured logic:
- The First Layer: The first hidden layer is treated as an infinite collection of neurons indexed by weights $w$, resulting in a deterministic kernel (e.g., the ReLU kernel).
- The Second Layer: The second layer is also made infinite by defining its weights as being drawn from a Gaussian Process (GP).
- Stochastic Kernel Derivation: By integrating over these GPs, a new kernel function ($k_f^{(2)}$) is derived that encodes the information of a two-layer infinite network.
- Analytic Solutions: For common activation functions like ReLU, these expectations over GPs have closed-form analytic solutions, allowing for direct computation without simulating infinite networks.
- Stability and Generalization: Using algorithmic stability, the authors prove that regularized learning with Lipschitz continuous loss functions ensures the model's predictions remain stable even if training examples are removed, guaranteeing generalization.
Key Insights
- Depth via Covariance: Unlike single-layer kernels that only measure input similarity, the Stochastic Kernel effectively averages non-linearities while accounting for the covariance between neurons across layers.
- The Simplicity of Infinity: Counter-intuitively, infinite parameters can be easier to analyze. The Law of Large Numbers and GP properties allow the network's behavior to "smooth out" into predictable kernel functions.
- Stability as a Generalization Driver: Deep networks generalize because the learning algorithms used to train them are stable. Infinite width actually enhances this stability.
Empirical Results
The theoretical findings were validated using the MNIST digit database, comparing the "Deep" (two-layer) stochastic kernel against the traditional "Shallow" (one-layer) infinite kernel.
- Performance: The stochastic kernel achieved an average error of 1.7%, compared to 1.9% for the single-layer baseline. This represents a 10% reduction in error rate.
- Efficiency: Due to the analytic form of the stochastic kernel, training is as fast as standard kernel methods like SVMs.
- Convergence: The stochastic ReLU kernel achieved complete separation of training data within 50 iterations, significantly outperforming the single-layer version.
Limitations and Future Directions
While the paper successfully derives the mathematics for two infinite layers, extending this to arbitrarily deep networks (e.g., 50+ layers) remains an open challenge. Finding analytic forms for deeper kernels is mathematically complex. Additionally, while the first layers can be highly non-linear, higher layers in an infinite stack might lose expressive power without careful construction. Finally, like all kernel methods, computational scaling remains $O(m^2)$ or $O(m^3)$ relative to the number of training examples, which may limit application to massive datasets compared to SGD-based finite networks.
Summary updated