Growth function explained

The growth function, also called the shatter coefficient or the shattering number, measures the richness of a set family or class of function. It is especially used in the context of statistical learning theory, where it is used to study properties of statistical learning methods.The term 'growth function' was coined by Vapnik and Chervonenkis in their 1968 paper, where they also proved many of its properties.It is a basic concept in machine learning.[1]

Definitions

Set-family definition

Let

H

be a set family (a set of sets) and

C

a set. Their intersection is defined as the following set-family:

H\cap C := \

The intersection-size (also called the index) of

H

with respect to

C

is

|H\capC|

. If a set

Cm

has

m

elements then the index is at most

2m

. If the index is exactly 2m then the set

C

is said to be shattered by

H

, because H\cap C contains all the subsets of C, i.e.:

|H\cap C|=2^

,

The growth function measures the size of

H\capC

as a function of

|C|

. Formally:

\operatorname(H,m) := \max_ |H\cap C|

Hypothesis-class definition

Equivalently, let

H

be a hypothesis-class (a set of binary functions) and

C

a set with

m

elements. The restriction of

H

to

C

is the set of binary functions on

C

that can be derived from

H

:

H_ := \The growth function measures the size of

HC

as a function of

|C|

:

\operatorname(H,m) := \max_ |H_C|

Examples

1. The domain is the real line

R

. The set-family

H

contains all the half-lines (rays) from a given number to positive infinity, i.e., all sets of the form

\{x>x0\midx\inR\}

for some

x0\inR

. For any set

C

of

m

real numbers, the intersection

H\capC

contains

m+1

sets: the empty set, the set containing the largest element of

C

, the set containing the two largest elements of

C

, and so on. Therefore:

\operatorname{Growth}(H,m)=m+1

. The same is true whether

H

contains open half-lines, closed half-lines, or both.

2. The domain is the segment

[0,1]

. The set-family

H

contains all the open sets. For any finite set

C

of

m

real numbers, the intersection

H\capC

contains all possible subsets of

C

. There are

2m

such subsets, so

\operatorname{Growth}(H,m)=2m

.

3. The domain is the Euclidean space

Rn

. The set-family

H

contains all the half-spaces of the form:

x\phi\geq1

, where

\phi

is a fixed vector.Then

\operatorname{Growth}(H,m)=\operatorname{Comp}(n,m)

,where Comp is the number of components in a partitioning of an n-dimensional space by m hyperplanes.

4. The domain is the real line

R

. The set-family

H

contains all the real intervals, i.e., all sets of the form

\{x\in[x0,x1]|x\inR\}

for some

x0,x1\inR

. For any set

C

of

m

real numbers, the intersection

H\capC

contains all runs of between 0 and

m

consecutive elements of

C

. The number of such runs is

{m+1\choose2}+1

, so

\operatorname{Growth}(H,m)={m+1\choose2}+1

.

Polynomial or exponential

The main property that makes the growth function interesting is that it can be either polynomial or exponential - nothing in-between.

The following is a property of the intersection-size:

Cm

of size

m

, and for some number

n\leqm

,

|H\capCm|\geq\operatorname{Comp}(n,m)

-

Cn\subseteqCm

of size

n

such that

|H\capCn|=2n

.

This implies the following property of the Growth function.For every family

H

there are two cases:

\operatorname{Growth}(H,m)=2m

identically.

\operatorname{Growth}(H,m)

is majorized by

\operatorname{Comp}(n,m)\leqmn+1

, where

n

is the smallest integer for which

\operatorname{Growth}(H,n)<2n

.

Other properties

Trivial upper bound

For any finite

H

:

\operatorname{Growth}(H,m)\leq|H|

since for every

C

, the number of elements in

H\capC

is at most

|H|

. Therefore, the growth function is mainly interesting when

H

is infinite.

Exponential upper bound

For any nonempty

H

:

\operatorname{Growth}(H,m)\leq2m

I.e, the growth function has an exponential upper-bound.

We say that a set-family

H

shatters a set

C

if their intersection contains all possible subsets of

C

, i.e.

H\capC=2C

.If

H

shatters

C

of size

m

