Preply — Study more efficiently by working with a personal tutor. Get 50% off.Affiliate

Wikipedia

Sauer–Shelah lemma

Sauer–Shelah lemma

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. Here, the VC dimension is the largest size k {\displaystyle k} of a set with the property that all of its subsets can be formed by intersecting it with a member of the family. If the family has n {\displaystyle n} elements in its union, then the Sauer–Shelah lemma states that its number of sets is at most proportional to n k {\displaystyle n^{k}} . It is named after Norbert Sauer and Saharon Shelah, who published it independently of each other in 1972. The same result was also published slightly earlier, and again independently, by Vladimir Vapnik and Alexey Chervonenkis, after whom the VC dimension is named. In his paper containing the lemma, Shelah gives credit also to Micha Perles, and for this reason the lemma has also been called the Perles–Sauer–Shelah lemma and the Sauer–Shelah–Perles lemma. Buzaglo et al. call this lemma "one of the most fundamental results on VC-dimension", 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 and graph theory.

Definitions and statement If F = { S 1 , S 2 , … } {\displaystyle \textstyle {\mathcal {F}}=\{S_{1},S_{2},\dots \}} is a family of sets and T {\displaystyle T} is a set, then T {\displaystyle T} is said to be shattered by F {\displaystyle {\mathcal {F}}} if every subset of T {\displaystyle T} (including the empty set and T {\displaystyle T} itself) can be obtained as the intersection T ∩ S i {\displaystyle T\cap S_{i}} of T {\displaystyle T} with some set S i {\displaystyle S_{i}} in the family. The VC dimension of F {\displaystyle {\mathcal {F}}} is the largest cardinality of a set shattered by F {\displaystyle {\mathcal {F}}} . In terms of these definitions, the Sauer–Shelah lemma states that if the VC dimension of F {\displaystyle {\mathcal {F}}} is k {\displaystyle k} , and the union of F {\displaystyle {\mathcal {F}}} has n {\displaystyle n} elements, then F {\displaystyle {\mathcal {F}}} can consist of at most ∑ i = 0 k ( n i ) = O ( n k ) {\displaystyle \sum _{i=0}^{k}{\binom {n}{i}}=O(n^{k})} sets, as expressed using big O notation. Equivalently, if the number of sets in the family, | F | {\displaystyle |{\mathcal {F}}|} , obeys the inequality

| F | > ∑ i = 0 k − 1 ( n i ) , {\displaystyle |{\mathcal {F}}|>\sum _{i=0}^{k-1}{\binom {n}{i}},} then there exists a set of size k {\displaystyle k} that F {\displaystyle {\mathcal {F}}} shatters. The bound of the lemma is tight: Let the family F {\displaystyle {\mathcal {F}}} be composed of all subsets of { 1 , 2 , … , n } {\displaystyle \{1,2,\dots ,n\}} with size less than k {\displaystyle k} . Then the number of sets in F {\displaystyle {\mathcal {F}}} is exactly ∑ i = 0 k − 1 ( n i ) {\textstyle \sum _{i=0}^{k-1}{\binom {n}{i}}} but it does not shatter any set of size k {\displaystyle k} , because the set itself cannot be obtained as an intersection with a set in this family.

The number of shattered sets A strengthening of the Sauer–Shelah lemma, due to Pajor (1985), states that every finite set family F {\displaystyle {\mathcal {F}}} shatters at least | F | {\displaystyle |{\mathcal {F}}|} sets. This immediately implies the Sauer–Shelah lemma, because only ∑ i = 0 k − 1 ( n i ) {\textstyle \sum _{i=0}^{k-1}{\tbinom {n}{i}}} of the subsets of an n {\displaystyle n} -item universe have cardinality less than k {\displaystyle k} . Thus, when

| F | > ∑ i = 0 k − 1 ( n i ) , {\displaystyle |{\mathcal {F}}|>\sum _{i=0}^{k-1}{\binom {n}{i}},}

there are not enough small sets to be shattered, so one of the shattered sets must have cardinality at least k {\displaystyle k} . 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.

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

