Abstract
The Gromov–Wasserstein (GW) distance and its fused extension (FGW) are powerful tools for comparing heterogeneous data. Their computation is, however, challenging since both distances are based on non-convex, quadratic optimal transport (OT) problems. Leveraging 1D OT, a sliced version of GW has been proposed to lower the computational burden. Unfortunately, this sliced version is restricted to Euclidean geometry and loses invariance to isometries, strongly limiting its application in practice. To overcome these issues, we propose a novel slicing technique for GW as well as for FGW that is based on an appropriate lower bound, hierarchical OT, and suitable quadrature rules for the underlying 1D OT problems. Our novel sliced FGW significantly reduces the numerical effort while remaining invariant to isometric transformations and allowing the comparison of arbitrary geometries. We show that our new distance actually defines a pseudo-metric for structured spaces that bounds FGW from below and study its interpolation properties between sliced Wasserstein and GW. Since we avoid the underlying quadratic program, our sliced distance is numerically more robust and reliable than the original GW and FGW distance; especially in the context of shape retrieval and graph isomorphism testing.
Introduction
Comparing datasets that reside in different metric spaces—such as a 2D social network graph and a 3D protein structure—requires a robust mathematical framework. The Gromov-Wasserstein (GW) distance, and its feature-aware extension, Fused GW (FGW), have emerged as standard tools for this task. However, calculating these distances involves solving non-convex quadratic optimization problems that are NP-hard in general, leading to significant computational overhead.
While "sliced" versions of these distances exist to simplify the math by projecting high-dimensional data into 1D, they have historically been limited to Euclidean spaces and fail to maintain isometric invariance. This means that simple transformations like rotating a 3D shape would change the calculated distance, a major drawback for real-world applications. This paper introduces the Sliced Fused Third Lower Bound (SFTLB), a novel distance metric that overcomes these limitations by being both computationally efficient and geometrically invariant.
Methods
The SFTLB approach bridges the gap between speed and geometric accuracy through a hierarchical slicing technique. The method is built on three pillars:
- Generalizing Lower Bounds: The authors extend the "Third Lower Bound" (TLB) of GW to the fused case (FTLB), allowing for the simultaneous handling of structural and feature data.
- Hierarchical Slicing: The FTLB is reformulated as a standard Wasserstein distance between "local distance distributions," which represent how far each point is from all other points in its own space.
- Numerical Quadrature: By applying numerical quadrature to sample specific quantiles of these distributions, the problem is transformed into a high-speed Sliced Wasserstein (SW) calculation.
The resulting workflow involves sorting distance matrix rows, sampling quantiles, and combining them with features to form a point cloud in a new Euclidean space where the Sliced Wasserstein distance is computed.
Key Results and Evaluation
The researchers evaluated SFTLB across diverse benchmarks, including 2D point clouds, 3D animal meshes, high-resolution human meshes (FAUST), and synthetic graphs for isomorphism testing.
- Massive Speedups: SFTLB demonstrates massive speedups. On graphs with 10,000 nodes, the standard FGW solver required approximately 178 seconds, whereas SFTLB completed the task in just 1.18 seconds—a 150x improvement.
- Robustness and Accuracy: In 3D shape classification tasks (FAUST-1000), SFTLB achieved 40.1% accuracy, significantly outperforming the standard GW solver's 33.3%. This suggests that by avoiding the non-convex quadratic program, SFTLB is less prone to getting stuck in local minima.
- Graph Isomorphism: The method achieved near 100% accuracy in identifying isomorphic graphs, outperforming established baselines like the Weisfeiler-Lehman kernel in feature-rich scenarios.
Discussion
A key insight of this work is the restoration of isometry invariance. Because the method operates on local distance distributions rather than global coordinates, it is inherently invariant to rotations and translations. Furthermore, the authors prove that SFTLB defines a pseudo-metric, providing a rigorous theoretical foundation.
Despite its advantages, SFTLB is a lower bound approximation of the true FGW distance. While highly effective for classification and retrieval, it may not be suitable for tasks requiring an exact transport plan. Future work may focus on further accelerating the initial $O(n^2 \log n)$ calculation of local distance distributions using advanced algorithms like sweep-line techniques.
Conclusion
SFTLB offers a powerful alternative for comparing structured data, combining the theoretical rigor of Gromov-Wasserstein distances with the practical speed of sliced optimal transport. Its robustness to geometric transformations and numerical efficiency make it a promising tool for large-scale graph analysis and 3D shape retrieval.
Summary updated