Puneet Varma (Editor)

Uniform convergence in probability

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

Uniform convergence in probability is a concept in probability theory with applications to statistical learning theory. It means that, under certain conditions, the empirical frequencies of all events in a certain event-family converge to their theoretical probabilities.

Contents

The law of large numbers says that, for each single event, its empirical frequency in a sequence of independent trials converges (with high probability) to its theoretical probability. But in some applications, we are interested not in a single event but in a whole family of events. We would like to know whether the empirical frequency of every event in the family converges to its theoretical probability simultaneously. The Uniform Convergence Theorem gives a sufficient condition for this convergence to hold. Roughly, if the event-family is sufficiently simple (its VC dimension is sufficiently small) then uniform convergence holds.

Definitions

For a class of predicates H defined on a set X and a set of samples x = ( x 1 , x 2 , , x m ) , where x i X , the empirical frequency of h H on x is

Q ^ x ( h ) = 1 m | { i : 1 i m , h ( x i ) = 1 } | .

The theoretical probability of h H is defined as Q P ( h ) = P { y X : h ( y ) = 1 } .

The Uniform Convergence Theorem states, roughly, that if H is "simple" and we draw samples independently (with replacement) from X according to any distribution P , then with high probability, the empirical frequency will be close to its expected value, which is the theoretical probability.

Here "simple" means that the Vapnik–Chervonenkis dimension of the class H is small relative to the size of the sample. In other words, a sufficiently simple collection of functions behaves roughly the same on a small random sample as it does on the distribution as a whole.

The Uniform Convergence Theorem was first proved by Vapnik and Chervonenkis using the concept of growth function.

Uniform convergence theorem statement

If H is a set of { 0 , 1 } -valued functions defined on a set X and P is a probability distribution on X then for ε > 0 and m a positive integer, we have,

P m { | Q P ( h ) Q x ^ ( h ) | ε  for some  h H } 4 Π H ( 2 m ) e ε 2 m / 8 .

where, for any x X m ,

