Growth function

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

The growth function, also called the shatter coefficient or the shattering number, measures the richness of a set family or class of functions. 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.[1] It is a basic concept in machine learning.[2] [3]

Definitions

[edit | edit source]

Set-family definition

[edit | edit source]

Let H be a set family (a set of sets) and C a set. Their intersection is defined as the following set-family:

HC:={hChH}

The intersection-size (also called the index) of H with respect to C is |HC|. 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 HC contains all the subsets of C, i.e.:

|HC|=2|C|,

The growth function measures the size of HC as a function of |C|. Formally:

Growth(H,m):=maxC:|C|=m|HC|

Hypothesis-class definition

[edit | edit source]

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:[3]: 45 

HC:={(h(x1),,h(xm))hH,xiC}

The growth function measures the size of HC as a function of |C|:[3]: 49 

Growth(H,m):=maxC:|C|=m|HC|

Examples

[edit | edit source]

1. The domain is the real line . 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>x0x} for some x0. For any set C of m real numbers, the intersection HC 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: Growth(H,m)=m+1.[1]: Ex.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 HC contains all possible subsets of C. There are 2m such subsets, so Growth(H,m)=2m. [1]: Ex.2 

3. The domain is the Euclidean space n. The set-family H contains all the half-spaces of the form: xϕ1, where ϕ is a fixed vector. Then Growth(H,m)=Comp(n,m), where Comp is the number of components in a partitioning of an n-dimensional space by m hyperplanes.[1]: Ex.3 

4. The domain is the real line . The set-family H contains all the real intervals, i.e., all sets of the form {x[x0,x1]|x} for some x0,x1. For any set C of m real numbers, the intersection HC contains all runs of between 0 and m consecutive elements of C. The number of such runs is (m+12)+1, so Growth(H,m)=(m+12)+1.

Polynomial or exponential

[edit | edit source]

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:[1]: Lem.1 

  • If, for some set Cm of size m, and for some number nm, |HCm|Comp(n,m) -
  • then, there exists a subset CnCm of size n such that |HCn|=2n.

This implies the following property of the Growth function.[1]: Th.1  For every family H there are two cases:

  • The exponential case: Growth(H,m)=2m identically.
  • The polynomial case: Growth(H,m) is majorized by Comp(n,m)mn+1, where n is the smallest integer for which Growth(H,n)<2n.

Other properties

[edit | edit source]

Trivial upper bound

[edit | edit source]

For any finite H:

Growth(H,m)|H|

since for every C, the number of elements in HC is at most |H|. Therefore, the growth function is mainly interesting when H is infinite.

Exponential upper bound

[edit | edit source]

For any nonempty H:

Growth(H,m)2m

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. HC=2C. If H shatters C of size m, then Growth(H,C)=2m, which is the upper bound.

Cartesian intersection

[edit | edit source]

Define the Cartesian intersection of two set-families as:

H1H2:={h1h2h1H1,h2H2}.

Then:[2]: 57 

Growth(H1H2,m)Growth(H1,m)Growth(H2,m)

Union

[edit | edit source]

For every two set-families:[2]: 58 

Growth(H1H2,m)Growth(H1,m)+Growth(H2,m)

VC dimension

[edit | edit source]

The VC dimension of H is defined according to these two cases:

  • In the polynomial case, VCDim(H)=n1 = the largest integer d for which Growth(H,d)=2d.
  • In the exponential case VCDim(H)=.

So VCDim(H)d if-and-only-if 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 Growth(H,d) is equal to or smaller than 2d, while the growth function tells us exactly how 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:[3]: 49 

If VCDim(H)=d, then:
for all m: Growth(H,m)i=0d(mi)

In particular,

for all m>d+1: Growth(H,m)(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:[2]: 56 

Growth(H,m)=i=0d(mi)

Entropy

[edit | edit source]

While the growth-function is related to the maximum intersection-size, the entropy is related to the average intersection size:[1]: 272–273 

Entropy(H,m)=E|Cm|=m[log2(|HCm|)]

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

|H(C1C2)||HC1||HC2|

Hence:

Entropy(H,m1+m2)Entropy(H,m1)+Entropy(H,m2)

Moreover, the sequence Entropy(H,m)/m converges to a constant c[0,1] when m.

Moreover, the random-variable log2|HCm|/m is concentrated near c.

Applications in probability theory

[edit | edit source]

Let Ω be a set on which a probability measure Pr is defined. Let H be family of subsets of Ω (= a family of events).

Suppose we choose a set Cm that contains m elements of Ω, where each element is chosen at random according to the probability measure P, independently of the others (i.e., with replacements). For each event hH, we compare the following two quantities:

  • Its relative frequency in Cm, i.e., |hCm|/m;
  • Its probability Pr[h].

We are interested in the difference, D(h,Cm):=||hCm|/mPr[h]|. This difference satisfies the following upper bound:

Pr[hH:D(h,Cm)8(lnGrowth(H,2m)+ln(4/δ))m]>1δ

which is equivalent to:[1]: Th.2 

Pr[hH:D(h,Cm)ε]>14Growth(H,2m)exp(ε2m/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 Growth(H,m)mn+1), then the above probability approaches 1 as m. I.e, the family H enjoys uniform convergence in probability.

References

[edit | edit source]
  1. ^ a b c d e f g h Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). This is an English translation, by B. Seckler, of the Russian paper: Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). The translation was reproduced as: Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  2. ^ a b c d Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value)., especially Section 3.2
  3. ^ a b c d Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).