[Paper Review] On the role of data in PAC-Bayes bounds
This paper demonstrates that data-dependent priors—specifically, priors conditioned on a subset of training data not used in the empirical risk calculation—can yield significantly tighter linear PAC-Bayes generalization bounds than the classical oracle prior (the expected posterior). The key contribution is showing that such data-dependent priors are not just heuristic but essential for nonvacuous bounds in certain settings, particularly in nonconvex learning with stochastic gradient descent.
The dominant term in PAC-Bayes bounds is often the Kullback--Leibler divergence between the posterior and prior. For so-called linear PAC-Bayes risk bounds based on the empirical risk of a fixed posterior kernel, it is possible to minimize the expected value of the bound by choosing the prior to be the expected posterior, which we call the oracle prior on the account that it is distribution dependent. In this work, we show that the bound based on the oracle prior can be suboptimal: In some cases, a stronger bound is obtained by using a data-dependent oracle prior, i.e., a conditional expectation of the posterior, given a subset of the training data that is then excluded from the empirical risk term. While using data to learn a prior is a known heuristic, its essential role in optimal bounds is new. In fact, we show that using data can mean the difference between vacuous and nonvacuous bounds. We apply this new principle in the setting of nonconvex learning, simulating data-dependent oracle priors on MNIST and Fashion MNIST with and without held-out data, and demonstrating new nonvacuous bounds in both cases.
Motivation & Objective
- To investigate whether data-dependent priors can improve the tightness of linear PAC-Bayes bounds beyond the classical oracle prior.
- To identify conditions under which data-dependent priors outperform the expected posterior as a prior in PAC-Bayes bounds.
- To empirically validate that data-dependent priors lead to nonvacuous bounds in nonconvex learning settings like MNIST and Fashion MNIST.
- To clarify the role of data in prior selection, distinguishing it from distributional or ghost-sample-based priors.
- To demonstrate that using data to construct the prior can be essential for achieving nonvacuous bounds, even when the true data distribution is known.
Proposed method
- Proposes a formal framework for data-dependent priors by conditioning the prior on a subset J of training data, excluding J from the empirical risk computation.
- Introduces the concept of a 'data-dependent oracle prior' as the conditional expectation of the posterior given a subset of data, distinct from the standard oracle prior.
- Derives necessary and sufficient conditions (Proposition 3.1) under which such data-dependent priors improve the expected bound over the standard oracle prior.
- Applies the framework to a model of SGD in a linear model with decreasing learning rates, where early data points strongly influence the posterior.
- Empirically evaluates the method on MNIST and Fashion MNIST using held-out data to estimate the data-dependent prior, comparing bounds with and without ghost samples.
- Uses a Gaussian prior with fixed variance and optimizes the mean via conditional expectation on early data points to simulate the data-dependent prior.
Experimental results
Research questions
- RQ1Can a data-dependent prior, constructed using a subset of training data not used in the risk estimate, yield a tighter linear PAC-Bayes bound than the standard oracle prior?
- RQ2Under what conditions is the use of data in prior construction necessary for achieving nonvacuous bounds?
- RQ3How does the information rate gain from data-dependent priors compare to the excess bias introduced by excluding data from the risk estimate?
- RQ4To what extent can heuristic data-dependent priors approximate the optimal data-dependent prior in practice?
- RQ5Can data-dependent priors enable nonvacuous bounds in nonconvex learning scenarios such as those involving SGD on image datasets?
Key findings
- The standard oracle prior (expected posterior) is not always optimal; data-dependent priors can yield significantly tighter bounds.
- In a model of SGD with decreasing learning rates, the oracle prior yields a vacuous bound, while a data-dependent prior based on early data points yields a nonvacuous bound.
- The superiority of data-dependent priors arises when the information rate gain from conditioning on early data exceeds the excess bias from removing those data from the risk estimate.
- Empirical results on MNIST and Fashion MNIST show that data-dependent priors produce nonvacuous bounds even without ghost samples, suggesting that data-dependence is more impactful than distribution-dependence in this context.
- The heuristic use of data to construct priors, though not formally justified before, is shown to be theoretically sound and essential for tight bounds in certain settings.
- The proposed method enables nonvacuous bounds in nonconvex learning, where standard PAC-Bayes bounds often fail due to large KL divergence terms.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.