Concepts / Union Bounds in Learning Theory

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.

  • Programming

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.

Sm examplesIk selected indicesSelected examplesz_i1, ..., z_ikHypothesish_Ichoose positionsidentify examplesapply B
Which k positions in the m-example training sequence determine the hypothesis?
Definition

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.

Sm examplesSelected examplesk examplesVunselected examplesselectednot selected
After k examples determine the hypothesis, where are the remaining m-k examples collected?
Key point

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.

m positionschoose kI₁one index choiceI₂another index choiceIₙeach remaining choicechoice 1choice 2continue
How does the proof examine the different possible subsets of positions?

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 − δ'.

Choice I₁failure eventUnion bound1 − δ'overall probabilitystatementChoice I₂failure eventAll choicesremaining eventscombinecombinecombinebound all choices
How do the probability statements for separate index choices become one overall bound?
Formula, step by step
  1. 1
    The factor (m choose k) represents the number of k-position choices accounted for by the proof.
  2. 2
    The factor δ is the probability parameter associated with the individual statements being combined.
  3. 3
    Multiplying them gives the proof parameter δ'.
  4. 4
    The resulting probability statement is at least 1 − δ'.

A Numerical Probability Calculation

Worked example

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) × δ.

  1. 1
    Count the index choices

    (6 choose 2) = 15.

  2. 2
    Apply the relation

    δ' = 15 × 0.01.

  3. 3
    Evaluate

    δ' = 0.15.

  4. 4
    Interpret the result

    The probability statement produced after the union-bound step is at least 1 − 0.15, which is 0.85.

Result

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.

m < 2kcondition not metk selectedselected portionk selectedselected portionm − k remainingless than km ≥ 2kcondition metm − k remainingat least ksplitsplitsplitsplit
What does m ≥ 2k guarantee about the selected and unselected portions of the sample?
Key point

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 like

    A receives m examples, so every example must determine the hypothesis.

    Why it fails

    Theorem 30.2 specifically studies the case where the returned hypothesis is determined by only k of the m examples.

    Do this instead

    Separate the k determining examples from the remaining examples.

  • Common mistake

    Confusing V with the selected examples.

    What it looks like

    V is the subset passed to B to create h_I.

    Why it fails

    V consists of the unselected examples, while the selected examples are used in h_I = B(z_i1, ..., z_ik).

    Do this instead

    Use V for the examples left after the determining k examples have been identified.

  • Common mistake

    Analyzing only one index choice.

    What it looks like

    Choose one I and stop after defining h_I.

    Why it fails

    The proof defines h_I for possible index choices and must account for all relevant choices.

    Do this instead

    Track the combinatorial factor (m choose k) and apply the union bound.

  • Common mistake

    Using δ instead of δ' after the union-bound step.

    What it looks like

    The final probability statement is at least 1 − δ even after all choices are combined.

    Why it fails

    The proof changes the parameter because it accounts for the selection factor.

    Do this instead

    Calculate δ' = (m choose k) × δ, then use the resulting 1 − δ' statement.

  • Common mistake

    Treating m ≥ 2k as the formula for δ'.

    What it looks like

    Set δ' equal to 2k.

    Why it fails

    m ≥ 2k is a requirement supporting the probability-bound derivation, not the union-bound parameter calculation.

    Do this instead

    Check m ≥ 2k separately, then calculate δ' from (m choose k) × δ.

Practice the Proof Bookkeeping

MEDIUM

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 δ'?

  • 0.16

  • 0.56

  • 1.12

Reveal answer
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

  1. 1
    Begin with a training sequence S containing m examples.
  2. 2
    Identify a possible choice I of k example indices.
  3. 3
    Use the selected examples to define h_I = B(z_i1, ..., z_ik).
  4. 4
    Collect the unselected examples in V.
  5. 5
    Repeat the construction conceptually for the possible index choices considered by the proof.
  6. 6
    Apply the union bound across those choices.
  7. 7
    Replace δ with δ' = (m choose k) × δ, obtaining a probability statement of at least 1 − δ'.
  8. 8
    Use 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.

Related concepts

More concepts starting with U