cs.SIOct 12, 2026

A temporal graph dissimilarity measure capturing epidemic spreading behavior

Authors: Salvatore Freni, Lorenzo Dall'Amico, Francesca Pistilli, Alain Barrat, Tatiana Tommasi, Ciro Cattuto

Organizations: ISI Foundation, Turin, Italy · Politecnico di Torino, Turin, Italy · Aix Marseille Univ, Univ Toulon, CNRS, CPT, Turing Center for Living Systems, Marseille, France

Abstract

Comparing temporal networks is a challenging problem in network analysis. Commonly adopted methods compare structural properties of temporal graphs and can be highly sensitive to the pre-selected features. However, temporal networks are the support of dynamical processes, and a process may take place in statistically indistinguishable ways on structurally different temporal graphs. In particular, a dissimilarity measure that compares temporal graphs based on how spreading processes unfold on them is highly desirable. In this work, we first define the Time-Shift DTW, a dissimilarity between epidemic curves that accounts for both differences in their shape and temporal shifts. We then introduce Epidemic-Aware Temporal Graph Dissimilarity (EATGD), a deterministic and differentiable dissimilarity between temporal graphs that combines an embedding-based temporal graph distance with a set of topological and temporal features. Its parameters are calibrated using stochastic SIR simulations to maximize the correlation with the Time-Shift DTW, after which graph comparisons require no further epidemic simulations. Using empirical human proximity networks from the SocioPatterns collaboration and synthetic temporal graphs, we show that EATGD captures epidemic-based graph dissimilarity and generalizes across heterogeneous network settings. Its differentiability and computational efficiency make EATGD suitable for integration into machine-learning pipelines and provide a potential loss function for training generative models to reproduce epidemic dynamics without requiring an exact reconstruction of fine-grained network structure.

Figures & tables

Appendix figures & tables2 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Weisfeiler and Leman Follow the Arrow of Time: Expressive Power of Message Passing in Temporal Event Graphs

    May 30, 2025Franziska Heeg, Jonas Sauer, Petra Mutzel +1Temporal GNNsGNN Expressivity

  2. Learning and Forecasting Multiscale Spatiotemporal Epidemic Dynamics with Lagrangian-Eulerian Graph Neural ODEs

    Oct 15, 2026Jinyi Duan, Qian Li, Biao TangEpidemic ForecastingSpatial Epidemic Modeling

  3. Time-Varying Graph Learning with Constraints on Graph Temporal Variation

    Jan 10, 2020Haruki Yokota, Koki Yamada, Yuichi Tanaka +1Graph Signal ProcessingGraph Structure Learning