# 自组织映射

自组织映射（SOM）是一种无监督人工神经网络，它把高维数据项之间的统计关系转换为低维——通常是一维或二维——神经元网格上的几何关系，使相似的输入由相邻单元来表示。它由赫尔辛基理工大学（Helsinki University of Technology）的芬兰研究者特沃·科霍宁（Teuvo Kohonen）在1982年1月发表的工作中提出，也称为科霍宁映射或自组织特征映射。<sup>[1](https://link.springer.com/article/10.1007/BF00337288)</sup><sup> • </sup><sup>[2](https://sci2s.ugr.es/keel/pdf/algorithm/articulo/1990-Kohonen-PIEEE.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 起源 | 由特沃·科霍宁提出；奠基论文《拓扑正确特征图的自组织形成》（"Self-organized formation of topologically correct feature maps"）于1982年1月发表于《生物控制论》（*Biological Cybernetics*）<sup>[1](https://link.springer.com/article/10.1007/BF00337288)</sup> |
| 结构 | 神经元排列在规则网格上，通常是一维或二维；每个神经元携带一个权重向量，每个输入变量对应一个分量<sup>[3](https://www.cis.hut.fi/somtoolbox/documentation/somalg.shtml)</sup><sup> • </sup><sup>[4](https://arxiv.org/abs/2501.08416)</sup> |
| 训练 | 竞争学习：对每个输入，最佳匹配单元（BMU）及其格点邻域向输入移动，学习率和邻域半径随时间递减<sup>[3](https://www.cis.hut.fi/somtoolbox/documentation/somalg.shtml)</sup><sup> • </sup><sup>[4](https://arxiv.org/abs/2501.08416)</sup> |
| 定义性性质 | 拓扑保持：响应获得与输入事件相同的拓扑顺序，因此相邻映射单元表示相似输入<sup>[1](https://link.springer.com/article/10.1007/BF00337288)</sup> |
| 质量度量 | 量化误差（权重对数据的近似程度）以及拓扑误差和相关的拓扑保持度量是标准评价标准<sup>[5](https://digitalcommons.uri.edu/theses/1033/)</sup> |
| 已知局限 | 在1996年的一项实证研究中，SOM在量化误差、聚类结构恢复和拓扑保持方面显著劣于在线K均值聚类加Sammon映射<sup>[6](https://papers.neurips.cc/paper_files/paper/1996/hash/dc87c13749315c7217cdc4ac692e704c-Abstract.html)</sup> |
| 典型应用 | 语音识别和过程控制（1990年综述）、基因表达分析、气候分类、地质学、生态学和计算机安全<sup>[2](https://sci2s.ugr.es/keel/pdf/algorithm/articulo/1990-Kohonen-PIEEE.pdf)</sup><sup> • </sup><sup>[7](https://pmc.ncbi.nlm.nih.gov/articles/PMC15868/)</sup><sup> • </sup><sup>[8](https://arxiv.org/abs/1608.01668)</sup> |

## 结构与训练

SOM由排列在规则网格上的神经元组成，最常见的是矩形或六边形二维格点；一维和二维网格是标准配置，因为更高维的网格可视化起来困难得多。<sup>[3](https://www.cis.hut.fi/somtoolbox/documentation/somalg.shtml)</sup> 每个神经元关联一个与输入数据同维的权重向量，节点的数量和排列方式事先固定。<sup>[4](https://arxiv.org/abs/2501.08416)</sup>

训练按三个重复步骤进行。<sup>[4](https://arxiv.org/abs/2501.08416)</sup> 首先，从数据中抽取一个输入向量。其次，找出权重向量最接近该输入的神经元，通常按[欧几里得距离](https://www.edgepedia.org/zh/euclidean-distance)，作为最佳匹配单元（BMU）。第三，按照如下形式的规则，更新BMU及其在格点上邻域内神经元的权重，使其向输入移动

\[ W_{i}(t+1) = W_{i}(t) + \Theta(t)\,\epsilon(t)\,(X^{*} - W_{i}(t)), \]

其中 \( \epsilon(t) \) 是学习率，\( \Theta(t) \) 是邻域函数，二者都随时间递减。<sup>[4](https://arxiv.org/abs/2501.08416)</sup> 由于更新把整个邻域单元拉向每个样本，初始几何中相邻的点往往被映射到输入空间中相近的点，这正是产生有序映射的原因。<sup>[7](https://pmc.ncbi.nlm.nih.gov/articles/PMC15868/)</sup>

科霍宁把该算法构建为一个模型，用以说明感觉信息的拓扑有序映射如何能通过学习在大脑中形成；由此得到的映射类似于在较发达动物大脑皮层中发现的拓扑组织映射。<sup>[2](https://sci2s.ugr.es/keel/pdf/algorithm/articulo/1990-Kohonen-PIEEE.pdf)</sup><sup> • </sup><sup>[9](https://www.sciencedirect.com/science/article/pii/016781919090088Q)</sup>

## 评价

SOM评价主要由两类度量主导。量化误差衡量单元权重向量对输入数据的近似程度；拓扑误差及相关度量，如拓扑函数和邻域保持，量化映射在多大程度上忠实保持数据的拓扑。<sup>[5](https://digitalcommons.uri.edu/theses/1033/)</sup> 与量化误差相比，拓扑难以定义和量化；量化误差计算简单，且易于在映射之间比较，文献中已提出若干拓扑保持度量。<sup>[10](https://www.sciencedirect.com/science/article/pii/S0893608099000271)</sup> 另一条工作路线从不同意义上评估可靠性：在统计基础上，特定数据库上的收敛结果在量化和组织两方面是否可信。<sup>[11](https://www.sciencedirect.com/science/article/pii/S0893608002000710)</sup>

## 局限与替代方案

SOM在一个过程中结合向量量化和多维标度，这一点已在实证上受到挑战。阿瑟·弗莱克瑟（Arthur Flexer）在1996年NIPS上评述多元正态聚类问题的理论和新实验时发现，SOM在量化误差、恢复聚类结构和保持拓扑方面均显著劣于在线K均值聚类加聚类质心Sammon映射的组合技术。<sup>[6](https://papers.neurips.cc/paper_files/paper/1996/hash/dc87c13749315c7217cdc4ac692e704c-Abstract.html)</sup> 对一维情形的理论分析支持一个相关观点：只有当邻域大小为1——其最小值——时，SOM才收敛到量化误差的唯一最小值；如果邻域随权重数量增长，渐近权重分布就不同于输入分布。<sup>[12](https://www.sciencedirect.com/science/article/pii/S0925231200002927)</sup>

生成式拓扑映射（GTM）由[克里斯托弗·M·毕晓普](https://www.edgepedia.org/zh/christopher-m-bishop)（Christopher M. Bishop）、马库斯·斯文森（Markus Svensén）和克里斯托弗·K·I·威廉姆斯（Christopher K. I. Williams）在1996年NIPS上提出，作为有理论依据的替代方案：它是一个潜变量模型，具有由对数似然给出的明确定义的目标函数，用期望最大化算法训练；作者认为它克服了SOM启发式推导的局限。<sup>[13](https://proceedings.neurips.cc/paper/1996/hash/4e4e53aa080247bc31d0eb4e7aeb07a0-Abstract.html)</sup> 后来在人工和真实数据上的比较发现，GTM产生的映射比SOM更平滑，同时达到大致相同的均方根映射误差。<sup>[14](https://www.jstage.jst.go.jp/article/ciqs/2007/0/2007_0_JP20/_article/-char/en)</sup> [参数](https://www.edgepedia.org/zh/parameter)选择是公认的SOM难点：使用时，用户可能在选择合适参数时遇到麻烦。<sup>[14](https://www.jstage.jst.go.jp/article/ciqs/2007/0/2007_0_JP20/_article/-char/en)</sup>

## 应用

科霍宁1990年的综述报告了在语音识别中的实际应用，以及在机器人学、过程控制和电信方面正在进行的工作，并指出在对权重向量进行有监督微调后，SOM在涉及强噪声信号的模式识别任务中尤为成功。<sup>[2](https://sci2s.ugr.es/keel/pdf/algorithm/articulo/1990-Kohonen-PIEEE.pdf)</sup> 科霍宁1997年的一本书列出了从机器视觉和光学字符识别到过程控制、化学和神经生理学研究的应用。<sup>[4](https://arxiv.org/abs/2501.08416)</sup>

**基因表达。** 塔马约（Tamayo）及其同事把SOM应用于造血分化，检测约6,000个人类基因的表达模式，并把它们组织成具有生物学相关性的聚类；他们主张SOM适合探索性分析，因为它对聚类施加部分结构，不同于层次聚类的刚性结构或K均值的无结构。<sup>[7](https://pmc.ncbi.nlm.nih.gov/articles/PMC15868/)</sup>

**气候与地球科学。** SOM可作为大气模式的分类器：一项研究用ERA-20C再分析资料（用现代资料同化方法重建的过去天气）训练SOM，并将其与MPI-ESM-MR模式模拟结合，以识别欧洲夏季季节预测的机会窗口，发现在[斯堪的纳维亚](https://www.edgepedia.org/zh/scandinavia)（Scandinavia）地区，选定集合成员在提前3至4个月预测时的预测技巧有所提高。<sup>[15](https://www.frontiersin.org/journals/climate/articles/10.3389/fclim.2022.844634/full)</sup> 在地质学中，SOM应用于[北爱尔兰](https://www.edgepedia.org/zh/northern-ireland)（Northern Ireland）Tellus项目的航空地球物理数据，区分出对比鲜明的基岩地质，如酸性火成岩与镁铁质火成岩，不过对中间型岩石的聚类较不清晰。<sup>[16](https://researchportal.hw.ac.uk/en/publications/unsupervised-classification-applications-in-enhancing-lithologica)</sup> 综述还涵盖从分子到生态系统尺度的生态学应用。<sup>[17](https://www.sciencedirect.com/science/article/abs/pii/S1574954110001093)</sup>

**计算机安全。** 一篇关于安全相关SOM研究的综述报告称，该算法已在4,000多篇研究论文中得到分析，其中许多涉及异常检测、可执行文件分析和无线网络监测。<sup>[8](https://arxiv.org/abs/1608.01668)</sup>

## 软件与近期发展

参考实现包括赫尔辛基理工大学基于MATLAB的SOM Toolbox，它支持任意维度的网格，但只可视化一维和二维映射；还包括MiniSom，这是一个极简的、基于NumPy的Python实现，可选Numba JIT加速。<sup>[3](https://www.cis.hut.fi/somtoolbox/documentation/somalg.shtml)</sup><sup> • </sup><sup>[18](https://github.com/JustGlowing/minisom/)</sup> 较新的软件包面向规模：aweSOM于2025年发表在《开源软件杂志》（Journal of Open Source Software）上，为超过 \( 10^{6} \) 个数据点的数据集增加CPU/GPU加速，并把多次SOM运行的结果堆叠为经统计组合的集成。<sup>[19](https://joss.theoj.org/papers/10.21105/joss.07613)</sup> 2024年一篇综述梳理了过去十年SOM研究，把进展组织为数据管理、拓扑与度量、学习技术、可视化、性能和超参数化，并指出该算法仍然计算密集，需要针对不同用例进行调整。<sup>[4](https://arxiv.org/abs/2501.08416)</sup>

## References

1. [Teuvo Kohonen (1982). Self-organized formation of topologically correct feature maps. *Biological Cybernetics* 43, 59–69.](https://link.springer.com/article/10.1007/BF00337288)
2. [Teuvo Kohonen (1990). The Self-Organizing Map. *Proceedings of the IEEE* 78(9), 1464–1480.](https://sci2s.ugr.es/keel/pdf/algorithm/articulo/1990-Kohonen-PIEEE.pdf)
3. [SOM Toolbox: implementation of the algorithm, Helsinki University of Technology.](https://www.cis.hut.fi/somtoolbox/documentation/somalg.shtml)
4. [Axel Guérin, Pierre Chauvet, Frédéric Saubion (2024). A Survey on Recent Advances in Self-Organizing Maps. arXiv:2501.08416.](https://arxiv.org/abs/2501.08416)
5. [Evaluating Self-Organizing Map Quality Measures as Convergence Criteria, University of Rhode Island thesis.](https://digitalcommons.uri.edu/theses/1033/)
6. [Arthur Flexer (1996). Limitations of Self-organizing Maps for Vector Quantization and Multidimensional Scaling. NIPS 9.](https://papers.neurips.cc/paper_files/paper/1996/hash/dc87c13749315c7217cdc4ac692e704c-Abstract.html)
7. [P. Tamayo and colleagues (1999). Interpreting patterns of gene expression with self-organizing maps. *PNAS* 96, 2907–2912.](https://pmc.ncbi.nlm.nih.gov/articles/PMC15868/)
8. [Self-Organising Maps in Computer Security. arXiv:1608.01668.](https://arxiv.org/abs/1608.01668)
9. [Large-scale simulations of self-organizing neural networks on parallel computers. *Parallel Computing* 14, 381–404 (1990).](https://www.sciencedirect.com/science/article/pii/016781919090088Q)
10. [Neural maps and topographic vector quantization. *Neural Networks* (1999).](https://www.sciencedirect.com/science/article/pii/S0893608099000271)
11. [Statistical tools to assess the reliability of self-organizing maps. *Neural Networks* (2002).](https://www.sciencedirect.com/science/article/pii/S0893608002000710)
12. [On quantization error of self-organizing map network. *Neurocomputing* 34, 169–193 (2000).](https://www.sciencedirect.com/science/article/pii/S0925231200002927)
13. [Christopher M. Bishop, Markus Svensén, Christopher K. I. Williams (1996). GTM: A Principled Alternative to the Self-Organizing Map. NIPS 9.](https://proceedings.neurips.cc/paper/1996/hash/4e4e53aa080247bc31d0eb4e7aeb07a0-Abstract.html)
14. [Tomoyuki Miyao, Masamoto Arakawa, Kimito Funatsu (2007). Comparison between SOM and generative topographic mapping (GTM) in non-linear mapping. Proceedings of the Symposium on Chemoinformatics.](https://www.jstage.jst.go.jp/article/ciqs/2007/0/2007_0_JP20/_article/-char/en)
15. [J. Carvalho-Oliveira and colleagues (2022). Self-Organizing Maps Identify Windows of Opportunity for Seasonal European Summer Predictions. *Frontiers in Climate*.](https://www.frontiersin.org/journals/climate/articles/10.3389/fclim.2022.844634/full)
16. [Z. Smillie, V. Demyanov, J. McKinley, M. Cooper (2023). Unsupervised classification applications in enhancing lithological mapping. *Journal of the Geological Society* 180(4).](https://researchportal.hw.ac.uk/en/publications/unsupervised-classification-applications-in-enhancing-lithologica)
17. [Self-Organizing Maps applied to ecological sciences. *Ecological Informatics* (2011).](https://www.sciencedirect.com/science/article/abs/pii/S1574954110001093)
18. [MiniSom: minimalistic and NumPy-based implementation of the Self Organizing Map, GitHub.](https://github.com/JustGlowing/minisom/)
19. [Trung Ha, Joonas Nättilä, Jordy Davelaar (2025). aweSOM: a CPU/GPU-accelerated Self-organizing Map. *Journal of Open Source Software* 10(108), 7613.](https://joss.theoj.org/papers/10.21105/joss.07613)

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

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Machine learning and neural computation › Machine learning methods › Supervised, unsupervised, and semi-supervised learning › Dimensionality reduction and manifold learning

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/self-organizing-map

English original: https://www.edgepedia.org/self-organizing-map
