Skip to main content
QUICK REVIEW

[Paper Review] PAC-Bayes with Backprop

Omar Rivasplata, Vikram M Tankasali|arXiv (Cornell University)|Aug 19, 2019
Adversarial Robustness in Machine LearningComputer Science32 references15 citations
TL;DR

This paper introduces two novel PAC-Bayes training objectives—PAC-Bayes-lambda and PAC-Bayes-quadratic—for training probabilistic neural networks via backpropagation. It demonstrates that these methods achieve competitive test error (~1.4% on MNIST) while producing significantly tighter, non-vacuous risk bounds (~2.3%) than prior work, suggesting progress toward self-bounding learning with theoretical guarantees and practical performance.

ABSTRACT

We explore the family of methods "PAC-Bayes with Backprop" (PBB) to train probabilistic neural networks by minimizing PAC-Bayes bounds. We present two training objectives, one derived from a previously known PAC-Bayes bound, and a second one derived from a novel PAC-Bayes bound. Both training objectives are evaluated on MNIST and on various UCI data sets. Our experiments show two striking observations: we obtain competitive test set error estimates (~1.4% on MNIST) and at the same time we compute non-vacuous bounds with much tighter values (~2.3% on MNIST) than previous results. These observations suggest that neural nets trained by PBB may lead to self-bounding learning, where the available data can be used to simultaneously learn a predictor and certify its risk, with no need to follow a data-splitting protocol.

Motivation & Objective

  • To develop new PAC-Bayes training objectives for probabilistic neural networks that yield both strong generalization performance and tight risk certificates.
  • To close the gap between test set error estimates and non-vacuous PAC-Bayes risk upper bounds, enabling more informative performance guarantees.
  • To demonstrate that simple, data-free priors and standard SGD can achieve tighter bounds than prior methods using complex priors or optimization schemes.
  • To investigate whether PAC-Bayes with Backprop enables 'self-bounding learning,' where risk bounds closely track actual test performance without data splitting.
  • To evaluate the method on diverse datasets, including MNIST, UCI benchmarks, and initial experiments on CIFAR-10, to assess generalizability.

Proposed method

  • Proposes a new PAC-Bayes-quadratic bound derived by solving a quadratic inequality, providing a tighter upper bound on generalization risk.
  • Adapts the PAC-Bayes-lambda bound from Thiemann et al. (2017) as a baseline training objective for neural network training.
  • Uses standard stochastic gradient descent (SGD) with fixed, data-free priors to optimize the weight distributions in probabilistic neural networks.
  • Applies backpropagation to compute gradients of the PAC-Bayes objectives with respect to network weights, enabling end-to-end training.
  • Employs a variational approximation to the posterior over weights, minimizing the PAC-Bayes bound as a regularized training objective.
  • Avoids heuristic regularization or data-dependent priors, relying instead on theoretically grounded bounds and standard optimization.

Experimental results

Research questions

  • RQ1Can PAC-Bayes with Backprop achieve test set error comparable to state-of-the-art methods like those of Blundell et al. (2015)?
  • RQ2Can the PAC-Bayes risk upper bounds produced by PBB be significantly tighter than those from prior work, such as Dziugaite and Roy (2017, 2018)?
  • RQ3Does the use of simple, data-free priors and standard SGD yield non-vacuous bounds that closely track actual test performance?
  • RQ4Can PBB methods enable self-bounding learning, where the risk certificate is both informative and close to the true test error?
  • RQ5How do PBB objectives generalize across different datasets, including MNIST, UCI benchmarks, and more complex datasets like CIFAR-10?

Key findings

  • On MNIST, the PBB method achieved a test error of 1.4% (0.014), matching or exceeding the performance of prior state-of-the-art methods like Blundell et al. (2015).
  • The minimal PAC-Bayes risk upper bound achieved was 2.3% (0.023), a substantial improvement over prior results (e.g., 0.21 in Dziugaite and Roy, 2018), indicating tighter generalization guarantees.
  • The gap between the risk certificate and the test error estimate was significantly reduced, suggesting that the bounds are informative and not vacuous.
  • Experiments on five UCI datasets confirmed that the PBB method maintains tight bounds and competitive test performance, supporting generalizability beyond MNIST.
  • Initial experiments on CIFAR-10 showed risk bounds three times larger than test error, indicating that tighter bounds remain challenging for larger, more complex datasets.
  • The KL divergence term in the PAC-Bayes objective was identified as a major bottleneck, especially in deeper networks, suggesting a need for architectural or prior design improvements.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.