Foundations of Machine Learning VI: AdaBoost and Margin TheoryTextbook
Motivation
Weak learning — a base classifier only slightly better than random guessing — is easy to come by; strong learning, in the PAC sense of Chapter 2, is not. Boosting is the technique that turns the first into the second: combine many weak classifiers, each trained on a reweighted version of the sample that emphasizes previously misclassified points, into a single strong ensemble. AdaBoost, the algorithm this chapter studies, does this with a specific, closed-form weighting rule, and comes with two distinct theoretical guarantees: its training error decreases exponentially fast in the number of rounds (Theorem 7.2), and — more surprisingly — its test error can keep improving even after the training error has already reached zero, an empirical phenomenon that Chapter 3's VC-dimension bound cannot explain at all (it predicts overfitting for large numbers of rounds) but that a margin-based analysis, structurally identical to Chapter 5's SVM theory, does (Theorem 7.7). This mission formalizes both routes.
Setting
AdaBoost (Figure 7.1) takes a labeled sample with and a base classifier set , and runs for rounds. It maintains a distribution over the sample indices, starting uniform (); at round it selects a base classifier with small -weighted error , sets and , and reweights: . After rounds it returns ; its normalized version is . Since makes , is a genuine convex combination of base classifiers, i.e. a member of the convex hull (Eq. 7.12). The chapter reuses Chapter 5's confidence-margin apparatus (empirical margin loss , Rademacher complexity /) to analyze 's generalization.
Formalization targets
Theorem 7.2 (AdaBoost empirical error bound, milestone). The empirical (zero-one) error of satisfies , and, if for all , : training error decays exponentially in whenever every round beats random guessing by a fixed margin (the "edge" ).
Lemma 7.4 (milestone). : the convex hull of a hypothesis set, though generally much larger, has exactly the same empirical Rademacher complexity as the set itself.
Corollary 7.5 (Ensemble Rademacher margin bound, milestone). For a set of real-valued functions and , with probability at least , every satisfies (and the empirical-complexity analogue with an extra additive term) — this is Theorem 5.8's margin bound applied to , then rewritten via Lemma 7.4 so its complexity term is 's own, not the (much larger) convex hull's.
Theorem 7.7 — the mission's goal. Assume for every (so ). Then for any ,
Significance
Theorem 7.7's bound is what makes margin theory a genuine explanation of AdaBoost's empirical
behavior: combined with Corollary 7.5 (applied to ), it shows that if
AdaBoost's edge stays bounded away from zero, the empirical margin loss at a fixed
decreases exponentially in while the generalization bound's complexity term does not depend
on at all — so continuing to boost past zero training error can still shrink the true risk,
by growing the margin on the training points that are already correctly classified. This
resolves the puzzle that opens §7.3.1: AdaBoost's test error is empirically observed to keep
decreasing well after its training error hits zero, which the chapter's own earlier
VC-dimension bound on (Eq. 7.9, growing as ) predicts should
eventually overfit, not improve. No prior art on the Prove2Me platform is faithful:
GET /theorems?q=boosting and q=AdaBoost return no hits; this chunk's Rademacher-complexity
apparatus is restated locally (a draft item cannot import chunk 05-svm's or 03-rademacher-vc's
own draft copies) rather than reused, matching the precedent those chunks' own STATUS.md
records recommend for every later chunk needing the same machinery.
Not formalized here: Theorem 7.6 (the VC-dimension-based ensemble margin bound, a direct
corollary of Corollary 7.5 via chunk 03's VC-dimension apparatus) — restating 03's own
machinery a second time for a single further corollary is disproportionate within this
mission's budget, and the chapter's actual capstone targets the sharper, dimension-free
Rademacher-complexity route (Theorem 7.7) instead. Also out of scope: §7.2.2's coordinate-
descent equivalence, §7.2.3's practical (decision-stump) use, and §7.3.4-7.3.5's margin-
maximization LP and game-theoretic interpretation — discussion sections with no numbered result
feeding the goal's proof.
Difficulty
Theorem 7.2's proof needs the telescoping identity (Eq. 7.2), obtained by repeatedly unfolding the recursive weight update — a genuine induction on , not a one-line algebraic manipulation — before the elementary inequality turns the empirical error into a telescoping product of the 's, each of which is then re-expressed in closed form via a case split on . Theorem 7.7's proof reuses the same identity but with an added margin-shift term inside the exponential, requiring the same telescoping machinery plus a separate accounting of against the product of factors coming from each 's own closed form — a proof that shares its main structural step with Theorem 7.2 but is not a trivial corollary of it. Corollary 7.5's proof is Lemma 7.4 (itself a careful supremum-exchange argument using the dual-norm characterization of , not a routine calculation) composed with Theorem 5.8, applied to the specific set rather than a generic hypothesis class — a formalization that stated the corollary only for a "sufficiently nice" abstract class, without deriving it from Lemma 7.4's convex-hull identity, would be proving a different, weaker-provenance statement.
Formalization scope
WeightedError, AdaBoostAlpha, AdaBoostNormalizer, AdaBoostDist, AdaBoostEpsilon,
AdaBoostEnsemble, AdaBoostNormalizedEnsemble, EmpiricalError and ConvHull are new,
capturing AdaBoost as an actual algorithm (a genuine recursion on the round index, closed under
Definitions.Def_FoundationsML_Boosting_AdaBoostDist's own recursive equation) rather than an
unspecified "boosting procedure" — the trivialization trap BRIEF.md names for this chapter.
AdaBoostDist takes the sequence of base classifiers actually selected at each round,
h : ℕ → X → ℝ, as external data rather than deriving it via an argmin over H; this is
checked in SELF_REVIEW.md to drop no content either milestone or the goal theorem's statement
actually needs, since neither invokes h_t's optimality, only the weighted error ε_t it
produces under AdaBoost's own distribution D_t. PhiRho, EmpiricalMarginLoss,
MarginGeneralizationError, EmpiricalRademacherComplexity and RademacherComplexity are
restated locally, byte-identical to chunk 05-svm's own copies of Definitions 5.5, 5.6, 2.1
(specialized), 3.1, 3.2 (a draft item cannot import another chunk's draft module); this
duplication collapses once 05-svm and 03-rademacher-vc are uploaded and listed in
missions/README.md's "Published definitions" table. No numerical constant in any of the four
theorems is altered from the book's own displayed form. A trivializing formalization this
mission avoids: stating Theorem 7.2/7.7 for an arbitrary sequence of error rates
satisfying , disconnected from any actual
algorithm — AdaBoostEpsilon instead ties every ε_t to the weighted error AdaBoost's own
recursively defined D_t assigns to its own selected h_t, so the bound is provably about
this algorithm's error trajectory, not an arbitrary one.
Selected references
- M. Mohri, A. Rostamizadeh, A. Talwalkar, Foundations of Machine Learning, 2nd ed., MIT Press, 2018, Chapter 7.
- Y. Freund, R. E. Schapire, "A decision-theoretic generalization of on-line learning and an application to boosting," Journal of Computer and System Sciences 55(1), 1997, 119-139.
- R. E. Schapire, Y. Freund, P. Bartlett, W. S. Lee, "Boosting the margin: a new explanation for the effectiveness of voting methods," The Annals of Statistics 26(5), 1998, 1651-1686.