Skip to main content
QUICK REVIEW

[Paper Review] Shortest Path Networks for Graph Property Prediction

Ralph Abboud, Radoslav Dimitrov|arXiv (Cornell University)|Jun 2, 2022
Advanced Graph Neural NetworksComputer Science9 citations
TL;DR

This paper introduces Shortest Path Message Passing Neural Networks (SP-MPNNs), a generalization of message passing neural networks that propagate node representations along shortest path neighborhoods instead of direct neighbors, mitigating information bottlenecks and over-squashing. The framework achieves state-of-the-art performance on graph property prediction benchmarks, including QM9, by enabling more expressive and holistic node representations through structured, non-redundant message aggregation over shortest paths.

ABSTRACT

Most graph neural network models rely on a particular message passing paradigm, where the idea is to iteratively propagate node representations of a graph to each node in the direct neighborhood. While very prominent, this paradigm leads to information propagation bottlenecks, as information is repeatedly compressed at intermediary node representations, which causes loss of information, making it practically impossible to gather meaningful signals from distant nodes. To address this, we propose shortest path message passing neural networks, where the node representations of a graph are propagated to each node in the shortest path neighborhoods. In this setting, nodes can directly communicate between each other even if they are not neighbors, breaking the information bottleneck and hence leading to more adequately learned representations. Our framework generalizes message passing neural networks, resulting in a class of more expressive models, including some recent state-of-the-art models. We verify the capacity of a basic model of this framework on dedicated synthetic experiments, and on real-world graph classification and regression benchmarks, and obtain state-of-the art results.

Motivation & Objective

  • To address the information bottleneck and over-squashing problem in traditional message passing GNNs, which limits long-range dependency learning.
  • To develop a generalization of message passing neural networks (MPNNs) that enables direct communication between non-adjacent nodes via shortest path neighborhoods.
  • To formally analyze the expressiveness and logical characterization of the proposed framework in comparison to MPNNs and other GNNs.
  • To empirically validate the model's ability to alleviate over-squashing and achieve state-of-the-art performance on real-world graph property prediction tasks.

Proposed method

  • Proposes a new message passing paradigm where node states are updated by aggregating messages from nodes in their i-hop shortest path neighborhoods, defined as nodes reachable via shortest paths of length i.
  • Introduces a multi-hop aggregation mechanism that separately processes messages from each hop level (1 ≤ i ≤ k), avoiding redundancy by ensuring disjoint neighborhoods.
  • Designs a framework that generalizes MPNNs by allowing direct communication between nodes separated by multiple hops, thus breaking the sequential information compression bottleneck.
  • Employs a simple, effective instantiation called Shortest Path Networks (SPN), which uses learnable aggregation functions and residual connections for stable training.
  • Uses shortest path distances as a structural inductive bias, enabling models to capture global graph structure without full pairwise attention or high-order adjacency powers.
  • Applies the framework to graph classification and regression tasks, using synthetic datasets to validate reduced over-squashing and improved generalization.

Experimental results

Research questions

  • RQ1Can a message passing framework that aggregates over shortest path neighborhoods outperform standard MPNNs in capturing long-range dependencies?
  • RQ2Does the proposed SP-MPNN framework achieve higher expressiveness than MPNNs, particularly in distinguishing graphs that MPNNs cannot?
  • RQ3To what extent does the use of shortest path neighborhoods reduce over-squashing compared to traditional MPNNs?
  • RQ4Can the framework achieve state-of-the-art performance on real-world graph property prediction benchmarks without architectural complexity?

Key findings

  • The proposed Shortest Path Networks (SPN) achieve state-of-the-art performance on the QM9 graph regression benchmark, outperforming prior models including Graphormer on multiple properties.
  • On QM9, R-SPN with k=10 achieves the lowest mean absolute error (MAE) of 0.83 for the G property with T=8 layers, significantly outperforming k=1 models.
  • The model shows improved robustness to depth: increasing the number of layers from T=4 to T=8 reduces error by only 8.6% for k=10, compared to a 36.3% drop for k=1, indicating faster convergence and reduced over-squashing.
  • SP-MPNNs are strictly more expressive than MPNNs, capable of distinguishing any graph pair discernible by the 1-WL test or the shortest path graph kernel.
  • Synthetic experiments confirm that SPN alleviates over-squashing, as higher-hop neighbors (k > 1) lead to significantly better performance than k=1, even without hyperparameter tuning.
  • The logical characterization shows SP-MPNNs can capture a broader class of functions than MPNNs, confirming their enhanced representational capacity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.