吉林大学学报(工学版) ›› 2026, Vol. 56 ›› Issue (8): 2219-2228.doi: 10.13229/j.cnki.jdxbgxb.20250043

• 计算机科学与技术 • 上一篇    

面向流形数据的自然近邻图优化和微簇合并密度峰值聚类算法

赵嘉1,2(),何超凡1,2,肖人彬3,樊棠怀1,2,潘正祥4   

  1. 1.江西水利电力大学 信息工程学院,南昌 330099
    2.江西省水利大数据智能处理与预警技术工程研究中心,南昌 330099
    3.华中科技大学 人工智能与自动化学院,武汉 430074
    4.南京信息工程大学 人工智能学院,南京 210044
  • 收稿日期:2025-01-13 出版日期:2026-08-01 发布日期:2026-09-02
  • 作者简介:赵嘉(1981-),男,教授,博士. 研究方向:智能计算与计算智能,模式识别,大数据挖掘.E-mail: zhaojia@juwp.edu.cn
  • 基金资助:
    国家自然科学基金项目(62466037);国家自然科学基金项目(62463021);国家自然科学基金项目(52069014)

Density peaks clustering algorithm based on natural neighbor graph optimization and micro-cluster merging for manifold data

Jia ZHAO1,2(),Chao-fan HE1,2,Ren-bin XIAO3,Tang-huai FAN1,2,Zheng-xiang PAN4   

  1. 1.School of Information Engineering,Jiangxi University of Water Resources and Electric Power,Nanchang 330099,China
    2.Jiangxi Province Engineering Research Center for Intelligent Processing and Early Warning Technology of Water Conservancy Big Data,Nanchang 330099,China
    3.School of Artificial Intelligence and Automation,Huazhong University of Science and Technology,Wuhan 430074,China
    4.School of Artificial Intelligence,Nanjing University of Information Science and Technology,Nanjing 210044,China
  • Received:2025-01-13 Online:2026-08-01 Published:2026-09-02

摘要:

针对密度峰值聚类算法难以发现流形数据的密度峰值;分配策略易将远离密度峰值的样本错误分配的问题,提出一种面向流形数据的自然近邻图优化和微簇合并密度峰值聚类算法。首先,基于自然近邻图,利用顶点间的测地距离设计了一种新的局部密度度量方法,精准刻画流形数据的内部结构与分布特性;其次,通过分析自然近邻图中顶点的连接关系,自动识别样本代表并确定局部核心,用以指导微簇划分;最后,利用样本间测地距离定义一种新的微簇间相似性度量准则,用以指导微簇合并,从而优化聚类效果。将该算法与4个改进密度峰值聚类算法以及密度峰值聚类算法进行对比,实验结果表明,本文算法能有效应用于流形数据和真实数据的聚类分析当中。

关键词: 密度峰值聚类, 聚类算法, 流形数据, 自然近邻图, 测地距离, 微簇合并

Abstract:

Density Peak Clustering algorithm faces challenges in detecting density peaks in manifold data, and its assignment strategy often misallocates samples far from density peaks. To address these issues, this paper proposes a Natural Neighbor Graph Optimization and Micro-Cluster Merging Density Peak Clustering algorithm for manifold data. First, based on the natural neighbor graph, a novel local density measurement method is designed using geodesic distances between vertices, which accurately characterizes the internal structure and distribution properties of manifold data. Second, by analyzing the connection relationships between vertices in the natural neighbor graph, the algorithm automatically identifies representative samples and determines local cores to guide micro-cluster partitioning. Finally, a new similarity measurement criterion for micro-clusters is defined based on geodesic distances between samples, which optimizes clustering performance throughmicro-cluster merging. The proposed algorithm is compared with four improved density peaks clustering algorithms and the original density peaks clustering algorithm. Experimental results show that the proposed algorithm can be effectively applied to clustering analysis of manifold data and real-world datasets.

