Neural Execution of Graph Algorithms
Not on the map. Why?
Abstract (arXiv)
Graph Neural Networks (GNNs) are a powerful representational tool for solving problems on graph-structured inputs. In almost all cases so far, however, they have been applied to directly recovering a final solution from raw inputs, without explicit guidance on how to structure their problem-solving. Here, instead, we focus on learning in the space of algorithms: we train several state-of-the-art GNN architectures to imitate individual steps of classical graph algorithms, parallel (breadth-first search, Bellman-Ford) as well as sequential (Prim's algorithm). As graph algorithms usually rely on making discrete decisions within neighbourhoods, we hypothesise that maximisation-based message passing neural networks are best-suited for such objectives, and validate this claim empirically. We also demonstrate how learning in the space of algorithms can yield new opportunities for positive transfer between tasks---showing how learning a shortest-path algorithm can be substantially improved when simultaneously learning a reachability algorithm.
Key facts. Cited by 121 papers in the map (data through 14 Oct 2026). First posted on arXiv 23 Oct 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 27; 2022: 25; 2023: 22; 2024: 21; 2025: 16; 2026: 10.
121 papers.
Sort:
By area:
- 2021Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and Gaugescited by 1,167
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 886
- 2021Combinatorial optimization and reasoning with graph neural networkscited by 268
- 2021Identity-aware Graph Neural Networkscited by 198
- 2021PonderNet: Learning to Pondercited by 168
- 2022Learning Causally Invariant Representations for Out-of-Distribution Generalization on Graphscited by 144
- 2021ETA Prediction with Graph Neural Networks in Google Mapscited by 130
- 2022The CLRS Algorithmic Reasoning Benchmarkcited by 106
- 2022Out-Of-Distribution Generalization on Graphs: A Surveycited by 97
- 2021Neural Algorithmic Reasoningcited by 94
- 2021Size-Invariant Graph Representations for Graph Classification Extrapolationscited by 84
- 2021OOD-GNN: Out-of-Distribution Generalized Graph Neural Networkcited by 78
38 more
- 2022Theory of Graph Neural Networks: Representation and Learningcited by 61
- 2021Graph Neural Networks Inspired by Classical Iterative Algorithmscited by 60
- 2022A Generalist Neural Algorithmic Learnercited by 59
- 2022Graph Neural Networks are Dynamic Programmerscited by 55
- 2022Multimodal learning with graphscited by 54
- 2021CombOptNet: Fit the Right NP-Hard Problem by Learning Integer Programming Constraintscited by 49
- 2024GraphArena: Evaluating and Exploring Large Language Models on Graph Computationcited by 49
- 2022Relational Attention: Generalizing Transformers for Graph-Structured Taskscited by 41
- 2025Beyond Semantics: The Unreasonable Effectiveness of Reasonless Intermediate Tokenscited by 41
- 2021Learning General Optimal Policies with Graph Neural Networks: Expressive Power, Transparency, and Limitscited by 38
- 2021Latent Execution for Neural Program Synthesiscited by 35
- 2023Code Execution with Pre-trained Language Modelscited by 34
- 2023Neural Algorithmic Reasoning with Causal Regularisationcited by 31
- 2022Towards Better Out-of-Distribution Generalization of Neural Algorithmic Reasoning Taskscited by 30
- 2024Simulation of Graph Algorithms with Looped Transformerscited by 30
- 2022Backpropagation through Combinatorial Algorithms: Identity with Projection Workscited by 29
- 2023Joint Learning of Label and Environment Causal Independence for Graph Out-of-Distribution Generalizationcited by 29
- 2024The CLRS-Text Algorithmic Reasoning Language Benchmarkcited by 28
- 2021Spatial Aggregation and Temporal Convolution Networks for Real-time Krigingcited by 27
- 2022On the Generalization of Neural Combinatorial Optimization Heuristicscited by 24
- 2023Exploring the Power of Graph Neural Networks in Solving Linear Optimization Problemscited by 24
- 2021How to transfer algorithmic reasoning knowledge to learn new algorithms?cited by 22
- 2021Neural Algorithmic Reasoners are Implicit Plannerscited by 21
- 2023Dual Algorithmic Reasoningcited by 21
- 2023Neural Algorithmic Reasoning for Combinatorial Optimisationcited by 19
- 2021Large-scale graph representation learning with very deep GNNs and self-supervisioncited by 18
- 2022Neural Approximation of Graph Topological Featurescited by 17
- 2022Reducing Collision Checking for Sampling-Based Motion Planning Using Graph Neural Networkscited by 17
- 2023Neural Algorithmic Reasoning Without Intermediate Supervisioncited by 17
- 2022Neural Set Function Extensions: Learning with Discrete Functions in High Dimensionscited by 14
- 2021Persistent Message Passingcited by 13
- 2021Reasoning-Modulated Representationscited by 13
- 2021Implicit vs Unfolded Graph Neural Networkscited by 13
- 2022Learnable Commutative Monoids for Graph Neural Networkscited by 13
- 2023An Efficient Subgraph GNN with Provable Substructure Counting Powercited by 13
- 2023Asynchronous Algorithmic Alignment with Cocyclescited by 13
- 2024Transformers meet Neural Algorithmic Reasonerscited by 13
- 2021Algorithmic Concept-based Explainable Reasoningcited by 12
50 most cited of 121 All 121 (JSON)
- 2026Learning to Extrapolate in Depth with Looped Transformers10 Oct 2026
- 2026The Expressive Power of Random-Feature MPNNs Across Graph Sizes8 Oct 2026
- 2026Multi-Attractor GNNs: Set-Valued Expressivity Beyond Unique Equilibria28 Sep 2026
- 2026Recurrent Graph Neural Networks with Set-Based Aggregation14 Sep 2026
- 2026Closed-Loop Graph Algorithm Execution with Small Language Models: Step Accuracy and Rollout Reliability23 Jun 2026
- 2026Graph Hierarchical Recurrence for Long-Range Generalization18 May 2026
- 2026Recurrent Reasoning on Symbolic Puzzles with Sequence Models19 Apr 2026
- 2026Statistical Guarantees for Reasoning Probes on Looped Boolean Circuits3 Feb 2026
- 2026UltRAG: a Universal Simple Scalable Recipe for Knowledge Graph RAG28 Jan 2026
- 2026FloydNet: A Learning Paradigm for Global Relational Reasoning27 Jan 2026
- 2025HATSolver: Learning Groebner Bases with Hierarchical Attention Transformers9 Dec 2025
- 2025Efficiently Learning Branching Networks for Multitask Algorithmic Reasoning30 Nov 2025
38 more
- 2025Neural Graph Navigation for Intelligent Subgraph Matching22 Nov 2025
- 2025Enhancing Graph Representations with Neighborhood-Contextualized Message-Passing14 Nov 2025
- 2025Tackling GNARLy Problems: Graph Neural Algorithmic Reasoning Reimagined through Reinforcement Learning23 Sep 2025
- 2025KNARsack: Teaching Neural Algorithmic Reasoners to Solve Pseudo-Polynomial Problems17 Sep 2025
- 2025Automated discovery of finite volume schemes using Graph Neural Networks26 Aug 2025
- 2025Learning neuro-symbolic convergent term rewriting systems25 Jul 2025
- 2025FIGNN: Feature-Specific Interpretability for Graph Neural Network Surrogate Models13 Jun 2025
- 2025DeepTraverse: A Depth-First Search Inspired Network for Algorithmic Visual Understanding11 Jun 2025
- 2025Studying and Improving Graph Neural Network-based Motif Estimation30 May 2025
- 2025Primal-Dual Neural Algorithmic Reasoning29 May 2025
- 2025Beyond Semantics: The Unreasonable Effectiveness of Reasonless Intermediate Tokens19 May 2025
- 2025Graph neural networks extrapolate out-of-distribution for shortest paths24 Mar 2025
- 2025A Compressive-Expressive Communication Framework for Compositional Representations31 Jan 2025
- 2025Neural Algorithmic Reasoning for Hypergraphs with Looped Transformers18 Jan 2025
- 2024Open-Book Neural Algorithmic Reasoning30 Dec 2024
- 2024Discovering Data Structures: Nearest Neighbor Search and Beyond5 Nov 2024
- 2024Deep Equilibrium Algorithmic Reasoning19 Oct 2024
- 2024NAR-*ICP: Neural Execution of Classical ICP-based Pointcloud Registration Algorithms14 Oct 2024
- 2024Recurrent Aggregators in Neural Algorithmic Reasoning11 Sep 2024
- 2024Neural Algorithmic Reasoning with Multiple Correct Solutions11 Sep 2024
- 2024Dynamic Neural Dowker Network: Approximating Persistent Homology in Dynamic Directed Graphs17 Aug 2024
- 2024Algorithm-Informed Graph Neural Networks for Leakage Detection and Localization in Water Distribution Networks5 Aug 2024
- 2024Algorithmic Language Models with Neurally Compiled Libraries6 Jul 2024
- 2024GraphArena: Evaluating and Exploring Large Language Models on Graph Computation29 Jun 2024
- 2024Transformers meet Neural Algorithmic Reasoners13 Jun 2024
- 2024The CLRS-Text Algorithmic Reasoning Language Benchmark6 Jun 2024
- 2024CKGConv: General Graph Convolution with Continuous Kernels21 Apr 2024
- 2024Benchmarking ChatGPT on Algorithmic Reasoning4 Apr 2024
- 2024Contextualized Messages Boost Graph Representations19 Mar 2024
- 2024Local Vertex Colouring Graph Neural Networks10 Mar 2024
- 2024On the Markov Property of Neural Algorithmic Reasoning: Analyses and Methods7 Mar 2024
- 2024Accelerating data-driven algorithm selection for combinatorial partitioning problems22 Feb 2024
- 2024Discrete Neural Algorithmic Reasoning18 Feb 2024
- 2024Simulation of Graph Algorithms with Looped Transformers2 Feb 2024
- 2024Inferring Properties of Graph Neural Networks8 Jan 2024
- 2023Triplet Edge Attention for Algorithmic Reasoning9 Dec 2023
- 2023Exploring the Power of Graph Neural Networks in Solving Linear Optimization Problems16 Oct 2023
- 2023Are Graph Neural Networks Optimal Approximation Algorithms?1 Oct 2023
50 newest of 121 All 121 (JSON)
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 886
- 2025Beyond Semantics: The Unreasonable Effectiveness of Reasonless Intermediate Tokenscited by 41
- 2023Neural Algorithmic Reasoning with Causal Regularisationcited by 31
- 2022Backpropagation through Combinatorial Algorithms: Identity with Projection Workscited by 29
- 2024The CLRS-Text Algorithmic Reasoning Language Benchmarkcited by 28
- 2024Transformers meet Neural Algorithmic Reasonerscited by 13
- 2025Neural Algorithmic Reasoning for Hypergraphs with Looped Transformerscited by 4
- 2025Efficiently Learning Branching Networks for Multitask Algorithmic Reasoningcited by 1
- 2026Recurrent Reasoning on Symbolic Puzzles with Sequence Modelscited by 0
- 2026Recurrent Reasoning on Symbolic Puzzles with Sequence Models19 Apr 2026
- 2025Efficiently Learning Branching Networks for Multitask Algorithmic Reasoning30 Nov 2025
- 2025Beyond Semantics: The Unreasonable Effectiveness of Reasonless Intermediate Tokens19 May 2025
- 2025Neural Algorithmic Reasoning for Hypergraphs with Looped Transformers18 Jan 2025
- 2024Transformers meet Neural Algorithmic Reasoners13 Jun 2024
- 2024The CLRS-Text Algorithmic Reasoning Language Benchmark6 Jun 2024
- 2023Neural Algorithmic Reasoning with Causal Regularisation20 Feb 2023
- 2022Backpropagation through Combinatorial Algorithms: Identity with Projection Works30 May 2022
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Models30 Nov 2021
- 2022Learning Graph Search Heuristicscited by 7
- 2022Learning Graph Search Heuristics7 Dec 2022
- 2021Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and Gaugescited by 1,167
- 2021Combinatorial optimization and reasoning with graph neural networkscited by 268
- 2021Identity-aware Graph Neural Networkscited by 198
- 2021PonderNet: Learning to Pondercited by 168
- 2022Learning Causally Invariant Representations for Out-of-Distribution Generalization on Graphscited by 144
- 2021ETA Prediction with Graph Neural Networks in Google Mapscited by 130
- 2022The CLRS Algorithmic Reasoning Benchmarkcited by 106
- 2022Out-Of-Distribution Generalization on Graphs: A Surveycited by 97
- 2021Neural Algorithmic Reasoningcited by 94
- 2021Size-Invariant Graph Representations for Graph Classification Extrapolationscited by 84
- 2021OOD-GNN: Out-of-Distribution Generalized Graph Neural Networkcited by 78
- 2022Theory of Graph Neural Networks: Representation and Learningcited by 61
12 most cited of 111 All 111 (JSON)
- 2026Learning to Extrapolate in Depth with Looped Transformers10 Oct 2026
- 2026The Expressive Power of Random-Feature MPNNs Across Graph Sizes8 Oct 2026
- 2026Multi-Attractor GNNs: Set-Valued Expressivity Beyond Unique Equilibria28 Sep 2026
- 2026Recurrent Graph Neural Networks with Set-Based Aggregation14 Sep 2026
- 2026Closed-Loop Graph Algorithm Execution with Small Language Models: Step Accuracy and Rollout Reliability23 Jun 2026
- 2026Graph Hierarchical Recurrence for Long-Range Generalization18 May 2026
- 2026Statistical Guarantees for Reasoning Probes on Looped Boolean Circuits3 Feb 2026
- 2026UltRAG: a Universal Simple Scalable Recipe for Knowledge Graph RAG28 Jan 2026
- 2026FloydNet: A Learning Paradigm for Global Relational Reasoning27 Jan 2026
- 2025HATSolver: Learning Groebner Bases with Hierarchical Attention Transformers9 Dec 2025
- 2025Neural Graph Navigation for Intelligent Subgraph Matching22 Nov 2025
- 2025Enhancing Graph Representations with Neighborhood-Contextualized Message-Passing14 Nov 2025
12 newest of 111 All 111 (JSON)