Base Every family of only one set shatters the empty set. Step Assume the lemma is true for all families of size less than | F | {\displaystyle |{\mathcal {F}}|} and let F {\displaystyle {\mathcal {F}}} be a family of two or more sets. Because F {\displaystyle {\mathcal {F}}} has at least two distinct sets, there exists an element x {\displaystyle x} that belongs to some but not all of the sets. Split F {\displaystyle {\mathcal {F}}} into two subfamilies, of the sets that contain x {\displaystyle x} and the sets that do not contain x {\displaystyle x} . By the induction assumption, these two subfamilies shatter two collections of sets whose sizes add to at least | F | {\displaystyle |{\mathcal {F}}|} . None of these shattered sets contain x {\displaystyle x} , since a set that contains x {\displaystyle x} cannot be shattered by a family in which all sets contain x {\displaystyle x} or all sets do not contain x {\displaystyle x} . Some of the shattered sets may be shattered by both subfamilies. When a set S {\displaystyle S} 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 F {\displaystyle {\mathcal {F}}} . When a set S {\displaystyle S} is shattered by both subfamilies, both S {\displaystyle S} and S ∪ { x } {\displaystyle S\cup \{x\}} are shattered by F {\displaystyle {\mathcal {F}}} , so S {\displaystyle S} contributes two units to the number of shattered sets of the subfamilies and of F {\displaystyle {\mathcal {F}}} . Therefore, the number of shattered sets of F {\displaystyle {\mathcal {F}}} is at least equal to the number shattered by the two subfamilies of F {\displaystyle {\mathcal {F}}} , which is at least | F | {\displaystyle |{\mathcal {F}}|} . 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. This proof extends to other settings such as families of vector spaces and, more generally, geometric lattices.

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 ε {\displaystyle \varepsilon } : a set S {\displaystyle S} of samples, and a probability distribution on S {\displaystyle S} , is said to be an ε {\displaystyle \varepsilon } -approximation of the original distribution if the probability of each event with respect to S {\displaystyle S} differs from its original probability by at most ε {\displaystyle \varepsilon } . A set S {\displaystyle S} of (unweighted) samples is said to be an ε {\displaystyle \varepsilon } -net if every event with probability at least ε {\displaystyle \varepsilon } includes at least one point of S {\displaystyle S} . An ε {\displaystyle \varepsilon } -approximation must also be an ε {\displaystyle \varepsilon } -net but not necessarily vice versa. Vapnik and Chervonenkis used the lemma to show that set systems of VC dimension d {\displaystyle d} always have ε {\displaystyle \varepsilon } -approximations of cardinality O ( d ε 2 log ⁡ d ε ) . {\displaystyle O({\tfrac {d}{\varepsilon ^{2}}}\log {\tfrac {d}{\varepsilon }}).} Later authors including Haussler & Welzl (1987) and Komlós, Pach & Woeginger (1992) similarly showed that there always exist ε {\displaystyle \varepsilon } -nets of cardinality O ( d ε log ⁡ 1 ε ) {\displaystyle O({\tfrac {d}{\varepsilon }}\log {\tfrac {1}{\varepsilon }})} , and more precisely of cardinality at most d ε ln ⁡ 1 ε + 2 d ε ln ⁡ ln ⁡ 1 ε + 6 d ε . {\displaystyle {\tfrac {d}{\varepsilon }}\ln {\tfrac {1}{\varepsilon }}+{\tfrac {2d}{\varepsilon }}\ln \ln {\tfrac {1}{\varepsilon }}+{\tfrac {6d}{\varepsilon }}.} The main idea of the proof of the existence of small ε {\displaystyle \varepsilon } -nets is to choose a random sample x {\displaystyle x} of cardinality O ( d ε log ⁡ 1 ε ) {\textstyle O({\tfrac {d}{\varepsilon }}\log {\tfrac {1}{\varepsilon }})} and a second independent random sample y {\displaystyle y} of cardinality O ( d ε log 2 ⁡ 1 ε ) {\textstyle O({\tfrac {d}{\varepsilon }}\log ^{2}{\tfrac {1}{\varepsilon }})} , and to bound the probability that x {\displaystyle x} is missed by some large event E {\displaystyle E} by the probability that x {\displaystyle x} is missed and simultaneously the intersection of y {\displaystyle y} with E {\displaystyle E} is larger than its median value. For any particular E {\displaystyle E} , the probability that x {\displaystyle x} is missed while y {\displaystyle y} is larger than its median is very small, and the Sauer–Shelah lemma (applied to x ∪ y {\displaystyle x\cup y} ) shows that only a small number of distinct events E {\displaystyle E} need to be considered, so by the union bound, with nonzero probability, x {\displaystyle x} is an ε {\displaystyle \varepsilon } -net. In turn, ε {\displaystyle \varepsilon } -nets and ε {\displaystyle \varepsilon } -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. In computational geometry, they have been applied to range searching, derandomization, and approximation algorithms. Kozma & Moran (2013) 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.

See also Growth function

References

Tags

  • Extremal combinatorics
  • Families of sets
  • Lemmas