NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Gromov-Wasserstein Factorization Models for Graph Clustering

Hongteng Xu

Abstract

Traditional factorization methods like PCA and NMF are designed for vectorized data with aligned features. However, graphs often lack node-to-node correspondence and vary significantly in size and topology. This paper presents Gromov-Wasserstein Factorization (GWF), a method that treats graphs as relational structures. By representing observed graphs as barycenters of learnable structural "atoms," GWF provides an interpretable and scalable framework for graph clustering and embedding.

Introduction

Factorization is a fundamental tool in machine learning, yet its application to graph data remains challenging. Unlike vectors, graphs are "unaligned"—they have different numbers of nodes and no inherent ordering. While Graph Neural Networks (GNNs) can generate embeddings, they often rely on node attributes and lack the explicit reconstruction logic found in classical factorization. GWF addresses this by working directly on the structural relationships within graphs, enabling the decomposition of complex networks into fundamental motifs.

The Gromov-Wasserstein Factorization Model

The core of GWF is the Gromov-Wasserstein (GW) discrepancy. Unlike the standard Wasserstein distance, which requires a shared coordinate system, the GW discrepancy compares the internal relational structures of two graphs. It measures the minimum distortion required to map the relationships of one graph onto another.

In the GWF framework, an observed graph is modeled as a GW barycenter—a weighted structural average—of a set of $K$ learnable template graphs called "atoms" ($U$). For each observed graph, the model learns an embedding $\lambda$ (a weight vector on a simplex) that represents the contribution of each atom to that specific graph's structure.

Conceptual illustration of GWF: an observed graph (red star) is approximated by a barycenter (blue star) of learned atoms (orange stars).

Computational Architecture

To optimize the GWF model, the authors "unroll" the iterative optimization loops required for GW distances and barycenters into differentiable computational modules. This allows for end-to-end training using standard backpropagation.

The architecture consists of two primary components:

  1. GWD Module: Approximates the GW discrepancy between graphs.
  2. GWB Module: Approximates the GW barycenter of the learned atoms.

The authors utilize the Envelope Theorem to simplify the gradient computation, avoiding the need to backpropagate through every iteration of the internal optimal transport solvers. Two optimization variants are provided: one based on the Proximal Point Algorithm (PPA) for undirected graphs and another based on BADMM for directed graphs.

Computational architecture of the GWF model, showing (a) stacked modules and (b) the internal structure of a GW barycenter layer.

Experimental Evaluation

The GWF model was evaluated on several benchmark datasets, including molecular graphs (AIDS), protein structures (PROTEIN), and social networks (IMDB-B). Notably, IMDB-B contains no node attributes, requiring the model to rely entirely on topology.

Key Results

  • Clustering Accuracy: GWF consistently outperformed state-of-the-art baselines. On the AIDS dataset, it achieved 99.5% accuracy, compared to 91.0% for the Fused GW Kernel. On IMDB-B, it reached 60.2% accuracy, demonstrating its effectiveness on purely structural data.
  • Interpretability: The learned atoms represent significant structural motifs (e.g., cliques, stars) relevant to the dataset, providing insights into the underlying data distribution.
  • Scalability: Unlike kernel methods that scale quadratically with the number of graphs ($O(I^2)$), GWF scales linearly ($O(LKI)$), where $K$ is the number of atoms.

Conclusion

Gromov-Wasserstein Factorization offers a robust, interpretable, and scalable approach to graph analysis. By focusing on relational "shapes" rather than fixed node positions, it bridges the gap between classical factorization and modern graph representation learning. Future work will aim to reduce the $O(N^3)$ complexity of the internal GW solvers to handle massive-scale networks and explore applications in generative modeling.

Summary updated

BibTeX
@inproceedings{xu2020gromov,
  author = {Hongteng Xu},
  title = {{Gromov-Wasserstein Factorization Models for Graph Clustering}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  url = {https://openreview.net/forum?id=pstxYMJmf__},
}
Figure