mlsanityData to 7 Oct 2026

Discrete Neural Algorithmic Reasoning

arXiv 2402.11628 ↗First posted 18 Feb 2024cs.LG cs.CLcited by 8

Not on the map. Why?

Abstract (arXiv)

Neural algorithmic reasoning aims to capture computations with neural networks by training models to imitate the execution of classical algorithms. While common architectures are expressive enough to contain the correct model in the weight space, current neural reasoners struggle to generalize well on out-of-distribution data. On the other hand, classical computations are not affected by distributional shifts as they can be described as transitions between discrete computational states. In this work, we propose to force neural reasoners to maintain the execution trajectory as a combination of finite predefined states. To achieve this, we separate discrete and continuous data flows and describe the interaction between them. Trained with supervision on the algorithm's state transitions, such models are able to perfectly align with the original algorithm. To show this, we evaluate our approach on multiple algorithmic problems and achieve perfect test scores both in single-task and multitask setups. Moreover, the proposed architectural choice allows us to prove the correctness of the learned algorithms for any test data.

Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 34 of its 44 references that are in the map. First posted on arXiv 18 Feb 2024.

Builds on

34 of 44 references.

References · 34

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018How Powerful are Graph Neural Networks?cited by 4,355
  3. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
  4. 2015Pointer Networkscited by 882
  5. 2014Neural Turing Machinescited by 630
  6. 2020Masked Label Prediction: Unified Message Passing Model for Semi-Supervised Classificationcited by 500
  7. 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 198
  8. 2021Thinking Like Transformerscited by 182
  9. 2019What Can Neural Networks Reason About?cited by 155
  10. 2015Neural GPUs Learn Algorithmscited by 118
  11. 2019Neural Execution of Graph Algorithmscited by 118
  12. 2014Learning to Executecited by 105
22 more
  1. 2022The CLRS Algorithmic Reasoning Benchmarkcited by 103
  2. 2023Tracr: Compiled Transformers as a Laboratory for Interpretabilitycited by 99
  3. 2015Neural Programmer-Interpreterscited by 96
  4. 2021Neural Algorithmic Reasoningcited by 92
  5. 2022A Generalist Neural Algorithmic Learnercited by 58
  6. 2022Graph Neural Networks are Dynamic Programmerscited by 55
  7. 2020Pointer Graph Networkscited by 52
  8. 2018Relational inductive bias for physical construction in humans and machinescited by 41
  9. 2023Learning Transformer Programscited by 40
  10. 2020Neural Execution Engines: Learning to Execute Subroutinescited by 36
  11. 2023Neural Algorithmic Reasoning with Causal Regularisationcited by 30
  12. 2022Towards Better Out-of-Distribution Generalization of Neural Algorithmic Reasoning Taskscited by 29
  13. 2024Simulation of Graph Algorithms with Looped Transformerscited by 29
  14. 2021How to transfer algorithmic reasoning knowledge to learn new algorithms?cited by 22
  15. 2023Dual Algorithmic Reasoningcited by 21
  16. 2023Neural Algorithmic Reasoning Without Intermediate Supervisioncited by 16
  17. 2021Algorithmic Concept-based Explainable Reasoningcited by 12
  18. 2023SALSA-CLRS: A Sparse and Scalable Benchmark for Algorithmic Reasoningcited by 11
  19. 2023Recursive Algorithmic Reasoningcited by 9
  20. 2016Dynamic Neural Turing Machine with Soft and Hard Addressing Schemescited by 8
  21. 2023Neural Priority Queues for Graph Neural Networkscited by 7
  22. 2022Learning to Configure Computer Networks with Neural Algorithmic Reasoningcited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 4; 2025: 2; 2026: 2.

8 papers.