Q P ( h ) = P { ( y X : h ( y ) = 1 } , Q ^ x ( h ) = 1 m | { i : 1 i m , h ( x i ) = 1 } |

and | x | = m . P m indicates that the probability is taken over x consisting of m i.i.d. draws from the distribution P .

Π H is defined as: For any { 0 , 1 } -valued functions H over X and D X ,

Π H ( D ) = { h D : h H } .

And for any natural number m , the shattering number Π H ( m ) is defined as.

Π H ( m ) = max | { h D : | D | = m , h H } | .

From the point of Learning Theory one can consider H to be the Concept/Hypothesis class defined over the instance set X . Before getting into the details of the proof of the theorem we will state Sauer's Lemma which we will need in our proof.

Sauer–Shelah lemma

The Sauer–Shelah lemma relates the shattering number Π h ( m ) to the VC Dimension.

Lemma: Π H ( m ) ( e m d ) d , where d is the VC Dimension of the concept class H .

Corollary: Π H ( m ) m d .

Proof of uniform convergence theorem

and are the sources of the proof below. Before we get into the details of the proof of the Uniform Convergence Theorem we will present a high level overview of the proof.

  1. Symmetrization: We transform the problem of analyzing | Q P ( h ) Q ^ x ( h ) | ε into the problem of analyzing | Q ^ r ( h ) Q ^ s ( h ) | ε / 2 , where r and s are i.i.d samples of size m drawn according to the distribution P . One can view r as the original randomly drawn sample of length m , while s may be thought as the testing sample which is used to estimate Q P ( h ) .
  2. Permutation: Since r and s are picked identically and independently, so swapping elements between them will not change the probability distribution on r and s . So, we will try to bound the probability of | Q ^ r ( h ) Q ^ s ( h ) | ε / 2 for some h H by considering the effect of a specific collection of permutations of the joint sample x = r | | s . Specifically, we consider permutations σ ( x ) which swap x i and x m + i in some subset of 1 , 2 , . . . , m . The symbol r | | s means the concatenation of r and s .
  3. Reduction to a finite class: We can now restrict the function class H to a fixed joint sample and hence, if H has finite VC Dimension, it reduces to the problem to one involving a finite function class.

We present the technical details of the proof.

Symmetrization

Lemma: Let V = { x X m : | Q P ( h ) Q ^ x ( h ) | ε  for some  h H } and

R = { ( r , s ) X m × X m : | Q r ^ ( h ) Q ^ s ( h ) | ε / 2  for some  h H } .

Then for m 2 ε 2 , P m ( V ) 2 P 2 m ( R ) .

Proof: By the triangle inequality,
if | Q P ( h ) Q ^ r ( h ) | ε and | Q P ( h ) Q ^ s ( h ) | ε / 2 then | Q ^ r ( h ) Q ^ s ( h ) | ε / 2 .

Therefore,

P 2 m ( R ) P 2 m { h H , | Q P ( h ) Q ^ r ( h ) | ε  and  | Q P ( h ) Q ^ s ( h ) | ε / 2 } = V P m { s : h H , | Q P ( h ) Q ^ r ( h ) | ε  and  | Q P ( h ) Q ^ s ( h ) | ε / 2 } d P m ( r ) = A

since r and s are independent.

Now for r V fix an h H such that | Q P ( h ) Q ^ r ( h ) | ε . For this h , we shall show that

P m { | Q P ( h ) Q ^ s ( h ) | ε 2 } 1 2 .

Thus for any r V , A P m ( V ) 2 and hence P 2 m ( R ) P m ( V ) 2 . And hence we perform the first step of our high level idea.

Notice, m Q ^ s ( h ) is a binomial random variable with expectation m Q P ( h ) and variance m Q P ( h ) ( 1 Q P ( h ) ) . By Chebyshev's inequality we get

P m { | Q P ( h ) Q s ( h ) ^ | > ε 2 } m Q P ( h ) ( 1 Q P ( h ) ) ( ε m / 2 ) 2 1 ε 2 m 1 2

for the mentioned bound on m . Here we use the fact that x ( 1 x ) 1 / 4 for x .

Permutations

Let Γ m be the set of all permutations of { 1 , 2 , 3 , , 2 m } that swaps i and m + i i in some subset of { 1 , 2 , 3 , , 2 m } .

Lemma: Let R be any subset of X 2 m and P any probability distribution on X . Then,

P 2 m ( R ) = E [ Pr [ σ ( x ) R ] ] max x X 2 m ( Pr [ σ ( x ) R ] ) ,

where the expectation is over x chosen according to P 2 m , and the probability is over σ chosen uniformly from Γ m .

Proof: For any σ Γ m ,

P 2 m ( R ) = P 2 m { x : σ ( x ) R }

(since coordinate permutations preserve the product distribution P 2 m .)

P 2 m ( R ) = X 2 m 1 R ( x ) d P 2 m ( x ) = 1 | Γ m | σ Γ m X 2 m 1 R ( σ ( x ) ) d P 2 m ( x ) = X 2 m 1 | Γ m | σ Γ m 1 R ( σ ( x ) ) d P 2 m ( x ) (because  | Γ m |  is finite) = X 2 m Pr [ σ ( x ) R ] d P 2 m ( x ) (the expectation) max x X 2 m ( Pr [ σ ( x ) R ] ) .

The maximum is guaranteed to exist since there is only a finite set of values that probability under a random permutation can take.

Reduction to a finite class

Lemma: Basing on the previous lemma,

max x X 2 m ( Pr [ σ ( x ) R ] ) 4 Π H ( 2 m ) e ε 2 m / 8 .

Proof: Let us define x = ( x 1 , x 2 , , x 2 m ) and t = | H | x | which is at most Π H ( 2 m ) . This means there are functions h 1 , h 2 , , h t H such that for any h H , i between 1 and t with h i ( x k ) = h ( x k ) for 1 k 2 m .

We see that σ ( x ) R iff for some h in H satisfies, | 1 m | { 1 i m : h ( x σ i ) = 1 } | 1 m | { m + 1 i 2 m : h ( x σ i ) = 1 } | | ε 2 . Hence if we define w i j = 1 if h j ( x i ) = 1 and w i j = 0 otherwise.

For 1 i m and 1 j t , we have that σ ( x ) R iff for some j in 1 , , t satisfies | 1 m ( i w σ ( i ) j i w σ ( m + i ) j ) | ε 2 . By union bound we get

Pr [ σ ( x ) R ] t max ( Pr [ | 1 m ( i w σ i j i w σ m + i j ) | ε 2 ] ) Π H ( 2 m ) max ( Pr [ | 1 m ( i w σ i j i w σ m + i j ) | ε 2 ] ) .

Since, the distribution over the permutations σ is uniform for each i , so w σ i j w σ m + i j equals ± | w i j w m + i j | , with equal probability.

Thus,

Pr [ | 1 m ( i ( w σ i j w σ m + i j ) ) | ε 2 ] = Pr [ | 1 m ( i | w i j w m + i j | β i ) | ε 2 ] ,

where the probability on the right is over β i and both the possibilities are equally likely. By Hoeffding's inequality, this is at most 2 e m ε 2 / 8 .

Finally, combining all the three parts of the proof we get the Uniform Convergence Theorem.

References

Uniform convergence in probability Wikipedia