Concepts / Training Sequences and Hypothesis Selection

Training Sequences and Hypothesis Selection

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 Sequence, Two Roles

A learning rule A can receive a training sequence S containing m examples even when its returned hypothesis 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 do not. This separation lets the proof analyze how a small defining subset relates to the rest of the training sequence.

if selectedif selectedselected positioninputdeterminesz1position 1k examplesselected by indices IBmaps selected exampleshypothesis hreturned hypothesisz2position 2zkone selected position
Which k positions in S are used by B, and how do those selected examples determine the returned hypothesis?

The mapping B is the bridge between the selected examples and the hypothesis. For a selected index choice I, the proof writes the associated hypothesis as h_I = B(z_i1, ..., z_ik). The important structural point is that the hypothesis is tied to the k examples identified by the indices in I, rather than being described only as a function of the entire sequence.

Tracing the Unselected Set

Once k examples have been identified as the examples used by B, the remaining examples are collected in V. Thus, V represents the unselected part of the training sequence. The theorem gives this unselected set a central role because the proof does not study only the examples that define the hypothesis; it also tracks what remains after that selection.

choose k examplesremaining examplesdetermines through BSm examplesselected subsetk examplesh_Idetermined by selectedexamplesVunselected examples
What is contained in the selected subset, what is collected in V, and how do the two parts cover S?

V is not another hypothesis and it is not an additional selected subset. It is the collection of examples left after the k examples used by B have been identified.

Why Every Index Choice Matters

The proof does not begin by fixing one particular selection of k examples. Instead, for every index choice I in [m]^k, it defines h_I = B(z_i1, ..., z_ik). Each possible index choice therefore creates a corresponding hypothesis expression that the proof may need to control.

choose indiceschoose indiceschoose indicesdefinedefinedefineSm positionsI1one k-index choiceh_I1B applied to I1I2another k-index choiceh_I2B applied to I2I3another k-index choiceh_I3B applied to I3
How do possible choices of k indices become separate cases in the proof?

This enumeration is necessary because the proof must account for the combinatorial number of possible selections. A statement established for one index choice is not automatically a statement about every choice. The union bound supplies the step that combines the probability statements for the separate choices.

From δ to δ′

δ′ = (m choose k) × δ

The proof introduces δ′ by multiplying the per-index-choice parameter δ by the number of possible k-example selections, written as (m choose k). After the union-bound step, the proof obtains a probability statement of at least 1 − δ′. The multiplication records the cost of controlling all the index choices together rather than just one choice.

combine withnumber of casesproducessetsδper-index-choice parameter(m choose k)number of k-exampleselectionsmultiplyunion-bound bookkeepingδ′(m choose k) × δ1 − δ′stated probability level
How does the proof transform δ into δ′ after accounting for all possible subsets?

Evaluating the probability parameter

Suppose the training sequence has m = 5 examples, the determining subset has k = 2 examples, and δ = 0.01. Use δ′ = (m choose k) × δ.

Count the selections: (5 choose 2) = 10, so there are 10 possible two-example selections in this numerical illustration.

Multiply by δ: δ′ = 10 × 0.01 = 0.10.

Interpret the result: The probability parameter appearing after the union-bound bookkeeping is δ′ = 0.10, so the associated stated probability level is 1 − δ′ = 0.90.

For these values, δ′ = 0.10 and 1 − δ′ = 0.90. This calculation evaluates the probability parameter; it does not supply the theorem's omitted performance condition.

The Size Condition m ≥ 2k

The proof includes the requirement m ≥ 2k as part of the probability-bound derivation. In terms of the sequence split, the selected part contains k examples and the unselected part contains the remaining m − k examples. The condition identifies the regime in which the proof carries out its bound using the relationship between these two parts.

size ksize m − ksupports derivationselected subsetk examplesm ≥ 2kcondition used inderivationprobability boundderived under the conditionVm − k examples
What does the condition m ≥ 2k say about the sizes of the selected subset and its complement?

Mistakes in Reading the Proof

  • Treating the hypothesis as determined by all m examples simply because A receives m examples.

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

    Fix: Separate the k examples used by B from the remaining examples collected in V.

  • Ignoring V after identifying the selected examples.

    The unselected examples form V, which is central to the theorem's stated condition and the proof's separation of the sequence.

    Fix: Track both the selected examples and the unselected set V.

  • Applying δ only once without accounting for possible index choices.

    The proof defines h_I for possible index choices and combines the corresponding probability statements with a union bound.

    Fix: Use δ′ = (m choose k) × δ for the parameter after this bookkeeping step.

  • Claiming that the numerical δ′ calculation proves the theorem's performance condition.

    The calculation evaluates only the probability parameter after the union-bound step; it does not supply the omitted performance condition.

    Fix: State precisely what has been calculated: the probability parameter and the associated level 1 − δ′.

MEDIUM

A learning rule receives a sequence S of m = 6 examples and returns a hypothesis determined by k = 2 examples. Let δ = 0.02. Calculate δ′ using the theorem's probability-parameter relation, then describe what V represents.

Hints
  • First calculate (6 choose 2).
  • Multiply that result by 0.02.
  • V contains the examples not among the selected k examples.

Proof Structure at a Glance

  1. Start with a training sequence S containing m examples.
  2. Identify k examples whose indices determine the hypothesis through B.
  3. Collect the remaining m − k examples in V.
  4. For every possible index choice I, define h_I = B(z_i1, ..., z_ik).
  5. Use a union bound to combine the probability statements for the possible choices.
  6. Replace δ with δ′ = (m choose k) × δ, yielding a stated probability of at least 1 − δ′.
  7. Use the requirement m ≥ 2k as part of the probability-bound derivation.

The central lesson is structural. A hypothesis determined by a small subset of a training sequence can be analyzed by separating the defining examples from the unselected examples, considering every relevant index choice, and controlling those choices with a union bound. The factor (m choose k) explains why the proof changes δ 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.
  • The selected examples determine h_I, while the unselected examples form V.
  • The proof considers possible index choices I and defines h_I for each choice.
  • A union bound changes the probability parameter from δ to δ′ = (m choose k) × δ.
  • The condition m ≥ 2k supports the probability-bound derivation.