PLoS ONENeurosciencePeer-reviewed journal article
Metrics for Graph Comparison: A Practitioner’s Guide
Abstract
Comparison of graph structure is a ubiquitous task in data analysis and machine learning, with diverse applications in fields such as neuroscience [1], cyber security [2], social network analysis [3], and bioinformatics [4], among others. Discovery and comparison of structures such as modular communities, rich clubs, hubs, and trees in data in these fields yields insight into the generative mechanisms and functional properties of the graph.\n\nOften, two graphs are compared via a pairwise distance measure, with a small distance indicating structural similarity and vice versa. Common choices include spectral distances (also known as{lambda} distances) and distances based on node affinities (such as DeltaCon [5]). However, there has of yet been no comparative study of the efficacy of these distance measures in discerning between common graph topologies and different structural scales.\n\nIn this work, we compare commonly used graph metrics and distance measures, and demonstrate their ability to discern between common topological features found in both random graph models and empirical datasets. We put forward a multi-scale picture of graph structure, in which the effect of global and local structure upon the distance measures is considered. We make recommendations on the applicability of different distance measures to empirical graph data problem based on this multi-scale view. Finally, we introduce the Python library NetComp which implements the graph distances used in this work.
- Citations
- 198
- FWCI
- 10.37
- Field percentile
- top 1%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- The Network Analysis Profiler (NAP v2.0): A web tool for visual topological comparison between multiple networks
Mikaela Koutrouli, Θεοδόσιος Θεοδοσίου, … Georgios A. Pavlopoulos·EMBnet journalPeer-reviewed·May 13, 2021
- Optimization of graph construction can significantly increase the power of structural brain network studies
Eirini Messaritaki, Stavros I. Dimitriadis, Derek Kenton Jones·NeuroImagePeer-reviewed·Jun 6, 2019
- Network Bipartitioning In The Anti-Communicability Euclidean Space
E. Estrada, J. Gomez-Gardenes·bioRxiv·May 25, 2020
- Graphlet Laplacians: graphlet-based neighbourhoods highlight topology-function and topology-disease relationships
Sam F. L. Windels, Noël Malod‐Dognin, Nataša Pržulj·bioRxiv·Nov 4, 2018
- Contact networks have small metric backbones that maintain community structure and are primary transmission subgraphs
Rion Brattig Correia, Alain Barrat, Luis Mateus Rocha·PLoS Computational BiologyPeer-reviewed·Feb 23, 2023
- Simple k-RF Metrics for Comparison of Labeled DAGs
Elahe Khayatian, Louxin Zhang·IEEE Transactions on Computational Biology and BioinformaticsPeer-reviewed·Aug 26, 2025