# 集成聚类

集成聚类（Ensemble clustering），又称共识聚类（consensus clustering），将同一数据的多个聚类结果融合为单一共识划分，以提升质量与稳健性。<sup>[1](https://jmlr.csail.mit.edu/papers/volume3/strehl02a/strehl02a.pdf)</sup> 输出为对象的最终划分，通常经由共联矩阵或超图（其边可一次性连接多个对象的图）等中间表示达成。<sup>[2](https://link.springer.com/content/pdf/10.1007/s10994-013-5339-6.pdf)</sup><sup> • </sup><sup>[3](http://strehl.com/download/ghosh-ngdm02.pdf)</sup>

| 关键事实 | 内容 |
|---|---|
| 输入 | 同一对象的多个基础聚类（划分）；无需访问原始特征<sup>[1](https://jmlr.csail.mit.edu/papers/volume3/strehl02a/strehl02a.pdf)</sup> |
| 核心表示 | 共联矩阵，其元素统计一对点共享同一簇的聚类数目<sup>[2](https://link.springer.com/content/pdf/10.1007/s10994-013-5339-6.pdf)</sup> |
| 具名共识函数 | CSPA、HGPA、MCLA（图/超图）；证据积累（共联）；混合模型与EM方法<sup>[3](http://strehl.com/download/ghosh-ngdm02.pdf)</sup><sup> • </sup><sup>[4](https://arxiv.org/pdf/1906.00120)</sup> |
| 共识复杂度 | CSPA \( O(n^{2}kr) \)，HGPA \( O(nkr) \)，MCLA \( O(nk^{2}r^{2}) \)；谱集成聚类约为 \( O(n) \)<sup>[5](http://ideal.ece.utexas.edu/pubs/pdf/2011/ghac11.pdf)</sup><sup> • </sup><sup>[4](https://arxiv.org/pdf/1906.00120)</sup> |
| 实际规模上限 | \( O(n^{2}) \) 的共联矩阵是这类方法的主要计算瓶颈<sup>[6](https://www.nature.com/articles/s41598-026-47453-2)</sup> |
| 集成规模 | 100个基础划分是常见的经验选择；近期理论推荐 \( m = \sqrt{n} \)<sup>[4](https://arxiv.org/pdf/1906.00120)</sup><sup> • </sup><sup>[7](https://arxiv.org/html/2506.02053)</sup> |
| 优化形式 | 中位划分，属NP完全问题<sup>[8](https://www.cs.ucdavis.edu/~filkov/papers/consensuseval.pdf)</sup> |

## 工作原理

该方法分两个阶段运行：生成一组基础聚类，然后用共识函数将其融合。<sup>[9](https://journals.plos.org/complexsystems/article?id=10.1371%2Fjournal.pcsy.0000069)</sup> 在证据积累方法中，共联矩阵的每个元素统计给定一对点被放入同一簇的聚类数目；这绕开了标签对应问题，因为基础聚类对相同的簇会给出不同的标签。<sup>[2](https://link.springer.com/content/pdf/10.1007/s10994-013-5339-6.pdf)</sup> 基于图的方法则将每个基础簇视为对象上的超边，寻求与尽可能多的基础簇一致的超图划分。<sup>[3](http://strehl.com/download/ghosh-ngdm02.pdf)</sup>

文献记载，融合之所以有益有两个原因。别里科夫和佩斯图诺夫证明，在自然假设下，任意一对对象的误分类概率随集成规模增大而趋于零。<sup>[10](https://arxiv.org/pdf/1910.02433)</sup> 2025年的一项泛化界，量级为 \( O(\sqrt{\log n / m} + 1/\sqrt{n}) \)，其中 \( n \) 为样本数、\( m \) 为基础聚类数，将超额损失分解为偏差项与多样性项，并表明误差随 \( m \) 增大而减小，但不趋于零。<sup>[7](https://arxiv.org/html/2506.02053)</sup>

## 实施方法

实践者首先生成多样化的基础聚类。多样性机制包括：使用不同的特征子集，改变k-means初始中心的数量与位置，改变数据呈现顺序，以及使用不同算法的组合；基于重采样的方案则加入噪声或随机抽取对象或特征的子样本。<sup>[1](https://jmlr.csail.mit.edu/papers/volume3/strehl02a/strehl02a.pdf)</sup>

共识步骤随后采取若干形式之一。证据积累聚类构建共联矩阵并应用层次凝聚聚类，最终划分取自单链接树状图。<sup>[11](https://psycnet.apa.org/doi/10.1109/TPAMI.2005.113)</sup><sup> • </sup><sup>[12](https://www.lx.it.pt/~afred/anawebit/articles/AFred_CVPR2003.pdf)</sup> 基于图的族系包含三种启发式方法：CSPA将每个聚类转换为成对相似度并用METIS重新聚类；HGPA通过切割最少数量的超边将超图划分为k个不连通分量；MCLA将整合视为簇对应问题，把基础簇分组为元簇。<sup>[3](http://strehl.com/download/ghosh-ngdm02.pdf)</sup> 基于目标的替代方案包括类k-means、NMF、EM和模拟退火共识形式。<sup>[4](https://arxiv.org/pdf/1906.00120)</sup> 最终输出为所有对象的单一划分。

## 起源

基于共联矩阵与层次聚类的证据积累方法由安娜·L·N·弗雷德（Ana L. N. Fred）和[阿尼尔·K·贾因](https://www.edgepedia.org/zh/anil-k-jain)（Anil K. Jain）在2002年ICPR论文《利用证据积累进行数据聚类》中提出，并在其2005年[IEEE模式分析与机器智能汇刊](https://www.edgepedia.org/zh/ieee-transactions-on-pattern-analysis-and-machine-intelligence)论文中扩展。<sup>[13](https://doi.org/10.1109/tpami.2005.113)</sup> 针对[基因表达](https://www.edgepedia.org/zh/gene-expression)微阵列数据的基于重采样的共识聚类由斯特凡诺·蒙蒂（Stefano Monti）及同事在2003年《Machine Learning》期刊论文中确立。<sup>[14](https://doi.org/10.1023/a:1023949509487)</sup> 组合多个排名（Borda、Condorcet）的早期工作早于法国大革命，而组合来自不同初始化的k-means中心是一个值得注意的先驱。<sup>[1](https://jmlr.csail.mit.edu/papers/volume3/strehl02a/strehl02a.pdf)</sup>

## 变体

概率版本将共联元素建模为二项随机变量，并通过最大似然估计簇分配，等价于最小化观测与建模共现频率之间的KL散度；PEACE是其中一种形式，配有收敛到局部解的线搜索算法。<sup>[2](https://link.springer.com/content/pdf/10.1007/s10994-013-5339-6.pdf)</sup><sup> • </sup><sup>[15](https://www.scitepress.org/papers/2013/42679/42679.pdf)</sup> 加权集成按质量或多样性为基础聚类分配权重，因为对高度发散或高度相关的聚类进行简单平均是不稳定或有偏的。<sup>[10](https://arxiv.org/pdf/1910.02433)</sup> 谱集成聚类将共识重构为加权k-means。<sup>[4](https://arxiv.org/pdf/1906.00120)</sup> 多多样性集成聚类（MDEC）将随机相似核与随机子空间及基于熵的簇加权相结合。<sup>[16](https://ar5iv.labs.arxiv.org/html/1710.03113)</sup> 耦合聚类集成（CCE）建模对象与基础聚类之间的相互依赖，放宽了标准集成的独立性假设。<sup>[17](https://doi.org/10.1145/3230967)</sup> 对于网络，FastEnsemble按端点被共同聚类的划分比例对每条边加权，移除低于阈值的边，并对加权图进行聚类。<sup>[9](https://journals.plos.org/complexsystems/article?id=10.1371%2Fjournal.pcsy.0000069)</sup> 无参数集成聚类（PFEC）动态调整基础聚类与簇的权重，误差越大权重越小。<sup>[18](https://doi.org/10.1016/j.patcog.2024.110389)</sup> EffEns应用元学习来选择集成配置与共识函数。<sup>[19](https://www.vldb.org/pvldb/vol17/p2880-treder-tschechlov.pdf)</sup>

## 应用

基因表达分析是主要领域：基于重采样的共识聚类为微阵列类别发现而开发，<sup>[14](https://doi.org/10.1023/a:1023949509487)</sup> 基于图的共识聚类面向基因表达数据的类别发现，<sup>[20](https://doi.org/10.1093/bioinformatics/btm463)</sup> 共识启发式方法可扩展到数千基因上的数百个微阵列。<sup>[21](https://web.cs.ucdavis.edu/~filkov/papers/ictai03.pdf)</sup> MDEC在30个高维数据集上得到验证，包括18个癌症基因表达数据集和12个图像与语音数据集。<sup>[16](https://ar5iv.labs.arxiv.org/html/1710.03113)</sup> [文档聚类](https://www.edgepedia.org/zh/document-clustering)在耦合集成中得到演示，<sup>[17](https://doi.org/10.1145/3230967)</sup> 大型网络中的社区检测由FastEnsemble服务，可处理超过300万个节点的网络。<sup>[9](https://journals.plos.org/complexsystems/article?id=10.1371%2Fjournal.pcsy.0000069)</sup>

## 局限与替代方案

作为优化问题，共识聚类是中位划分，属NP完全问题，因此实用方法是启发式的。<sup>[8](https://www.cs.ucdavis.edu/~filkov/papers/consensuseval.pdf)</sup> 当给定划分彼此过于不相似时，默认噪声阈值0.25大致标记出划分变得基本随机、共识不再有用的临界点。<sup>[8](https://www.cs.ucdavis.edu/~filkov/papers/consensuseval.pdf)</sup> 在图方法中，HGPA速度快但比较中往往表现最差。<sup>[5](http://ideal.ece.utexas.edu/pubs/pdf/2011/ghac11.pdf)</sup><sup> • </sup><sup>[22](https://www.cs.cornell.edu/~nhnguyen/consensusclustering_short.pdf)</sup> 共联矩阵存在信息损失，因为它们仅使用类别划分数据而忽略原始特征。<sup>[4](https://arxiv.org/pdf/1906.00120)</sup> 没有可用于调参的真值，文献也未就集成算法应满足哪些性质达成一致；图与超图方法也被批评为并非求解中位划分问题的具有严密理论依据的方法，其结果依赖于所选图划分算法。<sup>[23](https://i2pc.es/coss/Docencia/SignalProcessingReviews/Vega2011.pdf)</sup> 更大的集成规模并不保证更高精度，且常常降低精度。<sup>[19](https://www.vldb.org/pvldb/vol17/p2880-treder-tschechlov.pdf)</sup>

最坏情况下的共识复杂度为：CSPA \( O(n^{2}kr) \)，HGPA \( O(nkr) \)，MCLA \( O(nk^{2}r^{2}) \)，其中 \( r \) 为含k个簇的基础聚类数；共联方法一般为 \( O(n^{2}) \)。<sup>[5](http://ideal.ece.utexas.edu/pubs/pdf/2011/ghac11.pdf)</sup><sup> • </sup><sup>[23](https://i2pc.es/coss/Docencia/SignalProcessingReviews/Vega2011.pdf)</sup> 谱集成聚类将时间与空间复杂度从 \( O(n^{3}) \) 和 \( O(n^{2}) \) 降至约 \( O(n) \)。<sup>[4](https://arxiv.org/pdf/1906.00120)</sup> \( O(n^{2}) \) 的共联矩阵将[可扩展性](https://www.edgepedia.org/zh/scalability)限制在约 \( n \leq 20{,}000 \)。<sup>[6](https://www.nature.com/articles/s41598-026-47453-2)</sup> 当共识簇源自少量独立观测、每个观测最多含25%误分类时，仍保持稳健。<sup>[21](https://web.cs.ucdavis.edu/~filkov/papers/ictai03.pdf)</sup> 关于集成规模，文献意见不一：一项综述指出100个基础划分在经验上足够好，<sup>[4](https://arxiv.org/pdf/1906.00120)</sup> 而2025年理论推荐 \( m = \sqrt{n} \)。<sup>[7](https://arxiv.org/html/2506.02053)</sup>

替代方案包括中位划分启发式方法如混合BOEM/AL、面向大数据的基于质心的集成，以及避免 \( n \times n \) 矩阵的基于锚点的方法。<sup>[8](https://www.cs.ucdavis.edu/~filkov/papers/consensuseval.pdf)</sup><sup> • </sup><sup>[24](https://cse.usf.edu/~lohall/papers/Hore_2009_Pattern-Recognition)</sup> 可扩展性通过带离群点解耦的基于锚点的RANGE方法、轻量级网络规模谱集成聚类（LiteWSEC）<sup>[25](https://doi.org/10.1109/tkde.2023.3267167)</sup> 以及图卷积集成如Rec-GCN<sup>[26](https://doi.org/10.1016/j.patcog.2025.112717)</sup> 得到推进。

## References

1. [Cluster Ensembles – A Knowledge Reuse Framework for Combining Multiple Partitions (Strehl & Ghosh, JMLR 3:583-617, 2002)](https://jmlr.csail.mit.edu/papers/volume3/strehl02a/strehl02a.pdf)
2. [Probabilistic consensus clustering using evidence accumulation (Machine Learning journal, Springer)](https://link.springer.com/content/pdf/10.1007/s10994-013-5339-6.pdf)
3. [A Consensus Framework for Integrating Distributed Clusterings Under Limited Knowledge Sharing (Strehl & Ghosh, NGDM 2002)](http://strehl.com/download/ghosh-ngdm02.pdf)
4. [Consensus Clustering: A unified survey (arXiv copy)](https://arxiv.org/pdf/1906.00120)
5. [Cluster ensembles (WIREs Data Mining Knowl Discov 2011 survey, DOI 10.1002/widm.32)](http://ideal.ece.utexas.edu/pubs/pdf/2011/ghac11.pdf)
6. [Clustering ensemble method integrating Gaussian mixture model and three-way decision (GMM-3WD-CE, Scientific Reports, 2026)](https://www.nature.com/articles/s41598-026-47453-2)
7. [Generalization Performance of Ensemble Clustering: From Theory to Algorithm (ICML 2025)](https://arxiv.org/html/2506.02053)
8. [Consensus Clustering Algorithms: Comparison and Refinement (Filkov & Skiena)](https://www.cs.ucdavis.edu/~filkov/papers/consensuseval.pdf)
9. [FastEnsemble: Scalable ensemble clustering on large networks (PLOS Complex Systems)](https://journals.plos.org/complexsystems/article?id=10.1371%2Fjournal.pcsy.0000069)
10. [Weighted clustering ensemble: a review (arXiv copy)](https://arxiv.org/pdf/1910.02433)
11. [Combining multiple clusterings using evidence accumulation (Fred & Jain, IEEE TPAMI 27(6):835-850, 2005)](https://psycnet.apa.org/doi/10.1109/TPAMI.2005.113)
12. [Robust Data Clustering (Fred & Jain, CVPR 2003)](https://www.lx.it.pt/~afred/anawebit/articles/AFred_CVPR2003.pdf)
13. [Ana L.N. Fred, Anil K. Jain (2005). Combining multiple clusterings using evidence accumulation. IEEE Transactions on Pattern Analysis and Machine Intelligence.](https://doi.org/10.1109/tpami.2005.113)
14. [Stefano Monti and colleagues (2003). Consensus Clustering: A Resampling-Based Method for Class Discovery and Visualization of Gene Expression Microarray Data. Machine Learning.](https://doi.org/10.1023/a:1023949509487)
15. [Probabilistic Evidence Accumulation for Clustering Ensembles (PEACE)](https://www.scitepress.org/papers/2013/42679/42679.pdf)
16. [Toward Multidiversified Ensemble Clustering of High-Dimensional Data: From Subspaces to Metrics and Beyond (MDEC, IEEE TKCyb)](https://ar5iv.labs.arxiv.org/html/1710.03113)
17. [Can Wang and colleagues (2018). Coupled Clustering Ensemble by Exploring Data Interdependence. ACM Transactions on Knowledge Discovery from Data.](https://doi.org/10.1145/3230967)
18. [Fangyuan Xie and colleagues (2024). Parameter-free ensemble clustering with dynamic weighting mechanism. Pattern Recognition.](https://doi.org/10.1016/j.patcog.2024.110389)
19. [Ensemble Clustering based on Meta-Learning and Hyperparameter Optimization (EffEns, PVLDB vol 17, 2024)](https://www.vldb.org/pvldb/vol17/p2880-treder-tschechlov.pdf)
20. [Zhiwen Yu, Hau-San Wong, Hongqiang Wang (2007). Graph-based consensus clustering for class discovery from gene expression data. Bioinformatics.](https://doi.org/10.1093/bioinformatics/btm463)
21. [Integrating microarray data by consensus clustering (Filkov & Skiena, ICTAI 2003)](https://web.cs.ucdavis.edu/~filkov/papers/ictai03.pdf)
22. [Consensus Clustering (Nguyen & Caruana)](https://www.cs.cornell.edu/~nhnguyen/consensusclustering_short.pdf)
23. [A survey of clustering ensemble algorithms (Vega-Pons & Ruiz-Shulcloper, 2011)](https://i2pc.es/coss/Docencia/SignalProcessingReviews/Vega2011.pdf)
24. [Scalable K-means clustering ensemble / centroid-based ensemble (Hore, Hall, Goldgof, Pattern Recognition 2009)](https://cse.usf.edu/~lohall/papers/Hore_2009_Pattern-Recognition)
25. [Geping Yang and colleagues (2023). LiteWSEC: A Lightweight Framework for Web-Scale Spectral Ensemble Clustering. IEEE Transactions on Knowledge and Data Engineering.](https://doi.org/10.1109/tkde.2023.3267167)
26. [Dong Huang and colleagues (2025). REC-GCN: Robust ensemble clustering with graph convolutional networks. Pattern Recognition.](https://doi.org/10.1016/j.patcog.2025.112717)

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

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Machine learning and neural computation › Machine learning methods › Ensemble, boosting, and transfer methods

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/ensemble-clustering

English original: https://www.edgepedia.org/ensemble-clustering
