Discovering Generalizable Governing Equations for Graph Dynamical Systems with Interpretable Neural Networks

Riccardo Cappi, Paolo Frazzetto, Nicolò Navarin, Alessandro Sperduti

TL;DR

This paper introduces GKAN-ODE (Graph Kolmogorov-Arnold Network-ODE), a novel neural architecture designed to discover the exact symbolic governing equations of graph dynamical systems from observational data. To ensure these discovered laws are scientifically robust, the authors propose a rigorous evaluation pipeline that tests models on long-term trajectory stability and out-of-distribution (OOD) generalization to completely unseen network topologies. The proposed model successfully recovers ground-truth equations and reduces trajectory errors by up to two orders of magnitude compared to traditional sparse regression baselines.

What Problem Does This Paper Address?

From gene regulatory networks to the spread of infectious diseases, many complex systems are governed by local interactions over a network topology. Unveiling the underlying mathematical laws (typically Ordinary Differential Equations, or ODEs) of these graph dynamical systems is a major goal in scientific machine learning.

While deep learning models can simulate these dynamics with high accuracy, they are notoriously "black-box" systems that offer no symbolic insight. Conversely, traditional symbolic regression methods like sparse regression (e.g., SINDy) are highly interpretable but rigid, failing if the true dynamics aren't explicitly pre-programmed into their function libraries.

Furthermore, the field has lacked a rigorous benchmarking standard. Most existing methods validate their discovered equations on the exact same graph topology used during training, using simple one-step-ahead prediction metrics. This fails to prove whether the model has truly learned a universal scientific law or has simply overfitted to a specific network structure.

Figure 1: Qualitative diagram comparing existing methods for learning on graph dynamical systems.

Methods

The authors bridge the gap between expressivity and interpretability by introducing GKAN-ODE, which splits node dynamics into two parts: intrinsic self-dynamics ($H$) and neighbor interaction dynamics ($G$). Both are parameterized using Kolmogorov-Arnold Networks (KANs), a recent alternative to Multi-Layer Perceptrons (MLPs) that uses learnable univariate spline functions on edges instead of fixed activation functions on nodes.

To optimize KANs for physical and scientific domains, the authors introduced two key innovations:

  1. Multiplicative Nodes: Standard KANs are fundamentally additive, meaning they struggle to naturally represent multiplicative interactions (like $x_1 \cdot x_2$) without resorting to complex logarithmic workarounds. The authors augmented the KAN layers by designating half the neurons as multiplicative nodes, allowing the network to seamlessly learn products or sums based on the data.
  2. Spline-Wise (SW) Symbolic Regression: Once the network is trained, the authors use a novel structure-aware algorithm to inspect each individual univariate spline activation, fit them to symbolic primitives (like $\sin$, $\exp$, or polynomials), and select the best equations using a complexity-penalized Pareto-front strategy.

Datasets

The framework was benchmarked across both synthetic and real-world datasets:

  • Synthetic Systems: Four canonical network dynamics representing various scientific domains: Kuramoto oscillators (KUR), epidemic spreading (EPID), biochemical dynamics (BIO), and population dynamics (POP). These were simulated on scale-free Barabási–Albert networks, with additional noisy variants to test robustness.
  • Out-of-Distribution (OOD) Topologies: To test generalization, models were evaluated on entirely unseen network structures, including different random seeds of Barabási–Albert graphs, Watts–Strogatz small-world graphs, and Erdős–Rényi random graphs.
  • Real-World Data: Empirical data tracking the real-world pre-intervention spread of H1N1, SARS, and COVID-19 across the global airline transportation network.

Key Insights and Ideas

  • The Additive Bottleneck: A standard KAN requires a complex composition of $\exp(\ln(x_1) + \ln(x_2))$ to multiply two variables. By embedding hyperparameter-free multiplicative nodes directly into the architecture, the splines only need to learn simple identity functions, drastically simplifying the symbolic distillation process.
  • One-Step Predictions Lie: Evaluating models purely on one-step-ahead predictions ($MAE_{eul}$) can mask catastrophic failures. Integrating equations autoregressively over long horizons ($MAE_{traj}$) forces the model to confront error accumulation, serving as a much stricter and truer test of scientific plausibility.
  • Topology Agnosticism Fails: The authors demonstrated that topology-agnostic baselines suffer from catastrophic error accumulation, proving that explicitly accounting for graph structure is non-negotiable for accurate equation discovery in networked systems.

Key Results

  • Exact Equation Recovery: GKAN-ODE combined with black-box symbolic regression successfully recovered the exact ground-truth symbolic equations for all four synthetic systems, with coefficients matching the ground truth within a 0.1% relative error.
  • Superior OOD Generalization: On unseen graph topologies, neural-based approaches consistently outperformed sparse regression. GKAN-ODE achieved long-term trajectory errors up to two orders of magnitude lower than the leading non-neural baseline, TPSINDy.
  • Parameter Efficiency: GKAN-ODE proved to be significantly more parameter-efficient than its MLP-based counterparts (such as the LLC framework), achieving lower trajectory errors while utilizing a fraction of the parameters.

Limitations and Future Work

While GKAN-ODE marks a significant step forward, the authors note several limitations that pave the way for future research:

  • Static Topologies: The current framework assumes a static graph structure and autonomous (time-invariant) ODEs. Extending this to time-varying networks or non-autonomous systems remains an open challenge.
  • Scalar States: The experiments were restricted to scalar node states ($d=1$). Scaling the architecture to handle multivariate node features will be necessary for more complex physical applications.
  • Noise Sensitivity: Like most equation discovery methods, the pipeline relies on numerical derivative estimation, which remains sensitive to high observational noise despite denoising preprocessing steps.

Summary updated

BibTeX
@article{cappi2026discovering,
  author = {Riccardo Cappi and Paolo Frazzetto and Nicolò Navarin and Alessandro Sperduti},
  title = {{Discovering Generalizable Governing Equations for Graph Dynamical Systems with Interpretable Neural Networks}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2026},
}
Figure