A Brief Introduction to Boosting

R. Schapire

article1999IJCAI1,571 citations

Explains the theoretical foundations and mechanics of AdaBoost, providing clear proofs of exponential training error reduction alongside a margin-based explanation for why boosting resists overfitting even after achieving zero training error.

Listen

Organizations relying on automated data analysis frequently face a common challenge: building a single, highly accurate predictive model is difficult, costly, and complex. Historically, machine learning struggled with whether simple, slightly-better-than-random decision rules could be systematically combined into a highly precise system without requiring advance knowledge of performance limits. The article evaluates the AdaBoost algorithm, demonstrating how sequentially combining basic, moderately accurate models produces a highly accurate combined classifier.

The article reviews the mathematical principles, operational mechanics, and empirical performance of this boosting approach. It explains how the method works iteratively by adjusting the emphasis on data points, assigning higher weight to examples that previous rounds misclassified. The evaluation synthesizes empirical benchmarks across 27 standard test datasets, optical character recognition tasks, and text categorization corpora from major newswire feeds to demonstrate the approach across different operational settings.

The evaluation yields several key findings. First, boosting simple decision rules often matches the performance of complex decision trees, while boosting complex trees significantly cuts error rates across standard benchmarks. Second, training error drops exponentially fast as long as each underlying rule performs slightly better than random guessing. Third, contrary to standard expectations that complex combinations lead to overfitting—where models perform well on past data but fail on new data—the method continues to lower test error even after achieving zero training error. This occurs because the procedure steadily increases prediction confidence margins. Fourth, the method proves competitive with or superior to four leading text classification techniques across benchmark newswire datasets.

These findings mean that development teams can achieve state-of-the-art accuracy without designing overly complex base models. AdaBoost eliminates the need for extensive parameter tuning, requiring only the selection of iteration rounds, which lowers engineering effort, timeline risks, and deployment costs. Furthermore, because the algorithm naturally concentrates attention on difficult examples, it serves as an effective diagnostic tool for flagging mislabeled data and ambiguous anomalies.

Decision-makers can confidently apply boosting to classification, text filtering, and ranking tasks, especially where base classifiers are simple and data volume is sufficient. However, practitioners must exercise caution when operating in noisy data environments, as the algorithm can over-focus on corrupted or incorrectly labeled entries. When expanding to multi-category problems, teams should adopt appropriate multi-class extensions or error-correcting output codes to maintain theoretical guarantees and performance.

Schapire (1999).pdf
Cover for A Brief Introduction to Boosting

Abstract

Boosting is a general method for improving the accuracy of any given learning algorithm. This short paper introduces the boosting algorithm AdaBoost, and explains the underlying theory of boosting, including an explanation of why boosting often does not suffer from overfitting. Some examples of recent applications of boosting are also described.

Table of Contents

  • Background
  • AdaBoost
  • Analyzing the training error
  • Generalization error
  • Multiclass classification
  • Experiments and applications
  • References

