Abstract
We propose an extension of the celebrated K-means algorithm for community detection in feature-rich networks. Our least-squares criterion leads to a straightforward extension of the conventional batch K-means clustering method as an alternating optimization strategy for the criterion. By replacing the innate squared Euclidean distance with cosine distance we effectively tackle the so-called curse of dimensionality. We compare our proposed methods using synthetic and real-world data with state-of-the-art algorithms from the literature. The cosine distance-based version appears to be the overall winner, especially at larger datasets.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Arthur, D., Vassilvitskii, S.: K-means++: the advantages of careful seeding. In: Proceedings of the Eighteenth Annual ACM-SIAM Symposium on Discrete Algorithms, pp. 1027–1035 (2006)
Bianchi, F., Grattarola, D., Alippi, C.: Spectral clustering with graph neural networks for graph pooling. In: International Conference on Machine Learning (PMLR), pp. 874–883, November 2020
Bojchevski, A., Günnemanz., S.: Bayesian robust attributed graph clustering: joint learning of partial anomalies and group structure. In: Thirty-Second AAAI Conference on Artificial Intelligence (2018)
Cavallari, S., Zheng, V.W., Cai, H., Chang, K.C., Cambria., E.: Learning community embedding with community detection and node embedding on graphs. In: Proceedings of the 2017 ACM Conference on Information and Knowledge Management, pp. 377–386. ACM (2017)
Chunaev, P.: Community detection in node-attributed social networks: a survey. Comput. Sci. Rev. 37, 100286 (2020)
Citraro, S., Rossetti, G.: Identifying and exploiting homogeneous communities in labeled networks. Appl. Netw. Sci. 5(1), 1–20 (2020). https://doi.org/10.1007/s41109-020-00302-1
Combe, D., Largeron, C., Géry, M., Egyed-Zsigmond, E.: I-Louvain: an attributed graph clustering method. In: Fromont, E., De Bie, T., van Leeuwen, M. (eds.) IDA 2015. LNCS, vol. 9385, pp. 181–192. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-24465-5_16
Cross, R., Parker, A.: The Hidden Power of Social Networks: Understanding How Work Really Gets Done in Organizations. Harvard Business Press, Boston (2004)
Hubert, L., Arabie, P.: Comparing partitions. J. Classif. 2(1), 193–218 (1985). https://doi.org/10.1007/BF01908075
Interdonato, R., Atzmueller, M., Gaito, S., Kanawati, R., Largeron, C., Sala, A.: Feature-rich networks: going beyond complex network topologies. Appl. Netw. Sci. 4(1), 1–13 (2019). https://doi.org/10.1007/s41109-019-0111-x
Larremore, D., Clauset, A., Buckee, C.O.: A network approach to analyzing highly recombinant malaria parasite genes. PLoS Comput. Biol. 9(10), e1003268 (2013)
Li, Y., Wang, J., Pullman, B., Bandeira, N., Papakonstantinou, Y.: Index-based, high-dimensional, cosine threshold querying with optimality guarantees. Theory Comput. Syst. 65(1), 42–83 (2021). https://doi.org/10.1007/s00224-020-10009-6
Magara, M.B., Ojo, S.O., Zuva, T.: A comparative analysis of text similarity measures and algorithms in research paper recommender systems. In: Conference on Information Communications Technology and Society (ICTAS), pp. 1–5. IEEE (2018)
Mirkin, B.: Clustering: A Data Recovery Approach, 2nd edn. CRC Press, Boca Raton (2012)
Newman, M., Clauset, A.: Structure and inference in annotated networks. Nat. Commun. 7, 11863 (2016)
Peel, L., Larremore, D., Clauset, A.: The ground truth about metadata and community detection in networks. Sci. Adv. 3(5), e1602548 (2017)
Sen, P., Namata, G., Bilgic, M., Getoor, L., Galligher, B., Eliassi-Rad, T.: Collective classification in network data. AI Mag. 29(3), 93–106 (2008)
Shalileh, S., Mirkin, B.: A method for community detection in networks with mixed scale features at its nodes. In: Benito, R.M., Cherifi, C., Cherifi, H., Moro, E., Rocha, L.M., Sales-Pardo, M. (eds.) International Conference on Complex Networks and Their Applications, pp. 3–14. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-65347-7_1
Shalileh, S., Mirkin, B.: Summable and nonsummable data-driven models for community detection in feature-rich networks. Soc. Netw. Anal. Min. 11(1), 1–23 (2021). https://doi.org/10.1007/s13278-021-00774-8
Shchur, O., Mumme, M., Bojchevski, A., Günnemann, S.: Pitfalls of graph neural network evaluation. arXiv preprint arXiv:1811.05868 (2018)
Stanley, N., Bonacci, T., Kwitt, R., Niethammer, M., Mucha, P.J.: Stochastic block models with multiple continuous attributes. Appl. Netw. Sci. 4(1), 1–22 (2019). https://doi.org/10.1007/s41109-019-0170-z
Steinley, D.: K-means clustering: a half-century synthesis. Br. J. Math. Stat. Psychol. 59(1), 1–34 (2006)
Strehl, A., Ghosh, J.: Cluster ensembles–a knowledge reuse framework for combining multiple partitions. J. Mach. Learn. Res. 3, 583–617 (2002)
Sun, H., et al.: Network embedding for community detection in attributed networks. ACM Trans. Knowl. Disc. Data (TKDD) 14(3), 1–25 (2020)
Tsitsulin, A., Palowitch, J., Perozzi, B., Müller, E.: Graph clustering with graph neural networks. arXiv preprint arXiv:2006.16904 (2020)
Wang, C., Pan, S., Hu, R., Long, G., Jiang, J., Zhang, C.: Attributed graph clustering: a deep attentional embedding approach. arXiv preprint arXiv:1906.06532 (2019)
Yang, J., McAuley, J., Leskovec, J.: Community detection in networks with node attributes. In: IEEE 13th International Conference on Data Mining, pp. 1151–1156 (2013)
Ye, W., Zhou, L., Sun, X., Plant, C., Böhm, C.: Attributed graph clustering with unimodal normalized cut. In: Ceci, M., Hollmén, J., Todorovski, L., Vens, C., Džeroski, S. (eds.) ECML PKDD 2017. LNCS (LNAI), vol. 10534, pp. 601–616. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-71249-9_36
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Shalileh, S., Mirkin, B. (2022). An Extension of K-Means for Least-Squares Community Detection in Feature-Rich Networks. In: Benito, R.M., Cherifi, C., Cherifi, H., Moro, E., Rocha, L.M., Sales-Pardo, M. (eds) Complex Networks & Their Applications X. COMPLEX NETWORKS 2021. Studies in Computational Intelligence, vol 1072. Springer, Cham. https://doi.org/10.1007/978-3-030-93409-5_24
Download citation
DOI: https://doi.org/10.1007/978-3-030-93409-5_24
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-93408-8
Online ISBN: 978-3-030-93409-5
eBook Packages: EngineeringEngineering (R0)