The Z-Gromov-Wasserstein Distance
Martin Bauer, Facundo Mémoli, Tom Needham, Mao Nishino
TL;DR
This work introduces the Z-Gromov-Wasserstein (Z-GW) distance, a unifying framework that extends the classical Gromov-Wasserstein distance to measure networks whose kernel takes values in a fixed metric space Z. By defining Z-networks as measure spaces equipped with a Z-valued kernel and the GW_p^Z objective, the authors establish that GW_p^Z is a metric on Z-networks up to weak isomorphism when Z is separable, and they prove fundamental properties including existence of optimal couplings, separability, completeness (iff Z is complete), path-connectedness, and geodesicity when Z is geodesic. They show that many known GW variants (e.g., Wasserstein, GW, ultrametric GW, fused GW, spectral GW, dynamic metric-space GW) arise as special cases under appropriate choices of Z, providing a unified theory and enabling new analyses of complex data types (attributed graphs, shape graphs, probabilistic metric spaces, etc.). The work also develops lower bounds and practical approximations (e.g., via R^n embeddings) and outlines a numerical algorithm, making the theory actionable for applications in machine learning and data analysis. Overall, the Z-GW framework offers a scalable, theoretically grounded path to comparing highly structured objects beyond traditional metric spaces, with broad implications for theory, computation, and applications in data science.
Abstract
The Gromov-Wasserstein (GW) distance is a powerful tool for comparing metric measure spaces which has found broad applications in data science and machine learning. Driven by the need to analyze datasets whose objects have increasingly complex structure (such as node and edge-attributed graphs), several variants of GW distance have been introduced in the recent literature. With a view toward establishing a general framework for the theory of GW-like distances, this paper considers a vast generalization of the notion of a metric measure space: for an arbitrary metric space $Z$, we define a $Z$-network to be a measure space endowed with a kernel valued in $Z$. We introduce a method for comparing $Z$-networks by defining a generalization of GW distance, which we refer to as $Z$-Gromov-Wasserstein ($Z$-GW) distance. This construction subsumes many previously known metrics and offers a unified approach to understanding their shared properties. This paper demonstrates that the $Z$-GW distance defines a metric on the space of $Z$-networks which retains desirable properties of $Z$, such as separability, completeness, and geodesicity. Many of these properties were unknown for existing variants of GW distance that fall under our framework. Our focus is on foundational theory, but our results also include computable lower bounds and approximations of the distance which will be useful for practical applications.
