Abstract
This work proposes an extension of neural ordinary differential equations (NODEs) by introducing an additional set of ODE input parameters to NODEs. This extension allows NODEs to learn multiple dynamics specified by the input parameter instances. Our extension is inspired by the concept of parameterized ordinary differential equations, which are widely investigated in computational science and engineering contexts, where characteristics of the governing equations vary over the input parameters. We apply the proposed parameterized NODEs (PNODEs) for learning latent dynamics of complex dynamical processes that arise in computational physics, which is an essential component for enabling rapid numerical simulations for time-critical physics applications. For this, we propose an encoder-decoder-type framework, which models latent dynamics as PNODEs. We demonstrate the effectiveness of PNODEs with important benchmark problems from computational physics.
Introduction
Simulating complex physical systems, such as fluid dynamics or chemically reacting flows, typically requires solving massive systems of partial differential equations. These high-fidelity simulations are computationally expensive, often making them unsuitable for time-critical applications like real-time control or rapid design optimization. To address this, Reduced-Order Models (ROMs) are employed to compress high-dimensional states into a low-dimensional "latent" space, where the dynamics can be evolved more efficiently.
While Neural Ordinary Differential Equations (NODEs) have emerged as a powerful tool for learning continuous-time dynamics in these latent spaces, they face a significant limitation: standard NODEs typically learn a single set of dynamics for an entire dataset. In computational physics, governing equations are often "parameterized" by physical constants such as Reynolds numbers, Mach numbers, or geometric properties. A standard NODE trained on a dataset with varying parameters often fails by learning an unphysical "average" trajectory. This paper introduces Parameterized Neural ODEs (PNODEs) to overcome this limitation by explicitly conditioning the latent dynamics on physical parameters.
Methodology
The core innovation of this work is the injection of a vector of problem-specific physical parameters, $\mu$, directly into the ODE network. In a standard NODE, the derivative of the latent state $z$ is modeled as $\frac{dz}{dt} = f_\Theta(z(t), t)$. In the proposed PNODE framework, this is extended to: $$\frac{dz}{dt} = f_\Theta(z(t; \mu), t; \mu, \Theta)$$
This PNODE is integrated into a convolutional autoencoder framework consisting of three main components:
- Encoder: A convolutional neural network (CNN) that compresses the high-dimensional initial physical state into a low-dimensional latent representation.
- Latent Dynamics (PNODE): The model takes the initial latent state and the physical parameters $\mu$, then integrates forward in time using a standard black-box ODE solver to predict future latent states.
- Decoder: A transposed CNN that maps the evolved latent states back into the high-dimensional physical space.
Experimental Evaluation
The effectiveness of PNODEs was evaluated on three parameterized benchmarks from computational physics:
- 1D Inviscid Burgers' Equation: Modeling shockwave propagation with varying boundary conditions and forcing terms.
- 2D Chemically Reacting Flow: Modeling a premixed $H_2$-air flame where parameters include the Arrhenius pre-exponential factor and activation energy.
- Quasi-1D Euler Equation: Modeling compressible flow in a nozzle where the parameter is the geometric width of the throat.
Key Insights and Results
A critical finding of this research is the identification of the "Average Trajectory Trap." When a standard NODE is trained on multiple trajectories driven by different parameters, it tends to minimize Mean Squared Error by predicting a trajectory that lies in the middle of the training data. This result is physically inaccurate and leads to high error rates on unseen parameter instances. By conditioning the vector field on $\mu$, PNODEs gain the expressivity needed to represent an infinite family of trajectories within a single model.
In the Burgers' equation benchmark, PNODEs reduced the relative error from approximately 15% (standard NODE) to less than 1%. Similar improvements were observed in the reacting flow problem, where PNODEs achieved errors an order of magnitude lower than standard NODEs. The model showed strong performance in interpolation—predicting dynamics for parameters within the training range—though it naturally faces greater challenges with extrapolation outside that range.
Conclusion
PNODEs provide a robust framework for learning parameterized latent dynamics in complex physical systems. By incorporating physical parameters directly into the neural ODE formulation, the model avoids the pitfalls of "averaging" and provides high-fidelity predictions suitable for reduced-order modeling. Future work will focus on improving physical consistency by embedding conservation laws (e.g., mass, momentum, and energy) directly into the network architecture using Hamiltonian or Lagrangian mechanics.
Summary updated