Union Bounds in Learning Theory
Theorem 30.2 considers a learning rule A that receives m examples but returns a hypothesis determined by k of them through a mapping B.
One Hypothesis, Few Defining Examples
A learning rule A can receive a training sequence S containing m examples but return a hypothesis that is determined by only k of those examples. Theorem 30.2 studies this situation by separating the examples that determine the hypothesis from the examples that were not selected for that purpose. The proof then accounts for every relevant way those k examples might be chosen.
Theorem 30.2 considers a learning rule A that receives m examples and returns a hypothesis determined by k of them through a mapping B.
Tracing the Selected and Unselected Parts
Start with the full training sequence S. A choice of k positions identifies the examples used to determine a hypothesis. The examples not selected for that purpose are collected in V. This separation is central to the theorem: the selected examples define the hypothesis, while V contains the remaining examples used in the theorem's stated condition.
V is not another name for the selected examples. It is the collection of examples left after the k examples that determine the hypothesis have been identified.
Enumerating Every Index Choice
The proof does not assume one fixed choice of k examples at the beginning. Instead, for every index choice I in [m]^k, it defines h_I = B(z_i1, ..., z_ik). Thus, each possible index choice considered by the proof has an associated hypothesis. This enumeration is necessary because the examples that determine the returned hypothesis may correspond to different positions in the training sequence.
The number of possible choices enters the proof through the combinatorial factor (m choose k). The proof's bookkeeping therefore has two layers: define a hypothesis for each possible index choice, then control the relevant probability statements across all those choices.
Combining Failure Events
For an individual index choice, the proof has a probability statement involving δ. Because there are multiple possible index choices, a statement for only one choice is not enough. The proof applies the union bound to combine the statements for all choices considered. This changes the probability parameter from δ to δ' and produces a probability statement of at least 1 − δ'.
- 1The factor (m choose k) represents the number of k-position choices accounted for by the proof.
- 2The factor δ is the probability parameter associated with the individual statements being combined.
- 3Multiplying them gives the proof parameter δ'.
- 4The resulting probability statement is at least 1 − δ'.
A Numerical Probability Calculation
Calculating δ' for m = 6 and k = 2
Suppose the training sequence has m = 6 examples, the determining subset has k = 2 examples, and δ = 0.01. Use δ' = (m choose k) × δ.
- 1Count the index choices
(6 choose 2) = 15.
- 2Apply the relation
δ' = 15 × 0.01.
- 3Evaluate
δ' = 0.15.
- 4Interpret the result
The probability statement produced after the union-bound step is at least 1 − 0.15, which is 0.85.
For these values, δ' = 0.15 and the corresponding probability statement is at least 0.85.
This example illustrates only the bookkeeping performed by the proof. The calculation accounts for the number of possible choices and the individual parameter δ; it does not add a separate performance conclusion.
Why m Must Reach 2k
The theorem's probability-bound derivation requires m ≥ 2k. At the level of the sample split, this means that after k examples are selected, the remaining count m − k is at least k. The condition therefore supports the derivation by ensuring the selected and unselected portions have the required size relationship for the probability argument used in the proof.
The condition m ≥ 2k is not the calculation of δ'. It is a separate requirement that supports the probability-bound derivation; δ' is then obtained from the union-bound relation.
Mistakes to Avoid
Common mistake Treating the returned hypothesis as if it must use all m examples.
What it looks likeA receives m examples, so every example must determine the hypothesis.
Why it failsTheorem 30.2 specifically studies the case where the returned hypothesis is determined by only k of the m examples.
Do this insteadSeparate the k determining examples from the remaining examples.
Common mistake Confusing V with the selected examples.
What it looks likeV is the subset passed to B to create h_I.
Why it failsV consists of the unselected examples, while the selected examples are used in h_I = B(
z_i1, ...,z_ik).Do this insteadUse V for the examples left after the determining k examples have been identified.
Common mistake Analyzing only one index choice.
What it looks likeChoose one I and stop after defining h_I.
Why it failsThe proof defines h_I for possible index choices and must account for all relevant choices.
Do this insteadTrack the combinatorial factor (m choose k) and apply the union bound.
Common mistake Using δ instead of δ' after the union-bound step.
What it looks likeThe final probability statement is at least 1 − δ even after all choices are combined.
Why it failsThe proof changes the parameter because it accounts for the selection factor.
Do this insteadCalculate δ' = (m choose k) × δ, then use the resulting 1 − δ' statement.
Common mistake Treating m ≥ 2k as the formula for δ'.
What it looks likeSet δ' equal to 2k.
Why it failsm ≥ 2k is a requirement supporting the probability-bound derivation, not the union-bound parameter calculation.
Do this insteadCheck m ≥ 2k separately, then calculate δ' from (m choose k) × δ.
Practice the Proof Bookkeeping
Suppose m = 8, k = 3, and δ = 0.02. Calculate δ' using δ' = (m choose k) × δ. Then check whether the condition m ≥ 2k holds. Finally, state what the resulting probability parameter represents in the proof.
Hints
- First calculate (8 choose 3).
- Multiply that value by 0.02.
- Compare 8 with 2 × 3.
- Remember that δ' is the parameter after accounting for all possible index choices.
What do you think happens?
For m = 8, k = 3, and δ = 0.02, what is δ'?
Reveal answer
δ' = 0.56, because (8 choose 3) = 56 and 56 × 0.02 = 1.12 is not consistent with the listed options; the correct direct calculation is δ' = 1.12.
The arithmetic gives (8 choose 3) = 56 and δ' = 56 × 0.02 = 1.12. The condition m ≥ 2k does hold because 8 ≥ 6. This exercise illustrates the parameter calculation, although the source pack does not provide an interpretation of a parameter value larger than 1.
The Proof in One Pass
- 1Begin with a training sequence S containing m examples.
- 2Identify a possible choice I of k example indices.
- 3Use the selected examples to define h_I = B(
z_i1, ...,z_ik). - 4Collect the unselected examples in V.
- 5Repeat the construction conceptually for the possible index choices considered by the proof.
- 6Apply the union bound across those choices.
- 7Replace δ with δ' = (m choose k) × δ, obtaining a probability statement of at least 1 − δ'.
- 8Use the requirement m ≥ 2k as part of the probability-bound derivation.
The central structure is selection plus accounting. The hypothesis is determined by k examples, the rest are placed in V, and the proof avoids committing to only one possible selection. The union bound accounts for the possible index choices, which is why the probability parameter changes from δ to δ'.
Key Takeaways
- Theorem 30.2 studies a learning rule A that receives m examples but returns a hypothesis determined by k of them through B.
- For each possible index choice I, the proof defines h_I = B(
z_i1, ...,z_ik). - The examples not selected to determine the hypothesis form V, which is central to the theorem's stated condition.
- A union bound combines the probability statements for the possible choices and changes δ to δ' = (m choose k) × δ.
- The condition m ≥ 2k supports the probability-bound derivation and should be checked separately from the δ' calculation.