SONAR: Long-Range Graph Propagation Through Information Waves

Alessandro Trenta, Alessio Gravina, Davide BacciuNeurIPS 2025

Introduction

Standard Graph Neural Networks (GNNs) typically rely on local message passing, which works well for immediate neighbors but struggles as the distance between nodes increases. Two major bottlenecks arise: over-smoothing (node features become indistinguishable as they average out) and over-squashing (information from a large neighborhood is compressed into a fixed-size vector, losing detail).

While recent attempts to fix this use "Differential Equation GNNs" based on the heat equation (diffusion), diffusion is inherently dissipative—it "leaks" energy and signal strength over time. To address this, researchers introduce SONAR (Structured Oscillatory Graph Neural Network with Adaptive Resistance). SONAR models information flow as physical waves rather than heat diffusion. By leveraging the energy-preserving properties of the wave equation, SONAR maintains signal fidelity over long distances, effectively solving the over-squashing and over-smoothing problems.

The SONAR Architecture

The core innovation of SONAR is modeling node state evolution using a second-order wave equation instead of the first-order equations used in diffusion-based GNNs.

Deep SONAR architecture and wave propagation dynamics

Key components of the architecture include:

  • The Wave Equation Framework: Information is treated as an oscillation. Mathematically, the second derivative of the node state (acceleration) is determined by the graph Laplacian.
  • Adaptive Edge Resistance: Instead of static weights, SONAR uses a Multi-Layer Perceptron (MLP) to learn "resistances" for each edge. This allows the model to adaptively control how waves propagate through different parts of the graph topology.
  • Dissipative and External Forces: To prevent the model from being overly conservative (which might retain irrelevant noise indefinitely), learnable dampening (dissipation) and external forcing terms are added. This balances energy preservation with the ability to filter out "junk" information.
  • Numerical Discretization: The continuous wave dynamics are solved using a finite difference scheme, allowing the model to be implemented as a stack of discrete GNN layers.

Key Insights: Oscillation vs. Dissipation

Unlike diffusion, which eventually settles into a flat equilibrium, waves oscillate. The authors prove theoretically that in SONAR’s conservative form, the "sensitivity" between any two nodes never vanishes—it follows a cosine function. This ensures that a distant source node can always influence a target node.

Furthermore, the paper provides a rigorous proof that SONAR conserves "Dirichlet energy" (potential energy) and kinetic energy. This is the mathematical equivalent of saying the signal doesn't fade away as it travels. Despite its sophisticated physical inspiration, SONAR maintains a computational complexity that is linear with respect to the number of nodes and edges, making it highly scalable compared to quadratic Graph Transformers.

Experimental Results

SONAR was evaluated on a mix of synthetic "stress tests" and real-world benchmarks, including the Long-Range Graph Benchmark (LRGB) and various heterophilic datasets. It demonstrated significant performance gains, particularly where long-distance communication is vital.

Mean Squared Error vs. Source-Target distance across different graph topologies
  • Extreme Distances: In the "Line-50" task (propagating a label across 50 hops), SONAR maintained a nearly constant error rate, while standard MPNNs and even some Transformers saw their performance collapse.
  • Graph Property Prediction: On tasks like predicting the Single Source Shortest Path (SSSP), SONAR outperformed the best baselines by a staggering 2.46 points (in log10 MSE), setting a new state-of-the-art by an order of magnitude.
  • Real-World Efficiency: On the PascalVOC-SP benchmark, SONAR improved the F1 score of transformer-based models by 8.3% while maintaining linear complexity.
  • Heterophily: It achieved top performance on the Roman-empire and Minesweeper tasks, proving that wave-based propagation is highly effective for complex, non-homophilic relational data.

Limitations and Future Work

While highly effective for long-range tasks, the authors acknowledge a few constraints. Because SONAR is a discrete approximation of a continuous system, its stability depends heavily on the integration step size ($h$). If $h$ is not tuned correctly, gradients could potentially explode. Additionally, if a task only requires local information, simpler multi-hop GNNs might be sufficient.

Future directions include exploring more advanced discretization methods (like adaptive multi-step schemes) and extending the wave-propagation framework to temporal graphs, where the graph structure itself changes over time.

Summary updated

BibTeX
@inproceedings{trenta2025sonar,
  author = {Alessandro Trenta and Alessio Gravina and Davide Bacciu},
  title = {{SONAR: Long-Range Graph Propagation Through Information Waves}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=Hxfjmc95rl},
}
Figure