Knowls

  1. Knowl 1 — AdaBoost Algorithm for Binary Classification

    algorithm

    The AdaBoost algorithm converts a weak learning algorithm that performs slightly better than random guessing into a strong learning algorithm with high accuracy by iteratively training weak hypotheses on reweighted versions of the training data.

    Input: Training sample (x1,y1),…,(xm,ym)(x_1, y_1), \dots, (x_m, y_m) where xi∈X,yi∈{−1,+1}x_i \in X, y_i \in \{-1, +1\}
    Input: Number of boosting rounds TT
    Initialize distribution: D1(i)=1/mD_1(i) = 1/m for all i∈{1,…,m}i \in \{1, \dots, m\}
    for t=1t = 1 to TT do
        Train weak learner using distribution DtD_t
        Obtain weak hypothesis ht:X→{−1,+1}h_t: X \to \{-1, +1\}
        Compute error ϵt=∑i:ht(xi)≠yiDt(i)\epsilon_t = \sum_{i: h_t(x_i) \neq y_i} D_t(i)
        Set weight αt=12ln⁡(1−ϵtϵt)\alpha_t = \frac{1}{2} \ln\left(\frac{1 - \epsilon_t}{\epsilon_t}\right)
        Compute normalization constant Zt=∑i=1mDt(i)exp⁡(−αtyiht(xi))Z_t = \sum_{i=1}^m D_t(i) \exp(-\alpha_t y_i h_t(x_i))
        Update distribution Dt+1(i)=Dt(i)exp⁡(−αtyiht(xi))ZtD_{t+1}(i) = \frac{D_t(i) \exp(-\alpha_t y_i h_t(x_i))}{Z_t} for all i∈{1,…,m}i \in \{1, \dots, m\}
    end for
    Output: Final combined hypothesis H(x)=sign(∑t=1Tαtht(x))H(x) = \text{sign}\left(\sum_{t=1}^T \alpha_t h_t(x)\right)

    The algorithm increases the weights of misclassified instances and decreases the weights of correctly classified instances so that subsequent base learners focus on difficult examples. The final prediction H(x)H(x) is a weighted majority vote of the individual weak hypotheses.

  2. Knowl 2 — Exponential Training Error Bound for AdaBoost

    theoretical result

    Let AdaBoost be executed for TT rounds on a training set of mm examples (x1,y1),…,(xm,ym)(x_1, y_1), \dots, (x_m, y_m) with yi∈{−1,+1}y_i \in \{-1, +1\}, producing weak hypotheses h1,…,hTh_1, \dots, h_T with weighted errors ϵt=12−γt\epsilon_t = \frac{1}{2} - \gamma_t, where γt\gamma_t denotes the edge (advantage over random guessing) on round tt.

    The training error (the fraction of mistakes on the training set) of the final combined hypothesis H(x)=sign(∑t=1Tαtht(x))H(x) = \text{sign}\left(\sum_{t=1}^T \alpha_t h_t(x)\right) satisfies:

    1m∑i=1m1[H(xi)≠yi]≤∏t=1T[2ϵt(1−ϵt)]=∏t=1T1−4γt2≤exp⁡(−2∑t=1Tγt2).\frac{1}{m} \sum_{i=1}^m \mathbf{1}[H(x_i) \neq y_i] \le \prod_{t=1}^T \left[ 2 \sqrt{\epsilon_t(1 - \epsilon_t)} \right] = \prod_{t=1}^T \sqrt{1 - 4\gamma_t^2} \le \exp\left( -2 \sum_{t=1}^T \gamma_t^2 \right).

    If every weak hypothesis achieves an edge bounded away from zero such that γt≥γ>0\gamma_t \ge \gamma > 0 for all tt, the training error decreases exponentially fast with the number of rounds TT:

    Training Error≤exp⁡(−2Tγ2).\text{Training Error} \le \exp(-2 T \gamma^2).

    AdaBoost requires no prior knowledge of γ\gamma because the weight update parameter αt=12ln⁡((1−ϵt)/ϵt)\alpha_t = \frac{1}{2}\ln((1-\epsilon_t)/\epsilon_t) adapts directly to each observed error rate ϵt\epsilon_t.

  3. Knowl 3 — Margin of an Example for Voting Classifiers

    definition

    For a weighted voting classifier of the form H(x)=sign(∑t=1Tαtht(x))H(x) = \text{sign}\left(\sum_{t=1}^T \alpha_t h_t(x)\right), where each αt≥0\alpha_t \ge 0 is the weight assigned to base hypothesis ht:X→{−1,+1}h_t: X \to \{-1, +1\}, the margin of a labeled example (x,y)∈X×{−1,+1}(x, y) \in X \times \{-1, +1\} is defined as:

    margin(x,y)=y∑t=1Tαtht(x)∑t=1Tαt.\text{margin}(x, y) = \frac{y \sum_{t=1}^T \alpha_t h_t(x)}{\sum_{t=1}^T \alpha_t}.

    The margin is a real value in the interval [−1,+1][-1, +1]. It is strictly positive if and only if H(x)=yH(x) = y (the ensemble correctly classifies the example). The magnitude ∣margin(x,y)∣|\text{margin}(x, y)| quantifies the voting consensus or confidence of the prediction: a margin of +1+1 corresponds to unanimous agreement among all weighted weak hypotheses on the correct label, whereas a margin of −1-1 corresponds to unanimous agreement on the incorrect label.

  4. Knowl 4 — Margin-Based Generalization Error Bound

    theoretical result

    For any margin threshold θ>0\theta > 0, with high probability over the draw of a training sample SS of size mm, the generalization error of a weighted voting classifier HH constructed from a base hypothesis class of VC-dimension dd is bounded by:

    Pr⁡(x,y)∼D[H(x)≠y]≤Pr⁡^(x,y)∼S[margin(x,y)≤θ]+O~(dmθ2),\Pr_{(x,y) \sim \mathcal{D}}[H(x) \neq y] \le \hat{\Pr}_{(x,y) \sim S}[\text{margin}(x, y) \le \theta] + \tilde{O}\left( \sqrt{\frac{d}{m \theta^2}} \right),

    where D\mathcal{D} is the underlying data distribution, Pr⁡^(x,y)∼S[⋅]\hat{\Pr}_{(x,y) \sim S}[\cdot] denotes the empirical probability over the sample SS, and O~(⋅)\tilde{O}(\cdot) hides logarithmic factors.

    Because this bound is entirely independent of TT (the number of boosting rounds), continuing to boost after achieving zero training error improves the generalization bound provided that the empirical margin distribution is shifted toward higher positive values.

  5. Knowl 5 — VC-Dimension Based Generalization Error Bound for Boosting

    theoretical result

    For a combined classifier formed by a linear combination of TT base hypotheses chosen from a hypothesis space with VC-dimension dd, the generalization error over distribution D\mathcal{D} can be bounded with high probability in terms of sample size mm, empirical training error, and the number of rounds TT:

    Pr⁡(x,y)∼D[H(x)≠y]≤Pr⁡^(x,y)∼S[H(x)≠y]+O~(Tdm),\Pr_{(x,y) \sim \mathcal{D}}[H(x) \neq y] \le \hat{\Pr}_{(x,y) \sim S}[H(x) \neq y] + \tilde{O}\left( \sqrt{\frac{T d}{m}} \right),

    where Pr⁡^(x,y)∼S[⋅]\hat{\Pr}_{(x,y) \sim S}[\cdot] is the empirical error on the training sample SS of size mm, and O~(⋅)\tilde{O}(\cdot) suppresses logarithmic factors.

    This bound suggests that boosting will eventually overfit as TT becomes large, a prediction contradicted by empirical observations where boosting continues to reduce generalization error long after zero training error is achieved.

  6. Knowl 6 — AdaBoost for Confidence-Rated and Real-Valued Predictions

    model/method

    AdaBoost can be generalized to weak hypotheses that output real-valued predictions ht:X→Rh_t: X \to \mathbb{R} rather than discrete binary labels in {−1,+1}\{-1, +1\}.

    In this framework, for any input x∈Xx \in X:

    • The sign sign(ht(x))\text{sign}(h_t(x)) represents the predicted binary class label in {−1,+1}\{-1, +1\}.
    • The absolute value ∣ht(x)∣|h_t(x)| serves as a real-valued confidence score measuring the certainty of the prediction.

    This formulation allows base learners to exploit probabilistic estimates, margin distances, or leaf purity in decision trees, while retaining the exponential convergence guarantees of the training error bound.

  7. Knowl 7 — Multiclass Extensions of AdaBoost

    model/method

    Several methods extend binary AdaBoost to classification tasks with K>2K > 2 possible classes in label set Y={1,…,K}Y = \{1, \dots, K\}:

    • AdaBoost.M1: Directly applies the boosting weight update mechanism to multiclass base hypotheses. It requires the weak learner to maintain an accuracy strictly greater than 50%50\% on all reweighted distributions DtD_t, a condition that is often impractical when K>2K > 2.
    • AdaBoost.MH: Decomposes the multiclass problem into KK binary classification subproblems per example (x,y)(x, y), testing for every class label k∈Yk \in Y whether kk is the correct class (+1+1) or not (−1-1).
    • AdaBoost.M2 (AdaBoost.MR): Formulates the task as a label ranking problem, constructing binary subproblems for each example (x,y)(x, y) against each incorrect alternative label y′≠yy' \neq y to determine whether yy is preferred over y′y'.
    • Error-Correcting Output Codes (ECOC): Maps the KK classes to codewords in {−1,+1}L\{-1, +1\}^L via a coding matrix, allowing any binary weak learning algorithm to be boosted on the individual bit positions with provable multiclass generalization bounds.
  8. Knowl 8 — Resistance to Overfitting via Margin Maximization

    empirical result

    In empirical evaluations using base learners such as C4.5 decision trees and decision stumps, AdaBoost frequently avoids overfitting even when executed for hundreds or thousands of rounds.

    After the training error reaches zero, continued boosting iterations continue to modify the sample distribution DtD_t, forcing base learners to focus on instances with the smallest margins. This causes the cumulative distribution of training margins y∑tαtht(x)/∑tαty \sum_t \alpha_t h_t(x) / \sum_t \alpha_t to shift steadily toward +1+1. The enlargement of margins on the training set correlates with a continued decrease in test error long after training error has dropped to zero.

  9. Knowl 9 — Game-Theoretic and Linear Programming Duality of Boosting

    model/method

    AdaBoost can be framed as the repeated play of a two-player zero-sum matrix game:

    1. The boosting algorithm acts as the row player, choosing mixed strategies corresponding to probability distributions DtD_t over the mm training instances.
    2. The weak learner acts as the column player, choosing actions corresponding to weak hypotheses hth_t from the hypothesis space to minimize the expected loss under DtD_t.

    AdaBoost is an instance of a multiplicative weights update method for finding minimax equilibria in repeated games. This connection demonstrates that boosting is fundamentally dual to solving a linear program that maximizes the minimum margin of the ensemble classifier.

  10. Knowl 10 — Sensitivity to Noise and Outlier Concentration in AdaBoost

    limitation

    Because AdaBoost exponentially increases the distribution weight Dt+1(i)∝Dt(i)exp⁡(−αtyiht(xi))D_{t+1}(i) \propto D_t(i) \exp(-\alpha_t y_i h_t(x_i)) for examples misclassified by hth_t, instances that are consistently misclassified accumulate extremely high weights.

    While this property allows the algorithm to identify ambiguous examples and outliers in clean datasets, it causes severe performance degradation in the presence of label noise. On noisy datasets, AdaBoost focuses disproportionate attention and hypothesis capacity on unlearnable mislabeled instances, leading to degraded generalization.

