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

Learning Long Range Dependencies on Graphs via Random Walks

About

Message-passing graph neural networks (GNNs) excel at capturing local relationships but struggle with long-range dependencies in graphs. In contrast, graph transformers (GTs) enable global information exchange but often oversimplify the graph structure by representing graphs as sets of fixed-length vectors. This work introduces a novel architecture that overcomes the shortcomings of both approaches by combining the long-range information of random walks with local message passing. By treating random walks as sequences, our architecture leverages recent advances in sequence models to effectively capture long-range dependencies within these walks. Based on this concept, we propose a framework that offers (1) more expressive graph representations through random walk sequences, (2) the ability to utilize any sequence model for capturing long-range dependencies, and (3) the flexibility by integrating various GNN and GT architectures. Our experimental evaluations demonstrate that our approach achieves significant performance improvements on 19 graph and node benchmark datasets, notably outperforming existing methods by up to 13\% on the PascalVoc-SP and COCO-SP datasets. The code is available at https://github.com/BorgwardtLab/NeuralWalker.

Dexiong Chen, Till Hendrik Schulz, Karsten Borgwardt• 2024

Related benchmarks

TaskDatasetResultRank
Graph Classificationogbg-molpcba (test)
AP30.86
206
Graph RegressionZINC (test)
MAE0.053
204
Graph RegressionPeptides struct LRGB (test)
MAE0.2463
178
Graph ClassificationCIFAR10 (test)
Test Accuracy76.903
139
Graph ClassificationPeptides-func LRGB (test)
AP0.7096
136
Node ClassificationCLUSTER (test)
Test Accuracy78.189
113
Graph ClassificationMNIST (test)
Accuracy98.692
110
Node ClassificationPATTERN (test)
Test Accuracy86.977
88
Node Classificationpokec (test)
Accuracy86.46
66
Graph property predictionOGBG-CODE2 (test)
F119.57
57
Showing 10 of 19 rows

Other info

Code

Follow for update