Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Graph Positional and Structural Encoder

About

Positional and structural encodings (PSE) enable better identifiability of nodes within a graph, rendering them essential tools for empowering modern GNNs, and in particular graph Transformers. However, designing PSEs that work optimally for all graph prediction tasks is a challenging and unsolved problem. Here, we present the Graph Positional and Structural Encoder (GPSE), the first-ever graph encoder designed to capture rich PSE representations for augmenting any GNN. GPSE learns an efficient common latent representation for multiple PSEs, and is highly transferable: The encoder trained on a particular graph dataset can be used effectively on datasets drawn from markedly different distributions and modalities. We show that across a wide range of benchmarks, GPSE-enhanced models can significantly outperform those that employ explicitly computed PSEs, and at least match their performance in others. Our results pave the way for the development of foundational pre-trained graph encoders for extracting positional and structural information, and highlight their potential as a more powerful and efficient alternative to explicitly computed PSEs and existing self-supervised pre-training approaches. Our framework and pre-trained models are publicly available at https://github.com/G-Taxonomy-Workgroup/GPSE. For convenience, GPSE has also been integrated into the PyG library to facilitate downstream applications.

Semih Cant\"urk, Renming Liu, Olivier Lapointe-Gagn\'e, Vincent L\'etourneau, Guy Wolf, Dominique Beaini, Ladislav Ramp\'a\v{s}ek• 2023

Related benchmarks

TaskDatasetResultRank
Node Classificationogbn-arxiv (test)
Accuracy72.17
382
Graph ClassificationCIFAR10 (test)
Test Accuracy72.31
139
Graph ClassificationMNIST (test)
Accuracy98.08
110
Graph RegressionPeptides struct (test)
MAE0.2464
84
Graph ClassificationPeptides-func (test)
AP66.88
82
Molecular property predictionBBBP (test)
ROC-AUC0.678
64
Graph RegressionZINC subset (test)
MAE0.0648
56
Molecular property predictionTox21 (test)
ROC-AUC0.751
53
Molecular property predictionSIDER (test)
ROC-AUC0.601
53
Molecular property predictionMUV (test)
ROC-AUC75.8
49
Showing 10 of 12 rows

Other info

Follow for update