Sauer–Shelah lemma

From HandWiki
Short description: Notion in combinatorics
Pajor's formulation of the Sauer–Shelah lemma: for every finite family of sets (green) there is another family of equally many sets (blue outlines) such that each set in the second family is shattered by the first family

In combinatorial mathematics and extremal set theory, the Sauer–Shelah lemma states that every family of sets with small VC dimension consists of a small number of sets. It is named after Norbert Sauer and Saharon Shelah, who published it independently of each other in 1972.[1][2] The same result was also published slightly earlier and again independently, by Vladimir Vapnik and Alexey Chervonenkis, after whom the VC dimension is named.[3] In his paper containing the lemma, Shelah gives credit also to Micha Perles,[2] and for this reason the lemma has also been called the Perles–Sauer–Shelah lemma and the Sauer–Shelah–Perles lemma.[4][5]

Buzaglo et al. call this lemma "one of the most fundamental results on VC-dimension",[4] and it has applications in many areas. Sauer's motivation was in the combinatorics of set systems, while Shelah's was in model theory and that of Vapnik and Chervonenkis was in statistics. It has also been applied in discrete geometry[6] and graph theory.[7]

Definitions and statement

If [math]\displaystyle{ \textstyle \mathcal{F}=\{S_1,S_2,\dots\} }[/math] is a family of sets and [math]\displaystyle{ T }[/math] is a set, then [math]\displaystyle{ T }[/math] is said to be shattered by [math]\displaystyle{ \mathcal{F} }[/math] if every subset of [math]\displaystyle{ T }[/math] (including the empty set and [math]\displaystyle{ T }[/math] itself) can be obtained as the intersection [math]\displaystyle{ T\cap S_i }[/math] of [math]\displaystyle{ T }[/math] with some set [math]\displaystyle{ S_i }[/math] in the family. The VC dimension of [math]\displaystyle{ \mathcal{F} }[/math] is the largest cardinality of a set shattered by [math]\displaystyle{ \mathcal{F} }[/math].

In terms of these definitions, the Sauer–Shelah lemma states that if [math]\displaystyle{ \mathcal{F} }[/math] is a family of sets whose union has [math]\displaystyle{ n }[/math] elements, and if the number of sets in the family, [math]\displaystyle{ |\mathcal{F}| }[/math], obeys the inequality [math]\displaystyle{ |\mathcal{F}| \gt \sum_{i=0}^{k-1} {\binom{n}{i}}, }[/math] then [math]\displaystyle{ \mathcal{F} }[/math] shatters a set of size [math]\displaystyle{ k }[/math]. Equivalently, if the VC dimension of [math]\displaystyle{ \mathcal{F} }[/math] is [math]\displaystyle{ k, }[/math] then [math]\displaystyle{ \mathcal{F} }[/math] can consist of at most [math]\displaystyle{ \sum_{i=0}^{k} {\binom{n}{i}} =O(n^k) }[/math] sets, as expressed using big O notation.

The bound of the lemma is tight: Let the family [math]\displaystyle{ \mathcal{F} }[/math] be composed of all subsets of [math]\displaystyle{ \{1,2,\dots, n\} }[/math] with size less than [math]\displaystyle{ k }[/math]. Then the size of [math]\displaystyle{ \mathcal{F} }[/math] is exactly [math]\displaystyle{ \sum_{i=0}^{k-1} {\binom{n}{i}} }[/math] but it does not shatter any set of size [math]\displaystyle{ k }[/math].[8]

The number of shattered sets

