Cover's theorem

From HandWiki
Revision as of 17:21, 6 February 2024 by LinuxGuru (talk | contribs) (over-write)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Statement in computational learning theory

Cover's theorem is a statement in computational learning theory and is one of the primary theoretical motivations for the use of non-linear kernel methods in machine learning applications. It is so termed after the information theorist Thomas M. Cover who stated it in 1965, referring to it as counting function theorem.

The Theorem

The theorem expresses the number of homogeneously linearly separable sets of [math]\displaystyle{ N }[/math] points in [math]\displaystyle{ D }[/math] dimensions as an explicit counting function [math]\displaystyle{ C(N,D) }[/math] of the number of points [math]\displaystyle{ N }[/math] and the dimensionality [math]\displaystyle{ D }[/math].

It requires, as a necessary and sufficient condition, that the points are in general position. Simply put, this means that the points should be as linearly independent (non-aligned) as possible. This condition is satisfied "with probability 1" or almost surely for random point sets, while it may easily be violated for real data, since these are often structured along smaller-dimensionality manifolds within the data space.

The function [math]\displaystyle{ C(N,D) }[/math] follows two different regimes depending on the relationship between [math]\displaystyle{ N }[/math] and [math]\displaystyle{ D }[/math].

  • For [math]\displaystyle{ N \le D + 1 }[/math], the function is exponential in [math]\displaystyle{ N }[/math] . This essentially means that any set of labelled points in general position and in number no larger than the dimensionality + 1 is linearly separable; in jargon, it is said that a linear classifier shatters any point set with [math]\displaystyle{ N\le D+1 }[/math]. This limiting quantity is also known as the Vapnik-Chervonenkis dimension of the linear classifier.
  • For [math]\displaystyle{ N \gt D + 1 }[/math], the counting function starts growing less than exponentially . This means that, given a sample of fixed size [math]\displaystyle{ N }[/math], for larger dimensionality [math]\displaystyle{ D }[/math] it is more probable that a random set of labelled points is linearly separable. Conversely, with fixed dimensionality, for larger sample sizes the number of linearly separable sets of random points will be smaller, or in other words the probability to find a linearly separable sample will decrease with [math]\displaystyle{ N }[/math].

A consequence of the theorem is that given a set of training data that is not linearly separable, one can with high probability transform it into a training set that is linearly separable by projecting it into a higher-dimensional space via some non-linear transformation, or:

A complex pattern-classification problem, cast in a high-dimensional space nonlinearly, is more likely to be linearly separable than in a low-dimensional space, provided that the space is not densely populated.

Proof

The proof of Cover's counting function theorem can be obtained from the recursive relation

[math]\displaystyle{ C(N+1,D) = C(N,D) + C(N,D-1). }[/math]

To show that, with fixed [math]\displaystyle{ N }[/math], increasing [math]\displaystyle{ D }[/math] may turn a set of points from non-separable to separable, a deterministic mapping may be used: suppose there are [math]\displaystyle{ N }[/math] points. Lift them onto the vertices of the simplex in the [math]\displaystyle{ N-1 }[/math] dimensional real space. Since every partition of the samples into two sets is separable by a linear separator, the property follows.

The left image shows 100 points in the two dimensional real space, labelled according to whether they are inside or outside the circular area. These labelled points are not linearly separable, but lifting them to the three dimensional space with the kernel trick, the points becomes linearly separable. Note that in this case and in many other cases it will not be necessary to lift the points to the 99 dimensional space as assumed in the explanation.

See also

References