K-Means Community Detection Algorithm Based on Density Peaks
The identification of community structure is pivotal for understanding the functional characteristics of complex networks. To address the limitations of most existing community detection algorithms, which often require predefining the number of communities and lack robustness, this paper proposes a novel community detection algorithm named D-means (K-means community detection algorithm based on density peaks). This algorithm integrates the concept of density peak clustering with K-means spectral clustering, employing Chebyshev's inequality to automatically determine the number of community centers, thereby enabling unsupervised identification of community quantities. By designing a multi-dimensional evaluation framework, the comparative experiments were conducted on LFR benchmark networks (Lancichinetti-Fortunato-Radicchi benchmark networks) and real-world social network datasets. The results demonstrate that the D-means algorithm outperforms traditional algorithms in terms of ACC (accuracy), ARI (adjusted rand index), and NMI (normalized mutual information) metrics, while also achieving improvements in runtime efficiency, showcasing strong robustness. Finally, the D-means algorithm was applied to the public transportation network of Urumqi. Empirical analysis identified 12 functionally significant transportation communities, providing theoretical support for urban rail transit optimization and commercial facility layout planning.
Authors
- Y. G. Liu
- Yanqing Zu (ORCID: https://orcid.org/0009-0006-7826-4200)
- Peng Zhang (ORCID: https://orcid.org/0000-0003-2228-3569)
- Yu Qian
- Hongyan Gao
- Bo Yang
- Fei Liu
- Jing Han
Institutions
- Baoji University of Arts and Sciences (CN)
- Yulin University (CN)
Publication Details
- Journal
- Entropy
- Published
- 2026-01-29
- DOI
- https://doi.org/10.3390/e28020152
- Primary Topic
- Complex Network Analysis Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- Baoji University of Arts And Sciences
- Natural Science Basic Research Program of Shaanxi Province