Hoeffding's lemma. If EY=0 and a≤Y≤b, then
EesY≤es2(b−a)2/8 for all s∈R.
If a=b then Y=0 and there is nothing to prove, so let a<b; then a≤0≤b
because EY=0. By convexity of y↦esy, for y∈[a,b],
esy≤b−ab−yesa+b−ay−aesb.
Taking expectations and using EY=0,
EesY≤b−abesa−b−aaesb. Put
θ=−a/(b−a)∈[0,1] and h=s(b−a); then sa=−θh and the right side
equals eL(h) with
L(h)=−θh+ln(1−θ+θeh).
Now L(0)=0, L′(h)=−θ+1−θ+θehθeh so L′(0)=0,
and L′′(h)=u(1−u) with u=1−θ+θehθeh∈[0,1], so
L′′(h)≤1/4. By Taylor's theorem with remainder, L(h)≤h2/8=s2(b−a)2/8.
The inequality. Let Yi=Xi−EXi, which is centred and takes values in an
interval of length bi−ai. For s>0, by
Markov's inequality applied to es(S−ES)
and independence,
Pr[S−ES≥t]≤e−stEes∑iYi=e−sti∏EesYi≤exp(−st+8s2i∑(bi−ai)2).
The exponent is minimised at s=4t/∑i(bi−ai)2, where it equals
−2t2/∑i(bi−ai)2. The lower tail follows by applying this to −Xi, and the
two-sided bound by the union bound. This is the argument of
Hoeffding.