Learning Long Range Dependencies on Graphs via Random Walks
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). Builds on 53 of its 71 references that are in the map. First posted on arXiv 5 Jun 2024.
Builds on
53 of 71 references.
References · 53
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2017Graph Attention Networkscited by 8,854
- 2017Inductive Representation Learning on Large Graphscited by 6,284
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2018How Powerful are Graph Neural Networks?cited by 4,355
- 2017Neural Message Passing for Quantum Chemistrycited by 3,460
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
- 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,414
- 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,148
38 more
- 2016node2vec: Scalable Feature Learning for Networkscited by 1,913
- 2014DeepWalk: Online Learning of Social Representationscited by 1,543
- 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,051
- 2019Strategies for Pre-training Graph Neural Networkscited by 964
- 2020Learning to Simulate Complex Physics with Graph Networkscited by 867
- 2019Graph Neural Networks for Social Recommendationcited by 711
- 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 702
- 2020Benchmarking Graph Neural Networkscited by 672
- 2020On the Bottleneck of Graph Neural Networks and its Practical Implicationscited by 624
- 2021Rethinking Graph Transformers with Spectral Attentioncited by 468
- 2018Lipschitz regularity of deep neural networks: analysis and efficient estimationcited by 413
- 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 404
- 2017Residual Gated Graph ConvNetscited by 341
- 2023A critical look at the evaluation of GNNs under heterophily: Are we really making progress?cited by 332
- 2021Graph Neural Networks with Learnable Structural and Positional Representationscited by 326
- 2020Improving Graph Neural Network Expressivity via Subgraph Isomorphism Countingcited by 312
- 2021Large Scale Learning on Non-Homophilous Graphs: New Benchmarks and Strong Simple Methodscited by 309
- 2022Long Range Graph Benchmarkcited by 258
- 2022Representing Long-Range Context for Graph Neural Networks with Global Attentioncited by 193
- 2022Structure-Aware Transformer for Graph Representation Learningcited by 191
- 2021Inductive Representation Learning in Temporal Networks via Causal Anonymous Walkscited by 188
- 2024The Illusion of State in State-Space Modelscited by 181
- 2023Exphormer: Sparse Transformers for Graphscited by 166
- 2023Graph Inductive Biases in Transformers without Message Passingcited by 150
- 2021GraphiT: Encoding Graph Structure in Transformerscited by 146
- 2022NAGphormer: A Tokenized Graph Transformer for Node Classification in Large Graphscited by 137
- 2024Graph-Mamba: Towards Long-Range Graph Sequence Modeling with Selective State Spacescited by 132
- 2018Universal approximations of invariant maps by neural networkscited by 127
- 2024Graph Mamba: Towards Learning on Graphs with State Space Modelscited by 84
- 2023Where Did the Gap Go? Reassessing the Long-Range Graph Benchmarkcited by 83
- 2024Polynormer: Polynomial-Expressive Graph Transformer in Linear Timecited by 64
- 2021Walking Out of the Weisfeiler Leman Hierarchy: Graph Learning Beyond Message Passingcited by 46
- 2022Tree Mover's Distance: Bridging Graph Metrics and Stability of Graph Neural Networkscited by 39
- 2020Convolutional Kernel Networks for Graph-Structured Datacited by 38
- 2023State-space Models with Layer-wise Nonlinearity are Universal Approximators with Exponential Decaying Memorycited by 38
- 2021MLPF: Efficient machine-learned particle-flow reconstruction using graph neural networkscited by 36
- 2023Path Neural Networks: Expressive and Accurate Graph Neural Networkscited by 32
- 2022Algorithm and System Co-design for Efficient Subgraph-based Graph Representation Learningcited by 28
50 most cited of 53 All 53 (JSON)
Built on by
Citing papers per year: 2024: 2; 2025: 10; 2026: 6.
18 papers.
Sort:
By area:
- 2025Beyond Message Passing: Neural Graph Pattern Machinecited by 17
- 2025Flatten Graphs as Sequences: Transformers are Scalable Graph Generatorscited by 12
- 2025Flock: A Knowledge Graph Foundation Model via Learning on Random Walkscited by 8
- 2025Toward a Graph Foundation Model: Pre-Training Transformers With Random Walkscited by 2
- 2025Chimera: State Space Models Beyond Sequencescited by 2
- 2025Generalizable Insights for Graph Transformers in Theory and Practicecited by 2
- 2026AI Research Agents Narrow Scientific Explorationcited by 2
- 2024Greener GRASS: Enhancing GNNs with Encoding, Rewiring, and Attentioncited by 1
- 2025Random Search Neural Networks for Efficient and Expressive Graph Learningcited by 1
- 2026From Message-Passing to Linearized Graph Sequence Modelscited by 1
- 2026End-to-End Subgraph Detection with GraphDETRcited by 1
- 2024Differential Encoding for Improved Representation Learning over Graphscited by 0
6 more
- 2025Are Graph Attention Networks Able to Model Structural Information?cited by 0
- 2025Caterpillar GNN: Replacing Message Passing with Efficient Aggregationcited by 0
- 2025Learn to Jump: Adaptive Random Walks for Long-Range Propagation through Graph Hierarchiescited by 0
- 2026Plain Transformers are Surprisingly Powerful Link Predictorscited by 0
- 2026DuConTE: Dual-Granularity Text Encoder with Topology-Constrained Attention for Text-attributed Graphscited by 0
- 2026GLACIER: Rethinking Mass Spectrum Prediction as an Object Detection Problemcited by 0
- 2026GLACIER: Rethinking Mass Spectrum Prediction as an Object Detection Problem28 Jun 2026
- 2026End-to-End Subgraph Detection with GraphDETR4 Jun 2026
- 2026AI Research Agents Narrow Scientific Exploration27 May 2026
- 2026From Message-Passing to Linearized Graph Sequence Models12 May 2026
- 2026DuConTE: Dual-Granularity Text Encoder with Topology-Constrained Attention for Text-attributed Graphs19 Apr 2026
- 2026Plain Transformers are Surprisingly Powerful Link Predictors2 Feb 2026
- 2025Generalizable Insights for Graph Transformers in Theory and Practice11 Nov 2025
- 2025Random Search Neural Networks for Efficient and Expressive Graph Learning26 Oct 2025
- 2025Chimera: State Space Models Beyond Sequences14 Oct 2025
- 2025Flock: A Knowledge Graph Foundation Model via Learning on Random Walks1 Oct 2025
- 2025Learn to Jump: Adaptive Random Walks for Long-Range Propagation through Graph Hierarchies1 Sep 2025
- 2025Toward a Graph Foundation Model: Pre-Training Transformers With Random Walks17 Jun 2025
6 more
- 2025Caterpillar GNN: Replacing Message Passing with Efficient Aggregation7 Jun 2025
- 2025Are Graph Attention Networks Able to Model Structural Information?27 May 2025
- 2025Flatten Graphs as Sequences: Transformers are Scalable Graph Generators4 Feb 2025
- 2025Beyond Message Passing: Neural Graph Pattern Machine30 Jan 2025
- 2024Greener GRASS: Enhancing GNNs with Encoding, Rewiring, and Attention8 Jul 2024
- 2024Differential Encoding for Improved Representation Learning over Graphs3 Jul 2024
- 2026AI Research Agents Narrow Scientific Explorationcited by 2
- 2026AI Research Agents Narrow Scientific Exploration27 May 2026
- 2025Beyond Message Passing: Neural Graph Pattern Machinecited by 17
- 2025Flatten Graphs as Sequences: Transformers are Scalable Graph Generatorscited by 12
- 2025Flock: A Knowledge Graph Foundation Model via Learning on Random Walkscited by 8
- 2025Toward a Graph Foundation Model: Pre-Training Transformers With Random Walkscited by 2
- 2025Chimera: State Space Models Beyond Sequencescited by 2
- 2025Generalizable Insights for Graph Transformers in Theory and Practicecited by 2
- 2024Greener GRASS: Enhancing GNNs with Encoding, Rewiring, and Attentioncited by 1
- 2025Random Search Neural Networks for Efficient and Expressive Graph Learningcited by 1
- 2026From Message-Passing to Linearized Graph Sequence Modelscited by 1
- 2026End-to-End Subgraph Detection with GraphDETRcited by 1
- 2024Differential Encoding for Improved Representation Learning over Graphscited by 0
- 2025Are Graph Attention Networks Able to Model Structural Information?cited by 0
12 most cited of 17 All 17 (JSON)
- 2026GLACIER: Rethinking Mass Spectrum Prediction as an Object Detection Problem28 Jun 2026
- 2026End-to-End Subgraph Detection with GraphDETR4 Jun 2026
- 2026From Message-Passing to Linearized Graph Sequence Models12 May 2026
- 2026DuConTE: Dual-Granularity Text Encoder with Topology-Constrained Attention for Text-attributed Graphs19 Apr 2026
- 2026Plain Transformers are Surprisingly Powerful Link Predictors2 Feb 2026
- 2025Generalizable Insights for Graph Transformers in Theory and Practice11 Nov 2025
- 2025Random Search Neural Networks for Efficient and Expressive Graph Learning26 Oct 2025
- 2025Chimera: State Space Models Beyond Sequences14 Oct 2025
- 2025Flock: A Knowledge Graph Foundation Model via Learning on Random Walks1 Oct 2025
- 2025Learn to Jump: Adaptive Random Walks for Long-Range Propagation through Graph Hierarchies1 Sep 2025
- 2025Toward a Graph Foundation Model: Pre-Training Transformers With Random Walks17 Jun 2025
- 2025Caterpillar GNN: Replacing Message Passing with Efficient Aggregation7 Jun 2025
12 newest of 17 All 17 (JSON)