Deep Equilibrium Algorithmic Reasoning
Dobrik Georgiev, Joseph Wilson, Davide Buffelli, Pietro Lió
Abstract
Neural Algorithmic Reasoning (NAR) research has demonstrated that graph neural networks (GNNs) could learn to execute classical algorithms. However, most previous approaches have always used a recurrent architecture, where each iteration of the GNN matches an iteration of the algorithm. In this paper we study neurally solving algorithms from a different perspective: since the algorithm's solution is often an equilibrium, it is possible to find the solution directly by solving an equilibrium equation. Our approach requires no information on the ground-truth number of steps of the algorithm, both during train and test time. Furthermore, the proposed method improves the performance of GNNs on executing algorithms and is a step towards speeding up existing NAR models. Our empirical evidence, leveraging algorithms from the CLRS-30 benchmark, validates that one can train a network to solve algorithmic problems by directly finding the equilibrium. We discuss the practical implementation of such models and propose regularisations to improve the performance of these equilibrium reasoners.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Positional Attention: Expressivity and Learnability of Algorithmic Computation cites What Can Neural Networks Reason About?
- Positional Attention: Expressivity and Learnability of Algorithmic Computation cites Neural Execution of Graph Algorithms
- Tropical Attention: Neural Algorithmic Reasoning for Combinatorial Algorithms cites Positional Attention: Expressivity and Learnability of Algorithmic Computation
- Tropical Attention: Neural Algorithmic Reasoning for Combinatorial Algorithms cites Neural Execution of Graph Algorithms
- Exphormer: Sparse Transformers for Graphs cites Understanding over-squashing and bottlenecks on graphs via curvature
- Exphormer: Sparse Transformers for Graphs cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
Cited by top-tier papers2
- Tropical Attention: Neural Algorithmic Reasoning for Combinatorial AlgorithmsBaran Hashemi, Kurt Pasque, Christopher Teska, Ruriko YoshidaNeurIPS 2025 · 14 citations
- Positional Attention: Expressivity and Learnability of Algorithmic ComputationArtur Back de Luca, George Giapitzakis, Shenghao Yang, Petar Velickovic et al.ICML 2025
Builds on17
- Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
- Understanding over-squashing and bottlenecks on graphs via curvatureJake Topping, Francesco Di Giovanni, Benjamin Paul Chamberlain, Xiaowen Dong et al.ICLR 2022 · 628 citations
- What Can Neural Networks Reason About?Keyulu Xu, Jingling Li, Mozhi Zhang, Simon S. Du et al.ICLR 2020 · 281 citations
- Exphormer: Sparse Transformers for GraphsHamed Shirzad, Ameya Velingker, Balaji Venkatachalam, Danica J. Sutherland et al.ICML 2023 · 219 citations
- Neural Execution of Graph AlgorithmsPetar Velickovic, Rex Ying, Matilde Padovano, Raia Hadsell et al.ICLR 2020 · 192 citations
Related papers
- Neural Algorithmic Reasoning Without Intermediate SupervisionGleb Rodionov, Liudmila ProkhorenkovaNeurIPS 2023 · 20 citations
- Primal-Dual Neural Algorithmic ReasoningYu He, Ellen VitercikICML 2025
- Graph Neural Networks are Dynamic ProgrammersAndrew Joseph Dudzik, Petar VelickovicNeurIPS 2022 · 82 citations
- The CLRS Algorithmic Reasoning BenchmarkPetar Velickovic, Adrià Puigdomènech Badia, David Budden, Razvan Pascanu et al.ICML 2022 · 118 citations
- On the Markov Property of Neural Algorithmic Reasoning: Analyses and MethodsMontgomery Bohde, Meng Liu, Alexandra Saxton, Shuiwang JiICLR 2024 · 16 citations
