Abstract
Standard PAC-Bayesian generalization bounds typically rely on Markov's inequality applied to exponential moments, a technique that necessitates strictly bounded or light-tailed loss functions. This paper introduces a novel framework that extends PAC-Bayes to heavy-tailed, unbounded losses by leveraging Ville’s maximal inequality for supermartingales. By requiring only that the loss function possesses a bounded variance, the authors derive unified, time-uniform generalization bounds applicable to batch learning, online learning, and multi-armed bandits, even in the presence of non-independent data.
Introduction: The Bottleneck of Boundedness
PAC-Bayesian learning theory is a cornerstone of statistical learning, providing rigorous mathematical guarantees on how well a model—represented as a distribution over hypotheses—will generalize to unseen data. The traditional "recipe" for proving these bounds involves applying Markov’s inequality to an exponential function of the empirical risk. While powerful, this approach creates a significant mathematical bottleneck: it requires the loss function to be "light-tailed" (e.g., sub-Gaussian or sub-exponential).
In many practical machine learning scenarios, such as regression with squared error loss without predefined domain constraints, losses are naturally unbounded and heavy-tailed. Previous attempts to accommodate these losses often required complex workarounds, such as truncation or strict assumptions of independent and identically distributed (i.i.d.) data. This paper seeks to provide a clean, unified mathematical alternative that maintains the elegance of PAC-Bayes while broadening its applicability.
Methodology: From Markov to Ville
The core innovation of this research is the substitution of the standard Markov-based proof technique with Ville’s maximal inequality for supermartingales. While Markov’s inequality provides a bound for a single random variable, Ville’s inequality provides a bound for the entire trajectory of a non-negative supermartingale.
To implement this, the authors construct a specific non-negative supermartingale using a lemma derived from Bercu and Touati (2008). This construction allows the researchers to bypass the "Bernstein assumption," which typically requires bounding an exponential moment. Instead, the resulting bounds are defined in terms of the empirical and theoretical variance of the loss. Bounding a second-order moment (variance) is significantly less restrictive than bounding an exponential moment, allowing the framework to handle heavy-tailed distributions with ease.
Furthermore, because the approach is rooted in martingale theory, it does not require the data to be i.i.d. This allows the bounds to naturally accommodate dependent data sequences, making the framework applicable to a wider variety of learning paradigms.
Key Theoretical Insights
Time-Uniform Bounds
A major advantage of using Ville’s inequality is that it holds for a countable sequence of random variables simultaneously. Consequently, the generalization bounds presented in this paper are "time-uniform," meaning they hold for all sample sizes ($m \ge 1$) at the same time. This is a significant improvement over standard PAC-Bayes bounds, which are usually valid only for a single, fixed dataset size.
Variance as the Primary Constraint
The paper demonstrates that to achieve PAC-Bayesian guarantees on non-independent data, one only needs to control the conditional second-order moments of the loss. This shift from boundedness to variance-control simplifies the requirements for proving generalization in complex environments.
A New Optimization Objective
The theoretical bounds suggest a practical shift in how models are trained on heavy-tailed data. The resulting objective function explicitly requires a trade-off between three terms:
- Complexity: The KL divergence between the posterior and prior distributions.
- Empirical Loss: The average performance on the training data.
- Empirical Variance: A penalty term that accounts for the volatility of the loss.
Applications across Learning Paradigms
The authors demonstrate the versatility of their supermartingale approach by applying it to three distinct areas:
- Batch Learning: The framework recovers and improves upon existing bounds for unbounded losses in the i.i.d. setting.
- Online PAC-Bayes: The authors derive the first-ever Online PAC-Bayes bound for unbounded losses (Theorem 3.1). This allows for the use of history-dependent priors that evolve at each time step without assuming data independence.
- Multi-Armed Bandits: The framework provides PAC-Bayesian guarantees for reinforcement learning scenarios where rewards may be unbounded.
Limitations and Future Work
While the framework is robust, the application to multi-armed bandits (Theorem 4.1) currently utilizes a relatively simple method to bound the empirical variance with high probability. This results in a $1/\delta$ dependency (where $\delta$ is the confidence level), which is less efficient than the $\log(1/\delta)$ dependency found in tighter, standard bounds. The authors identify the refinement of this empirical variance term—to achieve optimal convergence rates without sacrificing the ability to handle unbounded rewards—as a primary objective for future research.
Summary updated