HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Learning Long Range Dependencies on Graphs via Random Walks

Dexiong Chen; Till Hendrik Schulz; Karsten Borgwardt

Learning Long Range Dependencies on Graphs via Random Walks

Abstract

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.

Code Repositories

borgwardtlab/neuralwalker
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
graph-classification-on-cifar10-100kNeuralWalker
Accuracy (%): 80.027 ± 0.185
graph-classification-on-mnistNeuralWalker
Accuracy: 98.760 ± 0.079
graph-classification-on-peptides-funcNeuralWalker
AP: 0.7096 ± 0.0078
graph-regression-on-peptides-structNeuralWalker
MAE: 0.2463 ± 0.0005
graph-regression-on-zincNeuralWalker
MAE: 0.065 ± 0.001
link-prediction-on-pcqm-contactNeuralWalker
MRR-ext-filtered: 0.4707 ± 0.0007
node-classification-on-clusterNeuralWalker
Accuracy: 78.189 ± 0.188
node-classification-on-coco-spNeuralWalker
macro F1: 0.4398 ± 0.0033
node-classification-on-pascalvoc-sp-1NeuralWalker
macro F1: 0.4912 ± 0.0042
node-classification-on-patternNeuralWalker
Accuracy: 86.977 ± 0.012
node-classification-on-pokecNeuralWalker
Accuracy: 86.46 ± 0.09

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Learning Long Range Dependencies on Graphs via Random Walks | Papers | HyperAI