English

Evaluating Node Embeddings of Complex Networks

Social and Information Networks 2022-06-22 v2 Machine Learning Physics and Society

Abstract

Graph embedding is a transformation of nodes of a graph into a set of vectors. A~good embedding should capture the graph topology, node-to-node relationship, and other relevant information about the graph, its subgraphs, and nodes. If these objectives are achieved, an embedding is a meaningful, understandable, compressed representations of a network that can be used for other machine learning tools such as node classification, community detection, or link prediction. The main challenge is that one needs to make sure that embeddings describe the properties of the graphs well. As a result, selecting the best embedding is a challenging task and very often requires domain experts. In this paper, we do a series of extensive experiments with selected graph embedding algorithms, both on real-world networks as well as artificially generated ones. Based on those experiments we formulate two general conclusions. First, if one needs to pick one embedding algorithm before running the experiments, then node2vec is the best choice as it performed best in our tests. Having said that, there is no single winner in all tests and, additionally, most embedding algorithms have hyperparameters that should be tuned and are randomized. Therefore, our main recommendation for practitioners is, if possible, to generate several embeddings for a problem at hand and then use a general framework that provides a tool for an unsupervised graph embedding comparison. This framework (introduced recently in the literature and easily available on GitHub repository) assigns the divergence score to embeddings to help distinguish good ones from bad ones.

Keywords

Cite

@article{arxiv.2102.08275,
  title  = {Evaluating Node Embeddings of Complex Networks},
  author = {Arash Dehghan-Kooshkghazi and Bogumił Kamiński and Łukasz Kraiński and Paweł Prałat and François Théberge},
  journal= {arXiv preprint arXiv:2102.08275},
  year   = {2022}
}

Comments

29 pages, 19 figures

R2 v1 2026-06-23T23:13:06.167Z