Key words: density peak clustering, clustering algorithm, manifold data, natural neighbor graph, geodesic distance, micro-cluster merging

中图分类号: 

  • TP311

图 1

不同局部密度定义方式在Jain数据集找到的密度峰值"

图 2

微簇合并流程"

图 3

DPC-NGMM算法流程"

表1

6种聚类算法在10个流形数据集上的聚类性能"

算法LineBlobsPathbase
ARIAMIFMIArg-ARIAMIFMIArg-
DPC-NGMM11120.990 50.983 00.993 72
SDPC0.541 90.623 00.699 90.10.484 30.522 10.666 60.1
DPC-CE111-0.473 80.486 40.693 8-
IDPC-FA111-0.859 30.844 20.906 7-
DPCSA111-0.613 30.707 30.751 1-
DPC0.823 70.837 50.884 24.20.508 20.557 30.684 80.4
算法JainCompound
ARIAMIFMIArg-ARIAMIFMIArg-
DPC-NGMM11140.905 60.882 20.930 210
SDPC1110.10.702 20.707 40.782 10.1
DPC-CE111-0.808 20.614 10.706 0-
IDPC-FA111-0.832 70.792 20.881 5-
DPCSA0.044 20.216 70.592 4-0.828 40.839 20.870 7-
DPC0.714 60.618 30.881 90.80.636 20.825 00.723 64.6
算法DbCmc
ARIAMIFMIArg-ARIAMIFMIArg-
DPC-NGMM11171117
SDPC0.396 10.544 10.641 40.10.638 50.563 20.785 80.1
DPC-CE0.675 80.558 80.739 5-0.669 40.736 20.835 2-
IDPC-FA0.503 30.652 60.699 9-0.842 10.809 30.902 7-
DPCSA0.109 60.413 60.468 9-0.576 10.665 60.745 4-
DPC0.279 40.518 50.585 340.266 10.385 70.537 75
算法Cth3Ls
ARIAMIFMIArg-ARIAMIFMIArg-
DPC-NGMM0.997 10.994 80.997 91011111
SDPC0.471 50.652 80.620 40.10.589 20.669 70.702 30.1
DPC-CE0.825 50.715 80.793 5-0.743 50.639 20.741 5-
IDPC-FA0.832 70.875 80.878 6-0.627 40.707 60.732 5-
DPCSA0.653 80.789 10.754 7-0.599 90.725 20.712 9-
DPC0.513 50.686 60.647 30.10.689 40.766 50.777 90.9
算法Circle3Complex9
ARIAMIFMIArg-ARIAMIFMIArg-
DPC-NGMM1111611116
SDPC0.146 20.221 70.483 40.10.556 10.679 70.638 90.1
DPC-CE0.529 00.255 50.627 9-0.461 50.695 80.552 7-
IDPC-FA0.438 50.462 90.765 2-0.957 70.951 30.965 8-
DPCSA0.083 30.2950.524 2-0.422 10.682 10.518 8-
DPC0.301 50.359 60.604 80.30.609 40.740 20.683 92

表2

6种算法在流形数据集上指标的秩均值"

算法ARIAMIFMI
DPC-NGMM5.705.705.70
SDPC2.251.952.15
DPC-CE3.802.803.60
IDPC-FA4.504.504.60
DPCSA2.353.152.45
DPC2.402.902.50

图4

六种聚类算法对Db数据集的聚类结果"

图5

六种聚类算法对Cth3数据集的聚类结果"

图6

六种聚类算法对Complex9数据集的聚类结果"

表3

6种聚类算法在8个真实数据集上的聚类性能"

