# AdaBoost

**AdaBoost**（自适应提升，adaptive boosting）是一种机器学习集成算法，由[约阿夫·弗罗因德](https://www.edgepedia.org/zh/yoav-freund)（Yoav Freund）与罗伯特·E·夏皮尔（Robert E. Schapire）提出。它通过反复对训练样本重新赋权，使后续分类器聚焦于先前分类器出错的样本，从而将许多仅略优于随机猜测的弱分类器组合成一个强分类器。<sup>[1](https://www.sigact.sigact.hosting.acm.org/prizes/g%C3%B6del/2003.html)</sup><sup> • </sup><sup>[2](https://www.machine-learning.martinsewell.com/ensembles/boosting/FreundSchapire1996.pdf)</sup> 提出该算法的论文《在线学习的决策论推广及其在提升中的应用》（"A Decision-Theoretic Generalization of On-Line Learning and an Application to Boosting"，*Journal of Computer and System Sciences*，55:119–139，1997）获得了2003年哥德尔奖，该算法如今在实践中被广泛使用。<sup>[1](https://www.sigact.sigact.hosting.acm.org/prizes/g%C3%B6del/2003.html)</sup><sup> • </sup><sup>[3](https://www.sciencedirect.com/science/article/pii/S002200009791504X)</sup>

| 关键事实 | 详情 |
|---|---|
| 起源 | 由AT&T实验室的约阿夫·弗罗因德与罗伯特·E·夏皮尔提出；1997年发表于*Journal of Computer and System Sciences*的论文获2003年哥德尔奖<sup>[1](https://www.sigact.sigact.hosting.acm.org/prizes/g%C3%B6del/2003.html)</sup><sup> • </sup><sup>[3](https://www.sciencedirect.com/science/article/pii/S002200009791504X)</sup> |
| 核心保证 | 理论上可降低任何弱学习算法的误差，只要该算法能稳定地产生略优于随机猜测的分类器<sup>[2](https://www.machine-learning.martinsewell.com/ensembles/boosting/FreundSchapire1996.pdf)</sup> |
| 机制 | 每轮提高被误分类样本的权重并重新归一化分布；最终假设是各弱分类器的加权投票<sup>[4](https://sites.cs.ucsb.edu/~yfwang/courses/cs290i_prann/papers/freund-adaboost96.pdf)</sup> |
| 统计视角 | 弗里德曼、哈斯蒂与蒂布希拉尼（2000）将AdaBoost重新表述为通过加性模型对指数损失进行逐阶段最小化，类似于加性逻辑回归<sup>[5](https://proceedings.mlr.press/r4/wyner03a.html)</sup> |
| 边界解释 | 夏皮尔、弗罗因德、巴特利特与李（1998）通过边界解释了其低测试误差；即使训练误差已降至零，测试误差往往仍持续下降<sup>[6](https://cseweb.ucsd.edu/~yfreund/papers/BoostingtheMargin.pdf)</sup> |
| 已知弱点 | 对标签噪声和离群点高度敏感，因为指数损失会不断抬高难以学习实例的权重<sup>[7](https://www.sciencedirect.com/science/article/pii/S0167947315001486)</sup><sup> • </sup><sup>[8](https://www.sciencedirect.com/science/article/abs/pii/S0031320312002130)</sup> |
| 多分类形式 | SAMME（朱、罗塞特、邹与哈斯蒂，2009）将AdaBoost扩展到K类，要求每个弱分类器优于随机猜测，即准确率高于1/K<sup>[9](https://dept.stat.lsa.umich.edu/~jizhu/pubs/Zhu-SII09.pdf)</sup> |
| 软件默认 | scikit-learn的AdaBoostClassifier默认使用50个估计器、学习率1.0，以及深度为1的决策树作为基估计器<sup>[10](https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.AdaBoostClassifier.html)</sup> |

## 算法工作原理

提升的工作方式是：在训练数据的不同分布上反复运行给定的弱学习算法，然后将其产生的分类器组合成一个复合分类器。<sup>[4](https://sites.cs.ucsb.edu/~yfwang/courses/cs290i_prann/papers/freund-adaboost96.pdf)</sup> 在AdaBoost.M1版本中，样本上的初始分布是均匀的。每轮中，弱学习器接收当前分布，并返回一个在该分布下度量误差的假设。该假设正确分类的每个样本的权重乘以因子β = ε/(1 − ε)，其中ε是该轮的误差，因此被误分类的样本相对权重增加，而它们自身的权重保持不变；随后对权重重新归一化使其总和为一。<sup>[26](https://mason.gmu.edu/~csutton/boost12789cr.html)</sup> 经过选定轮数后，最终假设是各弱假设的加权投票，每个分类器的投票权重正比于log(1/β)。<sup>[4](https://sites.cs.ucsb.edu/~yfwang/courses/cs290i_prann/papers/freund-adaboost96.pdf)</sup>

该算法不需要预先了解弱学习器的性能，1997年的论文从Littlestone–Warmuth在线预测规则背后的乘法权重更新技术推导出了这一性质。<sup>[3](https://www.sciencedirect.com/science/article/pii/S002200009791504X)</sup> 弗罗因德与夏皮尔指出了提升改善性能的两个原因：它将训练分布集中在较难的样本上；并且，与袋装法类似，它通过对许多假设取平均来降低方差；与袋装法不同的是，它还可能降低学习算法的偏差。<sup>[4](https://sites.cs.ucsb.edu/~yfwang/courses/cs290i_prann/papers/freund-adaboost96.pdf)</sup>

## 早期实验

弗罗因德与夏皮尔1996年的实验论文在UCI基准数据集上以及手写数字识别的最近邻分类器上，将AdaBoost与[利奥·布雷曼](https://www.edgepedia.org/zh/leo-breiman)的袋装法进行了对比测试。使用相当简单的基分类器时，提升的表现优于袋装法；与C4.5结合时，提升仍略微优于袋装法，尽管结果说服力较弱。<sup>[4](https://sites.cs.ucsb.edu/~yfwang/courses/cs290i_prann/papers/freund-adaboost96.pdf)</sup> 后来在“letter”数据集上的比较——两种方法均使用C4.5——显示了效应的量级：单个C4.5的测试误差为13.8%，袋装1000棵树将其降至6.6%，而AdaBoost将其降至3.1%。<sup>[6](https://cseweb.ucsd.edu/~yfreund/papers/BoostingtheMargin.pdf)</sup>

## 为何有效：边界与指数损失

需要解释的经验行为是：当集成规模变得很大时，测试误差通常不会增加，而且往往在训练误差降至零后仍继续下降——这一现象最早由德鲁克与科尔特斯观察到，后来由昆兰与布雷曼再次观察到。<sup>[6](https://cseweb.ucsd.edu/~yfreund/papers/BoostingtheMargin.pdf)</sup> 夏皮尔、弗罗因德、巴特利特与李将其与边界的分布联系起来，边界即正确投票数与任一错误标签的最大投票数之差。他们证明了投票方法泛化误差的非渐近上界（以边界分布表示），并从理论和实验上表明提升在增大训练样本边界方面尤为有效。<sup>[6](https://cseweb.ucsd.edu/~yfreund/papers/BoostingtheMargin.pdf)</sup> 边界理论仍然是提升算法低泛化误差最广为接受的解释。<sup>[11](https://arxiv.org/abs/1909.12518)</sup> 布雷曼后来将预测重新表述为一场博弈，并表明诸如AdaBoost的自适应重采样与组合算法是寻找良好博弈策略的算法，同时认为边界解释并不完整。<sup>[12](https://statistics.berkeley.edu/tech-reports/504)</sup>

第二种统计解释来自杰罗姆·弗里德曼、特雷弗·哈斯蒂与[罗伯特·蒂布希拉尼](https://www.edgepedia.org/zh/robert-tibshirani)——当时斯坦福大学的统计学家——他们在2000年发表于*Annals of Statistics*的论文中表明，AdaBoost通过逐阶段最小化指数损失，在其基函数中拟合一个加性模型，这一过程类似于加性逻辑回归。<sup>[5](https://proceedings.mlr.press/r4/wyner03a.html)</sup><sup> • </sup><sup>[13](https://statistics.stanford.edu/technical-reports/additive-logistic-regression-statistical-view-boosting)</sup> 在此视角下，期望指数损失的总体最小化子是类别概率对数几率的一半，因此AdaBoost估计的是对数几率函数的加性近似。<sup>[14](https://www.theorempath.com/topics/adaboost)</sup> 宾夕法尼亚大学的统计学家亚伯拉罕·J·怀纳（Abraham J. Wyner）于2003年挑战了这一解释，他用一个构造性定理论证提升的成功可能与最小化指数准则或任何优化都无关；他展示了一种提升算法，其经验表现与AdaBoost相当，但指数损失保持不变。<sup>[5](https://proceedings.mlr.press/r4/wyner03a.html)</sup> 怀纳及其同事后来的一系列工作提出，AdaBoost与随机森林因相似的原因而成功——作为自平均的插值分类器——并质疑了提升需要正则化、早停或低复杂度学习器（如决策树桩）的传统建议。<sup>[15](https://www.jmlr.org/beta/papers/v18/15-240.html)</sup> 在优化方面，穆克吉、鲁丁与夏皮尔证明了快速收敛速率：在C/ε次迭代内（C依赖于数据集），AdaBoost达到的指数损失值至多比最优值高ε。<sup>[16](https://proceedings.mlr.press/v19/mukherjee11a.html)</sup>

## 噪声敏感性与鲁棒变体

AdaBoost最常被引用的局限是其对噪声数据和离群点的敏感性。由于指数损失不断给难以学习的实例（可能是被错误标注的样本或离群点）分配高权重，该算法可能对噪声数据集过拟合。<sup>[8](https://www.sciencedirect.com/science/article/abs/pii/S0031320312002130)</sup> 噪声剥离文献中引用的一项理论结果指出，对于任何具有凸势损失函数的提升算法以及任何非零随机分类噪声率，存在一个无噪声时可学习的数据集，在随机分类噪声下无法以优于1/2的准确率学习。<sup>[7](https://www.sciencedirect.com/science/article/pii/S0167947315001486)</sup>

许多变体试图通过允许异常观测在后续迭代中落在预测的错误一侧来适应噪声；具名的例子包括BrownBoost（弗罗因德，2001）、GentleBoost与LogitBoost（弗里德曼、哈斯蒂与蒂布希拉尼，2000）、MadaBoost（多明戈与渡边，2000）以及LPReg-AdaBoost（雷奇及其同事，2001）。<sup>[7](https://www.sciencedirect.com/science/article/pii/S0167947315001486)</sup> 用更鲁棒的损失替代指数损失是一种常用的补救措施；2024年的一项研究将有界指数损失引入[单类支持向量机](https://www.edgepedia.org/zh/one-class-support-vector-machine)的AdaBoost集成中，报告了比相关方法更好的离群点鲁棒性。<sup>[17](https://www.sciencedirect.com/science/article/pii/S0031320323008889)</sup> 在随机标签噪声下比较LogitBoost、BrownBoost与RobustBoost的实验发现，BrownBoost和RobustBoost的表现显著优于AdaBoost和LogitBoost。<sup>[18](https://arxiv.org/abs/1409.2905)</sup> 布特克拉 Jang 与卡班研究了两种补救措施——使用对标签噪声鲁棒的基学习器以及修改AdaBoost本身——并发现，鲁棒分类器委员会虽然比非标签噪声感知的AdaBoost收敛更快，但除非与鲁棒提升过程配合，否则仍易受标签噪声影响。<sup>[19](https://proceedings.mlr.press/r11/bootkrajang13a.html)</sup> 最近的一种噪声感知变体NA²daBoost将逐实例噪声水平整合到权重更新中，在UCI基准数据集上将误差率退化从15%–25%降至10%–15%（噪声水平10%–40%）。<sup>[20](https://www.sciencedirect.com/science/article/pii/S0031320326002050)</sup>

## 应用

最突出的应用是人脸检测。保罗·维奥拉与迈克尔·琼斯构建了一个检测器，其中AdaBoost从大量潜在特征中选出少量关键视觉特征，结合积分图表示以及快速丢弃背景区域的级联分类器；在传统台式机上实现时，它以每秒15帧的速度处理图像，检测性能与之前最好的系统相当。<sup>[21](https://mlanthology.org/iccv/2001/viola2001iccv-robust/)</sup> OpenCV的Haar级联目标检测器源自这一设计，其级联分类模块支持Discrete AdaBoost、Real AdaBoost、Gentle AdaBoost和LogitBoost。<sup>[22](https://docs.opencv.org/3.0-alpha/modules/objdetect/doc/cascade_classification.html)</sup>

AdaBoost也成为通用库的标准组件。scikit-learn的AdaBoostClassifier在原始数据集上拟合第一个分类器，然后拟合额外的副本，调整被错误分类实例的权重，使后续分类器聚焦于困难样本；其默认值为50个估计器、学习率1.0，以及深度为1的决策树作为基估计器。<sup>[10](https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.AdaBoostClassifier.html)</sup> R包adabag实现了AdaBoost.M1和SAMME以及袋装法。<sup>[23](https://search.r-project.org/CRAN/refmans/adabag/html/00Index.html)</sup>

## 多分类扩展

原始AdaBoost直接处理二分类。朱、罗塞特、邹与哈斯蒂提出了SAMME，一种多分类扩展，它在分类器权重中增加一个涉及log(K − 1)的项，使得正权重只要求每个弱分类器的准确率超过1/K而非1/2。他们表明SAMME等价于使用多类指数损失的前向逐阶段加性建模，其总体最小化子保持类别概率的argmax。<sup>[9](https://dept.stat.lsa.umich.edu/~jizhu/pubs/Zhu-SII09.pdf)</sup>

## 与梯度提升的关系

AdaBoost与梯度提升是提升家族中密切相关的成员。现代梯度提升决策树库如XGBoost、LightGBM和CatBoost主导了当前的表格数据实践，AdaBoost与这些后继者的比较贯穿于应用文献中。<sup>[25](https://www.mdpi.com/1999-4893/19/9/730)</sup>

## References

1. [2003 Gödel Prize: Yoav Freund and Robert Schapire, ACM SIGACT](https://www.sigact.sigact.hosting.acm.org/prizes/g%C3%B6del/2003.html)
2. [Freund and Schapire (1996). Experiments with a New Boosting Algorithm, ICML](https://www.machine-learning.martinsewell.com/ensembles/boosting/FreundSchapire1996.pdf)
3. [Freund and Schapire (1997). A Decision-Theoretic Generalization of On-Line Learning and an Application to Boosting, Journal of Computer and System Sciences 55:119–139](https://www.sciencedirect.com/science/article/pii/S002200009791504X)
4. [Freund and Schapire (1996). Experiments with a New Boosting Algorithm (full text)](https://sites.cs.ucsb.edu/~yfwang/courses/cs290i_prann/papers/freund-adaboost96.pdf)
5. [Wyner (2003). On Boosting and the Exponential Loss, PMLR R4:323–329](https://proceedings.mlr.press/r4/wyner03a.html)
6. [Schapire, Freund, Bartlett, Lee (1998). Boosting the Margin, Annals of Statistics 26(5):1651–1686](https://cseweb.ucsd.edu/~yfreund/papers/BoostingtheMargin.pdf)
7. [Noise peeling methods to improve boosting algorithms, Pattern Recognition](https://www.sciencedirect.com/science/article/pii/S0167947315001486)
8. [A noise-detection based AdaBoost algorithm for mislabeled data, Pattern Recognition](https://www.sciencedirect.com/science/article/abs/pii/S0031320312002130)
9. [Zhu, Rosset, Zou, Hastie (2009). Multi-class AdaBoost, Statistics and Its Interface 2(3):349–360](https://dept.stat.lsa.umich.edu/~jizhu/pubs/Zhu-SII09.pdf)
10. [sklearn.ensemble.AdaBoostClassifier, scikit-learn documentation](https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.AdaBoostClassifier.html)
11. [Margin-Based Generalization Lower Bounds for Boosted Classifiers, arXiv:1909.12518](https://arxiv.org/abs/1909.12518)
12. [Breiman. Prediction Games and Arcing Algorithms, Berkeley Technical Report 504](https://statistics.berkeley.edu/tech-reports/504)
13. [Friedman, Hastie, Tibshirani. Additive Logistic Regression: A Statistical View of Boosting, Stanford Technical Report](https://statistics.stanford.edu/technical-reports/additive-logistic-regression-statistical-view-boosting)
14. [AdaBoost: Exponential Loss, Margin Theory, TheoremPath](https://www.theorempath.com/topics/adaboost)
15. [Wyner, Olson, Bleich, Mease (2017). Explaining the Success of AdaBoost and Random Forests as Interpolating Classifiers, JMLR 18](https://www.jmlr.org/beta/papers/v18/15-240.html)
16. [Mukherjee, Rudin, Schapire (2011). The Rate of Convergence of AdaBoost, PMLR 19:537–558](https://proceedings.mlr.press/v19/mukherjee11a.html)
17. [Xing, Liu, Wang (2024). Bounded exponential loss function based AdaBoost ensemble of OCSVMs, Pattern Recognition 148](https://www.sciencedirect.com/science/article/pii/S0031320323008889)
18. [Non-Convex Boosting Overcomes Random Label Noise, arXiv:1409.2905](https://arxiv.org/abs/1409.2905)
19. [Bootkrajang, Kaban (2013). Boosting in the presence of label noise, PMLR R11:312–321](https://proceedings.mlr.press/r11/bootkrajang13a.html)
20. [Noise-aware weight updating in AdaBoost for handling mislabeled data, Pattern Recognition](https://www.sciencedirect.com/science/article/pii/S0031320326002050)
21. [Viola, Jones (2001). Robust Real-Time Face Detection, ICCV](https://mlanthology.org/iccv/2001/viola2001iccv-robust/)
22. [OpenCV Cascade Classification documentation](https://docs.opencv.org/3.0-alpha/modules/objdetect/doc/cascade_classification.html)
23. [R package adabag: Multiclass AdaBoost.M1, SAMME and Bagging](https://search.r-project.org/CRAN/refmans/adabag/html/00Index.html)
24. [Tree-based algorithms for weakly supervised anomaly detection, Physical Review D 109, 034033](https://doi.org/10.1103/physrevd.109.034033)
25. [Noise-Dependent Robustness of XGBoost, LightGBM, and CatBoost, Algorithms 19(9):730](https://www.mdpi.com/1999-4893/19/9/730)
26. [boosting, STAT 789, Summer 2005](https://mason.gmu.edu/~csutton/boost12789cr.html)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Machine learning and neural computation › Machine learning methods › Learning theory and generalization › Boosting and ensemble learning theory

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/adaboost

English original: https://www.edgepedia.org/adaboost
