Theorem 21.11
For the finite-class case, each hypothesis is treated as an expert.
The Proof Bridge
Theorem 21.11 supplies the bridge between a finite hypothesis class and an analysis of competing experts. Suppose the hypothesis class is finite and write it as H = {h_1, ..., h_d}. The proof can then treat every hypothesis as one expert. Each expert advises on the current input, and the analysis tracks the cost of that advice.
Expert Advice and Cost
At round t, expert h_i gives the advice h_i(x_t). Its cost is v_t,i = |h_i(x_t) - y_t|. Thus, the proof records two connected pieces of information for every expert: the prediction made on the current input and the cost of that prediction relative to y_t.
Reading One Expert's Record
For a particular round t, suppose expert h_2 gives advice h_2(x_t), and the observed value is y_t.
Advice: Record the expert's prediction as h_2(x_t).
Cost: Compare that advice with y_t. The recorded cost is v_t,2 = |h_2(x_t) - y_t|.
Interpretation: The expert is represented not only by its prediction, but also by the cost associated with that prediction.
For each round, the expert record pairs h_2(x_t) with v_t,2.
Weighted Prediction
The Weighted-Majority prediction combines the experts' advice rather than using only one hypothesis. If expert h_i has weight w_i^(t) at round t, the combined prediction is p_t = ∑ i w_i^(t) h_i(x_t). The weights determine how the individual pieces of advice contribute to the prediction.
Following the Prediction Step
Consider the finite collection H = {h_1, h_2, h_3} at round t. Each hypothesis supplies advice on x_t, and each advice has a corresponding weight.
Collect advice: The three experts provide h_1(x_t), h_2(x_t), and h_3(x_t).
Apply weights: The advice is paired with w_1^(t), w_2^(t), and w_3^(t), respectively.
Combine: The Weighted-Majority prediction is formed as p_t = ∑ i w_i^(t) h_i(x_t), with the sum taken over the experts in the finite class.
The prediction p_t is produced by combining the weighted advice of all three represented hypotheses.
Contribution to Theorem 21.10
The proof of Theorem 21.10 begins with the simpler finite-class case. Writing H as {h_1, ..., h_d} makes every hypothesis an expert. The Weighted-Majority Algorithm then combines their advice, and Theorem 21.11 supplies the expert interpretation needed to track their costs. The analysis can therefore relate the algorithm's loss to the costs of the competing experts.
Common Misreadings
Treating the algorithm as if it selected one hypothesis and ignored the others.
The Weighted-Majority prediction combines the advice supplied by the finite collection of experts.
Fix:
Represent every hypothesis as an expert and form p_t from the weighted advice h_i(x_t).Confusing an expert's advice with its cost.
The advice is h_i(x_t), whereas the cost is v_t,i = |h_i(x_t) - y_t|.
Fix:
Record the prediction and then calculate or track its associated cost separately.Describing Theorem 21.11 as the entire proof of Theorem 21.10.
The source states that the proof uses both the Weighted-Majority Algorithm and Theorem 21.11.
Fix:
Describe Theorem 21.11 as the bridge that enables the finite-class hypothesis analysis to be treated as an expert analysis.
The finite-class setup is specifically the case in which H can be written as a finite list {h_1, ..., h_d}. The expert representation described here depends on having that finite collection available for the initial part of the proof.
Check Your Understanding
Suppose H = {h_1, h_2, h_3}. Describe what must be recorded at round t for expert h_2, and explain how h_2 contributes to the Weighted-Majority prediction.
Hints
- Start with the expert's advice on x_t.
- Use y_t to identify the expert's cost.
- Include the weight w_2^(t) when describing the combined prediction.
What do you think happens?
Before reading the explanation, what is the role of writing H as {h_1, ..., h_d}?
Reveal answer
Answer: It identifies each hypothesis as an expert for the finite-class analysis.
This representation lets the proof apply the Weighted-Majority perspective and relate the algorithm's loss to the costs of the competing hypotheses.
Key Takeaways
- In the finite-class case, write H as {h_1, ..., h_d} and treat each hypothesis as an expert.
- Expert h_i advises h_i(x_t) at round t.
- The cost of that advice is v_t,i = |h_i(x_t) - y_t|.
- Weighted-Majority forms p_t by combining the experts' advice with weights w_i^(t).
- Theorem 21.11 provides the finite-class expert interpretation used with Weighted-Majority in the proof of Theorem 21.10.