Skip to main content

An Extension of K-Means for Least-Squares Community Detection in Feature-Rich Networks

  • Conference paper
  • First Online:
Book cover Complex Networks & Their Applications X (COMPLEX NETWORKS 2021)

Part of the book series: Studies in Computational Intelligence ((SCI,volume 1072))

Included in the following conference series:

  • 3707 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 349.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 449.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 449.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. 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)

    Google Scholar 

  2. 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

    Google Scholar 

  3. 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)

    Google Scholar 

  4. 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)

    Google Scholar 

  5. Chunaev, P.: Community detection in node-attributed social networks: a survey. Comput. Sci. Rev. 37, 100286 (2020)

    Article  MathSciNet  MATH  Google Scholar 

  6. 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

    Article  Google Scholar 

  7. 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

    Chapter  Google Scholar 

  8. Cross, R., Parker, A.: The Hidden Power of Social Networks: Understanding How Work Really Gets Done in Organizations. Harvard Business Press, Boston (2004)

    Google Scholar 

  9. Hubert, L., Arabie, P.: Comparing partitions. J. Classif. 2(1), 193–218 (1985). https://doi.org/10.1007/BF01908075

    Article  MATH  Google Scholar 

  10. 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

    Article  Google Scholar 

  11. Larremore, D., Clauset, A., Buckee, C.O.: A network approach to analyzing highly recombinant malaria parasite genes. PLoS Comput. Biol. 9(10), e1003268 (2013)

    Article  Google Scholar 

  12. 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

    Article  MathSciNet  MATH  Google Scholar 

  13. 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)

    Google Scholar 

  14. Mirkin, B.: Clustering: A Data Recovery Approach, 2nd edn. CRC Press, Boca Raton (2012)

    MATH  Google Scholar 

  15. Newman, M., Clauset, A.: Structure and inference in annotated networks. Nat. Commun. 7, 11863 (2016)

    Article  Google Scholar 

  16. Peel, L., Larremore, D., Clauset, A.: The ground truth about metadata and community detection in networks. Sci. Adv. 3(5), e1602548 (2017)

    Article  Google Scholar 

  17. 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)

    Google Scholar 

  18. 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

  19. 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

    Article  Google Scholar 

  20. Shchur, O., Mumme, M., Bojchevski, A., Günnemann, S.: Pitfalls of graph neural network evaluation. arXiv preprint arXiv:1811.05868 (2018)

  21. 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

    Article  Google Scholar 

  22. Steinley, D.: K-means clustering: a half-century synthesis. Br. J. Math. Stat. Psychol. 59(1), 1–34 (2006)

    Article  MathSciNet  Google Scholar 

  23. Strehl, A., Ghosh, J.: Cluster ensembles–a knowledge reuse framework for combining multiple partitions. J. Mach. Learn. Res. 3, 583–617 (2002)

    MathSciNet  MATH  Google Scholar 

  24. Sun, H., et al.: Network embedding for community detection in attributed networks. ACM Trans. Knowl. Disc. Data (TKDD) 14(3), 1–25 (2020)

    Article  Google Scholar 

  25. Tsitsulin, A., Palowitch, J., Perozzi, B., Müller, E.: Graph clustering with graph neural networks. arXiv preprint arXiv:2006.16904 (2020)

  26. 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)

  27. 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)

    Google Scholar 

  28. 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

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics