Introduction
A fundamental challenge in machine learning theory is providing rigorous guarantees for a model's performance on unseen data. The PAC-Bayes framework has long been a cornerstone of this effort, offering generalisation bounds based on the Kullback-Leibler (KL) divergence between a prior and a posterior distribution over the hypothesis space. However, KL-based bounds face a significant limitation: they are ill-defined for deterministic predictors—where the posterior is a single point (Dirac distribution)—as the divergence becomes infinite. This makes traditional PAC-Bayes theory difficult to apply to standard deep learning models without adding artificial noise.
The $(f, \Gamma)$-Divergence Framework
To address this, the authors propose a unified framework using $(f, \Gamma)$-divergences. This mathematical construct acts as a bridge between $f$-divergences (such as KL) and Integral Probability Metrics (IPMs) like the Wasserstein distance. While IPMs can handle deterministic models, they often lack the explicit convergence rates relative to sample size ($m$) that make $f$-divergences attractive.
The paper introduces two primary "recipes" for deriving generalisation bounds:
- General Templates (Theorems 3.1 & 3.2): These provide a methodology to transform any $(f, \Gamma)$-divergence into a generalisation bound. Theorem 3.2 is particularly notable for utilizing the "bounded difference property," which avoids the difficult-to-calculate exponential moments often required in PAC-Bayesian analysis.
- Interpolated Bounds (Theorem 4.1): This specific instantiation allows for a dynamic interpolation between KL and Wasserstein distances. By leveraging the infimal convolution formula, the framework automatically finds the optimal combination of these complexities, leading to strictly tighter bounds than using either measure in isolation.
Bridging PAC-Bayes and Rademacher Complexity
A key theoretical contribution is the formal link established between PAC-Bayes and Rademacher complexity. The authors demonstrate that classical Rademacher-based bounds can be recovered as a special case of their framework. Furthermore, to make Wasserstein-based bounds practical, they derive a novel high-probability estimate for the Lipschitz constant of the loss function using an empirical surrogate of Rademacher complexity (Theorem 6.1). This allows the bounds to be turned into differentiable training objectives, enabling models to be optimized directly to minimize the generalisation gap.
Empirical Evaluation
The authors evaluated their approach on several standard benchmarks, including the UCI repository (Yeast, Phishing, and Mushrooms) and computer vision datasets (MNIST and FashionMNIST). These were used to compare the new interpolated bounds against established baselines for both linear classifiers and simple neural networks.
Key Results
- Deterministic Models: In experiments with Dirac posteriors, the new interpolated bounds were significantly lower and more informative than previous state-of-the-art bounds.
- Gaussian Posteriors: For randomized models, the interpolated approach matched the performance of the well-known Maurer (2004) bound. This confirms that the interpolation does not hurt performance when KL is already optimal, but provides a necessary safety net when it is not.
- Non-Vacuous Guarantees: Unlike many theoretical bounds that result in values greater than 1 (which are meaningless for error rates), the authors' bounds often yielded non-vacuous values, especially when the prior was learned on a small subset of the data.
- Heavy-Tailed Noise: The framework proved flexible enough to provide guarantees for models trained with heavy-tailed noise, a scenario that is notoriously difficult to analyze with standard theoretical tools.
Limitations and Future Work
While the framework provides a significant step forward, it relies on the assumption that loss functions are bounded, which may not hold for all regression tasks or unclipped cross-entropy. Additionally, estimating the Lipschitz constant via Rademacher complexity adds computational overhead during training. Future research may explore more complex data-dependent priors and extend these techniques to more sophisticated deep learning architectures beyond the simple networks tested in this study.
Summary updated