A strengthening of the Sauer–Shelah lemma, due to (Pajor 1985), states that every finite set family [math]\displaystyle{ \mathcal{F} }[/math] shatters at least [math]\displaystyle{ |\mathcal{F}| }[/math] sets.[9] This immediately implies the Sauer–Shelah lemma, because only [math]\displaystyle{ \sum_{i=0}^{k-1} {\tbinom{n}{i}} }[/math] of the subsets of an [math]\displaystyle{ n }[/math]-item universe have cardinality less than [math]\displaystyle{ k }[/math]. Thus, when [math]\displaystyle{ |\mathcal{F}|\gt \sum_{i=0}^{k-1} {\tbinom{n}{i}}, }[/math] there are not enough small sets to be shattered, so one of the shattered sets must have cardinality at least [math]\displaystyle{ k }[/math].

For a restricted type of shattered set, called an order-shattered set, the number of shattered sets always equals the cardinality of the set family.[10]

Proof

Pajor's variant of the Sauer–Shelah lemma may be proved by mathematical induction; the proof has variously been credited to Noga Alon[11] or to Ron Aharoni and Ron Holzman.[10]

Base
Every family of only one set shatters the empty set.
Step
Assume the lemma is true for all families of size less than [math]\displaystyle{ |\mathcal{F}| }[/math] and let [math]\displaystyle{ \mathcal{F} }[/math] be a family of two or more sets. Let [math]\displaystyle{ x }[/math] be an element that belongs to some but not all of the sets in [math]\displaystyle{ \mathcal{F} }[/math]. Split [math]\displaystyle{ \mathcal{F} }[/math] into two subfamilies, of the sets that contain [math]\displaystyle{ x }[/math] and the sets that do not contain [math]\displaystyle{ x }[/math]. By the induction assumption, these two subfamilies shatter two collections of sets whose sizes add to at least [math]\displaystyle{ |\mathcal{F}| }[/math]. None of these shattered sets contain [math]\displaystyle{ x }[/math], since a set that contains [math]\displaystyle{ x }[/math] cannot be shattered by a family in which all sets contain [math]\displaystyle{ x }[/math] or all sets do not contain [math]\displaystyle{ x }[/math]. Some of the shattered sets may be shattered by both subfamilies. When a set [math]\displaystyle{ S }[/math] is shattered by only one of the two subfamilies, it contributes one unit both to the number of shattered sets of the subfamily and to the number of shattered sets of [math]\displaystyle{ \mathcal{F} }[/math]. When a set [math]\displaystyle{ S }[/math] is shattered by both subfamilies, both [math]\displaystyle{ S }[/math] and [math]\displaystyle{ S\cup\{x\} }[/math] are shattered by [math]\displaystyle{ \mathcal{F} }[/math], so [math]\displaystyle{ S }[/math] contributes two units to the number of shattered sets of the subfamilies and of [math]\displaystyle{ \mathcal{F} }[/math]. Therefore, the number of shattered sets of [math]\displaystyle{ \mathcal{F} }[/math] is at least equal to the number shattered by the two subfamilies of [math]\displaystyle{ \mathcal{F} }[/math], which is at least [math]\displaystyle{ |\mathcal{F}| }[/math].

A different proof of the Sauer–Shelah lemma in its original form, by Péter Frankl and János Pach, is based on linear algebra and the inclusion–exclusion principle.[6][8] This proof extends to other settings such as families of vector spaces and, more generally, geometric lattices.[5]

Applications

The original application of the lemma, by Vapnik and Chervonenkis, was in showing that every probability distribution can be approximated (with respect to a family of events of a given VC dimension) by a finite set of sample points whose cardinality depends only on the VC dimension of the family of events. In this context, there are two important notions of approximation, both parameterized by a number [math]\displaystyle{ \varepsilon }[/math]: a set [math]\displaystyle{ S }[/math] of samples, and a probability distribution on [math]\displaystyle{ S }[/math], is said to be an [math]\displaystyle{ \varepsilon }[/math]-approximation of the original distribution if the probability of each event with respect to [math]\displaystyle{ S }[/math] differs from its original probability by at most [math]\displaystyle{ \varepsilon }[/math]. A set [math]\displaystyle{ S }[/math] of (unweighted) samples is said to be an [math]\displaystyle{ \varepsilon }[/math]-net if every event with probability at least [math]\displaystyle{ \varepsilon }[/math] includes at least one point of [math]\displaystyle{ S }[/math]. An [math]\displaystyle{ \varepsilon }[/math]-approximation must also be an [math]\displaystyle{ \varepsilon }[/math]-net but not necessarily vice versa.

