Latent Space Representations of Neural Algorithmic Reasoners
Not on the map. Why?
Abstract (arXiv)
Neural Algorithmic Reasoning (NAR) is a research area focused on designing neural architectures that can reliably capture classical computation, usually by learning to execute algorithms. A typical approach is to rely on Graph Neural Network (GNN) architectures, which encode inputs in high-dimensional latent spaces that are repeatedly transformed during the execution of the algorithm. In this work we perform a detailed analysis of the structure of the latent space induced by the GNN when executing algorithms. We identify two possible failure modes: (i) loss of resolution, making it hard to distinguish similar values; (ii) inability to deal with values outside the range observed during training. We propose to solve the first issue by relying on a softmax aggregator, and propose to decay the latent space in order to deal with out-of-range values. We show that these changes lead to improvements on the majority of algorithms in the standard CLRS-30 benchmark when using the state-of-the-art Triplet-GMPNN processor. Our code is available at https://github.com/mirjanic/nar-latent-spaces
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 12 of its 22 references that are in the map. First posted on arXiv 17 Jul 2023.
Builds on
12 of 22 references.
References · 12
- 2021Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and Gaugescited by 1,131
- 2020DeeperGCN: All You Need to Train Deeper GCNscited by 249
- 2019What Can Neural Networks Reason About?cited by 155
- 2019Neural Execution of Graph Algorithmscited by 118
- 2022The CLRS Algorithmic Reasoning Benchmarkcited by 103
- 2022A Generalist Neural Algorithmic Learnercited by 58
- 2022Graph Neural Networks are Dynamic Programmerscited by 55
- 2020Pointer Graph Networkscited by 52
- 2020Neural Execution Engines: Learning to Execute Subroutinescited by 36
- 2021Visualizing Data using GTSNEcited by 23
- 2023Dual Algorithmic Reasoningcited by 21
- 2020XLVIN: eXecuted Latent Value Iteration Netscited by 17
Built on by
Citing papers per year: 2024: 3; 2025: 2; 2026: 1.
6 papers.
- 2024The CLRS-Text Algorithmic Reasoning Language Benchmarkcited by 28
- 2024Benchmarking ChatGPT on Algorithmic Reasoningcited by 8
- 2025Primal-Dual Neural Algorithmic Reasoningcited by 8
- 2024The Deep Equilibrium Algorithmic Reasonercited by 1
- 2025KNARsack: Teaching Neural Algorithmic Reasoners to Solve Pseudo-Polynomial Problemscited by 0
- 2026From Shortcut Learning to Discrete Neural Insertion Sortcited by 0
- 2026From Shortcut Learning to Discrete Neural Insertion Sort25 Sep 2026
- 2025KNARsack: Teaching Neural Algorithmic Reasoners to Solve Pseudo-Polynomial Problems17 Sep 2025
- 2025Primal-Dual Neural Algorithmic Reasoning29 May 2025
- 2024The CLRS-Text Algorithmic Reasoning Language Benchmark6 Jun 2024
- 2024Benchmarking ChatGPT on Algorithmic Reasoning4 Apr 2024
- 2024The Deep Equilibrium Algorithmic Reasoner9 Feb 2024