Learning Graph Algorithms With Recurrent Graph Neural Networks

12/09/2022
by   Florian Grötschla, et al.
0

Classical graph algorithms work well for combinatorial problems that can be thoroughly formalized and abstracted. Once the algorithm is derived, it generalizes to instances of any size. However, developing an algorithm that handles complex structures and interactions in the real world can be challenging. Rather than specifying the algorithm, we can try to learn it from the graph-structured data. Graph Neural Networks (GNNs) are inherently capable of working on graph structures; however, they struggle to generalize well, and learning on larger instances is challenging. In order to scale, we focus on a recurrent architecture design that can learn simple graph problems end to end on smaller graphs and then extrapolate to larger instances. As our main contribution, we identify three essential techniques for recurrent GNNs to scale. By using (i) skip connections, (ii) state regularization, and (iii) edge convolutions, we can guide GNNs toward extrapolation. This allows us to train on small graphs and apply the same model to much larger graphs during inference. Moreover, we empirically validate the extrapolation capabilities of our GNNs on algorithmic datasets.

READ FULL TEXT
research
04/29/2021

The Logic of Graph Neural Networks

Graph neural networks (GNNs) are deep learning architectures for machine...
research
03/02/2020

Benchmarking Graph Neural Networks

Graph neural networks (GNNs) have become the standard toolkit for analyz...
research
05/27/2022

Learning to Solve Combinatorial Graph Partitioning Problems via Efficient Exploration

From logistics to the natural sciences, combinatorial optimisation on gr...
research
01/25/2023

E(n)-equivariant Graph Neural Cellular Automata

Cellular automata (CAs) are computational models exhibiting rich dynamic...
research
02/02/2021

Graph Coarsening with Neural Networks

As large-scale graphs become increasingly more prevalent, it poses signi...
research
10/26/2020

Towards Scale-Invariant Graph-related Problem Solving by Iterative Homogeneous Graph Neural Networks

Current graph neural networks (GNNs) lack generalizability with respect ...

Please sign up or login with your details

Forgot password? Click here to reset