算法IrisSeeds
ARIAMIFMIArg-ARIAMIFMIArg-
DPC-NGMM0.883 10.852 50.921 630.775 50.732 40.849 835
SDPC0.885 70.862 30.923 30.10.765 70.721 50.843 20.1
DPC-CE0.663 40.727 70.782 4-0.744 80.714 40.829 7
IDPC-FA0.885 70.862 30.923 3-0.7670.729 90.844 4-
DPCSA0.903 80.883 10.935 5-0.687 30.660 90.791 8-
DPC0.903 80.883 10.935 53.20.7670.729 80.844 40.7
算法WineEcoli
ARIAMIFMIArg-ARIAMIFMIArg-
DPC-NGMM0.864 90.819 70.910 3260.757 80.675 00.834 34
SDPC0.870 80.855 00.914 00.10.679 90.574 220.762 260.1
DPC-CE0.536 20.584 10.694 5-0.114 50.070 40.580 2-
IDPC-FA0.771 30.767 50.847 8-0.756 10.663 80.828 4-
DPCSA0.741 40.748 00.828 3-0.459 30.440 60.646 7-
DPC0.770 30.769 50.847 42.40.410 90.522 30.554 52.1
算法IononsphereLibras
ARIAMIFMIArg-ARIAMIFMIArg-
DPC-NGMM0.419 50.305 40.760 3110.386 50.583 50.435 811
SDPC0.217 60.150 40.627 70.10.255 70.451 00.308 40.1
DPC-CE0.114 50.070 40.580 2-0.353 10.557 00.419 2-
IDPC-FA0.218 30.135 50.643 2-0.381 60.573 30.424 7-
DPCSA0.213 50.133 50.639 0-0.309 50.538 80.379 1-
DPC0.230 60.148 40.644 91.80.362 60.583 20.419 00.5
算法WDBCWaveform
ARIAMIFMIArg-ARIAMIFMIArg-
DPC-NGMM0.811 40.704 30.913 060.319 60.367 30.574 455
SDPC0.773 00.676 40.897 70.10.356 10.364 80.593 80.1
DPC-CE0.435 50.374 20.774 3-0.283 60.327 40.545 6-
IDPC-FA0.773 00.676 40.897 7-0.311 40.295 60.533 1-
DPCSA0.377 10.336 10.759 5-0.223 60.251 00.532 7-
DPC0.754 80.637 50.887 60.70.269 80.326 10.529 20.1

表4

6种算法在真实数据集上指标的秩均值"

