English

Overfitting and Generalizing with (PAC) Bayesian Prediction in Noisy Binary Classification

Machine Learning 2026-03-25 v1 Machine Learning

Abstract

We consider a PAC-Bayes type learning rule for binary classification, balancing the training error of a randomized ''posterior'' predictor with its KL divergence to a pre-specified ''prior''. This can be seen as an extension of a modified two-part-code Minimum Description Length (MDL) learning rule, to continuous priors and randomized predictions. With a balancing parameter of λ=1\lambda=1 this learning rule recovers an (empirical) Bayes posterior and a modified variant recovers the profile posterior, linking with standard Bayesian prediction (up to the treatment of the single-parameter noise level). However, from a risk-minimization prediction perspective, this Bayesian predictor overfits and can lead to non-vanishing excess loss in the agnostic case. Instead a choice of λ1\lambda \gg 1, which can be seen as using a sample-size-dependent-prior, ensures uniformly vanishing excess loss even in the agnostic case. We precisely characterize the effect of under-regularizing (and over-regularizing) as a function of the balance parameter λ\lambda, understanding the regimes in which this under-regularization is tempered or catastrophic. This work extends previous work by Zhu and Srebro [2025] that considered only discrete priors to PAC Bayes type learning rules and, through their rigorous Bayesian interpretation, to Bayesian prediction more generally.

Keywords

Cite

@article{arxiv.2603.22644,
  title  = {Overfitting and Generalizing with (PAC) Bayesian Prediction in Noisy Binary Classification},
  author = {Xiaohan Zhu and Mesrob I. Ohannessian and Nathan Srebro},
  journal= {arXiv preprint arXiv:2603.22644},
  year   = {2026}
}
R2 v1 2026-07-01T11:34:34.247Z