Partial Gromov-Wasserstein Metric
Yikun Bai, Rocio Diaz Martin, Abihith Kothapalli, Hengrong Du, Xinran Liu, Soheil Kolouri
TL;DR
The paper defines Partial Gromov-Wasserstein (PGW) as a metric between general metric measure spaces with possibly unequal masses, by using a total-variation penalty and restricting transport plans to a mass-constrained set. It establishes PGW as a true metric on mm-spaces (up to a mass-equivalence) and shows its relationship to GW, including a limiting connection as the penalty grows. The authors develop two practically equivalent Frank-Wolfe solvers for the discrete PGW problem and extend the framework to PGW barycenters for shape interpolation. Through toy outlier tests, shape retrieval, and barycenter experiments, PGW demonstrates robustness to outliers and noise while maintaining competitive accuracy, offering a scalable and robust alternative to existing GW variants for cross-domain shape analysis. Their open-source implementation further enables application to shape matching, retrieval, and interpolation tasks in diverse domains where mass is not necessarily conserved.
Abstract
The Gromov-Wasserstein (GW) distance has gained increasing interest in the machine learning community in recent years, as it allows for the comparison of measures in different metric spaces. To overcome the limitations imposed by the equal mass requirements of the classical GW problem, researchers have begun exploring its application in unbalanced settings. However, Unbalanced GW (UGW) can only be regarded as a discrepancy rather than a rigorous metric/distance between two metric measure spaces (mm-spaces). In this paper, we propose a particular case of the UGW problem, termed Partial Gromov-Wasserstein (PGW). We establish that PGW is a well-defined metric between mm-spaces and discuss its theoretical properties, including the existence of a minimizer for the PGW problem and the relationship between PGW and GW, among others. We then propose two variants of the Frank-Wolfe algorithm for solving the PGW problem and show that they are mathematically and computationally equivalent. Moreover, based on our PGW metric, we introduce the analogous concept of barycenters for mm-spaces. Finally, we validate the effectiveness of our PGW metric and related solvers in applications such as shape matching, shape retrieval, and shape interpolation, comparing them against existing baselines. Our code is available at https://github.com/mint-vu/PGW_Metric.
