Deep Equilibrium Algorithmic Reasoning

Dobrik Georgiev, JJ Wilson, Davide Buffelli, Pietro Liò
10/19/2024
cs.LG

No official code found. Best implementation: HekpoMaH/DEAR (4 stars, Apache-2.0, last commit 2024-10-22).

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.

View on arXivView PDF

Code Implementations(1)

HekpoMaH/DEARCommunity100%
Apache-2.0

Deep Equilibrium Algorithmic Reasoning

41Shell, PythonOct 8, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{georgiev2024deep,
  title  = {Deep Equilibrium Algorithmic Reasoning},
  author = {Dobrik Georgiev and JJ Wilson and Davide Buffelli and Pietro Liò},
  year   = {2024},
  eprint = {2410.15059},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2410.15059},
  url    = {http://arxiv.org/abs/2410.15059v1},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.15059.svg)](https://codeofpaper.com/paper/2410.15059)

Discussion