

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Lecture 06 Bernstein’s inequality. 18.
Last time we proved Bennett’s inequality: EX = 0, EX^2 = σ^2 , |X| < M = const, X 1 , · · · , Xn independent
copies of X, and t ≥ 0. Then � n
� (^) nσ^2 tM P Xi ≥ t ≤ exp − M 2
φ nσ^2
i=
where φ(x) = (1 + x) log(1 + x) − x.
2 2 2 If X is small, φ(x) = (1 + x)(x − x 2 + · · · ) − x = x + x^2 − x 2 − x + · · · = x 2 + · · ·.
If X is large, φ(x) ∼ x log x.
We can weaken the bound by decreasing φ(x). Take^1 φ(x) = x 2+
2 2 3 x^
to obtain Bernstein’s inequality:
� � � � (^) � � 2 �� �n^ tM nσ^2 P Xi ≥ t ≤ exp − M (^2 2) +
nσ 2
2 tM i=1 3 nσ^2
t^2 = exp − 2 nσ^2 + 23 tM
= e−u
2 where u = (^2) nσ 2 t + 2 3 tM^
. Solve for t:
2 t^2 − 3
uM t − 2 nσ^2 u = 0
1 u^2 M 2 t = uM + + 2nσ^2 u. 3 9
Substituting, (^) � n �^ � � (^) u^2 M 2 uM P Xi ≥ 9
≤ e−u i= or (^) � (^) � � �n u^2 M 2 uM P Xi ≤ 9
≥ 1 − e−u i=
Using inequality
a + b ≤
a +
b,
n Xi ≤
2 nσ^2 u +
2 uM ≥ 1 − e−u 3 i=
For non-centered Xi, replace Xi with Xi − EX or EX − Xi. Then |Xi − EX| ≤ 2 M and so with high
probability � (^4) uM (Xi − EX) ≤
2 nσ^2 u +. 3
Normalizing by n, (^) �
1 �^2 σ^2 u 4 uM
n
Xi − EX ≤ n
3 n
and (^) �
1 �^2 σ^2 u 4 uM EX − n
Xi ≤ n
3 n
(^1) exercise: show that this is the best approximation
11
Lecture 06 Bernstein’s inequality. 18.
Whenever
2 σ^2 u 4 uM (^) , we have u ≤ nσ^2 So, 1 �^ X i −^ EX^ �
2 σ^2 u (^) for u � nσ (^2) (range of normal n ≥^3 n 8 M 2.^ |^ n |^ n
deviations). This is predicted by the Central Limit Theorem (condition for CLT is nσ^2 → ∞). If nσ^2 does
not go to infinity, we get Poisson behavior.
Recall from the last lecture that the we’re interested in concentration inequalities because we want to
know P (f (X) =� Y ) while we only observe (^) n^1 i
n =1 I^ (f^ (Xi) =�^ Yi).^ In^ Bernstein’s^ inequality^ take^
i
�� (^) to
be I(f (Xi) = Yi). Then, since 2 M = 1, we get
n 1 �^2 P (f (Xi) = Yi) (1 − P (f (Xi) = Yi))u 2 u EI(f (Xi) =� Yi) − n
I (f (Xi) =� Yi) ≤
n
3 n i=
because EI(f (Xi) = Yi) = P (f (Xi) = Yi) = EI^2 and therefore Var(I) = σ^2 = EI^2 − (EI)^2. Thus,
n 1 �^2 P (f (Xi) = Yi) u 2 u P (f (Xi) �= Yi) ≤ n
I (f (Xi) �= Yi) + n
3 n i=
with probability at least 1 − e−u^. When the training error is zero,
2 P (f (Xi) = Yi) u 2 u P (f (Xi) =� Yi) ≤ n
3 n
If we forget about 2 u/ 3 n for a second, we obtain P (f (Xi) =� Yi)
2 ≤ 2 P (f (Xi) =� Yi) u/n and hence
2 u P (f (Xi) =� Yi) ≤ n
The above zero-error rate is better than n−^1 /^2 predicted by CLT.