Docsity

Lecture Notes on Bernstein’s Inequality, Lecture notes of Mathematics

Toggle sidebar
bg1
� �
�
� �
�
Lecture 06 Bernstein’s inequality. 18.465
Last time we proved Bennett’s inequality: EX = 0, EX2 = σ2
, |X| < M = const, X1, ·· · , Xn independent
copies of X, and t ≥ 0. Then
� n� � � ��
� nσ2 tM
P Xi ≥ t ≤ exp − M2 φ nσ2 ,
i=1
where φ(x) = (1 + x) log(1 + x) − x.
2 2 2
If X is small, φ(x) = (1 + x)(x − x
2 + ··· ) − x = x + x2 − x
2 − x + ·· · = x
2 + ··· .
If X is large, φ(x) ∼ x log x.
x
We can weaken the bound by decreasing φ(x). Take1 φ(x) = 2+
2
2
3 x to obtain Bernstein’s inequality:
� � � � � �2 ��
ntM
� nσ2
P Xi ≥ t ≤ exp − M2 2 +
nσ
2
2
tM
i=1 3 nσ2
t2
= exp − 2nσ2 + 2 tM
3
= e−u
2
where u = 2nσ2
t
+ 2
3 tM . Solve for t:
2
t2 − 3 uMt − 2nσ2
u = 0
1 u2M2
t = uM + + 2nσ2u.
3 9
Substituting,
�� �
n
� u2M2 uM
P Xi ≥ 9 + 2nσ2u +3 ≤ e−u
i=1
or �� �
n
� u2M2 uM
P Xi ≤ 9 + 2nσ2u +3 ≥ 1 − e−u
i=1
Using inequality √a + b ≤√a + √b,
P
n
Xi ≤√2nσ2u +2uM ≥ 1 − e−u
3
i=1
For non-centered Xi, replace Xi with Xi − EX or EX − Xi. Then |Xi − EX| ≤ 2M and so with high
probability
� 4uM
(Xi − EX) ≤√2nσ2u + .
3
Normalizing by n,
�
1 � 2σ2u 4uM
nXi − EX ≤ n +3n
and �
1 � 2σ2u 4uM
EX − nXi ≤ n +3n.
1exercise: show that this is the best approximation
11
pf2

Partial preview of the text

Download Lecture Notes on Bernstein’s Inequality and more Lecture notes Mathematics in PDF only on Docsity!

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

  • 2nσ^2 u + 3

≤ e−u i= or (^) � (^) � � �n u^2 M 2 uM P Xi ≤ 9

  • 2nσ^2 u + 3

≥ 1 − e−u i=

Using inequality

a + b ≤

a +

b,

P

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^

��X

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.