Graph Neural Ordinary Differential Equations

Michael Poli, Stefano Massaroli, Junyoung Park, Atsushi Yamashita, Hajime Asama, Jinkyoo ParkarXiv 2019

Abstract

Graph Neural Ordinary Differential Equations (GDEs) merge the relational power of Graph Neural Networks (GNNs) with the continuous-depth flexibility of Neural ODEs. By treating the transformation of node features as a continuous flow rather than a sequence of discrete layers, GDEs excel at modeling complex systems that evolve over time, particularly when data is sampled irregularly. This framework addresses key challenges in graph representation learning, including oversmoothing in deep networks and the rigid temporal constraints of discrete-time models.

Introduction: Bridging Structure and Continuity

Traditional Graph Neural Networks (GNNs) operate in discrete steps, passing data through a fixed sequence of layers. While effective for static relational data, this approach faces significant hurdles when applied to dynamic real-world systems like traffic flow, physical particle interactions, or biological networks. These systems are inherently continuous, and forcing them into discrete "hops" can obscure underlying dynamics. Furthermore, standard GNNs struggle with irregularly sampled data, lacking a principled way to account for varying time intervals between observations.

Methodology: GDEs and Continuous Flows

The authors propose GDEs, a framework where the input-output relationship of a graph network is determined by a continuum of GNN layers. Instead of defining the next layer's state as $H_{t+1} = f(H_t)$, they define the derivative of the state: $$\dot{\mathbf{H}}(s) = \mathbf{F}_{\mathcal{G}}(s, \mathbf{H}(s), \mathbf{\Theta})$$ Here, $\mathbf{F}_{\mathcal{G}}$ represents a vector field parameterized by GNN layers.

Conceptual overview of Graph Neural ODEs showing the continuous evolution of node states over a graph structure.

Key Components:

  • Solvers as Layers: The forward pass becomes an Initial Value Problem (IVP). Numerical ODE solvers (e.g., Runge-Kutta) allow the model to trade off computational speed for precision during inference.
  • Hybrid Dynamical Systems: For spatio-temporal tasks, Autoregressive GDEs act as hybrid automata. The model "flows" continuously between observations and undergoes a discrete "jump" (update) upon receiving new data.
  • GCDEs: The framework specifically derives continuous versions of standard architectures, such as Graph Convolutional Differential Equations (GCDEs).

Experimental Evaluation

The researchers evaluated GDEs across three distinct domains:

  1. Static Node Classification: Benchmarked on Cora, Citeseer, and Pubmed citation networks.
  2. Multi-Agent Trajectories: A synthetic particle system with 10 agents interacting via viscoelastic forces, testing long-term prediction of positions and velocities.
  3. Spatio-Temporal Forecasting: Traffic speed prediction using the PeMS dataset, with undersampled versions (30%, 50%, and 70% data removal) to test robustness to missing timestamps.

Key Insights and Results

  • Geometry of Dynamics: GDEs learn the "vector field" of the graph, exploiting the geometric structure of information flow across the network.
  • Resilience to Oversmoothing: Unlike deep discrete GNNs, GDEs are robust to oversmoothing. Trajectories remain divergent and discriminative even with long integration times.
  • The "Jump" Advantage: In dynamic settings, the ability to "flow" the latent state between irregular observations allows GDEs to maintain a more accurate internal state than discrete models.
  • Performance Gains:
    • On Cora, GCDE-rk4 achieved 83.8% accuracy, surpassing the GCN baseline (81.4%).
  • In Multi-Agent Trajectories, GDEs significantly outperformed standard Neural ODEs. At 50 steps, the GDE-II model had a MAPE of 73.75, while the non-graph baseline exploded to 668.47.
  • In Traffic Forecasting with 70% missing data, GCDE-GRU maintained an RMSE of 10.95, outperforming the discrete GCGRU (11.20).

Conclusion and Future Directions

GDEs provide a powerful bridge between structural graph learning and continuous dynamical systems. While they offer superior performance in irregular temporal settings and robustness to oversmoothing, challenges remain. Adaptive ODE solvers can be computationally intensive, and high-precision solvers may lead to overfitting on static tasks. Future work will explore rapidly evolving graph topologies and more efficient regularization of the learned vector fields.

Summary updated

BibTeX
@misc{poli2019graph,
  author = {Michael Poli and Stefano Massaroli and Junyoung Park and Atsushi Yamashita and Hajime Asama and Jinkyoo Park},
  title = {{Graph Neural Ordinary Differential Equations}},
  year = {2019},
  eprint = {1911.07532},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.07532},
}
Figure