Empirical Bernstein Inequality for Martingales: Application to Online Learning

Thomas Peel, Sandrine Anthoine, Liva Ralaivola, Hal Id Hal2013

TL;DR

This paper introduces a novel empirical Bernstein inequality for martingales, which is a more refined concentration inequality than existing methods. This new inequality is then applied to online learning to provide tighter bounds on the average risk of learned hypotheses, particularly improving performance when the number of hypotheses is small.

What Problem Does This Paper Address?

Online learning algorithms learn incrementally from a sequence of data. A key challenge in analyzing these algorithms is bounding the "risk" of the hypotheses they produce, which is a measure of their expected error on unseen data. Standard concentration inequalities, which are used to bound this risk, often require data independence. However, in online learning, hypotheses are generated sequentially, leading to dependencies. While martingale inequalities (like Azuma-Hoeffding and Bernstein) handle these dependencies, they can be loose. Existing empirical Bernstein inequalities are not directly applicable to the online setting. This paper aims to bridge this gap by developing a tighter empirical Bernstein inequality specifically for martingales that can be used in online learning.

Methods

The core contribution is a new Empirical Bernstein Inequality for Martingales (Theorem 2). This inequality improves upon existing Bernstein inequalities by incorporating an instantaneous estimator of the variance ($V_n$) instead of relying on a global or assumed bound on the variance. This allows for a more data-dependent and potentially tighter bound. The proof involves several key steps:

  • Inequality Reversal Lemma (Lemma 2): This is a general tool that transforms tail probabilities into confidence intervals, which is crucial for deriving empirical bounds.
  • Martingale Difference Sequences (MDS): The paper builds upon the theory of martingales and MDS, which are sequences where the expected future value, given past information, is the current value (for martingales) or zero (for MDS).
  • Conditional Variance Estimator: A novel aspect is the introduction and analysis of $V_n$, an instantaneous estimator of the conditional variance. Lemma 3 quantifies the deviation of this estimator from the true sum of conditional variances.
  • Application to Online Learning: The new inequality is then applied to the online learning setting. The paper defines an instantaneous empirical risk estimator ($R_n$) and uses the new inequality to bound the average risk of hypotheses learned by an online algorithm.

Datasets

Not discussed in the paper. The theoretical results are demonstrated through simulations on a "Toy Linearly Separable Dataset" in Figure 1.

Key Insights and Ideas

  • Instantaneous Variance Estimation is Key: The most significant insight is that using an instantaneous estimator of the variance, rather than a global bound, can lead to tighter concentration inequalities in the context of martingales and online learning. This is because it adapts to the specific data seen so far.
  • Tighter Bounds for Small Numbers of Hypotheses: The new inequality provides a substantial improvement over existing bounds, especially when the number of hypotheses considered ($n$) is small. This is a practical advantage for algorithms that might not run for a very large number of iterations.
  • Bridging Batch and Online Learning Theory: The work extends ideas from empirical Bernstein inequalities developed for batch learning (using sample variance) to the online setting, adapting them to the sequential nature of online algorithms.
  • General Applicability: While the paper focuses on online learning, the core empirical Bernstein inequality for martingales is presented as a general tool with broader potential applications.

Key Results

  • Theorem 2: A new empirical Bernstein inequality for bounded martingale difference sequences is derived, which uses an instantaneous variance estimator ($V_n$) to provide a tighter bound on the deviation of a sum from its expected value.
  • Theorem 3: This theorem applies the new inequality to online learning, providing a bound on the average risk of hypotheses learned by an algorithm. This bound is shown to be tighter than the state-of-the-art bound by Cesa-Bianchi and Gentile [2008], particularly in the early stages of learning.
  • Figure 1: Experimental results on a toy dataset visually demonstrate that the bound derived from the new inequality is significantly tighter than the Cesa-Bianchi and Gentile bound, especially for smaller values of the parameter $\lambda$ (related to regularization) and at the beginning of the learning process.
  • Corollary 2: For convex loss functions, a bound on the risk of the mean hypothesis is derived, offering an alternative to the Gibbs classifier.
  • Corollary 3: A specific bound for the Pegasos algorithm is derived, showing its improvement over existing bounds.

Limitations and Future Work

  • Bounded Loss Function: The theoretical results assume a bounded loss function (e.g., in [0,1]). While the authors argue this doesn't limit the scope, it's a common assumption in theoretical analyses.
  • Comparison with PAC-Bayes: The authors suggest comparing their bounds with recent PAC-Bayes empirical Bernstein inequalities as a future direction.
  • New Online Learning Algorithms: They propose developing new online learning algorithms that directly optimize the empirical Bernstein bound derived in this paper.
  • Excess Risk Bounds: Extending the results to derive new bounds on the "excess risk" (the difference between the learned hypothesis's risk and the optimal risk) is another suggested avenue.

Summary updated

Abstract

HAL is a multi-disciplinary open access archive for the deposit and dissemination of sci-entific research documents, whether they are pub-lished or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers. L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et a ̀ la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.
BibTeX
@misc{peel2013empirical,
  author = {Thomas Peel and Sandrine Anthoine and Liva Ralaivola and Hal Id Hal and Thomas Peel and Rine Anthoine Liva Ralaivola},
  title = {{Empirical Bernstein Inequality for Martingales: Application to Online Learning}},
  year = {2013},
}
Figure