TL;DR
This paper introduces Fused Partial Gromov-Wasserstein (FPGW), a novel optimal transport framework designed to compare structured objects (like graphs with node attributes) without requiring equal total mass. By enabling partial matching, FPGW provides a mathematically rigorous metric that is highly robust to noise and outliers, outperforming existing methods in graph matching, classification, and clustering tasks.
What Problem Does This Paper Address?
Graphs and other structured data combine two distinct types of information: local features (e.g., node attributes) and global geometry (e.g., edge connections). The Fused Gromov-Wasserstein (FGW) distance is a popular tool for comparing such objects because it jointly optimizes for both feature similarity and structural alignment. However, standard FGW inherits a major limitation from classical optimal transport: it requires the two objects to have equal total mass.
This "balanced mass" assumption breaks down in real-world scenarios, such as matching a small subgraph to a massive network (partial matching) or dealing with datasets corrupted by noisy outlier nodes. While Fused Unbalanced GW (FUGW) exists, its mathematical metric properties remain unclear, and it relies heavily on entropic regularization. This paper fills this theoretical and practical gap by introducing a partial matching framework that can robustly handle unequal mass.
Methods
The authors propose Fused Partial Gromov-Wasserstein (FPGW) and its mass-constrained variant (FMPGW). FPGW relaxes the marginal constraints of standard optimal transport, allowing mass to be ignored (penalized via a Total Variation term) if matching it would distort the structural or feature alignment too severely.
To solve this non-convex optimization problem, the authors introduce two main numerical approaches:
- Frank-Wolfe Solver: An iterative algorithm that computes gradients and solves a standard partial optimal transport problem at each step, utilizing efficient linear programming or Sinkhorn projections.
- Sinkhorn Solver: A regularized version that solves a relaxed lower-bound optimization problem via alternating minimization steps.
Additionally, they derive the formulation for the FPGW Barycenter, enabling the computation of a structural "average" or centroid for a collection of unbalanced graphs.
Datasets
The framework was evaluated across a diverse suite of tasks and datasets:
- Graph Clustering: A synthetic dataset generated using a Stochastic Block Model (SBM) with 30% randomly added outlier nodes.
- Graph Matching: Seven benchmark datasets with continuous node attributes (Synthetic, Enzymes, Protein, AIDS, Cuneiform, COX2, BZR) alongside the Douban social network dataset (matching an offline subgraph of 1,118 nodes to an online graph of 3,906 nodes).
- Geometry Matching: The Victoria model from the TOSCA 3D mesh dataset, segmented into partial shapes (upper vs. lower body).
- Graph Classification: Mutag and MSRC-9 (discrete attributes) and Synthetic, Cuneiform, Proteins (continuous attributes), injected with varying noise levels (0% to 30% outliers).
Key Insights and Ideas
- Rigorous Metric Properties: Unlike many unbalanced optimal transport variants that act merely as discrepancies, the authors prove that under specific cost functions, FPGW satisfies the triangle inequality and defines a true metric (or semi-metric).
- Outlier Exclusion: By allowing partial transport, FPGW can completely ignore outlier nodes during alignment. It effectively isolates structural discrepancies without letting them corrupt the core matching.
- Efficiency via C++ Solvers: Because FPGW can be decoupled into standard partial optimal transport subproblems, it can leverage highly optimized C++ linear programming solvers, making it significantly faster than entropic unbalanced methods like FUGW.
Key Results
- Graph Matching Accuracy: On the challenging Douban dataset,
sink-FPGWachieved 66.99% accuracy, drastically outperforming standard FGW (24.60%) and structural-only methods like SpecGW (0.00%). - Robustness to Noise: In graph classification tasks with up to 30% outlier noise, FPGW maintained stable accuracy (e.g., 82.5% on MUTAG), whereas standard FGW's performance plummeted from 85.6% down to 76.6%.
- Clustering Centroids: In K-means clustering experiments, FPGW successfully reconstructed clean centroids by excluding outlier noise, whereas standard FGW blurred the centroids by trying to account for every outlier node.
Limitations and Future Work
While FPGW shows excellent performance and efficiency compared to unbalanced alternatives, it is still fundamentally more computationally expensive than standard balanced FGW due to the added complexity of partial matching constraints. The authors note that their current metric proofs apply to specific formulations (where the exponent $p=1$), leaving the theoretical exploration of generalized, higher-power formulations ($p > 1$) as an open direction for future work.
Summary updated