Abstract
We present a scalable neural method to solve the Gromov-Wasserstein (GW) Optimal Transport (OT) problem with the inner product cost. In this problem, given two distributions supported on (possibly different) spaces, one has to find the most isometric map between them. Our proposed approach uses neural networks and stochastic mini-batch optimization which allows to overcome the limitations of existing GW methods such as their poor scalability with the number of samples and the lack of out-of-sample estimation. To demonstrate the effectiveness of our proposed method, we conduct experiments on the synthetic data and explore the practical applicability of our method to the popular task of the unsupervised alignment of word embeddings.
Introduction: Beyond Standard Optimal Transport
Optimal Transport (OT) provides a mathematical framework for transforming one probability distribution into another with minimal cost. However, standard OT requires both distributions to share a common coordinate system or ground metric. In many real-world scenarios, such as aligning word embeddings across different languages or integrating multi-omics data, distributions reside in entirely different spaces.
Gromov-Wasserstein (GW) transport addresses this by aligning distributions based on their internal relational structures rather than absolute positions. Instead of minimizing the distance between points $x$ and $y$, GWOT minimizes the discrepancy between the distances (or similarities) of pairs of points in the source space versus their corresponding pairs in the target space.
The "Correlation Trap" in Existing Solvers
A critical observation of this work is the "Correlation Trap." Most current GWOT solvers are discrete; they solve a matching problem on a finite sample and then use a neural network to interpolate for out-of-sample estimation. These methods often rely on the assumption that training batches are somewhat correlated—meaning the $i$-th sample in the source batch is likely related to the $i$-th sample in the target batch.
To expose this dependency, the authors propose a benchmark using a parameter $\alpha \in [0, 1]$ to control the "correlatedness" of training data. At $\alpha=1$, samples are perfectly aligned, while at $\alpha=0$, they are completely independent.
Experiments reveal that while baseline solvers like AlignGW and FlowGW perform well when $\alpha$ is high, their performance collapses in the uncorrelated regime ($\alpha=0$). This highlights a fundamental failure in handling truly "blind" alignment tasks.
NeuralGW: A Scalable Continuous Approach
To overcome these limitations, the authors introduce NeuralGW, a purely continuous solver. Unlike discrete-then-continuous hybrids, NeuralGW treats distributions as continuous entities from the outset. It employs a minimax optimization setup involving:
- A Transport Map ($T$): A neural network that performs the transformation.
- A Rotation Matrix ($P$): To align global orientations.
- A Critic ($f$): To evaluate the transport quality.
By utilizing stochastic mini-batch optimization, NeuralGW scales effectively to datasets with hundreds of thousands of samples, bypassing the $O(N^2)$ or $O(N^3)$ complexity of discrete methods.
Experimental Evaluation and Results
The method was tested on high-dimensional word embedding datasets (Twitter-GloVe and MUSE-BPEmb) and biological single-cell data.
- Large-Scale Alignment: On the Twitter-GloVe task (380k samples), NeuralGW was the only solver to maintain high accuracy in the uncorrelated setup ($\alpha=0$), significantly outperforming baselines in Top-k accuracy and cosine similarity.
- Biological Stress Test: On a bone marrow dataset (6,224 samples), the task proved significantly harder. While NeuralGW scaled well, all tested GW solvers struggled to perfectly capture the complex geometry of single-cell RNA profiling, indicating that GWOT remains a challenging open problem for complex biological manifolds.
Conclusion
NeuralGW represents a significant step toward scalable, general-purpose Gromov-Wasserstein solvers. By avoiding the "correlation trap" and embracing a continuous optimization framework, it enables the alignment of large-scale, independent datasets. However, challenges remain regarding the stability of adversarial training and performance on smaller, highly complex datasets. Future research will focus on stabilizing the minimax objective to create more robust general-purpose tools for cross-domain distribution alignment.
Summary updated