, then

\operatorname{Growth}(H,C)=2m

, which is the upper bound.

Cartesian intersection

Define the Cartesian intersection of two set-families as:

H1otimesH2:=\{h1\caph2\midh1\inH1,h2\inH2\}

.Then:[1]

\operatorname{Growth}(H1otimesH2,m)\leq\operatorname{Growth}(H1,m)\operatorname{Growth}(H2,m)

Union

For every two set-families:[1]

\operatorname{Growth}(H1\cupH2,m)\leq\operatorname{Growth}(H1,m)+\operatorname{Growth}(H2,m)

VC dimension

The VC dimension of

H

is defined according to these two cases:

\operatorname{VCDim}(H)=n-1

= the largest integer

d

for which

\operatorname{Growth}(H,d)=2d

.

\operatorname{VCDim}(H)=infty

.

So

\operatorname{VCDim}(H)\geqd

if-and-only-if

\operatorname{Growth}(H,d)=2d

.

The growth function can be regarded as a refinement of the concept of VC dimension. The VC dimension only tells us whether

\operatorname{Growth}(H,d)

is equal to or smaller than

2d

, while the growth function tells us exactly how

\operatorname{Growth}(H,m)

changes as a function of

m

.

Another connection between the growth function and the VC dimension is given by the Sauer–Shelah lemma:

If

\operatorname{VCDim}(H)=d

, then:

for all

m

:

\operatorname{Growth}(H,m)\leq

d
\sum
i=0

{m\choosei}

In particular,

for all

m>d+1

:

\operatorname{Growth}(H,m)\leq(em/d)d=O(md)

so when the VC dimension is finite, the growth function grows polynomially with

m

.This upper bound is tight, i.e., for all

m>d

there exists

H

with VC dimension

d

such that:[1]

\operatorname{Growth}(H,m)=

d
\sum
i=0

{m\choosei}

Entropy

While the growth-function is related to the maximum intersection-size,the entropy is related to the average intersection size:

\operatorname{Entropy}(H,m)=

E
|Cm|=m

[log2(|H\capCm|)]

The intersection-size has the following property. For every set-family

H

:

|H\cap(C1\cupC2)|\leq|H\capC1||H\capC2|

Hence:

\operatorname{Entropy}(H,m1+m2) \leq \operatorname{Entropy}(H,m1)+\operatorname{Entropy}(H,m2)

Moreover, the sequence

\operatorname{Entropy}(H,m)/m

converges to a constant

c\in[0,1]

when

m\toinfty

.

Moreover, the random-variable

log2{|H\capCm|/m}

is concentrated near

c

.

Applications in probability theory

Let

\Omega

be a set on which a probability measure

\Pr

is defined. Let

H

be family of subsets of

\Omega

(= a family of events).

Suppose we choose a set

Cm

that contains

m

elements of

\Omega

,where each element is chosen at random according to the probability measure

P

, independently of the others (i.e., with replacements). For each event

h\inH

, we compare the following two quantities:

Cm

, i.e.,

|h\capCm|/m

;

\Pr[h]

.We are interested in the difference,

D(h,Cm):=||h\capCm|/m-\Pr[h]|

. This difference satisfies the following upper bound:

\Pr\left[\forall h\in H: D(h,C_m) \leq \sqrt{8(\ln\operatorname{Growth}(H, 2m) + \ln(4/\delta)) \over m} \right]~~~~>~~~~1 - \deltawhich is equivalent to:

\Pr\big[\forall h\in H: D(h,C_m) \leq \varepsilon\big]~~~~>~~~~1 - 4\cdot \operatorname(H, 2m)\cdot \exp(-\varepsilon^2\cdot m/8)In words: the probability that for all events in

H

, the relative-frequency is near the probability, is lower-bounded by an expression that depends on the growth-function of

H

.

A corollary of this is that, if the growth function is polynomial in

m

(i.e., there exists some

n

such that

\operatorname{Growth}(H,m)\leqmn+1

), then the above probability approaches 1 as

m\toinfty

. I.e, the family

H

enjoys uniform convergence in probability.

Notes and References

  1. , especially Section 3.2