How to transfer algorithmic reasoning knowledge to learn new algorithms?
Not on the map. Why?
Abstract (arXiv)
Learning to execute algorithms is a fundamental problem that has been widely studied. Prior work~citeveli19neural has shown that to enable systematic generalisation on graph algorithms it is critical to have access to the intermediate steps of the program/algorithm. In many reasoning tasks, where algorithmic-style reasoning is important, we only have access to the input and output examples. Thus, inspired by the success of pre-training on similar tasks or data in Natural Language Processing (NLP) and Computer Vision, we set out to study how we can transfer algorithmic reasoning knowledge. Specifically, we investigate how we can use algorithms for which we have access to the execution trace to learn to solve similar tasks for which we do not. We investigate two major classes of graph algorithms, parallel algorithms such as breadth-first search and Bellman-Ford and sequential greedy algorithms such as Prim and Dijkstra. Due to the fundamental differences between algorithmic reasoning knowledge and feature extractors such as used in Computer Vision or NLP, we hypothesise that standard transfer techniques will not be sufficient to achieve systematic generalisation. To investigate this empirically we create a dataset including 9 algorithms and 3 different graph types. We validate this empirically and show how instead multi-task learning can be used to achieve the transfer of algorithmic reasoning knowledge.
Key facts. Cited by 22 papers in the map (data through 14 Oct 2026). Builds on 22 of its 29 references that are in the map. First posted on arXiv 26 Oct 2021.
Builds on
22 of 29 references.
References · 22
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
- 2017Graph Attention Networkscited by 8,923
- 2017Neural Message Passing for Quantum Chemistrycited by 3,487
- 2018Relational inductive biases, deep learning, and graph networkscited by 1,360
- 2016Geometric deep learning: going beyond Euclidean datacited by 1,048
- 2015Gated Graph Sequence Neural Networkscited by 796
- 2017Representation Learning on Graphs: Methods and Applicationscited by 457
- 2019Deep symbolic regression: Recovering mathematical expressions from data via risk-seeking policy gradientscited by 309
10 more
- 2019What Can Neural Networks Reason About?cited by 159
- 2015Neural GPUs Learn Algorithmscited by 121
- 2019Neural Execution of Graph Algorithmscited by 121
- 2014Learning to Executecited by 106
- 2015Neural Programmer-Interpreterscited by 101
- 2018Relational recurrent neural networkscited by 65
- 2020Pointer Graph Networkscited by 53
- 2020Neural Execution Engines: Learning to Execute Subroutinescited by 36
- 2015Neural Random-Access Machinescited by 34
- 2020XLVIN: eXecuted Latent Value Iteration Netscited by 17
Built on by
Citing papers per year: 2022: 7; 2023: 6; 2024: 6; 2025: 3.
22 papers.
Sort:
By area:
- 2022Learning Causally Invariant Representations for Out-of-Distribution Generalization on Graphscited by 144
- 2022Teaching Algorithmic Reasoning via In-context Learningcited by 112
- 2022The CLRS Algorithmic Reasoning Benchmarkcited by 106
- 2022A Generalist Neural Algorithmic Learnercited by 59
- 2022Graph Neural Networks are Dynamic Programmerscited by 55
- 2023Dual Algorithmic Reasoningcited by 21
- 2023Neural Algorithmic Reasoning for Combinatorial Optimisationcited by 19
- 2022Neural Approximation of Graph Topological Featurescited by 17
- 2023Neural Algorithmic Reasoning Without Intermediate Supervisioncited by 17
- 2023An Efficient Subgraph GNN with Provable Substructure Counting Powercited by 13
- 2023Asynchronous Algorithmic Alignment with Cocyclescited by 13
- 2024On the Markov Property of Neural Algorithmic Reasoning: Analyses and Methodscited by 11
10 more
- 2023Recursive Algorithmic Reasoningcited by 9
- 2024Discrete Neural Algorithmic Reasoningcited by 9
- 2025Primal-Dual Neural Algorithmic Reasoningcited by 9
- 2024Open-Book Neural Algorithmic Reasoningcited by 3
- 2024Dynamic Neural Dowker Network: Approximating Persistent Homology in Dynamic Directed Graphscited by 2
- 2024NAR-*ICP: Neural Execution of Classical ICP-based Pointcloud Registration Algorithmscited by 2
- 2022Learning heuristics for A*cited by 1
- 2024Algorithm-Informed Graph Neural Networks for Leakage Detection and Localization in Water Distribution Networkscited by 0
- 2025Tackling GNARLy Problems: Graph Neural Algorithmic Reasoning Reimagined through Reinforcement Learningcited by 0
- 2025Adapting, Fast and Slow: On Few-Shot Transportability of Compositionscited by 0
- 2025Adapting, Fast and Slow: On Few-Shot Transportability of Compositions28 Dec 2025
- 2025Tackling GNARLy Problems: Graph Neural Algorithmic Reasoning Reimagined through Reinforcement Learning23 Sep 2025
- 2025Primal-Dual Neural Algorithmic Reasoning29 May 2025
- 2024Open-Book Neural Algorithmic Reasoning30 Dec 2024
- 2024NAR-*ICP: Neural Execution of Classical ICP-based Pointcloud Registration Algorithms14 Oct 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
- 2024On the Markov Property of Neural Algorithmic Reasoning: Analyses and Methods7 Mar 2024
- 2024Discrete Neural Algorithmic Reasoning18 Feb 2024
- 2023Recursive Algorithmic Reasoning1 Jul 2023
- 2023Asynchronous Algorithmic Alignment with Cocycles27 Jun 2023
- 2023Neural Algorithmic Reasoning Without Intermediate Supervision23 Jun 2023
10 more
- 2023Neural Algorithmic Reasoning for Combinatorial Optimisation18 May 2023
- 2023An Efficient Subgraph GNN with Provable Substructure Counting Power19 Mar 2023
- 2023Dual Algorithmic Reasoning9 Feb 2023
- 2022Teaching Algorithmic Reasoning via In-context Learning15 Nov 2022
- 2022A Generalist Neural Algorithmic Learner22 Sep 2022
- 2022The CLRS Algorithmic Reasoning Benchmark31 May 2022
- 2022Learning heuristics for A*11 Apr 2022
- 2022Graph Neural Networks are Dynamic Programmers29 Mar 2022
- 2022Learning Causally Invariant Representations for Out-of-Distribution Generalization on Graphs11 Feb 2022
- 2022Neural Approximation of Graph Topological Features28 Jan 2022
- 2022Teaching Algorithmic Reasoning via In-context Learningcited by 112
- 2022Teaching Algorithmic Reasoning via In-context Learning15 Nov 2022
- 2022Learning Causally Invariant Representations for Out-of-Distribution Generalization on Graphscited by 144
- 2022The CLRS Algorithmic Reasoning Benchmarkcited by 106
- 2022A Generalist Neural Algorithmic Learnercited by 59
- 2022Graph Neural Networks are Dynamic Programmerscited by 55
- 2023Dual Algorithmic Reasoningcited by 21
- 2023Neural Algorithmic Reasoning for Combinatorial Optimisationcited by 19
- 2022Neural Approximation of Graph Topological Featurescited by 17
- 2023Neural Algorithmic Reasoning Without Intermediate Supervisioncited by 17
- 2023An Efficient Subgraph GNN with Provable Substructure Counting Powercited by 13
- 2023Asynchronous Algorithmic Alignment with Cocyclescited by 13
- 2024On the Markov Property of Neural Algorithmic Reasoning: Analyses and Methodscited by 11
- 2023Recursive Algorithmic Reasoningcited by 9
12 most cited of 21 All 21 (JSON)
- 2025Adapting, Fast and Slow: On Few-Shot Transportability of Compositions28 Dec 2025
- 2025Tackling GNARLy Problems: Graph Neural Algorithmic Reasoning Reimagined through Reinforcement Learning23 Sep 2025
- 2025Primal-Dual Neural Algorithmic Reasoning29 May 2025
- 2024Open-Book Neural Algorithmic Reasoning30 Dec 2024
- 2024NAR-*ICP: Neural Execution of Classical ICP-based Pointcloud Registration Algorithms14 Oct 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
- 2024On the Markov Property of Neural Algorithmic Reasoning: Analyses and Methods7 Mar 2024
- 2024Discrete Neural Algorithmic Reasoning18 Feb 2024
- 2023Recursive Algorithmic Reasoning1 Jul 2023
- 2023Asynchronous Algorithmic Alignment with Cocycles27 Jun 2023
- 2023Neural Algorithmic Reasoning Without Intermediate Supervision23 Jun 2023
12 newest of 21 All 21 (JSON)