Efficient Approximation of Gromov-Wasserstein Distance Using Importance Sparsification

Mengyu Li, Jun Yu, Hongteng Xu, Cheng Meng
5/26/2022
cs.LGstat.MEstat.ML

Official code: Mengyu8042/Spar-GW (7 stars, Python, last commit 2025-06-15).

Abstract

As a valid metric of metric-measure spaces, Gromov-Wasserstein (GW) distance has shown the potential for matching problems of structured data like point clouds and graphs. However, its application in practice is limited due to the high computational complexity.

Show full abstract

To overcome this challenge, we propose a novel importance sparsification method, called \textsc{Spar-GW}, to approximate GW distance efficiently. In particular, instead of considering a dense coupling matrix, our method leverages a simple but effective sampling strategy to construct a sparse coupling matrix and update it with few computations. The proposed \textsc{Spar-GW} method is applicable to the GW distance with arbitrary ground cost, and it reduces the complexity from $O(n^4)$ to $O(n^{2+δ})$ for an arbitrary small $δ>0$. Theoretically, the convergence and consistency of the proposed estimation for GW distance are established under mild regularity conditions. In addition, this method can be extended to approximate the variants of GW distance, including the entropic GW distance, the fused GW distance, and the unbalanced GW distance. Experiments show the superiority of our \textsc{Spar-GW} to state-of-the-art methods in both synthetic and real-world tasks.

View on arXivView PDF

Code Implementations(1)

Mengyu8042/Spar-GWOfficial100%

Efficient Approximation of Gromov-Wasserstein Distance Using Importance Sparsification

70Python, Jupyter NotebookJun 12, 20221 years ago

Similar Papers

Cite this paper

@article{li2022efficient,
  title  = {Efficient Approximation of Gromov-Wasserstein Distance Using Importance Sparsification},
  author = {Mengyu Li and Jun Yu and Hongteng Xu and Cheng Meng},
  year   = {2022},
  eprint = {2205.13573},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.13573}
}

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

Discussion