NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

PAC-Bayesian Transportation Bound

Kohei MiyaguchiarXiv 2019

Introduction

In statistical learning theory, the PAC-Bayesian framework has emerged as a powerful tool for deriving tight generalization bounds. By relating the performance of a model on a training set to its expected performance on unseen data, it provides a mathematical foundation for understanding why certain models generalize well. However, a significant theoretical limitation has persisted: the framework is inherently designed for stochastic predictors.

In a standard PAC-Bayesian setting, model parameters are treated as being drawn from a posterior distribution (e.g., weights with added Gaussian noise). When practitioners attempt to apply these bounds to the deterministic models used in the vast majority of real-world applications—such as standard neural networks with fixed weights—the framework mathematically collapses. Specifically, the Kullback-Leibler (KL) divergence between the prior and a point-mass posterior becomes infinite, rendering the resulting bounds useless. This paper introduces the PAC-Bayesian transportation bound, a novel approach that uses optimal transport to bridge the gap between stochastic theory and deterministic practice.

The Problem: The Cost of De-randomization

The central question addressed by this research is whether the impressive generalization guarantees of PAC-Bayesian theory are dependent on the injection of randomness, or if the randomness is merely a mathematical artifact required to keep the equations well-behaved. If we "de-randomize" a model by stripping away the noise, what is the theoretical cost?

Until now, the inability to apply PAC-Bayesian bounds to deterministic predictors left a glaring gap in our understanding of neural network generalization. This paper seeks to quantify the "cost of de-randomization" and prove that deterministic models can achieve the same theoretical guarantees as their stochastic counterparts.

Methodology: Posterior Flows and Optimal Transport

To resolve the infinite divergence problem, the author unifies PAC-Bayesian theory with the chaining method—a technique from empirical process theory—through the lens of optimal transportation.

Instead of viewing the transition from a prior distribution to a deterministic predictor as a discrete jump, the author models it as a continuous posterior flow. This flow is conceptualized as an Ordinary Differential Equation (ODE) that describes a smooth path morphing a noisy, stochastic predictor into a rigid, deterministic one. To measure the complexity of this transition, the author defines two distinct "velocities":

  1. Wasserstein Velocity: This measures the metric distance the parameters travel during the flow.
  2. Deviation-based Velocity: A novel metric that tracks how much the loss or error fluctuates as the distribution shifts.

By integrating these complexities over the continuous path using the fundamental theorem of calculus and Fenchel-Young inequalities, the author derives an "Optimal Transportation (OT) distance." This distance represents the formal penalty for removing noise from the model, effectively replacing the problematic KL divergence term with a finite, calculable metric.

Key Insights and Results

The research yields several transformative insights for learning theory:

  • Quantifiable De-randomization: The paper provides the first general bound capable of relating the risks of any two predictors—whether stochastic or deterministic—based on their optimal transportation distance.
  • Randomness is Not the "Secret Sauce": A critical finding is that for spectrally normalized neural networks, the de-randomization cost is negligible. This implies that the tight generalization bounds previously associated with stochastic weights are equally applicable to standard, deterministic networks.
  • Matching State-of-the-Art: The resulting risk bound for deterministic neural networks matches existing state-of-the-art PAC-Bayesian bounds for randomized networks (up to a logarithmic factor). Notably, this is achieved under weaker mathematical assumptions, requiring only Lipschitz continuous loss rather than strict margin assumptions.

Limitations and Future Directions

While the framework provides a robust theoretical bridge, calculating the exact Optimal Transportation distance remains computationally intractable, as it requires identifying the absolute "best" flow among infinite possibilities. Currently, the author utilizes upper bounds derived from simple linear contraction flows to maintain feasibility.

Looking forward, the author suggests that characterizing the true optimal posterior flow could further tighten these bounds. Additionally, this transportation framework offers a promising new avenue for analyzing iterative optimization algorithms like Stochastic Gradient Descent (SGD). By viewing parameter updates during training as a transportation flow, researchers may finally be able to directly link the optimization process to the generalization performance of the resulting model.

Summary updated

BibTeX
@misc{miyaguchi2019pac,
  author = {Kohei Miyaguchi},
  title = {{PAC-Bayesian Transportation Bound}},
  year = {2019},
  eprint = {1905.13435},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.13435},
}
Figure