Flood and Echo Net: Algorithmically Aligned GNNs that Generalize

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Mathys, Joël, Grötschla, Florian, Nadimpalli, Kalyan Varma, Wattenhofer, Roger
Natura: Preprint
Pubblicazione: 2023
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910468291952640
author Mathys, Joël
Grötschla, Florian
Nadimpalli, Kalyan Varma
Wattenhofer, Roger
author_facet Mathys, Joël
Grötschla, Florian
Nadimpalli, Kalyan Varma
Wattenhofer, Roger
contents Most Graph Neural Networks follow the standard message-passing framework where, in each step, all nodes simultaneously communicate with each other. We want to challenge this paradigm by aligning the computation more closely to the execution of distributed algorithms and propose the Flood and Echo Net. A single round of a Flood and Echo Net consists of an origin node and a flooding phase followed by an echo phase. First, during the flooding, messages are sent from the origin and propagated outwards throughout the entire graph. Then, during the echo, the message flow reverses and messages are sent back towards the origin. As nodes are only sparsely activated upon receiving a message, this leads to a wave-like activation pattern that traverses the graph. Through these sparse but parallel activations, the Net becomes more expressive than traditional MPNNs which are limited by the 1-WL test and also is provably more efficient in terms of message complexity. Moreover, the mechanism's inherent ability to generalize across graphs of varying sizes positions it as a practical architecture for the task of algorithmic learning. We test the Flood and Echo Net on a variety of synthetic tasks and the SALSA-CLRS benchmark and find that the algorithmic alignment of the execution improves generalization to larger graph sizes.
format Preprint
id arxiv_https___arxiv_org_abs_2310_06970
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Flood and Echo Net: Algorithmically Aligned GNNs that Generalize
Mathys, Joël
Grötschla, Florian
Nadimpalli, Kalyan Varma
Wattenhofer, Roger
Machine Learning
Most Graph Neural Networks follow the standard message-passing framework where, in each step, all nodes simultaneously communicate with each other. We want to challenge this paradigm by aligning the computation more closely to the execution of distributed algorithms and propose the Flood and Echo Net. A single round of a Flood and Echo Net consists of an origin node and a flooding phase followed by an echo phase. First, during the flooding, messages are sent from the origin and propagated outwards throughout the entire graph. Then, during the echo, the message flow reverses and messages are sent back towards the origin. As nodes are only sparsely activated upon receiving a message, this leads to a wave-like activation pattern that traverses the graph. Through these sparse but parallel activations, the Net becomes more expressive than traditional MPNNs which are limited by the 1-WL test and also is provably more efficient in terms of message complexity. Moreover, the mechanism's inherent ability to generalize across graphs of varying sizes positions it as a practical architecture for the task of algorithmic learning. We test the Flood and Echo Net on a variety of synthetic tasks and the SALSA-CLRS benchmark and find that the algorithmic alignment of the execution improves generalization to larger graph sizes.
title Flood and Echo Net: Algorithmically Aligned GNNs that Generalize
topic Machine Learning
url https://arxiv.org/abs/2310.06970