Abstract: This research explores the integration of Universal Differential Equations (UDEs) and Bayesian Statistics to address model-form uncertainty in scientific computing. By embedding neural networks within differential equations, the proposed framework allows for the discovery of missing dynamics from data while maintaining physical interpretability and providing rigorous uncertainty quantification.
Introduction
In fields such as epidemiology and fluid dynamics, researchers often rely on principled models that are physically interpretable but may fail to capture the full complexity of real-world systems. For instance, a standard SIR model for disease spread might not account for dynamic changes in quarantine policies. This research, presented at JSM 2022, proposes a middle ground between black-box machine learning and manual equation refinement: Universal Differential Equations (UDEs).
Methodology: Universal Differential Equations
The core innovation lies in the hybrid structure of UDEs. Unlike traditional methods that add a correction term to the model's output, UDEs embed a neural network directly into the derivative:
$$u' = F(u, t, \theta_{ODE}, NN(u, \theta_{NN}))$$
Here, $F$ represents the known scientific laws, while the neural network ($NN$) learns unknown or missing dynamics from observed data. This "at-the-source" discrepancy modeling ensures that the learned corrections respect the underlying dynamical structure of the system, enhancing extrapolative performance.
Bayesian Inference and Uncertainty Quantification
To move beyond deterministic point estimates, the authors apply Bayesian parameterization to both the ODE parameters and the neural network weights. Using the No-U-Turn Sampler (NUTS), a sophisticated Markov Chain Monte Carlo (MCMC) algorithm, they sample the posterior distribution. This approach allows for the visualization of uncertainty in predicted dynamics and reveals complex, correlated structures within the parameter space.
Experimental Evaluation
The framework was tested using two primary datasets:
- Synthetic Epidemiology Data: Generated from a "true" SIRQ (Susceptible-Infectious-Recovered-Quarantined) model. The goal was to determine if a UDE could recover hidden quarantine dynamics ($q(t)$) not explicitly included in a base SIR model.
- Real-World COVID-19 Data: Time-series data from Spain, Italy, Russia, and the UK were used to demonstrate the model's ability to capture multi-wave infection curves that standard models often miss.
Key Insights
- Observability: A critical finding was the importance of observable states. Learning missing physics requires observing multiple states (e.g., Infectious, Recovered, and Quarantined) rather than just a single variable.
- Extrapolation: By learning rules of change rather than just patching trajectories, UDEs maintain better predictive power for future states compared to black-box discrepancy models like the Kennedy-O’Hagan (KOH) framework.
- Model-Form Uncertainty: The Bayesian study showed that model-form uncertainty is a complex landscape of interconnected possibilities, rather than a simple scalar value.
Results and Conclusion
The UDE approach successfully recovered hidden dynamics in ensemble training and provided robust uncertainty bounds. Compared to the KOH framework, UDEs were found to be superior for systems of differential equations as they preserve essential mathematical characteristics like bifurcations and phase portraits.
Future work will focus on scaling Bayesian MCMC methods for larger neural networks, handling noise through Stochastic Differential Equations (SDEs), and utilizing sparsity-inducing priors to improve model interpretability.
Summary updated