Gromov-Wasserstein Learning for Graph Matching and Node Embedding

Hongteng Xu, Dixin Luo, Hongyuan Zha, Lawrence Carin

Introduction

Graph matching and node embedding are fundamental tasks in network analysis, yet they are traditionally treated as separate problems. Graph matching typically relies on raw adjacency matrices, making it highly sensitive to noise such as missing or spurious edges. Conversely, node embedding maps nodes to low-dimensional vectors but is usually designed for single-graph analysis. This paper introduces the Gromov-Wasserstein Learning (GWL) framework, which unifies these tasks into a single optimization problem, allowing graph alignments and node embeddings to mutually improve one another.

The GWL Framework

The core of the GWL framework is the minimization of a regularized Gromov-Wasserstein (GW) discrepancy. Unlike the standard Wasserstein distance, which requires nodes to reside in a shared metric space, the GW discrepancy measures the relational dissimilarity between two graphs by comparing intra-graph distances.

The GWL framework unifies relational matching between graphs with absolute matching in a shared embedding space.

As illustrated in the framework overview, the method calculates distances using both raw edge data and learned node embeddings. This dual approach allows embeddings to act as "topological smoothers," capturing broader structural context that makes the matching process resilient to local noise. The framework avoids rigid mathematical transformations (like orthogonal projections) by using the optimal transport plan as a flexible guide to pull embeddings into a shared latent manifold.

Optimization Strategy

To solve the complex, non-convex objective, the authors employ an alternating optimization approach. First, they fix the embeddings and update the optimal transport matrix using a novel proximal point method. This method, solved via the Sinkhorn-Knopp algorithm, provides significantly better numerical stability and hyperparameter robustness compared to standard entropic regularization. Second, they fix the transport matrix and update node embeddings via stochastic gradient descent, effectively pulling matched nodes closer together in the vector space.

Experimental Evaluation

The authors evaluated GWL across synthetic and real-world datasets, including K-NN graphs, Barabási-Albert (BA) networks, and communication networks from the VAST Challenge 2018.

Performance comparison on synthetic K-NN and BA graphs shows that GWL (OT and Embedding variants) maintains higher node correctness than the baseline GWD as noise increases.

Key Results

  • Robustness to Noise: On synthetic data, GWL significantly outperformed baselines that relied solely on raw data-driven distances. As shown in the performance plots, GWL maintained high node matching correctness even when noise levels (spurious nodes/edges) reached 50%.
  • Real-World Performance: In communication network matching (CallNet vs. EmailNet), the cosine-distance variant (GWL-C) achieved superior accuracy over state-of-the-art methods like GRAAL and NETAL.
  • Clinical Application: When applied to the MIMIC-III medical dataset for procedure recommendation, GWL achieved a Top-1 F1 score of 22.71%, outperforming traditional embedding methods like Word2Vec and GloVe. Clinical verification confirmed that 77% of the learned disease-procedure links were medically meaningful.

Conclusion

By unifying graph matching and node embedding through the Gromov-Wasserstein discrepancy, GWL provides a robust framework for network alignment. The joint learning process ensures that embeddings smooth out topological noise while the optimal transport plan ensures meaningful alignment. Future work will focus on scaling the algorithm for massive graphs and extending the framework to multi-graph matching scenarios.

Summary updated

BibTeX
@inproceedings{xu2019gromov,
  author = {Hongteng Xu and Dixin Luo and Hongyuan Zha and Lawrence Carin},
  title = {{Gromov-Wasserstein Learning for Graph Matching and Node Embedding}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
}
Figure