Abstract
PAC-Bayesian analysis provides a robust framework for understanding generalization by expressing training error as a weighted average of hypotheses within a posterior distribution, incorporating prior knowledge. Beyond its role as a theoretical tool, PAC-Bayesian bounds can be integrated into objective functions to train probabilistic neural networks, offering tight, numerical generalization bounds for supervised learning. Despite their empirical success, the theoretical foundations of PAC-Bayesian learning in the context of over-parameterized neural networks have remained largely unexplored. This paper proposes a novel convergence and generalization analysis for PAC-Bayesian learning when applied to wide neural networks using gradient descent. We demonstrate that for sufficiently wide networks, the optimization process corresponds to solving a kernel ridge regression problem defined by a novel Probabilistic Neural Tangent Kernel (PNTK). Furthermore, we characterize a uniform PAC-Bayesian generalization bound that theoretically improves upon standard Rademacher complexity-based bounds. Finally, we introduce a proxy measure, $\mathcal{PA}$, which significantly accelerates hyperparameter selection by predicting bound quality without full network training.
Introduction
Deep learning's efficacy is often attributed to over-parameterization, yet this same characteristic makes formal performance guarantees difficult to establish. PAC-Bayesian learning offers a solution by treating network weights as distributions rather than fixed points. This approach provides generalization bounds that do not require a separate validation set, making it highly relevant for data-constrained scenarios. However, two primary challenges persist: understanding why gradient descent effectively minimizes complex PAC-Bayesian objectives and determining how these bounds scale in the infinite-width limit. Additionally, the sensitivity of PAC-Bayesian models to hyperparameters often necessitates computationally expensive grid searches.
Methodology: The Probabilistic Neural Tangent Kernel
To analyze the optimization dynamics, the authors leverage the Neural Tangent Kernel (NTK) framework, extending it to the probabilistic setting. They introduce the Probabilistic NTK (PNTK) to account for the stochastic nature of weight distributions.
Key methodological innovations include:
- Reparameterization Trick: This technique makes gradient descent on the mean ($\mu$) and variance ($\sigma$) of the weights tractable, allowing for standard optimization routines.
- Convergence Analysis: The paper proves that for sufficiently wide networks, the training error converges at a linear rate ($e^{-\lambda_0 t}$), ensuring that global minima are reachable despite the non-convexity of the underlying neural network.
- Kernel Equivalence: A central finding is that the final learned function in PAC-Bayesian learning is equivalent to the solution of a kernel ridge regression problem where the kernel is the PNTK.
The $\mathcal{PA}$ Proxy for Hyperparameter Selection
PAC-Bayesian models are notoriously sensitive to hyperparameters such as the prior distribution and penalty weights ($\lambda$). Traditionally, finding the optimal configuration requires a "train-then-check" cycle that is time-prohibitive for large models. The authors derive a formula, $\mathcal{PA}$, based on the PNTK at initialization and label similarity. This proxy can predict the quality of the eventual generalization bound without actually training the network.
As shown in the correlation plots above, the $\mathcal{PA}$ metric tracks the actual error bound closely across various settings, including different amounts of prior data and different values for $\lambda$ and $\rho_0$.
Key Results and Efficiency
The theoretical results were validated using MNIST (with a 3-layer FCN) and CIFAR-10 (with a 13-layer CNN).
- Optimization: The authors confirmed the "Fixed Variance" phenomenon, where variance parameters change much more slowly than means in wide networks, simplifying the optimization landscape.
- Generalization: The derived PAC-Bayesian NTK bound converges at a rate of $O(1/n)$, which is tighter than the $O(1/\sqrt{n})$ rate typical of Rademacher complexity-based bounds for non-probabilistic networks.
- Computational Speedup: The efficiency gains from the $\mathcal{PA}$ proxy are substantial. In experiments on CIFAR-10, the proxy achieved a nearly identical generalization bound to brute-force grid search while reducing computation time from over 38 days to less than one day.
Conclusion and Future Work
This work provides a rigorous theoretical bridge between PAC-Bayesian theory and the NTK framework, explaining how over-parameterized probabilistic networks optimize and generalize. The proposed $\mathcal{PA}$ proxy offers a practical path forward for researchers to utilize PAC-Bayesian learning without the prohibitive cost of hyperparameter tuning. Future research directions include extending this analysis to data-dependent priors, which currently represent the state-of-the-art in empirical PAC-Bayesian performance.
Summary updated