Controlling Multiple Errors Simultaneously with a PAC-Bayes Bound
Reuben Adams, John Shawe-Taylor, Benjamin Guedj
TL;DR
The paper extends PAC-Bayes by introducing an error-type partition and deriving a bound on the KL-divergence between the empirical and true distributions over these error types. This bound holds uniformly for all posteriors in the hypothesis space and enables simultaneous control of all linear combinations of per-type risks, including those weighted by arbitrary loss vectors. A differentiable training objective is constructed via a closed-form kl-inverse formulation, enabling optimization of neural networks under the PAC-Bayes bound. Empirical results on binarised MNIST and HAM10000 illustrate the practicality of the approach, showing non-vacuous bounds and informative reallocation of empirical error probabilities, with discussions on extensions and limitations. The framework promises richer certificates for multiclass, structured, and time-varying error regimes, potentially inspiring robust, risk-aware learning in complex domains.
Abstract
Current PAC-Bayes generalisation bounds are restricted to scalar metrics of performance, such as the loss or error rate. However, one ideally wants more information-rich certificates that control the entire distribution of possible outcomes, such as the distribution of the test loss in regression, or the probabilities of different mis-classifications. We provide the first PAC-Bayes bound capable of providing such rich information by bounding the Kullback-Leibler divergence between the empirical and true probabilities of a set of $M$ error types, which can either be discretized loss values for regression, or the elements of the confusion matrix (or a partition thereof) for classification. We transform our bound into a differentiable training objective. Our bound is especially useful in cases where the severity of different mis-classifications may change over time; existing PAC-Bayes bounds can only bound a particular pre-decided weighting of the error types. In contrast our bound implicitly controls all uncountably many weightings simultaneously.
