Similarity-based Link Prediction from Modular Compression of Network Flows

Christopher Blöcker, Jelena Smiljanić, Ingo Scholtes, Martin Rosvall
8/30/2022
cs.SIphysics.soc-ph

Official code: mapequation/map-equation-similarity (6 stars, Python, GPL-3.0, last commit 2026-05-18).

Abstract

Node similarity scores are a foundation for machine learning in graphs for clustering, node classification, anomaly detection, and link prediction with applications in biological systems, information networks, and recommender systems. Recent works on link prediction use vector space embeddings to calculate node similarities in undirected networks with good performance.

Show full abstract

Still, they have several disadvantages: limited interpretability, need for hyperparameter tuning, manual model fitting through dimensionality reduction, and poor performance from symmetric similarities in directed link prediction. We propose MapSim, an information-theoretic measure to assess node similarities based on modular compression of network flows. Unlike vector space embeddings, MapSim represents nodes in a discrete, non-metric space of communities and yields asymmetric similarities in an unsupervised fashion. We compare MapSim on a link prediction task to popular embedding-based algorithms across 47 networks and find that MapSim's average performance across all networks is more than 7% higher than its closest competitor, outperforming all embedding methods in 11 of the 47 networks. Our method demonstrates the potential of compression-based approaches in graph representation learning, with promising applications in other graph learning tasks.

View on arXivView PDF

Code Implementations(1)

GPL-3.0
61Python, MakefileApr 27, 20216 months agoGPL-3.0

Similar Papers

Cite this paper

@article{blcker2022similaritybased,
  title  = {Similarity-based Link Prediction from Modular Compression of Network Flows},
  author = {Christopher Blöcker and Jelena Smiljanić and Ingo Scholtes and Martin Rosvall},
  year   = {2022},
  eprint = {2208.14220},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.14220}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2208.14220.svg)](https://codeofpaper.com/paper/2208.14220)

Discussion