Graph GOSPA metric: a metric to measure the discrepancy between graphs of different sizes

Jinhao Gu, Ángel F. García-Fernández, Robert E. Firth, Lennart Svensson
11/10/2023
cs.SIcs.LGeess.SP

Official code: JinhaoGu/The-graph-GOSPA-metric (2 stars, MIT, last commit 2025-01-29).

Abstract

This paper proposes a metric to measure the dissimilarity between graphs that may have a different number of nodes. The proposed metric extends the generalised optimal subpattern assignment (GOSPA) metric, which is a metric for sets, to graphs. The proposed graph GOSPA metric includes costs associated with node attribute errors for properly assigned nodes, missed and false nodes and edge mismatches between graphs. The computation of this metric is based on finding the optimal assignments between nodes in the two graphs, with the possibility of leaving some of the nodes unassigned. We also propose a lower bound for the metric, which is also a metric for graphs and is computable in polynomial time using linear programming. The metric is first derived for undirected unweighted graphs and it is then extended to directed and weighted graphs. The properties of the metric are demonstrated via simulated and empirical datasets.

View on arXivView PDF

Code Implementations(1)

MIT

Metric for graphs with different sizes

21MATLAB, PythonMay 8, 20241 years agoMIT

Cite this paper

@article{gu2023graph,
  title  = {Graph GOSPA metric: a metric to measure the discrepancy between graphs of different sizes},
  author = {Jinhao Gu and Ángel F. García-Fernández and Robert E. Firth and Lennart Svensson},
  year   = {2023},
  eprint = {2311.07596},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.07596v2}
}

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

Discussion