Coverage note — Specific benchmark comparison details on OCR, text categorization (Reuters/AP), and UCI datasets were omitted in favor of the primary algorithmic, theoretical, margin-based, multiclass, game-theoretic, and noise sensitivity knowls that fully capture the paper's core contributions.

References

  1. 1.Peter L. Bartlett. The sample complexity of pattern classification with neural networks: the size of the weights is more important than the size of the network. IEEE Transactions on Information Theory, 44(2):525~536, March 1998.
  2. 2.Eric Bauer and Ron Kohavi. An empirical comparison of voting classification algorithms: Bagging, boosting, and variants. Machine Learning, to appear.
  3. 3.Eric B. Baum and David Haussler. What size net gives valid generalization? Neural Computation, 1(1):151-160,1989.
  4. 4.Anselm Blumer, Andrzej Ehrenfeucht, David Haussler, and Manfred K. Warmuth. Leamability and the Vapnik-Chervonenkis dimension. Journal of the Association for Computing Machinery, 36(4):929-965, October 1989.
  5. 5.Bernhard E. Boser, Isabelle M. Guyon, and Vladimir N. Vapnik. A training algorithm for optimal margin classifiers. In Proceedings of the Fifth Annual ACM Workshop on Computational Learning Theory, pages 144-152,1992.
  6. 6.Leo Breiman. Arcing the edge. Technical Report 486, Statistics Department, University of California at Berkeley, 1997.
  7. 7.Leo Breiman. Prediction games and arcing classifiers. Technical Report 504, Statistics Department, University of California at Berkeley, 1997.
  8. 8.Leo Breiman. Arcing classifiers. The Annals of Statistics, 26(3):801~849, 1998.
  9. 9.Corinna Cortes and Vladimir Vapnik. Support-vector networks. Machine Learning, 20(3):273-297, September 1995.
  10. 10.Thomas G. Dietterich. An experimental comparison of three methods for constructing ensembles of decision trees: Bagging, boosting, and randomization. Machine Learning, to appear.
  11. 11.Thomas G. Dietterich and Ghulum Bakiri. Solving multiclass learning problems via error-correcting output codes. Journal of Artificial Intelligence Research, 2:263-286, January 1995.
  12. 12.Harris Drucker and Corinna Cortes. Boosting decision trees. In Advances in Neural Information Processing Systems 8, pages 479-485, 1996.
  13. 13.Harris Drucker, Robert Schapire, and Patrice Simard. Boosting performance in neural networks. International Journal of Pattern Recognition and Artificial Intelligence, 7(4):705-719, 1993.
  14. 14.Yoav Freund. Boosting a weak learning algorithm by majority. Information and Computation, 121(2):256~285, 1995.
  15. 15.Yoav Freund, Raj Iyer, Robert E. Schapire, and Yoram Singer. An efficient boosting algorithm for combining preferences. In Machine Learning: Proceedings of the Fifteenth International Conference, 1998.
  16. 16.Yoav Freund and Robert E. Schapire. Experiments with a new boosting algorithm. In Machine Learning: Proceedings of the Thirteenth International Conference, pages 148-156, 1996.
  17. 17.Yoav Freund and Robert E. Schapire. Game theory, on-line prediction and boosting. In Proceedings of the Ninth Annual Conference on Computational Learning Theory, pages 325-332,1996.
  18. 18.Yoav Preund and Robert E. Schapire. A decision-theoretic generalization of on-line learning and an application to boosting. Journal of Computer and System Sciences, 55(1): 119-139, August 1997.
  19. 19.Yoav Freund and Robert E. Schapire. Adaptive game playing using multiplicative weights. Games and Economic Behavior, to appear.
  20. 20.Adam J. Grove and Dale Schuurmans. Boosting in the limit: Maximizing the margin of learned ensembles. In Proceedings of the Fifteenth National Conference on Artificial Intelligence, 1998.
  21. 21.Jeffrey C. Jackson and Mark W. Craven. Learning sparse perceptrons. In Advances in Neural Information Processing Systems 8, pages 654-660,1996.
  22. 22.Michael Kearns and Leslie G. Valiant. Learning Boolean formulae or finite automata is as hard as factoring. Technical Report TR-14-88, Harvard University Aiken Computation Laboratory, August 1988.
  23. 23.Michael Kearns and Leslie G. Valiant. Cryptographic limitations on learning Boolean formulae and finite automata. Journal of the Association for Computing Machinery, 41(l):67-95, January 1994.
  24. 24.Michael J. Kearns and Umesh V. Vazirani. An Introduction to Computational Learning Theory. MIT Press, 1994.
  25. 25.Richard Maclin and David Opitz. An empirical evaluation of bagging and boosting. In Proceedings of the Fourteenth National Conference on Artificial Intelligence, pages 546-551, 1997.
  26. 26.Llew Mason, Peter Bartlett, and Jonathan Baxter. Direct optimization of margins improves generalization in combined classifiers. Technical report, Deparment of Systems Engineering, Australian National University, 1998.
  27. 27.C. J. Merz and P. M. Murphy. UCI repository of machine learning databases, 1998. www.ics.uci.edu/-mlearn/MLRepository.html.
  28. 28.J. R. Quinlan. Bagging, boosting, and C4.5. In Proceedings of the Thirteenth National Conference on Artificial Intelligence, pages 725-730, 1996.
  29. 29.J. Ross Quinlan. C4-5: Programs for Machine Learning. Morgan Kaufmann, 1993.
  30. 30.Robert E. Schapire. The strength of weak learnability. Machine Learning, 5(2): 197-227,1990.
  31. 31.Robert E. Schapire. Using output codes to boost multiclass learning problems. In Machine Learning: Proceedings of the Fourteenth International Conference, pages 313-321, 1997.
  32. 32.Robert E. Schapire, Yoav Freund, Peter Bartlett, and Wee Sun Lee. Boosting the margin: A new explanation for the effectiveness of voting methods. The Annals of Statistics, 26(5):1651-1686, October 1998.
  33. 33.Robert E. Schapire and Yoram Singer. Improved boosting algorithms using confidence-rated predictions. In Proceedings of the Eleventh Annual Conference on Computational Learning Theory, pages 80-91,1998. To appear, Machine Learning.
  34. 34.Robert E. Schapire and Yoram Singer. BoosTexter: A boosting-based system for text categorization. Machine Learning, to appear.
  35. 35.Robert E. Schapire, Yoram Singer, and Amit Singhal. Boosting and Rocchio applied to text filtering. In SIGIR '98: Proceedings of the 21st Annual International Conference on Research and Development in Information Retrieval, 1998.
  36. 36.Holger Schwenk and Yoshua Bengio. Training methods for adaptive boosting of neural networks. In Advances in Neural Information Processing Systems 10, pages 647-653, 1998.
  37. 37.L. G. Valiant. A theory of the learnable. Communications of the ACM, 27(11):1134-1142, November 1984.
  38. 38.Vladimir N. Vapnik. The Nature of Statistical Learning Theory. Springer, 1995.

Citation

MLA
Schapire, R. E. “A Brief Introduction to Boosting”. International Joint Conference on Artificial Intelligence, vol. 2, 1999, pp. 1401–06, http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.108.5859.
APA
Schapire, R. E. (1999). A brief introduction to boosting. International Joint Conference on Artificial Intelligence, 2, 1401–1406. http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.108.5859
Chicago
Schapire, R. E. 1999. “A Brief Introduction to Boosting”. International Joint Conference on Artificial Intelligence 2: 1401–6. http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.108.5859.
Harvard
Schapire, R.E. (1999) “A brief introduction to boosting”, International Joint Conference on Artificial Intelligence, 2, pp. 1401–1406. Available at: http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.108.5859.
Vancouver
1. Schapire RE (1999) A brief introduction to boosting. International Joint Conference on Artificial Intelligence 2:1401–1406

BibTeX

@article{schapire1999brief,
  title = {A brief introduction to boosting},
  author = {Schapire, Robert E.},
  year = {1999},
  journal = {International Joint Conference on Artificial Intelligence},
  volume = {2},
  pages = {1401-1406},
  url = {http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.108.5859}
}
Metadata:DOI registry

Access the Paper

This paper is available from its original source. Click below to access the PDF.

Open PDF