Deep Equilibrium Algorithmic Reasoning

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Georgiev, Dobrik, Wilson, JJ, Buffelli, Davide, Liò, Pietro
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929551459745792
author Georgiev, Dobrik
Wilson, JJ
Buffelli, Davide
Liò, Pietro
author_facet Georgiev, Dobrik
Wilson, JJ
Buffelli, Davide
Liò, Pietro
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_15059
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Deep Equilibrium Algorithmic Reasoning
Georgiev, Dobrik
Wilson, JJ
Buffelli, Davide
Liò, Pietro
Machine Learning
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.
title Deep Equilibrium Algorithmic Reasoning
topic Machine Learning
url https://arxiv.org/abs/2410.15059