103 Learning Theory — Hoeffding
103.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\).
103.2 Declarations
For any \(x \in [0,1]\), the product \(x(1-x) \le \tfrac {1}{4}\).
For any \(\eta , x \in \mathbb {R}\) with \(x \in [0,1]\), convexity of \(\exp \) gives
Let \(p : \mathrm{Fin}\, n \to \mathbb {R}\) be a probability vector (\(p_i \ge 0\), \(\sum _i p_i = 1\)) and let \(\ell : \mathrm{Fin}\, n \to \mathbb {R}\) satisfy \(0 \le \ell _i \le 1\) for all \(i\). For any \(\eta \in \mathbb {R}\),
For any \(u \gt -1\), \(\ln (1+u) \le u\).
For any \(\eta \ge 0\),
Let \(p\) be a probability vector on \(\mathrm{Fin}\, n\) and let \(\ell _i \in [0,1]\) for all \(i\). For \(\eta \gt 0\), setting \(L = \sum _i p_i \ell _i\),
For \(L \in [0,1]\) and any \(\eta \in \mathbb {R}\),
The bound is established by showing that the function \(\varphi (\eta ) = -L\eta + \eta ^2/8 - \ln (1-L+Le^{-\eta })\) is convex with \(\varphi (0) = 0\) and \(\varphi '(0) = 0\).
Under the same hypotheses as hoeffding_log_mgf_weak, the tighter bound holds:
This follows by first applying weighted_exp_le_affine and then bernoulli_mgf_bound.