Graph topological property recovery with heat and wave dynamics-based features on graphs

Dhananjay Bhaskar, Yanlei Zhang, Charles Xu, Xingzhi Sun, Oluwadamilola Fasina, Guy Wolf, Maximilian Nickel, Michael Perlmutter, Smita Krishnaswamy · OpenReview

Abstract

In this paper, we propose Graph Differential Equation Network (GDeNet), an approach that harnesses the expressive power of solutions to PDEs on a graph to obtain continuous node- and graph-level representations for various downstream tasks. We derive theoretical results connecting the dynamics of heat and wave equations to the spectral properties of the graph and to the behavior of continuous-time random walks on graphs. We demonstrate experimentally that these dynamics are able to capture salient aspects of graph geometry and topology by recovering generating parameters of random graphs, Ricci curvature, and persistent homology. Furthermore, we demonstrate the superior performance of GDeNet on real-world datasets including citation graphs, drug-like molecules, and proteins.

Introduction: The Limits of Message Passing

Standard Graph Neural Networks (GNNs) typically rely on the "message passing" paradigm, which aggregates a node’s features with those of its immediate neighbors. From a signal processing perspective, this is equivalent to convolving the graph signal with a simple "rectangular" waveform that only covers 1-hop neighbors. While effective for many tasks, this approach faces three major challenges:

  • Over-smoothing: Stacking many layers causes node features to converge, losing local distinctiveness.
  • Under-reaching: Nodes cannot "see" distant but structurally relevant parts of the graph without an impractical number of layers.
  • Heterophily: Standard GNNs struggle when a node’s neighbors have different labels, as local averaging washes out distinguishing signals.

The DYMAG Framework

To overcome these hurdles, we introduce DYMAG (Dynamical Waveform Aggregation on Graphs). Instead of simple local averaging, DYMAG builds a "Waveform Bank" by solving physical dynamics on the graph. The workflow involves solving PDEs/ODEs to create snapshots at different time scales, followed by a multiscale aggregation process that acts as a sophisticated form of graph convolution.

DYMAG architecture and Multiscale Aggregation process.

To maintain computational efficiency, DYMAG utilizes Chebyshev polynomial approximations and Runge-Kutta solvers. This allows the framework to scale linearly with the number of edges, enabling its application to massive graphs, including the ogbn-papers100M dataset with over 111 million nodes.

Beyond Low-Pass Filtering: Heat, Wave, and Chaos

Standard GNNs act primarily as low-pass filters. DYMAG expands this repertoire by using different physical dynamics as topological probes:

  • Heat Equation (Parabolic): Captures low-pass information and relates to shortest-path distances and Ollivier-Ricci curvature.
  • Wave Equation (Hyperbolic): Creates oscillatory, multi-band filters that can "echo" through the graph to detect cycles and spectral properties.
  • Sprott Model (Chaotic): Highly sensitive to minute structural changes, making it particularly effective for heterophilic datasets where local averaging fails.
Comparison of waveforms in spatial and frequency domains.

Theoretically, these waveforms can recover the full Laplacian eigenspectrum and cycle lengths from a single node’s perspective, providing a much richer structural representation than standard 1-hop aggregations.

Experimental Results

DYMAG was evaluated across a wide range of benchmarks, consistently outperforming standard GNNs (MPNN, GAT, GIN) and diffusion-based models (GRAND):

  • Topological Recovery: DYMAG significantly outperformed baseline models in predicting graph curvature and persistence images.
  • Molecular Property Prediction: On the PROTEINS and AIDS datasets, DYMAG surpassed powerful domain-specific models like ProtBERT and MolBERT.
  • Heterophily: The Sprott variant achieved state-of-the-art results on benchmarks like Texas (87.63% accuracy) and Wisconsin (86.72%), far exceeding standard MPNNs (~45-65%).
  • Scalability: On the massive ogbn-papers100M dataset, DYMAG successfully recovered topological properties where other advanced spectral methods timed out or ran out of memory.

Conclusion

DYMAG represents a significant shift from local averaging to global-feeling dynamics. By leveraging the expressive power of PDEs and chaotic systems, it captures complex topological and geometric properties that are often lost in traditional GNNs. Future work will focus on extending DYMAG to unsupervised tasks such as clustering and denoising, as well as further optimizing solver efficiency.

Summary updated

BibTeX
@inproceedings{bhaskar2023graph,
  author = {Dhananjay Bhaskar and Yanlei Zhang and Charles Xu and Xingzhi Sun and Oluwadamilola Fasina and Guy Wolf and Maximilian Nickel and Michael Perlmutter and Smita Krishnaswamy},
  title = {{Graph topological property recovery with heat and wave dynamics-based features on graphs}},
  booktitle = {TAG-DS SpotlightTalk},
  year = {2023},
  doi = {10.48550/arxiv.2309.09924},
}
Figure