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.
Introduction
Standard Message-Passing Neural Networks (MPNNs) are frequently limited by the "oversquashing" phenomenon. As the topological distance between nodes increases, the influence they exert on one another's embeddings decays exponentially. This bottleneck severely limits the performance of GNNs on tasks requiring long-range dependencies, such as predicting the chemical properties of large molecules or analyzing complex social networks.
While existing solutions often involve graph "rewiring" or the use of computationally expensive Transformers, this work approaches the problem through the lens of Dynamical Systems. Most GNNs behave like dissipative systems (e.g., heat diffusion), where information naturally "cools" or vanishes over successive layers. We propose SWAN (Space-Weight ANtisymmetry), a model designed to be non-dissipative, ensuring that information flows across the graph without loss, regardless of the number of hops.
Methodology: The SWAN Architecture
SWAN treats a GNN as a discretization of an Ordinary Differential Equation (ODE). To achieve non-dissipativity, the model enforces antisymmetry in two key domains:
- Weight Antisymmetry: Channel-mixing weights are parameterized as $(W - W^T)$. In dynamical systems theory, antisymmetric matrices possess purely imaginary eigenvalues. This property prevents the system's "energy" (representing information) from either exploding or vanishing during propagation.
- Space Antisymmetry: SWAN introduces a novel aggregation mechanism using an antisymmetric graph operator $(A - A^T)$. This ensures that the interaction between nodes does not dissipate information as it traverses the graph topology.
By combining these architectural choices, the paper proves that SWAN maintains a constant global information propagation rate. This stands in stark contrast to traditional diffusion-based GNNs, where propagation rates decay exponentially with distance.
Experimental Evaluation
We evaluated SWAN across a diverse set of benchmarks designed to test long-range interaction capabilities:
- Synthetic Tasks: On Graph Transfer tasks (Line, Ring, and Crossed-Ring graphs), SWAN-LEARN outperformed the next best non-dissipative baseline by up to 117%.
- Graph Property Prediction: SWAN demonstrated superior accuracy in predicting global properties like Diameter, Single-Source Shortest Paths (SSSP), and node Eccentricity.
- Long-Range Graph Benchmark (LRGB): On the
Peptides-funcdataset, SWAN achieved an Average Precision of 67.51, significantly outperforming standard GCNs (59.30). - Scalability: Unlike Graph Transformers with $O(N^2)$ complexity, SWAN maintains linear $O(V + E)$ complexity. This allowed it to handle large-scale datasets like
ogbn-arxivwhere Transformers frequently encountered Out-Of-Memory (OOM) errors.
Discussion and Key Insights
The core insight of this work is that non-dissipativity is the key to overcoming the "leaky bucket" problem of standard GNNs. By ensuring the Jacobian of the network maintains stable eigenvalues, SWAN creates a "sealed pipe" for information flow. Empirically, SWAN’s Jacobian remains nearly constant across 30+ layers, whereas standard GCNs exhibit fluctuations of up to 40%.
While SWAN is exceptionally effective for long-range tasks, it may not be necessary for tasks relying solely on immediate 1-hop neighborhoods where dissipation is negligible. Future research will focus on refining the learned antisymmetric structures and extending these non-dissipative principles to other neural architectures.
Conclusion
SWAN represents a significant step forward in GNN design by providing a theoretically grounded solution to oversquashing. By enforcing both local and global non-dissipativity, it enables efficient, long-range information propagation with linear complexity, bridging the gap between simple MPNNs and complex Graph Transformers.
Summary updated