Vapnik and Chervonenkis used the lemma to show that set systems of VC dimension [math]\displaystyle{ d }[/math] always have [math]\displaystyle{ \varepsilon }[/math]-approximations of cardinality [math]\displaystyle{ O(\tfrac{d}{\varepsilon^2}\log\tfrac{d}{\varepsilon}). }[/math] Later authors including (Haussler Welzl)[12] and (Komlós Pach)[13] similarly showed that there always exist [math]\displaystyle{ \varepsilon }[/math]-nets of cardinality [math]\displaystyle{ O(\tfrac{d}{\varepsilon}\log\tfrac{1}{\varepsilon}) }[/math], and more precisely of cardinality at most[6] [math]\displaystyle{ \tfrac{d}{\varepsilon}\ln\tfrac{1}{\varepsilon}+\tfrac{2d}{\varepsilon}\ln\ln\tfrac{1}{\varepsilon}+\tfrac{6d}{\varepsilon}. }[/math] The main idea of the proof of the existence of small [math]\displaystyle{ \varepsilon }[/math]-nets is to choose a random sample [math]\displaystyle{ x }[/math] of cardinality [math]\displaystyle{ O(\tfrac{d}{\varepsilon}\log\tfrac{1}{\varepsilon}) }[/math] and a second independent random sample [math]\displaystyle{ y }[/math] of cardinality [math]\displaystyle{ O(\tfrac{d}{\varepsilon}\log^2\tfrac{1}{\varepsilon}) }[/math], and to bound the probability that [math]\displaystyle{ x }[/math] is missed by some large event [math]\displaystyle{ E }[/math] by the probability that [math]\displaystyle{ x }[/math] is missed and simultaneously the intersection of [math]\displaystyle{ y }[/math] with [math]\displaystyle{ E }[/math] is larger than its median value. For any particular [math]\displaystyle{ E }[/math], the probability that [math]\displaystyle{ x }[/math] is missed while [math]\displaystyle{ y }[/math] is larger than its median is very small, and the Sauer–Shelah lemma (applied to [math]\displaystyle{ x\cup y }[/math]) shows that only a small number of distinct events [math]\displaystyle{ E }[/math] need to be considered, so by the union bound, with nonzero probability, [math]\displaystyle{ x }[/math] is an [math]\displaystyle{ \varepsilon }[/math]-net.[6]

In turn, [math]\displaystyle{ \varepsilon }[/math]-nets and [math]\displaystyle{ \varepsilon }[/math]-approximations, and the likelihood that a random sample of large enough cardinality has these properties, have important applications in machine learning, in the area of probably approximately correct learning.[14] In computational geometry, they have been applied to range searching,[12] derandomization,[15] and approximation algorithms.[16][17]

(Kozma Moran) use generalizations of the Sauer–Shelah lemma to prove results in graph theory such as that the number of strong orientations of a given graph is sandwiched between its numbers of connected and 2-edge-connected subgraphs.[7]

See also

