Thermodynamically Consistent Latent Dynamics Identification for Parametric Systems

Xiaolong He, Yeonjong Shin, Anthony Gruber, Sohyeon Jung, Kookjin Lee, Youngsoo Choi

TL;DR

Simulating complex physical systems like fluids and plasmas is computationally brutal, and purely data-driven surrogate models often break fundamental physical laws like energy conservation and entropy growth. This paper introduces an efficient thermodynamics-informed latent space dynamics identification (tLaSDI) framework combining standard autoencoders with parametric GENERIC formalism-informed neural networks (pGFINNs) and physics-informed active learning. The resulting models enforce the first and second laws of thermodynamics by construction, cut training costs by 50–90%, and achieve up to a 2,495× speed-up over numerical solvers with only 1–3% relative error.

What Problem Does This Paper Address?

Reduced-order models (ROMs) accelerate computationally prohibitive partial differential equations (PDEs) in tasks like design optimization, uncertainty quantification, and digital twins. While linear techniques (e.g., proper orthogonal decomposition) struggle with advection-dominated, highly nonlinear problems, deep autoencoders can discover expressive, low-dimensional nonlinear manifolds.

However, existing data-driven ROMs have critical shortcomings:

  1. Physical inconsistency: They often violate conservation of energy or the second law of thermodynamics (entropy generation), leading to instabilities and unphysical drift when forecasting or extrapolating.
  2. Heavy parameterization overhead: Prior thermodynamic ROM frameworks (such as the original tLaSDI) relied on hypernetworks that generated autoencoder weights for every parameter instance. This caused severe training overhead and poor scalability.
  3. Data inefficiency: Standard uniform parameter sampling often wastes computational effort on simple dynamic regimes while under-sampling complex, sensitive parameter spaces.

Methods

The authors resolve these challenges by combining three core components:

  • Parametric GENERIC Formalism-Informed Neural Networks (pGFINNs):
    The GENERIC (General Equation for Non-Equilibrium Reversible-Irreversible Coupling) framework splits dynamics into reversible (Hamiltonian/Poisson bracket $L$) and irreversible (dissipative/friction matrix $M$) components: $$\dot{z} = L(z)\nabla E(z) + M(z)\nabla S(z)$$ By parameterizing energy $E$, entropy $S$, and degeneracy-preserving factorizations ($A = Q_G^T B Q_G$) directly by system parameters $\mu$, pGFINNs enforce energy conservation ($\dot{E} = 0$) and entropy production ($\dot{S} \ge 0$) by architectural design across the parameter domain.

  • Decoupled Architecture:
    Instead of modulating the entire autoencoder with a costly hypernetwork, the framework uses a standard, fixed-weight autoencoder for compression and confines parametric variation solely to the latent pGFINN dynamics.

  • Physics-Informed Active Learning:
    A greedy sampling routine monitors a residual-based error indicator $e_{\text{res}}$ derived directly from the underlying discretized PDE equations on candidate parameter queries. Training starts on bounding parameter points and adaptively queries the highest-residual parameters, optimizing training data collection.

  • Joint Multi-Objective Loss:
    The network trains end-to-end on a loss combining autoencoder reconstruction, trajectory integration via numerical time-steppers, a Jacobian Sobolev-regularization term, and full-order latent-to-physical modeling errors.

       [High-Dim State u0] 
               │
               ▼
      [Standard Encoder ϕe]
               │
               ▼
[Latent z0, Parameter μ] ──► [pGFINN (Preserves E, S)] ──► [Latent Trajectory z(t)]
                                                                  │
                                                                  ▼
                                                        [Standard Decoder ϕd]
                                                                  │
                                                                  ▼
                                                      [Predicted Dynamics ũ(t)]

Datasets

The authors evaluated the method on numerically simulated benchmark problems:

  • 1D Inviscid Burgers’ Equation: Parameterized by Gaussian initial pulse amplitude $a \in [0.7, 0.9]$ and width $w \in [0.9, 1.1]$.
  • 1D/1V Vlasov–Poisson System: A 2D phase-space plasma model exhibiting two-stream instability, simulated using the high-fidelity HyPar solver (WENO spatial scheme + RK4) and parameterized by temperature $T \in [0.9, 1.1]$ and wavenumber $k \in [1.0, 1.2]$.
  • Thermodynamic ODE Benchmarks (Appendix): A two-gas container model with a movable conducting wall and a two-mass thermo-mechanical damping system.

Key Insights and Ideas

  • Parameters belong in the dynamics, not the manifold: Bypassing hypernetworks by keeping the autoencoder static and routing parameter dependence into the latent equations of motion dropped training time by up to 90% while yielding simpler, lower-frequency latent dynamics.
  • Thermodynamics provides built-in interpretability: The learned latent variables are not arbitrary black-box representations. In the Vlasov–Poisson problem, peaks in the latent entropy production rate directly corresponded to physical growth phases of the two-stream instability.
  • Targeted sampling where physics gets hard: Active learning automatically concentrated training samples in regions with high stiffness and strong oscillations (e.g., low damping $\alpha$), beating uniform sampling accuracy while using fewer total training simulations.

Key Results

  • Vlasov–Poisson Plasma Benchmark:
  • 2,495× speed-up over a spatial-coarsened numerical solver yielding equivalent error, and 1,370× speed-up compared to the solver at its largest stable time step.
  • Achieved 1.66% mean relative error, outperforming DeepONet (2.87%), 3D Fourier Neural Operators (2.20%), and hypernetwork tLaSDI (2.18%) at comparable parameter sizes (~480k parameters).
  • Reduced training cost by 90% and inference cost by 57% compared to hypernetwork-based tLaSDI.
  • Burgers’ Equation Benchmark:
  • Cut training cost by 50% and inference cost by 61% over hyper-autoencoder baselines.
  • Greedy active learning with 8 points outperformed uniform sampling with 9 points, especially reducing worst-case errors.

Limitations and Future Work

  • Dimension Scalability: Evaluated on low-to-moderate parameter dimensions and spatial resolutions; large 3D physical fields remain for future scaling studies.
  • Solver Access Dependency: The physics-informed active learning loop requires evaluating the governing PDE residual, which limits purely data-driven applications where no underlying numerical operator is known (the authors suggest Gaussian process-based sampling as an alternative).
  • Sensitivity to Noise: Computing the Jacobian and modeling losses relies on time derivatives of the state. For noisy experimental data, the authors note that a weak-form (integral) formulation would need to be incorporated.

Summary updated

BibTeX
@article{he2025thermodynamically,
  author = {Xiaolong He and Yeonjong Shin and Anthony Gruber and Sohyeon Jung and Kookjin Lee and Youngsoo Choi},
  title = {{Thermodynamically Consistent Latent Dynamics Identification for Parametric Systems}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=Qy3oLpRzpf},
}
Figure