In machine learning, we often need to compare two datasets to see how similar they are. If both datasets live in the same "world"—for example, two sets of 2D coordinates representing house prices—we can use standard Optimal Transport (OT) to find the most efficient way to morph one into the other. This "Wasserstein distance" relies on a shared coordinate system to calculate the cost of moving data from point A to point B.
But what happens when the datasets live in different worlds? How do you compare a 3D protein structure to a 2D social network graph, or English word embeddings to French ones? These are incomparable spaces: they have different dimensions, different features, and no shared coordinate system. Standard OT fails here because you cannot measure the "distance" between a social network node and a 3D coordinate.
The Intuition: Matching by Relationships
The breakthrough for this problem is the Gromov-Wasserstein (GW) distance. Instead of trying to measure distances between points in different spaces, GW measures how well the internal relationships within each space are preserved.
Imagine you have a map of London and a map of Paris. You don't know where London is relative to Paris, but you notice that the distance between Big Ben and the London Eye is roughly the same as the distance between the Eiffel Tower and the Louvre in their respective cities. If you can find a mapping where all pairs of points in London have the same relative distances as their counterparts in Paris, you have found a structural alignment.
As Charlotte Bunne and Stefanie Jegelka demonstrate in Learning Generative Models across Incomparable Spaces, this allows us to build generative models (GW GANs) that can learn to produce 3D shapes based on 2D sketches, or translate between entirely different modalities without any pre-defined correspondence.
Breaking the Computational Barrier
While theoretically elegant, the GW distance is notoriously difficult to compute. Standard solvers scale at $O(n^3)$ or even $O(n^4)$, making them unusable for datasets with more than a few thousand points. Much of the recent research focuses on making this "relational matching" fast enough for real-world use.
- Slicing: Titouan Vayer and colleagues introduced Sliced Gromov-Wasserstein, which projects high-dimensional data onto 1D lines. Because the GW problem has a closed-form solution in one dimension, this method slashes complexity to $O(n \log n)$.
- Low-Rank Approximations: Meyer Scetbon and Marco Cuturi proposed Linear-Time Gromov Wasserstein by restricting the transport plan to be low-rank, allowing for the alignment of millions of points.
- Sparsification: Hongteng Xu developed Spar-GW, which uses "importance sparsification" to focus only on the most critical connections between datasets, achieving near-quadratic speeds.
Beyond Points: Graphs and Distributions
The power of GW learning extends beyond simple point clouds. In Gromov-Wasserstein Learning for Graph Matching and Node Embedding, Hongteng Xu and Lawrence Carin show that GW can simultaneously align nodes across different graphs and learn vector representations for them. This creates a virtuous cycle: better embeddings lead to better matching, and better matching leads to more informative embeddings.
Researchers have also extended this to more complex statistical objects. Antoine Salmona and Agnès Desolneux have explored GW distances between Gaussian Mixture Models, allowing for the comparison of entire probability distributions across different metric spaces while remaining invariant to rotations and translations.
Solving the Global Optimization Problem
A major headache in GW learning is that the underlying optimization problem is non-convex. This means algorithms often get stuck in "local minima"—finding a decent alignment but missing the perfect one.
To solve this, Junyu Chen and Binh Nguyen have pioneered Semidefinite Relaxations. By reframing the problem using Semidefinite Programming (SDP), they provide a way to find globally optimal alignments in polynomial time. Similarly, Hoang Tran and Yong Sheng Soh introduced a Sum-of-Squares hierarchy that can perfectly solve real-world shape-matching problems by systematically tightening mathematical relaxations.
Why It Works
The core reason this research direction is so successful is its shift from absolute coordinates to intrinsic geometry. By treating datasets as metric measure spaces, we stop caring about where a data point is and start caring about how it relates to its neighbors. This perspective is essential for the future of multi-modal AI, where we must integrate information from text, images, and structured data that have no obvious common ground.