Asynchronous Neural Networks for Learning in Graphs

Lukas Faber, Roger WattenhoferarXiv 2022 · DOI

Standard Graph Neural Networks (GNNs) operate on a synchronous distributed computing model. In each round, every node aggregates messages from all its neighbors simultaneously. While effective, this "shouting match" approach leads to several fundamental limitations: oversmoothing, underreaching, oversquashing, and the theoretical 1-WL limit on expressiveness.

Researchers from ETH Zurich have proposed a new paradigm: Asynchronous Message Passing (AMP). Instead of discrete rounds, nodes in an AMP model listen to individual neighbors one at a time and decide how to react, much like a human conversation.

Conceptual illustration of Asynchronous Message Passing (AMP) where nodes react to individual neighbors to identify local structures.

The Limitations of Synchrony

The synchronous aggregation used in standard GNNs causes four primary issues:

  1. Oversmoothing: Repeatedly averaging neighbor features causes them to converge, losing local nuance.
  2. Underreaching: A $k$-layer GNN is strictly limited to a $k$-hop receptive field.
  3. Oversquashing: Compressing information from an exponentially growing neighborhood into a fixed-size vector creates a bottleneck.
  4. The 1-WL Limit: Synchronous GNNs cannot distinguish certain non-isomorphic graph structures, such as a 6-node cycle versus two 3-node cycles.

AMP addresses these by replacing synchronous rounds with asynchronous, individual message processing.

Methods: Asynchronous Message Passing (AMP)

In the AMP model, nodes do not act in rounds. Instead, a node's state is updated only when it receives a message. Upon receiving a message $m$, a node updates its internal state $h$ and may emit a new message $m'$ to its neighbors. This behavior is analogous to Sequence-to-Sequence (Seq2Seq) models in NLP, but applied to graph topology.

The internal state update mechanism of an AMP node, processing a sequence of incoming messages to update internal state and emit new messages.

The authors developed several variants for the node update function, including AMP-RNN/GRU/LSTM and versions incorporating Adaptive Computation Time (AMP-ACT) or iterative halting (AMP-Iter). These allow nodes to decide when they have "heard enough," which is crucial for generalizing to larger graphs.

Theoretically, AMP can simulate any synchronous GNN. Furthermore, if messages have random delays, AMP can generate unique node IDs, allowing it to solve the graph isomorphism problem and surpass the 1-WL limit.

Key Results and Insights

The performance of AMP was evaluated across expressiveness benchmarks, long-range propagation tasks, and standard graph classification datasets.

Surpassing the 1-WL Limit

AMP achieved 100% accuracy on nearly all 1-WL expressiveness benchmarks (e.g., Triangles, 4-cycles, Skip-Cycles). By reacting to messages individually and leveraging the inherent randomness of message arrival times, AMP breaks the symmetry that limits traditional GNNs.

Long-Range Generalization

In a "Shortest Path Parity" task, the model must determine if the shortest path between two nodes is even or odd. AMP-Iter maintained ~99% accuracy when generalizing from 10-node training graphs to 2500-node test graphs. In contrast, synchronous baselines like IterGNN and Universal Transformers dropped to ~50% accuracy (random guessing) as the distance increased. This demonstrates superior "algorithmic alignment" and resistance to oversquashing.

Standard Benchmarks

On graph classification tasks (MUTAG, PROTEINS, etc.), AMP performed comparably to modern GNNs, establishing it as a viable general-purpose architecture.

Conclusion and Future Work

AMP offers a powerful alternative to the synchronous status quo, effectively solving issues like oversmoothing and the 1-WL limit. However, its primary hurdle is computational efficiency. Current GPU hardware and deep learning frameworks are optimized for parallel, synchronous matrix operations. Because AMP is inherently sequential and event-driven, it currently runs slower than its synchronous counterparts. Future development of specialized kernels will be essential for scaling AMP to massive, real-world industrial graphs.

Summary updated

BibTeX
@misc{faber2022asynchronous,
  author = {Lukas Faber and Roger Wattenhofer},
  title = {{Asynchronous Neural Networks for Learning in Graphs}},
  year = {2022},
  eprint = {2205.12245},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.12245},
}
Figure