The growth function, also called the shatter coefficient or the shattering number, measures the richness of a set family. It is especially used in the context of statistical learning theory, where it measures the complexity of a hypothesis class. 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.
Definitions
Set-family definition
Let be a set family and a set. Their intersection is defined as the following set-family: The intersection-size of with respect to is. If a set has elements then the index is at most. If the index is exactly 2m then the set is said to be shattered by, because contains all the subsets of, i.e.: The growth function measures the size of as a function of. Formally:
Hypothesis-class definition
Equivalently, let be a hypothesis-class and a set with elements. The restriction of to is the set of binary functions on that can be derived from : The growth function measures the size of as a function of :
Examples
1. The domain is the real line. The set-family contains all the half-lines from a given number to positive infinity, i.e., all sets of the form for some. For any set of real numbers, the intersection contains sets: the empty set, the set containing the largest element of, the set containing the two largest elements of, and so on. Therefore:. The same is true whether contains open half-lines, closed half-lines, or both. 2. The domain is the segment. The set-family contains all the open sets. For any finite set of real numbers, the intersection contains all possible subsets of. There are such subsets, so. 3. The domain is the Euclidean space. The set-family contains all the half-spaces of the form:, where is a fixed vector. Then, where Comp is the number of number of components in a partitioning of an n-dimensional space by m hyperplanes. 4. The domain is the real line. The set-family contains all the real intervals, i.e., all sets of the form for some. For any set of real numbers, the intersection contains all runs of between 0 and consecutive elements of. The number of such runs is, so.
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:
For any finite : since for every, the number of elements in is at most. Therefore, the growth function is mainly interesting when is infinite.
Exponential upper bound
For any nonempty : I.e, the growth function has an exponential upper-bound. We say that a set-family shatters a set if their intersection contains all possible subsets of, i.e.. If shatters of size, then, which is the upper bound.
Cartesian intersection
Define the Cartesian intersection of two set-families as: Then:
The VC dimension of is defined according to these two cases:
In the polynomial case, = the largest integer for which.
In the exponential case .
So if-and-only-if. The growth function can be regarded as a refinement of the concept of VC dimension. The VC dimension only tells us whether is equal to or smaller than, while the growth function tells us exactly how changes as a function of. Another connection between the growth function and the VC dimension is given by the Sauer–Shelah lemma: In particular, This upper bound is tight, i.e, for all there exists with VC dimension such that:
Entropy
While the growth-function is related to the maximum intersection-size, the entropy is related to the average intersection size: The intersection-size has the following property. For every set-family : Hence: Moreover, the sequence converges to a constant when. Moreover, the random-variable is concentrated near.
Let be a set on which a probability measure is defined. Let be family of subsets of . Suppose we choose a set that contains elements of, where each element is chosen at random according to the probability measure, independently of the others. For each event, we compare the following two quantities:
We are interested in the difference,. This difference satisfies the following upper bound: which is equivalent to: In words: the probability that for all events in, the relative-frequency is near the probability, is lower-bounded by an expression that depends on the growth-function of. A corollary of this is that, iff the growth function is polynomial in , then the above probability approaches 1 as. I.e, the family enjoys uniform convergence in probability.