Introduction
Graph Neural Networks (GNNs) primarily utilize message passing, where nodes aggregate information from their immediate neighborhood. However, this approach suffers from over-squashing, a phenomenon where information from distant nodes is lost as it is compressed into fixed-size feature vectors across an exponentially growing number of paths. To mitigate this, researchers employ graph rewiring—adding shortcut edges to improve global connectivity.
The Rewiring Trade-off
Existing rewiring strategies generally fall into two categories, each with significant drawbacks:
- Spatial Rewiring: Adds edges between nodes within a specific hop distance. While this preserves the graph's local structure (locality), it often leads to overly dense graphs, causing computational inefficiency and "over-smoothing," where node features become indistinguishable.
- Spectral Rewiring: Adds edges based on global connectivity metrics. Although this maintains sparsity, it often introduces "teleportation" edges between unrelated, distant nodes, destroying the local inductive biases essential for GNN performance.
LASER: Locality-Aware Sequential Rewiring
LASER (Locality-Aware SEquential Rewiring) is proposed to bridge this gap by treating rewiring as a dynamic, sequential process. Instead of a single global update, LASER generates a sequence of graph snapshots that balance connectivity with local structure.
Core Components
- Sequential Snapshots: LASER creates multiple versions of the graph. Early snapshots focus on short-range shortcuts, while later ones allow for longer-range connections.
- Connectivity Measure ($\mu$): LASER identifies poorly connected node pairs by counting walks of length $k$. Edges are prioritized for pairs with the fewest paths.
- Locality Constraint ($\nu$): Candidates for new edges are restricted to nodes at specific shortest-path distances, ensuring that the added shortcuts respect the graph's underlying geometry.
- Sparsity through Sampling: To prevent the graph from becoming too dense, LASER only adds a small fraction ($\rho$) of the highest-priority candidate edges.
This framework effectively transforms the GNN into a multi-relational model, where different edge types correspond to different levels of locality.
Experimental Results
The authors evaluated LASER on the Long Range Graph Benchmark (LRGB) and standard TUDatasets. LASER consistently outperformed or matched existing state-of-the-art rewiring methods across various tasks, including classification, regression, and link prediction.
On the Peptides-func task, LASER achieved an Average Precision (AP) of 0.6440, a substantial improvement over the standard GCN (0.5930) and other rewiring techniques like FOSR (0.5947) and BORF (0.6012). Furthermore, LASER demonstrated superior scalability, processing a graph with 100,000 nodes in approximately two hours—a task where competing spectral methods failed to complete within 24 hours.
Conclusion and Future Work
LASER demonstrates that "locality" is a vital inductive bias that should be preserved, not bypassed. By combining walk-based connectivity measures with sequential locality constraints, LASER provides a scalable and effective solution to the over-squashing problem. Future research may explore making the rewiring process differentiable, allowing the model to learn optimal edge additions during training, and investigating alternative connectivity heuristics.
Summary updated