mlsanityData to 7 Oct 2026

Recursive Algorithmic Reasoning

arXiv 2307.00337 ↗First posted 1 Jul 2023cs.LGcited by 9

Not on the map. Why?

Abstract (arXiv)

Learning models that execute algorithms can enable us to address a key problem in deep learning: generalizing to out-of-distribution data. However, neural networks are currently unable to execute recursive algorithms because they do not have arbitrarily large memory to store and recall state. To address this, we (1) propose a way to augment graph neural networks (GNNs) with a stack, and (2) develop an approach for capturing intermediate algorithm trajectories that improves algorithmic alignment with recursive algorithms over previous methods. The stack allows the network to learn to store and recall a portion of the state of the network at a particular time, analogous to the action of a call stack in a recursive algorithm. This augmentation permits the network to reason recursively. We empirically demonstrate that our proposals significantly improve generalization to larger input graphs over prior work on depth-first search (DFS).

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 16 of its 22 references that are in the map. First posted on arXiv 1 Jul 2023.

Builds on

16 of 22 references.

References · 16

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2017Neural Message Passing for Quantum Chemistrycited by 3,460
  3. 2022Neural Networks and the Chomsky Hierarchycited by 214
  4. 2019What Can Neural Networks Reason About?cited by 155
  5. 2022The CLRS Algorithmic Reasoning Benchmarkcited by 103
  6. 2015Neural Programmer-Interpreterscited by 96
  7. 2021Neural Algorithmic Reasoningcited by 92
  8. 2015Inferring Algorithmic Patterns with Stack-Augmented Recurrent Netscited by 76
  9. 2014A Clockwork RNNcited by 70
  10. 2022A Generalist Neural Algorithmic Learnercited by 58
  11. 2017Making Neural Programming Architectures Generalize via Recursioncited by 35
  12. 2023Neural Algorithmic Reasoning with Causal Regularisationcited by 30
4 more
  1. 2021How to transfer algorithmic reasoning knowledge to learn new algorithms?cited by 22
  2. 2021Learning with Algorithmic Supervision via Continuous Relaxationscited by 21
  3. 2023Dual Algorithmic Reasoningcited by 21
  4. 2020Strong Generalization and Efficiency in Neural Programscited by 12

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 5; 2025: 3; 2026: 1.

9 papers.