Neural equilibria for long-term prediction of nonlinear conservation laws

Jose Antonio Lara Benitez, Junyi Guo, Kareem Hegazy, Ivan Dokmanic, Michael W. Mahoney, Maarten V. de Hoop · DOI

Introduction

Nonlinear conservation laws governing mass, momentum, and energy are fundamental to physics but present significant computational challenges. Traditional numerical solvers often struggle with discontinuities like shocks or high-speed regimes where standard approximations fail. Conversely, pure scientific machine learning (SciML) approaches, such as Physics-Informed Neural Networks (PINNs) or Fourier Neural Operators (FNOs), frequently struggle with stability, conservation properties, or long-term accuracy.

To bridge this gap, we present Neural Discrete Equilibrium (NeurDE), a hybrid framework that integrates the mathematical rigor of kinetic theory with the flexibility of deep learning. By embedding a neural network into a Lattice Boltzmann (LB) solver, NeurDE handles complex nonlinear "collisions" while utilizing exact numerical methods for "transport," achieving stable, long-term forecasting of shocks and supersonic flows with high data efficiency.

Methodology: The Neural Twin Approach

The core innovation of NeurDE is its role as a "neural twin" to the Boltzmann-BGK equation. Rather than learning fluid dynamics from scratch, the framework employs kinetic lifting to map macroscopic variables (e.g., density, velocity) into a mesoscopic distribution of particle velocities.

Overview of the Universal Kinetic Framework and NeurDE architecture. Panel (a) illustrates the splitting method between collision and streaming, while panel (b) details the neural network architecture for the discrete equilibrium manifold.

The process consists of four primary stages:

  1. Lifting: Macroscopic observables $U$ are projected into the kinetic space $f$.
  2. Neural Equilibrium: Traditional solvers use simple polynomials for the "collision" step, which fail at high Mach numbers. NeurDE replaces this with a specialized neural network ($\phi^{NN}$) that learns the discrete equilibrium manifold using an exponential-family architecture ($\exp(\lambda \cdot \phi)$) to ensure thermodynamic consistency and positivity.
  3. Exact Transport: The "streaming" step is handled by a standard LB grid, implemented as a fixed, non-trainable convolution to ensure zero numerical diffusion.
  4. Training: The model undergoes static pre-training on the equilibrium manifold followed by dynamic training using multi-step rollouts to maintain physical consistency over time.

Experimental Results

NeurDE was evaluated on high-difficulty benchmarks, including the 1D Sod Shock Tube and 2D supersonic flow past a cylinder (Mach 1.8).

Comparison of LB+NeurDE against reference data and traditional polynomial LB (LB+Poly) for 1D shock tube problems. NeurDE maintains stability and accuracy across temperature, density, velocity, and pressure profiles even at late time steps.

Key findings include:

  • Stability in Extremes: In transonic regimes where traditional polynomial LB schemes diverged within 10 steps, LB+NeurDE remained stable for thousands of steps.
  • Precise Shock Capture: Unlike FNOs, which often produce Gibbs oscillations near discontinuities, NeurDE resolves shocks with crisp precision.
  • Data Efficiency: For 2D supersonic cylinder flow, the model was trained on only 150 time steps—before major shock structures fully formed—yet accurately reconstructed the fully developed flow at step 999.
  • Generalization: Because the transport logic is exact, the model generalizes to time horizons far beyond its training window, accurately predicting evolved shock structures.

Discussion and Future Work

The success of NeurDE highlights the importance of inductive bias in SciML. By hard-coding known transport physics and only learning the complex equilibrium manifold, the model achieves robustness unattainable by purely data-driven methods. This approach overcomes the "polynomial barrier" of traditional LB solvers, making high-order physics feasible for large-scale simulations.

Future research will focus on explicitly incorporating boundary conditions into the neural closure and exploring NeurDE as a "foundation model" for broader applications, such as plasma physics, rarefied gases, and geophysical flows where governing equations may be only partially known.

Summary updated

BibTeX
@misc{benitez2025neural,
  author = {Jose Antonio Lara Benitez and Junyi Guo and Kareem Hegazy and Ivan Dokmanic and Michael W. Mahoney and Maarten V. de Hoop},
  title = {{Neural equilibria for long-term prediction of nonlinear conservation laws}},
  year = {2025},
  eprint = {2501.06933},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.06933},
}
Figure