# 极限学习机

极限学习机（extreme learning machine, ELM）是一种单隐层[前馈神经网络](https://www.edgepedia.org/zh/feedforward-neural-network)，其输入权重与偏置随机生成且固定不变，仅通过训练输出权重来实现快速回归与分类。该方法训练网络的速度远快于迭代梯度法，代价是需要一个大型随机隐层，并求解一个内存需求随训练集增长的线性方程组。已报道的应用包括函数逼近、模式识别、预测、诊断和医学成像。<sup>[1](https://www.sciencedirect.com/science/article/abs/pii/S0925231206000385)</sup><sup> • </sup><sup>[2](https://dl.acm.org/doi/10.1007/s00521-013-1522-8)</sup>

| 关键事实 | 详情 |
|---|---|
| 输出权重解 | \( \hat{\beta} = H^{\dagger} \cdot T \)，即 \( H \cdot \beta = T \) 的唯一最小范数最小二乘解<sup>[1](https://www.sciencedirect.com/science/article/abs/pii/S0925231206000385)</sup> |
| 用户设定参数 | 原始形式中仅需设定隐节点数；正则化常数 \( C \) 为后来添加<sup>[2](https://dl.acm.org/doi/10.1007/s00521-013-1522-8)</sup><sup> • </sup><sup>[3](https://engineering.louisville.edu/sites/wp-content/uploads/2021/10/chor-wang-zur-neurocomp.pdf)</sup> |
| 训练速度 | 在函数逼近基准上，0.125秒对比反向传播的21.26秒（170倍）；相比SVR，CPU时间缩减超过10,000倍<sup>[1](https://www.sciencedirect.com/science/article/abs/pii/S0925231206000385)</sup> |
| 大数据结果 | 森林覆盖数据集（581,012个实例）：训练1.5分钟，SVM近12小时，加速430倍<sup>[4](https://media.wix.com/ugd/5256f1_59db5e1e0320496b848f13013f31cf39.pdf)</sup> |
| 计算成本 | \( N \) 个样本、\( m \) 个隐节点、\( n \) 个输入时，需 \( O(Nm^{2}) \) 次运算和 \( O(N(m+n)) \) 内存<sup>[5](https://link.springer.com/article/10.1007/s00521-021-06402-y)</sup> |
| 理论现状 | “\( N \) 个随机隐节点可精确学习 \( N \) 个不同观测”（定理2.1）的主张受到2024年一个反例的质疑<sup>[6](https://ar5iv.labs.arxiv.org/html/2406.17427)</sup> |

## 工作原理

其核心思想是隐层无需调优。所有隐节点参数均随机抽取，与训练样本无关，且保持不变；学习归结为求取输出权重。<sup>[7](https://i2pc.es/coss/Docencia/SignalProcessingReviews/Huang2011.pdf)</sup> 随机抽取后，网络成为一个线性系统 \( H \cdot \beta = T \)，其中 \( H \) 为隐层输出矩阵，\( T \) 为目标矩阵，通过Moore–Penrose广义逆得到的解 \( \hat{\beta} = H^{\dagger} \cdot T \) 是唯一的最小范数最小二乘解。<sup>[1](https://www.sciencedirect.com/science/article/abs/pii/S0925231206000385)</sup><sup> • </sup><sup>[4](https://media.wix.com/ugd/5256f1_59db5e1e0320496b848f13013f31cf39.pdf)</sup> 该逆可通过正交投影、正交化、迭代法或奇异值分解来计算。<sup>[8](https://extreme-learning-machines.org/pdf/ELM-Randomness-Kernel.pdf)</sup>

ELM在形式上是一个隐层不调优的正则化网络：它最小化 \( \| \beta \|_{p}^{\sigma_{1}} + C \| H \cdot \beta - T \|_{q}^{\sigma_{2}} \)，基本实现对应于 \( C = +\infty \)。<sup>[8](https://extreme-learning-machines.org/pdf/ELM-Randomness-Kernel.pdf)</sup> 另一种实现采用岭回归闭式解，涉及单位矩阵和一个通过交叉验证优化的常数 \( c \)。<sup>[9](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0134254)</sup> 原始定理2.1指出，当激活函数无限可微、输入权重与偏置从任意连续分布中抽取时，若隐节点数等于不同训练样本数，则 \( H \) 可逆，训练误差为零。<sup>[1](https://www.sciencedirect.com/science/article/abs/pii/S0925231206000385)</sup> 理论上ELM可以逼近任意连续目标函数，并对任意不相交区域进行分类。<sup>[10](https://ieeexplore.ieee.org/document/6035797)</sup>

## 实现步骤

训练分三步：（1）随机指定输入权重 \( w_{i} \) 和偏置 \( b_{i} \)；（2）计算隐层输出矩阵 \( H \)；（3）计算 \( \hat{\beta} = H^{\dagger} \cdot T \)。<sup>[1](https://www.sciencedirect.com/science/article/abs/pii/S0925231206000385)</sup> 原始实验使用Sigmoid函数 \( g(x) = 1/(1+\exp(-x)) \)，由于不取梯度，激活函数无需可微，该方法也避免了局部极小值和学习率选择问题。<sup>[1](https://www.sciencedirect.com/science/article/abs/pii/S0925231206000385)</sup> 官方ELM工具包在 \( [-1, 1] \) 上均匀抽取输入权重，在 \( [0, 1] \) 上均匀抽取偏置。<sup>[3](https://engineering.louisville.edu/sites/wp-content/uploads/2021/10/chor-wang-zur-neurocomp.pdf)</sup> 用户唯一需要指定的参数是隐节点数。<sup>[2](https://dl.acm.org/doi/10.1007/s00521-013-1522-8)</sup> 大部分学习时间用于计算 \( H \) 的Moore–Penrose逆；在一项对比实现中，QR分解是求解输出权重最有效的解法。<sup>[1](https://www.sciencedirect.com/science/article/abs/pii/S0925231206000385)</sup><sup> • </sup><sup>[9](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0134254)</sup>

## 起源

优先权主张存在争议。独立评估部分支持批评者：2015年的一篇综述指出，同样的三个特征（大型固定随机隐层、不训练的输入权重、用最小二乘法求解的线性输出）此前已在学习系统中被多次组合使用，<sup>[9](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0134254)</sup> 而2021年的一项基准研究将ELM解读为RVFL在禁用直接输入—输出连接时的架构特例。<sup>[5](https://link.springer.com/article/10.1007/s00521-021-06402-y)</sup>

## 变体

若干命名变体扩展了基本算法。在线序列ELM（OS-ELM）由梁楠英（Nan-Ying Liang）及其同事于2006年报道，以逐条或逐块方式学习数据，块大小可固定或变化，在同一框架内处理加性节点和RBF节点，除隐节点数外无需手动选择控制参数。<sup>[11](https://doi.org/10.1109/tnn.2006.880583)</sup> 增量ELM（I-ELM）由黄广斌、陈磊（Lei Chen）和Siew于2006年报道，每次添加一个随机隐节点并证明其通用逼近性；增强形式每步生成 \( k \) 个节点并保留最优者。<sup>[12](https://doi.org/10.1109/tnn.2006.875977)</sup><sup> • </sup><sup>[7](https://i2pc.es/coss/Docencia/SignalProcessingReviews/Huang2011.pdf)</sup> 进化ELM和误差最小化ELM分别加入了进化式输入权重优化和伴随增量学习的隐节点增长。<sup>[13](https://doi.org/10.1016/j.patcog.2005.03.028)</sup><sup> • </sup><sup>[14](https://doi.org/10.1109/tnn.2009.2024147)</sup> 全复数ELM由李明斌（Ming-Bin Li）及其同事于2005年报道，将该方法扩展到复值数据。<sup>[15](https://doi.org/10.1016/j.neucom.2005.03.002)</sup> OP-ELM由约安·米什（Yoan Miche）及其同事于2009年报道，对隐节点进行最优剪枝。<sup>[16](https://doi.org/10.1109/tnn.2009.2036259)</sup> 一个涵盖回归和多类分类的统一ELM框架由黄广斌及其同事于2011年报道，包含了LS-SVM和PSVM。<sup>[17](https://doi.org/10.1109/tsmcb.2011.2168604)</sup> 多层ELM由唐杰雄（Jiexiong Tang）、邓晨威（Chenwei Deng）和黄广斌于2015年报道，利用ELM自编码器跨多层进行[无监督表示学习](https://www.edgepedia.org/zh/unsupervised-representation-learning)而无需参数调优；基于核的多层版本用核矩阵替代随机隐参数。<sup>[18](https://doi.org/10.1109/tnnls.2015.2424995)</sup><sup> • </sup><sup>[19](https://dl.acm.org/doi/10.1007/s11042-023-14634-4)</sup><sup> • </sup><sup>[20](https://eprints.whiterose.ac.uk/id/eprint/165049/1/Revised%20Manuscript.pdf)</sup>

## 应用

综述梳理了在分类、回归、函数逼近、模式识别、预测和诊断中的应用。<sup>[2](https://dl.acm.org/doi/10.1007/s00521-013-1522-8)</sup> 医学成像应用包括MRI、CT和乳腺X线摄影分析。<sup>[21](https://link.springer.com/article/10.1007/s11042-021-11007-7)</sup> 在森林覆盖数据集上，ELM达到90.21%的测试准确率，而基于梯度的SLFN训练为81.85%，ELM在一分钟内响应了全部481,012个测试样本。<sup>[1](https://www.sciencedirect.com/science/article/abs/pii/S0925231206000385)</sup> 近期，ELM已被应用于偏微分方程的求解，包括通过物理信息神经网络和配点法两种途径。<sup>[22](https://www.iris.unina.it/retrieve/26fb7055-0c8b-481b-9628-504495c6b212/DeFalcoCalabroPraglila_Neurocomputing2024.pdf)</sup>

## 局限与替代方案

2006年的形式仅对单隐层网络有效，隐节点数受限于不同训练样本数，且在多数情况下反向传播的测试时间比ELM更短。<sup>[1](https://www.sciencedirect.com/science/article/abs/pii/S0925231206000385)</sup> 内存是大数据的主要瓶颈：对于MNIST、10,000个隐单元，训练矩阵有 \( 6 \times 10^{8} \) 个元素，双精度下约4.5 GB。<sup>[9](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0134254)</sup> 数值条件也会降低精度：使用Sigmoid激活时，训练MSE在约220个神经元处达到最小，随后随舍入误差和 \( H \) 的条件数增大而上升，不过仔细选择随机参数可显著降低条件数。<sup>[22](https://www.iris.unina.it/retrieve/26fb7055-0c8b-481b-9628-504495c6b212/DeFalcoCalabroPraglila_Neurocomputing2024.pdf)</sup> 随机隐节点可能导致分类性能波动，且由于ELM最小化训练集误差，可能出现过拟合，这推动了集成变体的出现。<sup>[21](https://link.springer.com/article/10.1007/s11042-021-11007-7)</sup>

与替代方案的直接对比中，SVM、LS-SVM、ELM和多类ELM在多数问题上准确率非常接近，最大差距出现在Adult数据集上，基于ELM的分类器在交叉验证下未能选择合适的参数；当训练样本超过隐节点预算时，ELM是所测试分类器中计算效率最高的。<sup>[3](https://engineering.louisville.edu/sites/wp-content/uploads/2021/10/chor-wang-zur-neurocomp.pdf)</sup> 一些比较研究发现SVM在多数评估类别中更优，尤其是文本和电子邮件分类的F1值。<sup>[21](https://link.springer.com/article/10.1007/s11042-021-11007-7)</sup> 在53个数据集上，ELM的训练时间在每个数据集上都显著快于反向传播，MLP的学习时间通常高出四个数量级，但GPU加速使反向传播快了上百倍，达到与使用HOG特征的ELM模型相当的水平。<sup>[5](https://link.springer.com/article/10.1007/s00521-021-06402-y)</sup> 理论上仍有开放问题：隐节点数变化时泛化性的稳定性缺乏证明，在含噪应用中优越性尚未得到理论确立。<sup>[7](https://i2pc.es/coss/Docencia/SignalProcessingReviews/Huang2011.pdf)</sup> 2023年之后超出已发表理论论文的进展，在现有已发表的比较文献中记载稀少。

## References

1. [Extreme learning machine: Theory and applications (Huang, Zhu, Siew, Neurocomputing 70(1–3):489–501, 2006, doi:10.1016/j.neucom.2005.12.126)](https://www.sciencedirect.com/science/article/abs/pii/S0925231206000385)
2. [Extreme learning machine and its applications (Neural Computing and Applications, 2014)](https://dl.acm.org/doi/10.1007/s00521-013-1522-8)
3. [Review and performance comparison of SVM- and ELM-based classifiers (Neurocomputing)](https://engineering.louisville.edu/sites/wp-content/uploads/2021/10/chor-wang-zur-neurocomp.pdf)
4. [Extreme learning machine: a new learning scheme of feedforward neural networks (Huang, Zhu, Siew, IJCNN 2004, pp. 985–990)](https://media.wix.com/ugd/5256f1_59db5e1e0320496b848f13013f31cf39.pdf)
5. [Extreme learning machine versus classical feedforward network (Neural Computing and Applications, 2021)](https://link.springer.com/article/10.1007/s00521-021-06402-y)
6. [A Critical Analysis of the Theoretical Framework of the Extreme Learning Machine (arXiv 2406.17427, June 2024)](https://ar5iv.labs.arxiv.org/html/2406.17427)
7. [Extreme learning machines: a survey (Huang, Wang, Lan, Int. J. Mach. Learn. Cybern. 2:107–122, 2011)](https://i2pc.es/coss/Docencia/SignalProcessingReviews/Huang2011.pdf)
8. [An Insight into Extreme Learning Machines: Random Neurons, Random Features and Kernels (Huang, Cognitive Computation, 2014/2015)](https://extreme-learning-machines.org/pdf/ELM-Randomness-Kernel.pdf)
9. [Fast, Simple and Accurate Handwritten Digit Classification by Training Shallow Neural Network Classifiers with the 'Extreme Learning Machine' Algorithm (PLOS One, 2015)](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0134254)
10. [Extreme Learning Machine for Regression and Multiclass Classification (Huang, Zhou, Ding, Zhang, IEEE Trans. SMC-B 42(2):513–529, 2012)](https://ieeexplore.ieee.org/document/6035797)
11. [Nan-Ying Liang and colleagues (2006). A Fast and Accurate Online Sequential Learning Algorithm for Feedforward Networks. IEEE Transactions on Neural Networks.](https://doi.org/10.1109/tnn.2006.880583)
12. [Guang-Bin Huang, Lei Chen, Chee-Kheong Siew (2006). Universal Approximation using Incremental Constructive Feedforward Networks with Random Hidden Nodes. IEEE Transactions on Neural Networks.](https://doi.org/10.1109/tnn.2006.875977)
13. [Qin-Yu Zhu and colleagues (2005). Evolutionary extreme learning machine. Pattern Recognition.](https://doi.org/10.1016/j.patcog.2005.03.028)
14. [Guorui Feng and colleagues (2009). Error Minimized Extreme Learning Machine With Growth of Hidden Nodes and Incremental Learning. IEEE Transactions on Neural Networks.](https://doi.org/10.1109/tnn.2009.2024147)
15. [Ming-Bin Li and colleagues (2005). Fully complex extreme learning machine. Neurocomputing.](https://doi.org/10.1016/j.neucom.2005.03.002)
16. [Yoan Miche and colleagues (2009). OP-ELM: Optimally Pruned Extreme Learning Machine. IEEE Transactions on Neural Networks.](https://doi.org/10.1109/tnn.2009.2036259)
17. [Guang-Bin Huang and colleagues (2011). Extreme Learning Machine for Regression and Multiclass Classification. IEEE Transactions on Systems Man and Cybernetics Part B (Cybernetics).](https://doi.org/10.1109/tsmcb.2011.2168604)
18. [Jiexiong Tang, Chenwei Deng, Guang-Bin Huang (2015). Extreme Learning Machine for Multilayer Perceptron. IEEE Transactions on Neural Networks and Learning Systems.](https://doi.org/10.1109/tnnls.2015.2424995)
19. [Multilayer extreme learning machine: a systematic review (Multimedia Tools and Applications, 2023)](https://dl.acm.org/doi/10.1007/s11042-023-14634-4)
20. [Non-iterative and Fast Deep Learning: Multilayer Extreme Learning Machines (review)](https://eprints.whiterose.ac.uk/id/eprint/165049/1/Revised%20Manuscript.pdf)
21. [A review on extreme learning machine (Multimedia Tools and Applications 81:41611–41660, 2022)](https://link.springer.com/article/10.1007/s11042-021-11007-7)
22. [Insights on the different convergences in Extreme Learning Machine (Neurocomputing, 2024)](https://www.iris.unina.it/retrieve/26fb7055-0c8b-481b-9628-504495c6b212/DeFalcoCalabroPraglila_Neurocomputing2024.pdf)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Machine learning and neural computation › Neural networks and deep learning › Titles A to H

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/extreme-learning-machine

English original: https://www.edgepedia.org/extreme-learning-machine
