Skip to main content
QUICK REVIEW

[Paper Review] Linear-Time Gromov Wasserstein Distances using Low Rank Couplings and Costs

Meyer Scetbon, Gabriel Peyré|arXiv (Cornell University)|Jun 2, 2021
Topological and Geometric Data AnalysisComputer Science40 references8 citations
TL;DR

This paper proposes a linear-time Gromov-Wasserstein (GW) distance computation by leveraging low-rank couplings and low-rank cost matrices, enabling efficient, scalable alignment of point clouds in heterogeneous spaces. By combining low-rank factorization of the coupling with low-rank approximations of input cost matrices, the method achieves $O(n)$ complexity—orders of magnitude faster than state-of-the-art entropic GW—while maintaining competitive GW loss and alignment accuracy on both synthetic and real-world datasets like single-cell genomics data.

ABSTRACT

The ability to align points across two related yet incomparable point clouds (e.g. living in different spaces) plays an important role in machine learning. The Gromov-Wasserstein (GW) framework provides an increasingly popular answer to such problems, by seeking a low-distortion, geometry-preserving assignment between these points. As a non-convex, quadratic generalization of optimal transport (OT), GW is NP-hard. While practitioners often resort to solving GW approximately as a nested sequence of entropy-regularized OT problems, the cubic complexity (in the number $n$ of samples) of that approach is a roadblock. We show in this work how a recent variant of the OT problem that restricts the set of admissible couplings to those having a low-rank factorization is remarkably well suited to the resolution of GW: when applied to GW, we show that this approach is not only able to compute a stationary point of the GW problem in time $O(n^2)$, but also uniquely positioned to benefit from the knowledge that the initial cost matrices are low-rank, to yield a linear time $O(n)$ GW approximation. Our approach yields similar results, yet orders of magnitude faster computation than the SoTA entropic GW approaches, on both simulated and real data.

Motivation & Objective

  • Address the high computational cost of Gromov-Wasserstein (GW) distances, which are NP-hard and typically solved via expensive $O(n^3)$ entropic regularization.
  • Overcome the bottleneck of iterative $C_t = A P_{t-1} B$ computations in GW solvers by exploiting low-rank structure in both cost matrices and couplings.
  • Develop a scalable GW approximation that maintains fidelity to the original GW formulation while achieving linear time complexity.
  • Enable application of GW to large-scale datasets—such as single-cell genomics—beyond the reach of standard entropic solvers.
  • Demonstrate that low-rank constraints on couplings can achieve GW performance comparable to entropic regularization, but orders of magnitude faster.

Proposed method

  • Apply low-rank factorization to the coupling matrix $P$, restricting it to the form $P = U V^T$ with $U, V \in \mathbb{R}^{n \times r}$, reducing degrees of freedom and enabling faster optimization.
  • Approximate the input cost matrices $A$ and $B$ (e.g., squared Euclidean distances) using low-rank decompositions, assuming intrinsic dimensionality $d, d' \ll n, m$.
  • Use a variant of the Sinkhorn algorithm adapted to low-rank couplings, solving the regularized GW problem via alternating minimization on the low-rank factors.
  • Iteratively update the synthetic cost matrix $C_t = A P_{t-1} B$ using low-rank approximations to avoid $O(n^3)$ operations per iteration.
  • Introduce a rank-aware optimization scheme that balances GW loss and coupling rank $r$, with $r$ chosen adaptively to maintain accuracy.
  • Leverage the fact that low-rank cost matrices and couplings lead to a linear-time algorithm when $r \ll n$, achieving $O(n)$ complexity instead of $O(n^3)$.

Experimental results

Research questions

  • RQ1Can low-rank factorization of the coupling matrix reduce the computational complexity of Gromov-Wasserstein distance computation from $O(n^3)$ to $O(n)$?
  • RQ2Does exploiting low-rank structure in both input cost matrices and coupling matrices preserve GW accuracy while enabling linear-time computation?
  • RQ3How does the performance of low-rank GW compare to state-of-the-art entropic GW in terms of GW loss and alignment quality on real-world datasets?
  • RQ4Can the proposed method scale to large-scale datasets—such as single-cell genomics—where entropic GW becomes infeasible?
  • RQ5Is the low-rank GW approach robust to rank selection and regularization parameters, and does it maintain fidelity to the original GW formulation?

Key findings

  • The proposed low-rank GW method achieves $O(n)$ time complexity by exploiting low-rank structure in both cost matrices and couplings, enabling linear-time computation.
  • On synthetic data with $n=5000$, the method reaches GW loss comparable to the state-of-the-art entropic approach but is orders of magnitude faster, even at $r = n/100$.
  • On the large-scale BRAIN dataset ($n=34,079$, $m=27,906$), the method successfully computes GW alignments where entropic solvers fail due to memory and time constraints.
  • The method outperforms MREC in alignment accuracy on the BRAIN dataset, achieving higher fraction of correctly matched labeled cells across multiple rank settings.
  • The approach is robust to rank choice and does not require fine-tuning of the regularization parameter $\varepsilon$, unlike entropic methods.
  • The method maintains high fidelity to the original GW formulation while achieving significant speedups, making GW applicable to previously intractable problems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.