


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!



Last time we proved the Pessimistic VC inequality:
sup C
n
∑^ n i=
I(Xi ∈ C) − P (C)
∣ ≥^ t
( 2 en V
e−^ nt 82 ,
which can be rewritten with
t =
n
log 4 + V log^2 Ven + u
as
P
sup C
n
∑^ n i=
I(Xi ∈ C) − P (C)
n
log 4 + V log^2 Ven + u
≥ 1 − e−u.
Hence, the rate is
√V log n n.^ In this lecture we will prove Optimistic VC inequality, which will improve on this rate when P (C) is small. As before, we have pairs (Xi, Yi), Yi = ±1. These examples are labeled according to some unknown C 0 such that Y = 1 if X = C 0 and Y = 0 if X /∈ C 0. Let C = {C : C ⊆ X }, a set of classifiers. C makes a mistake if
X ∈ C \ C 0 ∪ C 0 \ C = C△C 0.
Similarly to last lecture, we can derive bounds on
sup C
n
∑^ n i=
I(Xi ∈ C△C 0 ) − P (C△C 0 )
where P (C△C 0 ) is the generalization error. Let C′^ = {C△C 0 : C ∈ C}. One can prove that V C(C′) ≤ V C(C) and △n(C′, X 1 ,... , Xn) ≤ △n(C, X 1 ,... , Xn). By Hoeffding-Chernoff, if P (C) ≤ 12 ,
P
P (C) − (^1) n
∑^ n i=
I(Xi ∈ C) ≤
2 P (C) t n
≥ 1 − e−t.
Theorem 11.1 (Optimistic VC inequality).
P
sup C^ P^ (C)^ −^
(^1) n^ ∑ni=1 I(Xi ∈ C) √ P (C) ≥^ t
( 2 en V
e−^ nt 42 .
Proof. Let C be fixed. Then
P(X i′)
n
∑^ n i=
I(X i′ ∈ C) ≥ P (C)
whenever P (C) ≥ (^1) n. Indeed, P (C) ≥ (^1) n since ∑ni=1 I(X i′ ∈ C) ≥ nP (C) ≥ 1. Otherwise P (∑ni=1 I(X i′ ∈ C) = 0) = ∏ni=1 P (X i′ ∈/ C) = (1 − P (C))n^ can be as close to 0 as we want. Similarly to the proof of the previous lecture, let
(Xi) ∈
sup C^ P^ (C)^ −^ n^1 ∑ni=1^ I(Xi^ ∈^ C) √P (C) ≥ t
Hence, there exists CX such that
P (C) − (^1) n √^ ∑ni=1 I(Xi ∈ C) P (C) ≥^ t.
Exercise 1. Show that if
P (CX ) − (^) √^1 n^ ∑ni=1 I(Xi ∈ CX ) P (CX ) ≥^ t
and 1 n
∑^ n i=
I(X i′ ∈ CX ) ≥ P (CX ) ,
then (^1) n^ ∑ni=1 I(X i′ ∈ CX ) − (^1) n^ ∑ni=1 I(Xi ∈ CX ) √ (^1) n
∑n i=1 I(Xi^ ∈^ CX^ ) +^ n^1
∑n i=1 I(X i′ ∈^ CX^ )
≥ √t 2.
Hint: use the fact that φ(s) = s√−sa = √s − √ss is increasing in s.
From the above exercise it follows that
1 4 ≤^ P(X^ i′^ )
n
∑^ n i=
I(X i′ ∈ CX ) ≥ P (CX )
≤ P(X i′ )
(^1) n^ ∑ni=1 I(X i′ ∈ CX ) − (^1) n^ ∑ni=1 I(Xi ∈ CX ) √ (^1) n
∑n i=1 I(Xi^ ∈^ CX^ ) +^ n^1
∑n i=1 I(X^ i′^ ∈^ CX^ )
≥ t
The last expression can be upper-bounded by Hoeffding’s inequality as follows:
E
k=
Pε
n
∑^ n i=
εi (I(X i′ ∈ Ck) − I(Xi ∈ Ck)) ≥ t
n
∑^ n i=
(I(Xi ∈ Ck) + I(X i′ ∈ Ck))
k=
exp
−t
2 1 n^ ∑ni=1 (I(Xi ∈ Ck) + I(X i′ ∈ Ck)) n^12 2 ∑^ (I(X^ i′^ ∈^ Ck)^ −^ I(Xi^ ∈^ Ck))^2
since upper sum in the exponent is bigger than the lower sum (compare term-by-term)
≤ E
k=
e−^ nt^22 ≤
( (^2) en V
e−^ nt^22.