When do neural ordinary differential equations generalize on complex networks?
Moritz Laber, Tina Eliassi-Rad, Brennan Klein
TL;DR
This paper probes how neural ODEs trained on Barabási–Barzel BB-form dynamical systems generalize when deployed on complex graphs generated by the $\mathbb{S}^1$-model. By replacing the analytic BB vector field components with neural nets, the authors create nODEs and evaluate them across four dimensions: scaling to larger graphs, generalization across graph properties, faithful fixed-point representation and stability, and resilience to partial observability. They find that degree heterogeneity and the underlying dynamical system largely shape generalization, with clustering playing a secondary role; fixed points tend to be stable but may not coincide with the true fixed points, and performance degrades as unobserved nodes increase, particularly on highly heterogeneous graphs. The results underscore both the potential of nODEs to illuminate complex network dynamics and the challenges posed by realistic topologies, motivating diverse evaluation frameworks and architectural refinements for robust deployment. Overall, the work provides a principled template for assessing data-driven dynamical models on graphs and highlights key structural factors—especially degree heterogeneity—that limit generalization across scales and topologies.
Abstract
Neural ordinary differential equations (neural ODEs) can effectively learn dynamical systems from time series data, but their behavior on graph-structured data remains poorly understood, especially when applied to graphs with different size or structure than encountered during training. We study neural ODEs ($\mathtt{nODE}$s) with vector fields following the Barabási-Barzel form, trained on synthetic data from five common dynamical systems on graphs. Using the $\mathbb{S}^1$-model to generate graphs with realistic and tunable structure, we find that degree heterogeneity and the type of dynamical system are the primary factors in determining $\mathtt{nODE}$s' ability to generalize across graph sizes and properties. This extends to $\mathtt{nODE}$s' ability to capture fixed points and maintain performance amid missing data. Average clustering plays a secondary role in determining $\mathtt{nODE}$ performance. Our findings highlight $\mathtt{nODE}$s as a powerful approach to understanding complex systems but underscore challenges emerging from degree heterogeneity and clustering in realistic graphs.