算法ARIAMIFMI
DPC-NGMM5.255.385.25
SDPC3.944.063.81
DPC-CE2.062.252.44
IDPC-FA3.813.193.69
DPCSA2.192.062.44
DPC3.754.063.38
[1] Nan F, Tang Y, Yang P, et al. A novel sub-Kmeans based on co-training approach by transforming single-view into multi-view[J]. Future Generation Computer Systems, 2021, 125: 831-843.
[2] Hou J, Lin H, Yuan H, et al. Flexible density peak clustering for real-world data[J]. Pattern Recognition, 2024, 156: 110772.
[3] Gagniere S, Han Y, Chen Y, et al. A robust grid‐based meshing algorithm for embedding self‐intersecting surfaces[J]. Computer Graphics Forum, 2024, 43(1): e14986.
[4] Wang F, Li L, Liu Z. Stratification-based semi-supervised clustering algorithm for arbitrary shaped datasets[J]. Information Sciences, 2023, 639: 119004.
[5] 谢坤,董宏辉,卢玲玉,等. 基于CFSFDP-BP的车辆出行群体分类及识别方法[J]. 吉林大学学报: 工学版, 2026, 56(3): 725-733.
Xie Kun, Dong Hong-hui, Lu Ling-yu, et al. Classification and recognition method of vehicle travel groups based on CFSFDP-BP[J]. Journal of Jilin University (Engineering and Technology Edition),2026, 56(3): 725-733.
[6] Kim B, Yuvaraj N, Tse K T, et al. Pressure pattern recognition in buildings using an unsupervised machine-learning algorithm[J]. Journal of Wind Engineering and Industrial Aerodynamics, 2021, 214: 104629.
[7] Corneo E, Garbelotto R, Prestes G, et al. Coagulation biomarkers and coronavirus disease 2019 phenotyping: a prospective cohort study[J]. Thrombosis Journal, 2023, 21(1): 80.
[8] Chang J Q, Yu F S. Design matrix factorization and knowledge-guided clustering for trust-aware cross-domain recommendation systems[C]∥7th International Conference on Software Engineering and Computer Science,Taicang, China, 2025: 1-6.
[9] Rodriguez A, Laio A. Clustering by fast search and find of density peaks[J]. Science, 2014, 344: 1492-1496.
[10] Xiong J, Zang W, Zhao Y, et al. Density peaks clustering algorithm with connected local density and punished relative distance[J]. The Journal of Supercomputing, 2024, 80(5): 6140-6168.
[11] Wang Y. McDPC: multi-center density peak clustering[J]. Neural Computing and Applications, 2020, 32(17): 13465-13478.
[12] Du M, Ding S, Xue Y. A robust density peaks clustering algorithm using fuzzy neighborhood[J]. International Journal of Machine Learning and Cybernetics, 2018, 9(7): 1131-1140.
[13] Xie J, Jiang W, Ding L. Clustering by searching density peaks via local standard deviation[C]∥International conference on Intelligent Data Engineering and Automated Learning, Guilin, China, 2017: 295-305.
[14] 吕莉, 朱梅子, 康平, 等. 面向分布不均数据的混合近邻密度峰值聚类算法[J]. 控制理论与应用, 2024, 41(10): 1821-1830.
Lv Li, Zhu Mei-zi, Kang Ping, et al. Multiplex neighbor density peaks clustering for uneven density data sets[J]. Control Theory & Applications, 2024, 41(10): 1821-1830.
[15] Chen J, Yu P S. A domain adaptive density clustering algorithm for data with varying density distribution[J]. IEEE Transactions on Knowledge and Data Engineering, 2021, 33(6): 2310-2321.
[16] Zhang S, Li K. A novel density peaks clustering algorithm with isolation kernel and k-induction[J]. Applied Sciences, 2022, 13(1): 322.
[17] Li Y, Sun L, Tang Y. DPC-DNG: Graph-based label propagation of k-nearest higher-density neighbors for density peaks clustering[J].Applied Soft Computing,2024,161: 111773.
[18] 赵嘉, 陈磊, 吴润秀, 等. K近邻和加权相似性的密度峰值聚类算法[J]. 控制理论与应用, 2022, 39(12): 2349-2357.
Zhao Jia, Chen Lei, Wu Run-xiu, et al. Density peaks clustering algorithm with K-nearest neighbors and weighted similarity[J]. Control Theory & Applications, 2022, 39(12): 2349-2357.
[19] Zang W, Liu X, Ma L, et al. DPC-MFP: an adaptive density peaks clustering algorithm with multiple feature points[J]. Neurocomputing, 2025, 618: 129060.
[20] Du M. Density peaks clustering using geodesic distances[J]. International Journal of Machine Learning and Cybernetics, 2018, 9(8): 1335-1349.
[21] Zhang D, Wang Y, Zhou L, et al. Multimodal classification of Alzheimer's disease and mild cognitive impairment[J]. NeuroImage, 2011, 55(3): 856-867.
[22] Sahraeian R, Van Compernolle D. Crosslingual and multilingual speech recognition based on the speech manifold[J]. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 2017, 25(12): 2301-2312.
[23] Ding S, Li C, Xu X, et al. A sampling-based density peaks clustering algorithm for large-scale data[J]. Pattern Recognition, 2023, 136: 109238.
[24] Guo W, Wang W, Zhao S, et al. Density peak clustering with connectivity estimation[J]. Knowledge-Based Systems, 2022, 243: 108501.
[25] Zhao J, Tang J, Shi A, et al. Improved density peaks clustering based on firefly algorithm[J]. International Journal of Bio-Inspired Computation, 2020, 15(1): 24-42.
[26] Sun L, Liu R, Xu J, et al. An adaptive density peaks clustering method with fisher linear discriminant[J]. IEEE Access, 2019, 7: 72936-72955.
[27] Vinh N X, Epps J, Bailey J. Information theoretic measures for clusterings comparison: variants, properties, normalization and correction for chance[J]. Journal of Machine Learning Research, 2010, 11: 2837-2854.
[28] Fowlkes E B, Mallows C L. A method for comparing two hierarchical clusterings[J]. Journal of the American Statistical Association, 1983, 78: 553-569.
[1] 刘洲洲,金聪,蒋光毅,贾楠,刘超,张杨梅. 基于深度学习的无线传感器网络流量异常检测[J]. 吉林大学学报(工学版), 2026, 56(8): 2201-2209.
[2] 谢坤,董宏辉,卢玲玉,耿庆桥,李鹏辉,董春娇. 基于CFSFDP-BP的车辆出行群体分类及识别方法[J]. 吉林大学学报(工学版), 2026, 56(3): 725-733.
[3] 朱齐亮,余雪婷. k-prototype聚类算法和相对熵下敏感数据重发布隐私安全保护[J]. 吉林大学学报(工学版), 2025, 55(3): 1009-1014.
[4] 张玺君,余光杰,崔勇,尚继洋. 基于聚类算法和图神经网络的短时交通流预测[J]. 吉林大学学报(工学版), 2024, 54(6): 1593-1600.
[5] 吕莉,朱梅子,康平,韩龙哲. 二阶K近邻和多簇合并的密度峰值聚类算法[J]. 吉林大学学报(工学版), 2024, 54(5): 1417-1425.
[6] 刘状壮,郑文清,郑健,李轶峥,季鹏宇,沙爱民. 基于网格化的路表温度感知技术[J]. 吉林大学学报(工学版), 2023, 53(6): 1746-1755.
[7] 康耀龙,冯丽露,张景安,曹素娥. 基于谱聚类的不确定数据集中快速离群点挖掘算法[J]. 吉林大学学报(工学版), 2023, 53(4): 1181-1186.
[8] 翁剑成,魏瑞聪,何寒梅,徐海辉,王晶晶. 基于关联路链组的城市路网短时交通流预测模型[J]. 吉林大学学报(工学版), 2023, 53(11): 3104-3112.
[9] 曹倩,李志慧,陶鹏飞,马永建,杨晨曦. 考虑风险异质特性的路网交通事故风险评估方法[J]. 吉林大学学报(工学版), 2023, 53(10): 2817-2825.
[10] 王四宝,郭忠政,马驰,王时龙. 数控滚齿机工作台热-力变形分析及预测建模[J]. 吉林大学学报(工学版), 2023, 53(10): 2761-2772.
[11] 毛伊敏,顾森晴. 基于MapReduce与优化布谷鸟算法的并行密度聚类算法[J]. 吉林大学学报(工学版), 2023, 53(10): 2909-2916.
[12] 魏路,高磊,李晋宏,杨建,田玉林. 基于密度峰值聚类的交通控制子区划分方法[J]. 吉林大学学报(工学版), 2023, 53(1): 124-131.
[13] 康耀龙,冯丽露,张景安,陈富. 基于谱聚类的高维类别属性数据流离群点挖掘算法[J]. 吉林大学学报(工学版), 2022, 52(6): 1422-1427.
[14] 张萌谡,刘春天,李希今,黄永平. 基于K⁃means聚类算法的绩效考核模糊综合评价系统设计[J]. 吉林大学学报(工学版), 2021, 51(5): 1851-1856.
[15] 孙宗元, 方守恩. 高速公路出入口运动车辆轨迹分层聚类算法[J]. 吉林大学学报(工学版), 2017, 47(6): 1696-1702.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!