An embedding-based distance for temporal graphs

Lorenzo Dall'Amico, Alain Barrat, Ciro Cattuto
1/23/2024
cs.SIcs.LGphysics.soc-ph

No official code found. Best implementation: lorenzodallamico/G-DynaDist (8 stars, AGPL-3.0, last commit 2025-10-06).

Abstract

Temporal graphs are commonly used to represent time-resolved relations between entities in many natural and artificial systems. Many techniques were devised to investigate the evolution of temporal graphs by comparing their state at different time points. However, quantifying the similarity between temporal graphs as a whole is an open problem. Here, we use embeddings based on time-respecting random walks to introduce a new notion of distance between temporal graphs. This distance is well-defined for pairs of temporal graphs with different numbers of nodes and different time spans. We study the case of a matched pair of graphs, when a known relation exists between their nodes, and the case of unmatched graphs, when such a relation is unavailable and the graphs may be of different sizes. We use empirical and synthetic temporal network data to show that the distance we introduce discriminates graphs with different topological and temporal properties. We provide an efficient implementation of the distance computation suitable for large-scale temporal graphs.

View on arXivView PDF

Code Implementations(1)

AGPL-3.0
82Python, Jupyter NotebookJun 5, 20231 years agoAGPL-3.0

Similar Papers

Cite this paper

@article{dallamico2024embeddingbased,
  title  = {An embedding-based distance for temporal graphs},
  author = {Lorenzo Dall'Amico and Alain Barrat and Ciro Cattuto},
  year   = {2024},
  eprint = {2401.12843},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.12843v3}
}

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/2401.12843.svg)](https://codeofpaper.com/paper/2401.12843)

Discussion