cs.SIJun 18, 2025

A family of graph GOSPA metrics for graphs with different sizes

Authors: Jinhao Gu, Ángel F. García-Fernández, Robert E. Firth, Lennart Svensson

Organizations: Department of Electrical Engineering and Electronics, University of Liverpool, Liverpool L69 3GJ · IPTC, ETSI de Telecomunicación, Universidad Politécnica de Madrid, 28040 Madrid, Spain · STFC Hartree Centre, WA4 4AD Daresbury, UK · Department of Electrical Engineering, Chalmers University of Technology, SE-412 96 Gothenburg, Sweden

Abstract

This paper proposes a family of graph metrics for measuring distances between graphs of different sizes. The proposed metric family defines a general form of the graph generalised optimal sub-pattern assignment (GOSPA) metric and is also proved to satisfy the metric properties. Similarly to the graph GOSPA metric, the proposed graph GOSPA metric family also penalises the node attribute costs for assigned nodes between the two graphs, and the number of unassigned nodes. However, the proposed family of metrics provides more general penalties for edge mismatches than the graph GOSPA metric. This paper also shows that the graph GOSPA metric family can be approximately computed using linear programming. Simulation experiments are performed to illustrate the characteristics of the proposed graph GOSPA metric family with different choices of hyperparameters. The benefits of the proposed graph GOSPA metric family for classification tasks are also shown on real-world datasets.

Figures & tables

Explore similar work

CardsList
  1. kk-Nearest Neighbors in Gromov--Wasserstein Space

    Jun 9, 2026Kaitlyn Hohmeier, Nicolas Fraiman, Caroline MoosmuellerGromov--WassersteinApproximate Nearest-Neighbor Search

  2. Graph Matching Relaxations and Amortization for Supervised Graph Prediction

    Sep 14, 2026Federico Méndez, Paul Krzakala, Gabriel Melo +3Graph Representation LearningFused Sinkhorn-Localized Similarity

  3. Diffusion enabled Optimal Transport distances for graph matching

    Jul 7, 2026Iman Seyedi, Francesco ArchettiGraph Representation LearningGromov--Wasserstein