Revisiting Random Walks for Learning on Graphs
Not on the map. Why?
Abstract (arXiv)
We revisit a simple model class for machine learning on graphs, where a random walk on a graph produces a machine-readable record, and this record is processed by a deep neural network to directly make vertex-level or graph-level predictions. We call these stochastic machines random walk neural networks (RWNNs), and through principled analysis, show that we can design them to be isomorphism invariant while capable of universal approximation of graph functions in probability. A useful finding is that almost any kind of record of random walks guarantees probabilistic invariance as long as the vertices are anonymized. This enables us, for example, to record random walks in plain text and adopt a language model to read these text records to solve graph tasks. We further establish a parallelism to message passing neural networks using tools from Markov chain theory, and show that over-smoothing in message passing is alleviated by construction in RWNNs, while over-squashing manifests as probabilistic under-reaching. We empirically demonstrate RWNNs on a range of problems, verifying our theoretical analysis and demonstrating the use of language models for separating strongly regular graphs where 3-WL test fails, and transductive classification on arXiv citation network. Code is available at https://github.com/jw9730/random-walk.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 67 of its 121 references that are in the map. First posted on arXiv 1 Jul 2024.
Builds on
67 of 121 references.
References · 67
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2017Inductive Representation Learning on Large Graphscited by 6,284
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2018How Powerful are Graph Neural Networks?cited by 4,355
- 2017Neural Message Passing for Quantum Chemistrycited by 3,460
- 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,414
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
38 more
- 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,148
- 2016node2vec: Scalable Feature Learning for Networkscited by 1,913
- 2014DeepWalk: Online Learning of Social Representationscited by 1,543
- 2021Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and Gaugescited by 1,131
- 2018Predict then Propagate: Graph Neural Networks meet Personalized PageRankcited by 987
- 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 878
- 2021Understanding over-squashing and bottlenecks on graphs via curvaturecited by 471
- 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 404
- 2019Provably Powerful Graph Networkscited by 385
- 2019PairNorm: Tackling Oversmoothing in GNNscited by 297
- 2023Exploring the Potential of Large Language Models (LLMs) in Learning on Graphscited by 271
- 2023Can Language Models Solve Graph Problems in Natural Language?cited by 249
- 2023LongLoRA: Efficient Fine-tuning of Long-Context Large Language Modelscited by 243
- 2020Can Graph Neural Networks Count Substructures?cited by 235
- 2023Language is All a Graph Needscited by 219
- 2022Neural Networks and the Chomsky Hierarchycited by 214
- 2020Combining Label Propagation and Simple Models Out-performs Graph Neural Networkscited by 199
- 2019What graph neural networks cannot learn: depth vs widthcited by 195
- 2020The Surprising Power of Graph Neural Networks with Random Node Initializationcited by 190
- 2022Pure Transformers are Powerful Graph Learnerscited by 188
- 2020Random Features Strengthen Graph Neural Networkscited by 184
- 2021Thinking Like Transformerscited by 182
- 2023Talk like a Graph: Encoding Graphs for Large Language Modelscited by 175
- 2019On the equivalence between graph isomorphism testing and function approximation with GNNscited by 172
- 2021Training Graph Neural Networks with 1000 Layerscited by 169
- 2021From Stars to Subgraphs: Uplifting Any GNN with Local Structure Awarenesscited by 154
- 2022Learning on Large-scale Text-attributed Graphs via Variational Inferencecited by 153
- 2019Relational Pooling for Graph Representationscited by 150
- 2023Harnessing Explanations: LLM-to-LM Interpreter for Enhanced Text-Attributed Graph Representation Learningcited by 132
- 2021DropGNN: Random Dropouts Increase the Expressiveness of Graph Neural Networkscited by 117
- 2023GraphText: Graph Reasoning in Text Spacecited by 110
- 2021Breaking the Limits of Message Passing Graph Neural Networkscited by 101
- 2022Revisiting Over-smoothing and Over-squashing Using Ollivier-Ricci Curvaturecited by 96
- 2023Understanding Oversquashing in GNNs through the Lens of Effective Resistancecited by 94
- 2020On the Benefits of Invariance in Neural Networkscited by 78
- 2024Understanding Transformer Reasoning Capabilities via Graph Algorithmscited by 64
- 2022On the Trade-off between Over-smoothing and Over-squashing in Deep Graph Neural Networkscited by 63
- 2023How does over-squashing affect the power of GNNs?cited by 53
50 most cited of 67 All 67 (JSON)
Built on by
Citing papers per year: 2025: 6; 2026: 7.
13 papers.
Sort:
- 2025Flatten Graphs as Sequences: Transformers are Scalable Graph Generatorscited by 12
- 2025Generative Graph Pattern Machinecited by 11
- 2025Flock: A Knowledge Graph Foundation Model via Learning on Random Walkscited by 8
- 2026Bridging Input Feature Spaces Towards Graph Foundation Modelscited by 2
- 2025Beyond Self-Repellent Kernels: History-Driven Target Towards Efficient Nonlinear MCMC on General Graphscited by 1
- 2025Random Search Neural Networks for Efficient and Expressive Graph Learningcited by 1
- 2026From Message-Passing to Linearized Graph Sequence Modelscited by 1
- 2025Learn to Jump: Adaptive Random Walks for Long-Range Propagation through Graph Hierarchiescited by 0
- 2026Plain Transformers are Surprisingly Powerful Link Predictorscited by 0
- 2026Probability-Invariant Random Walk Learning on Gyral Folding-Based Cortical Similarity Networks for Alzheimer's and Lewy Body Dementia Diagnosiscited by 0
- 2026Manifold-Preserving Superpixel Hierarchies and Embeddings for the Exploration of High-Dimensional Imagescited by 0
- 2026What are the Right Symmetries for Formal Theorem Proving?cited by 0
1 more
- 2026HOPPER: Learnable Hop Extraction for Linearized Graph Sequence Models10 Aug 2026
- 2026What are the Right Symmetries for Formal Theorem Proving?21 May 2026
- 2026From Message-Passing to Linearized Graph Sequence Models12 May 2026
- 2026Bridging Input Feature Spaces Towards Graph Foundation Models6 May 2026
- 2026Manifold-Preserving Superpixel Hierarchies and Embeddings for the Exploration of High-Dimensional Images27 Feb 2026
- 2026Probability-Invariant Random Walk Learning on Gyral Folding-Based Cortical Similarity Networks for Alzheimer's and Lewy Body Dementia Diagnosis19 Feb 2026
- 2026Plain Transformers are Surprisingly Powerful Link Predictors2 Feb 2026
- 2025Random Search Neural Networks for Efficient and Expressive Graph Learning26 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
- 2025Beyond Self-Repellent Kernels: History-Driven Target Towards Efficient Nonlinear MCMC on General Graphs23 May 2025
- 2025Generative Graph Pattern Machine22 May 2025
1 more
- 2025Flatten Graphs as Sequences: Transformers are Scalable Graph Generatorscited by 12
- 2025Generative Graph Pattern Machinecited by 11
- 2025Flock: A Knowledge Graph Foundation Model via Learning on Random Walkscited by 8
- 2026Bridging Input Feature Spaces Towards Graph Foundation Modelscited by 2
- 2025Beyond Self-Repellent Kernels: History-Driven Target Towards Efficient Nonlinear MCMC on General Graphscited by 1
- 2025Random Search Neural Networks for Efficient and Expressive Graph Learningcited by 1
- 2026From Message-Passing to Linearized Graph Sequence Modelscited by 1
- 2025Learn to Jump: Adaptive Random Walks for Long-Range Propagation through Graph Hierarchiescited by 0
- 2026Plain Transformers are Surprisingly Powerful Link Predictorscited by 0
- 2026Probability-Invariant Random Walk Learning on Gyral Folding-Based Cortical Similarity Networks for Alzheimer's and Lewy Body Dementia Diagnosiscited by 0
- 2026Manifold-Preserving Superpixel Hierarchies and Embeddings for the Exploration of High-Dimensional Imagescited by 0
- 2026What are the Right Symmetries for Formal Theorem Proving?cited by 0
12 most cited of 13 All 13 (JSON)
- 2026HOPPER: Learnable Hop Extraction for Linearized Graph Sequence Models10 Aug 2026
- 2026What are the Right Symmetries for Formal Theorem Proving?21 May 2026
- 2026From Message-Passing to Linearized Graph Sequence Models12 May 2026
- 2026Bridging Input Feature Spaces Towards Graph Foundation Models6 May 2026
- 2026Manifold-Preserving Superpixel Hierarchies and Embeddings for the Exploration of High-Dimensional Images27 Feb 2026
- 2026Probability-Invariant Random Walk Learning on Gyral Folding-Based Cortical Similarity Networks for Alzheimer's and Lewy Body Dementia Diagnosis19 Feb 2026
- 2026Plain Transformers are Surprisingly Powerful Link Predictors2 Feb 2026
- 2025Random Search Neural Networks for Efficient and Expressive Graph Learning26 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
- 2025Beyond Self-Repellent Kernels: History-Driven Target Towards Efficient Nonlinear MCMC on General Graphs23 May 2025
- 2025Generative Graph Pattern Machine22 May 2025
12 newest of 13 All 13 (JSON)