100 Learning Theory — Hoeffding
100.1 Overview
This module develops the analytic lemmas underlying Hoeffding’s lemma for the Hedge (multiplicative-weights) algorithm. Starting from the convexity of the exponential function, it derives a chain of bounds culminating in two log-MGF inequalities: a weak bound with constant \(\eta ^2/2\) and a tight bound with constant \(\eta ^2/8\).
100.2 Declarations
For every real number \(x\) with \(0 \le x \le 1\), the product \(x(1-x)\) is at most \(\tfrac {1}{4}\).
Let \(\eta \) be a real number and let \(x \in [0,1]\). Then
Let \(p_1,\dots ,p_n\) be a probability vector, that is \(p_i \ge 0\) for every \(i\) and \(\sum _{i} p_i = 1\), and let \(\ell _1,\dots ,\ell _n \in \mathbb {R}\) satisfy \(0 \le \ell _i \le 1\) for every \(i\). Then for every \(\eta \in \mathbb {R}\),
For every real number \(u \gt -1\), the natural logarithm satisfies \(\ln (1+u) \le u\).
For every real number \(\eta \ge 0\), the quantity \(\eta - 1 + e^{-\eta }\) satisfies the bound
Let \(n \ge 1\) and let \(p = (p_1, \dots , p_n)\) be a probability vector, so that \(p_i \ge 0\) for every \(i\) and \(\sum _{i} p_i = 1\). Let \(\ell _1, \dots , \ell _n \in [0,1]\), and let \(\eta \gt 0\). Writing \(L = \sum _{i} p_i \ell _i\) for the average loss, one has
Let \(L \in [0,1]\) and let \(\eta \) be a real number. Then the moment generating function of the shifted Bernoulli weight \(1 - L + L\, e^{-\eta }\) satisfies
Let \(p_1,\dots ,p_n\) be a probability distribution, so \(p_i \ge 0\) for every \(i\) and \(\sum _{i=1}^n p_i = 1\), and let \(\ell _1,\dots ,\ell _n \in [0,1]\) be losses. Write \(L = \sum _{i=1}^n p_i\, \ell _i\) for the expected loss. Then for every \(\eta \gt 0\),
100.3 Additional declarations
Let \(L, x \in \mathbb {R}\) and suppose \(1 - L + L\, e^{-x} \gt 0\). Then the auxiliary function
is differentiable at \(x\) with derivative
This is the \(\varphi '\) computation used in the proof of bernoulli_mgf_bound.
Let \(L, x \in \mathbb {R}\) and suppose \(1 - L + L\, e^{-x} \gt 0\). Then the function
(the derivative from bernoulli_mgf_bound_step1) is differentiable at \(x\) with derivative
This is the \(\varphi ''\) computation used in the proof of bernoulli_mgf_bound.