Dichotomies of Hypothesis Classes
The capacity of L(B,T) is analyzed by counting dichotomies on a set C.
Why Combined Classes Need Counting
A learning method can build one hypothesis by combining several simpler hypotheses. The combined class may then produce more labelings than the base class can produce by itself. The key question is therefore a capacity question: on a fixed set of examples, how many different binary labelings can the entire combined class produce?
A dichotomy is one binary labeling of a fixed set of points produced by a hypothesis class. VC-dimension measures the largest size of a set that the class can shatter. A set is shattered when the class can realize every possible binary labeling of that set. Thus, VC-dimension does not merely ask whether a class can label some examples; it asks how large a set can support all possible labelings.
The Two Stages of L(B,T)
The class L(B,T) is constructed in two stages. First, select T hypotheses from the base class B. Denote them by h1 through hT. For an input x, these hypotheses produce T values: h1(x) through hT(x). These values form a T-dimensional output vector.
Second, apply a halfspace hypothesis, also described as a linear predictor, to that output vector. The final prediction is therefore not the output of one base hypothesis alone. It is the result of selecting T base hypotheses and then applying a linear decision rule to their outputs.
Tracing One Constructed Prediction
Suppose L(B,T) selects T base hypotheses and evaluates them on one input x. What information reaches the final predictor?
Select base hypotheses: Choose h1 through hT from B.
Evaluate the input: Each selected hypothesis produces one value on x, giving h1(x) through hT(x).
Form the vector: Place those T values into one T-dimensional output vector.
Apply the final rule: Use a halfspace or linear predictor on the vector to obtain the prediction of the constructed hypothesis.
The prediction depends on both stages: the selected base hypotheses and the linear decision rule applied to their outputs.
Counting Base-Class Dichotomies
To analyze the capacity of L(B,T), fix a set C containing m points. Ask first how many different labelings the base class B can create on C. Let d denote the VC-dimension of B. Sauer's Lemma gives an upper bound: B can induce at most (em/d) raised to the power d different dichotomies on C.
This bound counts patterns rather than individual hypotheses. That distinction matters. If two hypotheses in B produce the same labeling on C, they are indistinguishable for the purpose of counting what can happen on C. The proof therefore does not need to count every member of B separately; it only needs to count the distinct patterns visible on C.
| Object being counted | Role in the proof | Bound |
|---|---|---|
| A hypothesis in B | One particular member of the base class | Not counted individually |
| A dichotomy of B on C | A distinct labeling visible on the fixed set C | At most (em/d)^d |
Combining T Pattern Choices
Once the available base-class patterns on C have been counted, repeat the choice T times. Each of the T positions is filled by one pattern that B can produce on C. Since one position has at most (em/d) raised to the power d choices, all T positions together have at most (em/d) raised to the power dT choices.
These T selected patterns determine the T-dimensional output vector for every point in C. The final linear predictor then operates on those vectors. The proof states that this final predictor can produce at most (em/T) raised to the power T dichotomies on the resulting output vectors.
Following the Two-Part Count
A set C with m points is considered for a class L(B,T), and the base class B has VC-dimension d. What are the two factors in the upper bound on the number of constructed dichotomies?
Count one base position: Sauer's Lemma gives at most (em/d)^d distinct patterns from B on C.
Fill all T positions: Choosing one available pattern for each of T positions gives at most (em/d)^(dT) pattern selections.
Count final decisions: For the resulting T-dimensional output vectors, the linear predictor contributes at most (em/T)^T dichotomies.
Combine the stages: The overall count is bounded by the product of the base-pattern selection bound and the final-predictor bound.
The construction has fewer possible dichotomies than an unrestricted class once m is sufficiently large.
From Counting to a VC Bound
The proof now assumes that C is shattered by L(B,T). If C has m points and is shattered, L(B,T) must realize every binary labeling of C. The required number of labelings is therefore the number of all binary labelings of an m-point set.
The counting argument gives an upper bound on how many dichotomies L(B,T) can actually produce: the choices of T base patterns contribute the first factor, and the final linear predictor contributes the second factor. Once m becomes sufficiently large, this upper bound is too small to support every labeling of C. At that point, C cannot be shattered.
Writing d for VCdim(B), the counting argument yields the stated upper bound that VCdim(L(B,T)) is approximately d multiplied by T, with constants and logarithmic factors hidden by the tilde notation. This is an upper bound, not a claim that every such class always achieves exactly that dimension.
Common Counting Mistakes
Treating L(B,T) as if it selected only one hypothesis from B.
L(B,T) selects T base hypotheses and then applies a linear predictor to their joint output vector.
Fix:
Count the available pattern choices for all T positions, then count the dichotomies produced by the final predictor.Counting hypotheses instead of distinct labelings on C.
For the fixed set C, hypotheses with identical labelings are indistinguishable in the dichotomy count.
Fix:
Count distinct patterns induced on C and use Sauer's Lemma to bound that number.Using Sauer's Lemma as a count for the entire class L(B,T).
Sauer's Lemma controls the patterns contributed by B. The T-fold selection and the final linear predictor are additional stages.
Fix:
Use Sauer's Lemma for one base position, raise the resulting count to account for T positions, and then include the final predictor's bound.Confusing a large number of possible labelings with shattering.
Shattering requires every binary labeling of C, not merely many labelings.
Fix:
Compare the number of labelings required for shattering with the upper bound on labelings the class can produce.
Keep the proof separated into its two conceptual stages. First ask how many patterns one base hypothesis can contribute on C. Then ask how T such patterns and the final linear predictor expand the count. This separation makes it easier to see which part of the argument uses Sauer's Lemma and which part comes from the construction of L(B,T).
Check Your Reasoning
Explain in your own words why two hypotheses in B that agree on every point of C can be treated as one pattern during the counting argument. Then describe the two factors that must be counted after T base hypotheses have been selected.
Hints
- Focus on what the proof is trying to count: behavior on C, not the identities of hypotheses.
- The first factor concerns the T selected base patterns.
- The second factor concerns the final linear predictor on the resulting output vectors.
What do you think happens?
Suppose the counting upper bound for L(B,T) is smaller than the number of all binary labelings of an m-point set C. Can C still be shattered by L(B,T)?
Reveal answer
Answer: No, because shattering requires every binary labeling.
If the class cannot produce enough distinct dichotomies to cover all binary labelings of C, then C cannot be shattered.
Summary
- VC-dimension measures the largest size of a set that a hypothesis class can shatter.
- L(B,T) selects T hypotheses from B, forms their output vector on each input, and applies a halfspace or linear predictor.
- Sauer's Lemma bounds the number of distinct dichotomies that B can induce on an m-point set C by at most (em/d)^d, where d is VCdim(B).
- For T selected base positions, the base-pattern count is bounded by (em/d)^(dT), and the final predictor contributes an additional bounded number of dichotomies.
- Comparing the resulting upper bound with the number of labelings required for shattering gives VCdim(L(B,T)) approximately equal to dT, up to constants and logarithmic factors.
Key Takeaways
- A hypothesis class's capacity can be studied by counting its distinct dichotomies on a fixed set.
- L(B,T) is a two-stage class: it selects T base hypotheses and then applies a linear decision rule to their outputs.
- Sauer's Lemma bounds the number of patterns contributed by the base class using its VC-dimension.
- The total count combines the choices of T base patterns with the dichotomies available to the final predictor.
- The comparison between required and available labelings yields an upper bound of approximately VCdim(B) multiplied by T for L(B,T), with constants and logarithmic factors suppressed.