A Generalist Neural Algorithmic Learner
Not on the map. Why?
Abstract (arXiv)
The cornerstone of neural algorithmic reasoning is the ability to solve algorithmic tasks, especially in a way that generalises out of distribution. While recent years have seen a surge in methodological improvements in this area, they mostly focused on building specialist models. Specialist models are capable of learning to neurally execute either only one algorithm or a collection of algorithms with identical control-flow backbone. Here, instead, we focus on constructing a generalist neural algorithmic learner -- a single graph neural network processor capable of learning to execute a wide range of algorithms, such as sorting, searching, dynamic programming, path-finding and geometry. We leverage the CLRS benchmark to empirically show that, much like recent successes in the domain of perception, generalist algorithmic learners can be built by "incorporating" knowledge. That is, it is possible to effectively learn algorithms in a multi-task manner, so long as we can learn to execute them well in a single-task regime. Motivated by this, we present a series of improvements to the input representation, training regime and processor architecture over CLRS, improving average single-task performance by over 20% from prior art. We then conduct a thorough ablation of multi-task learners leveraging these improvements. Our results demonstrate a generalist learner that effectively incorporates knowledge captured by specialist models.
Key facts. Cited by 58 papers in the map (data through 7 Oct 2026). Builds on 34 of its 74 references that are in the map. First posted on arXiv 22 Sep 2022.
Builds on
34 of 74 references.
References · 34
- 2017Attention Is All You Needcited by 59,932
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2016Layer Normalizationcited by 5,579
- 2017Neural Message Passing for Quantum Chemistrycited by 3,460
- 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 878
- 2022A Generalist Agentcited by 802
- 2017Learning Combinatorial Optimization Algorithms over Graphscited by 557
- 2019Leveraging Procedural Generation to Benchmark Reinforcement Learningcited by 478
- 2021Combinatorial optimization and reasoning with graph neural networkscited by 267
- 2018Graph networks as learnable physics engines for inference and controlcited by 242
- 2020How Neural Networks Extrapolate: From Feedforward to Graph Neural Networkscited by 218
- 2020The NetHack Learning Environmentcited by 196
22 more
- 2018Learning Latent Permutations with Gumbel-Sinkhorn Networkscited by 172
- 2019What Can Neural Networks Reason About?cited by 155
- 2020From Local Structures to Size Generalization in Graph Neural Networkscited by 119
- 2019Neural Execution of Graph Algorithmscited by 118
- 2022The CLRS Algorithmic Reasoning Benchmarkcited by 103
- 2021MiniHack the Planet: A Sandbox for Open-Ended Reinforcement Learning Researchcited by 96
- 2021Neural Algorithmic Reasoningcited by 92
- 2022A data-driven approach for learning to control computerscited by 87
- 2021Size-Invariant Graph Representations for Graph Classification Extrapolationscited by 82
- 2020My Body is a Cage: the Role of Morphology in Graph-Based Incompatible Controlcited by 68
- 2022In Defense of the Unitary Scalarization for Deep Multi-Task Learningcited by 65
- 2021The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalizationcited by 62
- 2022Graph Neural Networks are Dynamic Programmerscited by 55
- 2020Pointer Graph Networkscited by 52
- 2019Structured agents for physical constructioncited by 50
- 2018Relational inductive bias for physical construction in humans and machinescited by 41
- 2022End-to-end Algorithm Synthesis with Recurrent Networks: Logical Extrapolation Without Overthinkingcited by 33
- 2017DeepPermNet: Visual Permutation Learningcited by 32
- 2021How to transfer algorithmic reasoning knowledge to learn new algorithms?cited by 22
- 2021Neural Algorithmic Reasoners are Implicit Plannerscited by 21
- 2021Reasoning-Modulated Representationscited by 13
- 2021Snowflake: Scaling GNNs to High-Dimensional Continuous Control via Parameter Freezingcited by 7
Built on by
Citing papers per year: 2022: 5; 2023: 16; 2024: 20; 2025: 7; 2026: 10.
58 papers.
Sort:
By area:
- 2023Randomized Positional Encodings Boost Length Generalization of Transformerscited by 114
- 2024Position: Graph Foundation Models are Already Herecited by 84
- 2024Transformers Can Do Arithmetic with the Right Embeddingscited by 77
- 2022Parsel: Algorithmic Reasoning with Language Models by Composing Decompositionscited by 62
- 2025Position: Graph Learning Will Lose Relevance Due To Poor Benchmarkscited by 52
- 2022Relational Attention: Generalizing Transformers for Graph-Structured Taskscited by 41
- 2024GOAL: A Generalist Combinatorial Optimization Agent Learnercited by 39
- 2023Neural Algorithmic Reasoning with Causal Regularisationcited by 30
- 2022Towards Better Out-of-Distribution Generalization of Neural Algorithmic Reasoning Taskscited by 29
- 2024Simulation of Graph Algorithms with Looped Transformerscited by 29
- 2024The CLRS-Text Algorithmic Reasoning Language Benchmarkcited by 28
- 2023Adaptive Computation with Elastic Input Sequencecited by 22
38 more
- 2023Dual Algorithmic Reasoningcited by 21
- 2023Neural Algorithmic Reasoning for Combinatorial Optimisationcited by 19
- 2023Neural Algorithmic Reasoning Without Intermediate Supervisioncited by 16
- 2024SymbolicAI: A framework for logic-based approaches combining generative models and solverscited by 15
- 2023MatSciML: A Broad, Multi-Task Benchmark for Solid-State Materials Modelingcited by 14
- 2024GraphFM: A generalist graph transformer that learns transferable representations across diverse domainscited by 14
- 2023Asynchronous Algorithmic Alignment with Cocyclescited by 13
- 2023SALSA-CLRS: A Sparse and Scalable Benchmark for Algorithmic Reasoningcited by 11
- 2024Towards Principled Graph Transformerscited by 11
- 2023Are Graph Neural Networks Optimal Approximation Algorithms?cited by 10
- 2024On the Markov Property of Neural Algorithmic Reasoning: Analyses and Methodscited by 10
- 2023Recursive Algorithmic Reasoningcited by 9
- 2023Differentiable graph-structured models for inverse design of lattice materialscited by 8
- 2024Discrete Neural Algorithmic Reasoningcited by 8
- 2024Benchmarking ChatGPT on Algorithmic Reasoningcited by 8
- 2023Parallel Algorithms Align with Neural Executioncited by 6
- 2023Latent Space Representations of Neural Algorithmic Reasonerscited by 6
- 2024Chameleon: A Data-Efficient Generalist for Dense Visual Prediction in the Wildcited by 6
- 2024Recurrent Aggregators in Neural Algorithmic Reasoningcited by 6
- 2022Learning to Configure Computer Networks with Neural Algorithmic Reasoningcited by 5
- 2022Learning Graph Algorithms With Recurrent Graph Neural Networkscited by 5
- 2023Minimum Levels of Interpretability for Artificial Moral Agentscited by 5
- 2024Are Large-Language Models Graph Algorithmic Reasoners?cited by 5
- 2025Rethinking Addressing in Language Models via Contexualized Equivariant Positional Encodingcited by 4
- 2026Mining Generalizable Activation Functionscited by 3
- 2023Triplet Edge Attention for Algorithmic Reasoningcited by 2
- 2024Accelerating data-driven algorithm selection for combinatorial partitioning problemscited by 2
- 2024NAR-*ICP: Neural Execution of Classical ICP-based Pointcloud Registration Algorithmscited by 2
- 2024Open-Book Neural Algorithmic Reasoningcited by 2
- 2026Structured Progressive Knowledge Activation for LLM-Driven Neural Architecture Searchcited by 2
- 2024The Deep Equilibrium Algorithmic Reasonercited by 1
- 2024A Context-Enhanced Framework for Sequential Graph Reasoningcited by 1
- 2026FloydNet: A Learning Paradigm for Global Relational Reasoningcited by 1
- 2026Metriplector: From Field Theory to Neural Architecturecited by 1
- 2024GraphFSA: A Finite State Automaton Framework for Algorithmic Learning on Graphscited by 0
- 2025AlgoPilot: Fully Autonomous Program Synthesis Without Human-Written Programscited by 0
- 2025Thinking agents for zero-shot generalization to qualitatively novel taskscited by 0
- 2025KNARsack: Teaching Neural Algorithmic Reasoners to Solve Pseudo-Polynomial Problemscited by 0
50 most cited of 58 All 58 (JSON)
- 2026On-the-fly Weight Generation: A Hypernetwork Proof of Concept on ARC-1D30 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
- 2026Richer Representations for Neural Algorithmic Reasoning via Auxiliary Reconstruction30 May 2026
- 2026Graph Neural Networks with Triangle-Based Messages for the Multicut Problem13 May 2026
- 2026Structured Progressive Knowledge Activation for LLM-Driven Neural Architecture Search10 Apr 2026
- 2026Metriplector: From Field Theory to Neural Architecture31 Mar 2026
- 2026Mining Generalizable Activation Functions5 Feb 2026
- 2026Statistical Guarantees for Reasoning Probes on Looped Boolean Circuits3 Feb 2026
- 2026FloydNet: A Learning Paradigm for Global Relational Reasoning27 Jan 2026
- 2025Efficiently Learning Branching Networks for Multitask Algorithmic Reasoning30 Nov 2025
- 2025Tackling GNARLy Problems: Graph Neural Algorithmic Reasoning Reimagined through Reinforcement Learning23 Sep 2025
38 more
- 2025KNARsack: Teaching Neural Algorithmic Reasoners to Solve Pseudo-Polynomial Problems17 Sep 2025
- 2025Thinking agents for zero-shot generalization to qualitatively novel tasks25 Mar 2025
- 2025Position: Graph Learning Will Lose Relevance Due To Poor Benchmarks20 Feb 2025
- 2025AlgoPilot: Fully Autonomous Program Synthesis Without Human-Written Programs11 Jan 2025
- 2025Rethinking Addressing in Language Models via Contexualized Equivariant Positional Encoding1 Jan 2025
- 2024Open-Book Neural Algorithmic Reasoning30 Dec 2024
- 2024A Context-Enhanced Framework for Sequential Graph Reasoning12 Dec 2024
- 2024Are Large-Language Models Graph Algorithmic Reasoners?29 Oct 2024
- 2024NAR-*ICP: Neural Execution of Classical ICP-based Pointcloud Registration Algorithms14 Oct 2024
- 2024Recurrent Aggregators in Neural Algorithmic Reasoning11 Sep 2024
- 2024GraphFSA: A Finite State Automaton Framework for Algorithmic Learning on Graphs20 Aug 2024
- 2024GraphFM: A generalist graph transformer that learns transferable representations across diverse domains16 Jul 2024
- 2024GOAL: A Generalist Combinatorial Optimization Agent Learner21 Jun 2024
- 2024The CLRS-Text Algorithmic Reasoning Language Benchmark6 Jun 2024
- 2024Transformers Can Do Arithmetic with the Right Embeddings27 May 2024
- 2024Chameleon: A Data-Efficient Generalist for Dense Visual Prediction in the Wild29 Apr 2024
- 2024Benchmarking ChatGPT on Algorithmic Reasoning4 Apr 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
- 2024The Deep Equilibrium Algorithmic Reasoner9 Feb 2024
- 2024Position: Graph Foundation Models are Already Here3 Feb 2024
- 2024Simulation of Graph Algorithms with Looped Transformers2 Feb 2024
- 2024SymbolicAI: A framework for logic-based approaches combining generative models and solvers1 Feb 2024
- 2024Towards Principled Graph Transformers18 Jan 2024
- 2023Triplet Edge Attention for Algorithmic Reasoning9 Dec 2023
- 2023Are Graph Neural Networks Optimal Approximation Algorithms?1 Oct 2023
- 2023SALSA-CLRS: A Sparse and Scalable Benchmark for Algorithmic Reasoning21 Sep 2023
- 2023MatSciML: A Broad, Multi-Task Benchmark for Solid-State Materials Modeling12 Sep 2023
- 2023Latent Space Representations of Neural Algorithmic Reasoners17 Jul 2023
- 2023Parallel Algorithms Align with Neural Execution8 Jul 2023
- 2023Minimum Levels of Interpretability for Artificial Moral Agents2 Jul 2023
- 2023Recursive Algorithmic Reasoning1 Jul 2023
- 2023Asynchronous Algorithmic Alignment with Cocycles27 Jun 2023
- 2023Neural Algorithmic Reasoning Without Intermediate Supervision23 Jun 2023
- 2023Randomized Positional Encodings Boost Length Generalization of Transformers26 May 2023
- 2023Neural Algorithmic Reasoning for Combinatorial Optimisation18 May 2023
- 2023Differentiable graph-structured models for inverse design of lattice materials11 Apr 2023
50 newest of 58 All 58 (JSON)
- 2022Parsel: Algorithmic Reasoning with Language Models by Composing Decompositionscited by 62
- 2023Neural Algorithmic Reasoning with Causal Regularisationcited by 30
- 2024The CLRS-Text Algorithmic Reasoning Language Benchmarkcited by 28
- 2024Are Large-Language Models Graph Algorithmic Reasoners?cited by 5
- 2025Rethinking Addressing in Language Models via Contexualized Equivariant Positional Encodingcited by 4
- 2025Efficiently Learning Branching Networks for Multitask Algorithmic Reasoningcited by 0
- 2025Efficiently Learning Branching Networks for Multitask Algorithmic Reasoning30 Nov 2025
- 2025Rethinking Addressing in Language Models via Contexualized Equivariant Positional Encoding1 Jan 2025
- 2024Are Large-Language Models Graph Algorithmic Reasoners?29 Oct 2024
- 2024The CLRS-Text Algorithmic Reasoning Language Benchmark6 Jun 2024
- 2023Neural Algorithmic Reasoning with Causal Regularisation20 Feb 2023
- 2022Parsel: Algorithmic Reasoning with Language Models by Composing Decompositions20 Dec 2022
- 2023Randomized Positional Encodings Boost Length Generalization of Transformerscited by 114
- 2024Position: Graph Foundation Models are Already Herecited by 84
- 2024Transformers Can Do Arithmetic with the Right Embeddingscited by 77
- 2025Position: Graph Learning Will Lose Relevance Due To Poor Benchmarkscited by 52
- 2022Relational Attention: Generalizing Transformers for Graph-Structured Taskscited by 41
- 2024GOAL: A Generalist Combinatorial Optimization Agent Learnercited by 39
- 2022Towards Better Out-of-Distribution Generalization of Neural Algorithmic Reasoning Taskscited by 29
- 2024Simulation of Graph Algorithms with Looped Transformerscited by 29
- 2023Adaptive Computation with Elastic Input Sequencecited by 22
- 2023Dual Algorithmic Reasoningcited by 21
- 2023Neural Algorithmic Reasoning for Combinatorial Optimisationcited by 19
- 2023Neural Algorithmic Reasoning Without Intermediate Supervisioncited by 16
12 most cited of 52 All 52 (JSON)
- 2026On-the-fly Weight Generation: A Hypernetwork Proof of Concept on ARC-1D30 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
- 2026Richer Representations for Neural Algorithmic Reasoning via Auxiliary Reconstruction30 May 2026
- 2026Graph Neural Networks with Triangle-Based Messages for the Multicut Problem13 May 2026
- 2026Structured Progressive Knowledge Activation for LLM-Driven Neural Architecture Search10 Apr 2026
- 2026Metriplector: From Field Theory to Neural Architecture31 Mar 2026
- 2026Mining Generalizable Activation Functions5 Feb 2026
- 2026Statistical Guarantees for Reasoning Probes on Looped Boolean Circuits3 Feb 2026
- 2026FloydNet: A Learning Paradigm for Global Relational Reasoning27 Jan 2026
- 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
12 newest of 52 All 52 (JSON)