TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Template based Graph Neural Network with Optimal Transport...

Template based Graph Neural Network with Optimal Transport Distances

Cédric Vincent-Cuaz, Rémi Flamary, Marco Corneli, Titouan Vayer, Nicolas Courty

2022-05-31Graph ClassificationGraph Matching
PaperPDFCode(official)

Abstract

Current Graph Neural Networks (GNN) architectures generally rely on two important components: node features embedding through message passing, and aggregation with a specialized form of pooling. The structural (or topological) information is implicitly taken into account in these two steps. We propose in this work a novel point of view, which places distances to some learnable graph templates at the core of the graph representation. This distance embedding is constructed thanks to an optimal transport distance: the Fused Gromov-Wasserstein (FGW) distance, which encodes simultaneously feature and structure dissimilarities by solving a soft graph-matching problem. We postulate that the vector of FGW distances to a set of template graphs has a strong discriminative power, which is then fed to a non-linear classifier for final predictions. Distance embedding can be seen as a new layer, and can leverage on existing message passing techniques to promote sensible feature representations. Interestingly enough, in our work the optimal set of template graphs is also learnt in an end-to-end fashion by differentiating through this layer. After describing the corresponding learning procedure, we empirically validate our claim on several synthetic and real life graph classification datasets, where our method is competitive or surpasses kernel and GNN state-of-the-art approaches. We complete our experiments by an ablation study and a sensitivity analysis to parameters.

Results

TaskDatasetMetricValueModel
Graph ClassificationPROTEINSAccuracy82.9TFGW ADJ (L=2)
Graph ClassificationENZYMESAccuracy75.1TFGW SP (L=2)
ClassificationPROTEINSAccuracy82.9TFGW ADJ (L=2)
ClassificationENZYMESAccuracy75.1TFGW SP (L=2)

Related Papers

Density-aware Walks for Coordinated Campaign Detection2025-06-16Positional Encoding meets Persistent Homology on Graphs2025-06-06Probing Neural Topology of Large Language Models2025-06-01PackHero: A Scalable Graph-based Approach for Efficient Packer Identification2025-05-31Weisfeiler and Leman Follow the Arrow of Time: Expressive Power of Message Passing in Temporal Event Graphs2025-05-30Improving the Effective Receptive Field of Message-Passing Neural Networks2025-05-29Learning without Isolation: Pathway Protection for Continual Learning2025-05-24Graph Style Transfer for Counterfactual Explainability2025-05-23