Graph ODEs and Beyond: A Comprehensive Survey on Integrating Differential Equations with Graph Neural Networks

Zewen Liu, Xiaoda Wang, Bohan Wang, Zijie Huang, Carl Yang, Wei Jin

Abstract

Graph Neural Differential Equations (Graph NDEs) represent a transformative shift in graph representation learning, moving from discrete layer-wise updates to continuous-time dynamical systems. This survey provides a comprehensive roadmap of the field, detailing how the integration of Graph Neural Networks (GNNs) with Ordinary, Partial, and Stochastic Differential Equations (ODEs, PDEs, SDEs) addresses fundamental limitations like over-smoothing and irregular temporal sampling.

Introduction

Traditional Graph Neural Networks (GNNs) typically operate through a sequence of discrete message-passing layers. While effective, this paradigm faces two significant challenges: the inability to naturally model continuous-time phenomena (e.g., traffic flow, disease spread) and the "over-smoothing" problem, where deep architectures cause node features to converge to indistinguishable values.

Graph Neural Differential Equations (Graph NDEs) bridge this gap by treating the evolution of node representations as a continuous process. By defining the derivative of node states through a GNN, researchers can leverage the rich mathematical toolkit of differential equations to create more robust, flexible, and theoretically grounded models.

Taxonomy of Graph NDEs

The landscape of Graph NDEs can be categorized by the mathematical nature of the differential equation and the specific role the GNN plays within the architecture.

Taxonomy of Graph NDEs across tasks, equation types, and GNN roles.

Roles of the GNN

  1. GNN as Encoder: The GNN maps the initial graph structure and features into a latent space, serving as the "initial condition" for a DE solver.
  2. GNN as the Differential Equation: The GNN defines the vector field $\frac{dh}{dt} = f(h(t), \mathcal{G})$, determining how states evolve continuously. Instead of a discrete layer $h_{t+1} = f(h_t)$, the model learns the rate of change.
  3. GNN as Decoder: The GNN projects the final evolved states from the DE solver back into the output space for specific tasks like classification or forecasting.

Types of Differential Equations

  • Graph ODEs: Focus on evolution over a single dimension, often equating model depth with time.
  • Graph PDEs: Model spatial-temporal propagation, often drawing parallels to physical diffusion or convection processes to propagate information across the graph.
  • Graph SDEs: Introduce stochasticity to account for uncertainty and noise, which is particularly useful for generative tasks or robust classification.

The Continuous Framework

The core idea of Graph NDEs is to replace discrete layer transitions with a continuous trajectory. As shown in the framework below, an encoder initializes the state, which then evolves according to a learned differential equation solved by a DE solver.

The general framework of Graph NDEs illustrating continuous state evolution.

This continuous perspective offers several advantages:

  • Infinite Depth: Model "depth" becomes a continuous parameter, allowing for extremely deep representations without the memory overhead of storing intermediate layers, thanks to the adjoint sensitivity method.
  • Over-smoothing Mitigation: By incorporating "restart" or source terms that anchor the evolution to the initial features, Graph NDEs can maintain distinct node representations even over long trajectories.
  • Irregular Sampling: Unlike discrete models that require fixed time steps, Graph NDEs can interpolate and predict states at any arbitrary time point $t$, making them ideal for real-world sensors and traffic data.

Key Results and Applications

Graph NDEs have demonstrated superior performance across diverse domains:

  • Spatiotemporal Forecasting: In traffic (METR-LA) and epidemiology (COVID-19), they outperform discrete RNN-GNN hybrids by naturally handling irregular time intervals.
  • Robustness and Heterophily: PDE-based models show increased resilience to structural noise and perform better on heterophilic graphs where neighbors belong to different classes, as they can learn to "push" or "pull" information more flexibly than discrete filters.

Future Directions

Despite their promise, several challenges remain. Scalability to massive graphs with millions of nodes requires more efficient numerical solvers. Furthermore, while current models often assume a fixed equation form, "Equation Discovery" via symbolic regression represents a frontier for learning human-interpretable laws directly from graph data. Finally, modeling the continuous evolution of graph structure (the birth and death of edges) remains a complex open problem.

Summary updated

BibTeX
@inproceedings{liu2025graph,
  author = {Zewen Liu and Xiaoda Wang and Bohan Wang and Zijie Huang and Carl Yang and Wei Jin},
  title = {{Graph ODEs and Beyond: A Comprehensive Survey on Integrating Differential Equations with Graph Neural Networks}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2025},
}
Figure