References

  1. Sauer, N. (1972), "On the density of families of sets", Journal of Combinatorial Theory, Series A 13: 145–147, doi:10.1016/0097-3165(72)90019-2 .
  2. 2.0 2.1 Shelah, Saharon (1972), "A combinatorial problem; stability and order for models and theories in infinitary languages", Pacific Journal of Mathematics 41: 247–261, doi:10.2140/pjm.1972.41.247, http://projecteuclid.org/getRecord?id=euclid.pjm/1102968432 .
  3. "The uniform convergence of frequencies of the appearance of events to their probabilities", Akademija Nauk SSSR 16: 264–279, 1971 .
  4. 4.0 4.1 Buzaglo, Sarit; Pinchasi, Rom; Rote, Günter (2013), "Topological hypergraphs", Thirty Essays on Geometric Graph Theory, Springer, pp. 71–81, doi:10.1007/978-1-4614-0110-0_6 .
  5. 5.0 5.1 Cambie, Stijn; Chornomaz, Bogdan; Dvir, Zeev; Filmus, Yuval; Moran, Shay (2020), "A Sauer–Shelah–Perles lemma for lattices", Electronic Journal of Combinatorics 27 (4): P4.19, doi:10.37236/9273, https://www.combinatorics.org/ojs/index.php/eljc/article/view/v27i4p19/pdf .
  6. 6.0 6.1 6.2 6.3 Pach, János; Agarwal, Pankaj K. (1995), Combinatorial geometry, Wiley-Interscience Series in Discrete Mathematics and Optimization, New York: John Wiley & Sons Inc., p. 247, doi:10.1002/9781118033203, ISBN 0-471-58890-3, https://archive.org/details/combinatorialgeo0000pach/page/247 .
  7. 7.0 7.1 Kozma, László; Moran, Shay (2013), "Shattering, Graph Orientations, and Connectivity", Electronic Journal of Combinatorics 20 (3): P44, Bibcode2012arXiv1211.1319K, http://www.combinatorics.org/ojs/index.php/eljc/article/view/v20i3p44 .
  8. 8.0 8.1 Gowers, Timothy (July 31, 2008), "Dimension arguments in combinatorics", Gowers's Weblog: Mathematics related discussions: Example 3, http://gowers.wordpress.com/2008/07/31/dimension-arguments-in-combinatorics/ .
  9. Pajor, Alain (1985), Sous-espaces [math]\displaystyle{ l^n_1 }[/math] des espaces de Banach, Travaux en Cours [Works in Progress], 16, Paris: Hermann, ISBN 2-7056-6021-6 . As cited by (Anstee Rónyai).
  10. 10.0 10.1 Anstee, R. P.; Rónyai, Lajos; Sali, Attila (2002), "Shattering news", Graphs and Combinatorics 18 (1): 59–73, doi:10.1007/s003730200003 .
  11. Kalai, Gil (September 28, 2008), "Extremal Combinatorics III: Some Basic Theorems", Combinatorics and More, http://gilkalai.wordpress.com/2008/09/28/extremal-combinatorics-iii-some-basic-theorems/ .
  12. 12.0 12.1 "[math]\displaystyle{ \varepsilon }[/math]-nets and simplex range queries", Discrete and Computational Geometry 2 (2): 127–151, 1987, doi:10.1007/BF02187876 .
  13. "Almost tight bounds for [math]\displaystyle{ \varepsilon }[/math]-nets", Discrete and Computational Geometry 7 (2): 163–173, 1992, doi:10.1007/BF02187833 .
  14. Blumer, Anselm; Ehrenfeucht, Andrzej (1989), "Learnability and the Vapnik–Chervonenkis dimension", Journal of the ACM 36 (4): 929–965, doi:10.1145/76359.76371 .
  15. "A deterministic view of random sampling and its use in geometry", Combinatorica 10 (3): 229–249, 1990, doi:10.1007/BF02122778 .
  16. Brönnimann, H. (1995), "Almost optimal set covers in finite VC-dimension", Discrete and Computational Geometry 14 (4): 463–479, doi:10.1007/BF02570718 .
  17. "On complexity, sampling, and [math]\displaystyle{ \varepsilon }[/math]-nets and [math]\displaystyle{ \varepsilon }[/math]-samples", Geometric approximation algorithms, Mathematical Surveys and Monographs, 173, Providence, RI: American Mathematical Society, 2011, pp. 61–85, ISBN 978-0-8218-4911-8 .