Abstract
A common problem in Message-Passing Neural Networks is oversquashing -- the limited ability to facilitate effective information flow between distant nodes. Oversquashing is attributed to the exponential decay in information transmission as node distances increase. This paper introduces a novel perspective to address oversquashing, leveraging dynamical systems properties of global and local non-dissipativity, that enable the maintenance of a constant information flow rate. We present SWAN, a uniquely parameterized GNN model with antisymmetry both in space and weight domains, as a means to obtain non-dissipativity. Our theoretical analysis asserts that by implementing these properties, SWAN offers an enhanced ability to transmit information over extended distances. Empirical evaluations on synthetic and real-world benchmarks that emphasize long-range interactions validate the theoretical understanding of SWAN, and its ability to mitigate oversquashing.
The Bottleneck: Why GNNs "Forget"
Standard Message-Passing Neural Networks (MPNNs) face a fundamental structural limitation known as oversquashing. As information travels between nodes separated by many hops, the signal decays exponentially. This occurs because the network attempts to compress an exponentially increasing volume of neighborhood data into a fixed-size vector at each layer.
From a dynamical systems perspective, most GNNs behave like dissipative systems (similar to heat diffusion). In these systems, signals naturally fade over time and distance. For tasks requiring long-range reasoning—such as analyzing protein structures or large-scale social networks—this dissipation causes critical information from distant nodes to be lost, effectively becoming noise by the time it reaches its destination.
The SWAN Solution: Non-Dissipative Dynamics
To overcome this, the authors propose SWAN (Space Weight ANtisymmetry). By treating GNNs as discretizations of Ordinary Differential Equations (ODEs), they design a system that is both locally (node-wise) and globally (graph-wise) non-dissipative.
SWAN achieves this through two specific architectural constraints:
- Weight Antisymmetry: Channel-mixing weights are parameterized as $(W - W^\top)$. In dynamical systems, antisymmetric matrices produce purely imaginary eigenvalues, resulting in oscillations that preserve "energy" (information) rather than allowing it to shrink.
- Space Antisymmetry: The spatial aggregation mechanism—how nodes collect information from their neighbors—is also made antisymmetric using terms like $(A - A^\top)$. This ensures that information flows across the graph structure at a constant rate rather than pooling locally.
Key Insights: From Diffusion to Lossless Flow
The core innovation of this research is the realization that local non-dissipativity (making weights antisymmetric) is insufficient on its own. While it helps a single node "remember" its own state, spatial antisymmetry is required to facilitate the movement of that information between nodes.
As shown in the figure above, standard diffusion (c) fails to transmit the signal to the target. Even with local non-dissipativity (d), the signal is weak. Only by combining both local and global non-dissipativity (e) does the information reach the target node with high fidelity.
Crucially, SWAN maintains linear complexity ($O(V+E)$). While Graph Transformers can solve oversquashing by allowing direct node-to-node communication, they suffer from quadratic complexity ($O(N^2)$). SWAN provides a scalable alternative that behaves like a "lossless fiber-optic cable" for graph data.
Empirical Performance
The authors validated SWAN across several benchmarks designed to test long-range dependencies:
- Synthetic Graph Transfer: SWAN maintained near-perfect accuracy at 50 hops, whereas standard models like GCN and GIN failed completely beyond 10 hops.
- Graph Property Prediction: On tasks like Single-Source Shortest Paths (SSSP), SWAN-LEARN (a variant that learns edge weights) outperformed the next best non-SWAN model by up to 117%.
- Real-World Benchmarks: On the Peptides-func dataset (Long-Range Graph Benchmark), SWAN-LEARN achieved an Average Precision of 67.51, outperforming standard GCN (59.30) and even surpassing some Transformer-based architectures like GraphGPS (65.35).
- Scalability: On large-scale datasets like
ogbn-arxiv(~169k nodes), SWAN remained memory-efficient and outperformed GCN, while many Transformers encountered out-of-memory (OOM) errors.
Limitations and Future Directions
While SWAN offers a powerful solution to oversquashing, it requires careful tuning. Because the system is non-dissipative, it operates on the edge of stability. The authors utilize a small damping constant ($\gamma$) and specific step sizes ($\epsilon$) to prevent the system from becoming unstable. Future work may explore more complex antisymmetric aggregation functions and investigate how these dynamical properties interact with graph rewiring techniques.
Summary updated