Learning the Entropic Relaxation: Stable Coarse-Grid Emulation with Neural Discrete Equilibrium
Organizations: Rice University and LBNL · ICSI and University of California at Berkeley · McMaster University and the Vector Institute · University of Basel ·
Abstract
The ability to emulate complicated and computationally-expensive physical systems in an efficient and stable manner is a popular motivation for scientific machine learning (SciML). Stable numerical solvers tend to be computationally expensive, as they attempt to resolve small (spatial and temporal) scales that receive and dissipate spectral energy. Learned coarse-grid forecasters remove the dissipative channel, allowing unresolved frequencies to re-emerge as grid-scale noise (aliasing). In this paper, we use the Neural Discrete Equilibrium (NeurDE) method to explore stable emulation at extremely coarse grids, demonstrating physically-principled control over entropy dynamics that reinforces the physical system's dissipative mechanism. Entropically-stabilized NeurDE produces stable long-time rollouts for thousands of forecasting steps on large Reynolds number turbulent flows () with very coarse grids (down to ). At these very coarse grid scales, entropically-stabilized NeurDE can be more stable than even our stabilized data-generation numerical method.
Figures & tables
| Grid | Method | Faithful Emulation | Field Fidelity | Spectrum Diagnostics | ||||
|---|---|---|---|---|---|---|---|---|
| Vel. err | corr. | err | Spec. RMSE † | High- /ref. | /ref. | |||
| NeurDE | 4/4 | |||||||
| ELBM | 0/1 | |||||||
| NeurDE | 4/4 | |||||||
| ELBM | 0/1 | |||||||
| NeurDE | 4/4 | |||||||
| Grid | Method | Faithful Emulation | Field Fidelity | Spectrum Diagnostics | ||||
|---|---|---|---|---|---|---|---|---|
| Vel. err | corr. | err | Spec. RMSE † | High- /ref. | /ref. | |||
| NeurDE | 4/4 | |||||||
| ELBM | 1/1 | |||||||
| NeurDE | 4/4 | |||||||
| ELBM | 1/1 | |||||||
| NeurDE | 4/4 | |||||||
Appendix figures & tables39 assets
Supplementary material from the paper’s appendix.
Appendix
| Layer | Input Dim | Output Dim | Kernel | Activation |
| Input GN | – | – | ||
| Conv1 | – | |||
| GN1 | – | – | ||
| Act1 | – | GELU/ReLU | ||
| Conv2 | – | |||
| GN2 | – | – |
| Component | Hyperparameter | Value |
| Inputs | Channels | 14: (9, D2Q9), (1), (1), (2), (1) |
| Preprocessing | ||
| Encoder | Layers | 2 conv : , ReLU |
| Evaluations | once per collision step | |
| Update block | Layers | 5 conv: ; ; ; ; ReLU between |
| Input | 64 encoder + 1 + 3 physics hints |
| Field fidelity | Spectrum diagnostics | |||||
|---|---|---|---|---|---|---|
| Grid | Method | Vel. err | corr. | err | Spec. RMSE | High- /ref. |
| NeurDE | ||||||
| NeurDE shell | ||||||
| ELBM | ||||||
| NeurDE | ||||||
| NeurDE shell | ||||||
| Stability | |||||||
|---|---|---|---|---|---|---|---|
| TGV-50K | 374.3 | – | – | 51.3 | 80.0 | 80 | 80 |
| DPSL-50K | 32.5 | – | 14.5 | 39.5 | 56.1 | 80 | 80 |
| DPSL-100K | 16.2 | 8.6 | 16.5 | 44.8 | 68.7 | 80 | 80 |
| Case | Stage | Wall time | Node-h | GCD-h | Steps |
| TGV-50K | Stability | 1:57:19 | 1.96 | 15.64 | 69,611 |
| Solver | 6:00:34 | 6.01 | 48.08 | 3,657 | |
| Solver | 1:50:48 | 1.85 | 14.78 | 1,736 | |
| Solver | 0:39:30 | 0.66 | 5.27 | 787 | |
| Solver | 0:11:14 | 0.19 | 1.50 | 373 | |
| Total | 10:39:27 | 10.66 | 85.26 |
| Grid | Method | Faithful Emulation | Field Fidelity | Spectrum Diagnostics | ||||
|---|---|---|---|---|---|---|---|---|
| Vel. err | corr. | err | Spec. RMSE † | High- /ref. | /ref. | |||
| NeurDE | 3.5/4 | |||||||
| ELBM | 0/1 | |||||||
| NeurDE | 4/4 | |||||||
| ELBM | 0/1 | |||||||
| NeurDE | 4/4 | |||||||
| Grid | Method | Faithful Emulation | Field Fidelity | Spectrum Diagnostics | ||||
|---|---|---|---|---|---|---|---|---|
| Vel. err | corr. | err | Spec. RMSE † | High- /ref. | /ref. | |||
| NeurDE | 4/4 | |||||||
| ELBM | 1/1 | |||||||
| NeurDE | 4/4 | |||||||
| ELBM | 1/1 | |||||||
| NeurDE | 4/4 | |||||||
| Grid | Method | Faithful Emulation | Field Fidelity | Spectrum Diagnostics | ||||
|---|---|---|---|---|---|---|---|---|
| Vel. err | corr. | err | Spec. RMSE † | High- /ref. | /ref. | |||
| NeurDE | 4/4 | |||||||
| ELBM | 0/1 | |||||||
| NeurDE | 4/4 | |||||||
| ELBM | 0/1 | |||||||
| NeurDE | 4/4 | |||||||
| Grid | Method | Faithful Emulation | Field Fidelity | Spectrum Diagnostics | ||||
|---|---|---|---|---|---|---|---|---|
| Vel. err | corr. | err | Spec. RMSE † | High- /ref. | /ref. | |||
| NeurDE | 4/4 | |||||||
| ELBM | 1/1 | |||||||
| NeurDE | 4/4 | |||||||
| ELBM | 1/1 | |||||||
| NeurDE | 4/4 | |||||||
| Grid | Method | Faithful Emulation | Field Fidelity | Spectrum Diagnostics | ||||
|---|---|---|---|---|---|---|---|---|
| Vel. err | corr. | err | Spec. RMSE † | High- /ref. | /ref. | |||
| NeurDE | 4/4 | – | – | |||||
| ELBM | 1/1 | – | – | |||||
| NeurDE | 4/4 | – | – | |||||
| ELBM | 1/1 | – | – | |||||
| NeurDE | 4/4 | – | – | |||||
| Grid | Method | Faithful Emulation | Field Fidelity | Spectrum Diagnostics | ||||
|---|---|---|---|---|---|---|---|---|
| Vel. err | corr. | err | Spec. RMSE † | High- /ref. | /ref. | |||
| NeurDE | 4/4 | – | – | |||||
| ELBM | 1/1 | – | – | |||||
| NeurDE | 4/4 | – | – | |||||
| ELBM | 1/1 | – | – | |||||
| NeurDE | 4/4 | – | – | |||||
| Hyperparameter | Value |
|---|---|
| Spatial dimensions | 2 ( periodic grid) |
| Input / output channels | 4 (density, , , vorticity) |
| Fourier modes retained | 64 per dimension ( after the real FFT) |
| Hidden channels (width) | 128 |
| Fourier layers | 4 |
| Lifting / projection channels | 256 / 256 |
| Hyperparameter | Values swept | Final run |
|---|---|---|
| Hidden channels | 128, 256 | 128 |
| Global batch size | 16, 32, 64 | 16 |
| OneCycle initial divisor ( div_factor ) | 5, 25, 100 | 25 |
| OneCycle final divisor ( final_div_factor ) | 100, 1000 | 100 |
| Hyperparameter | Value |
|---|---|
| Data | |
| Simulation | D2Q9 weakly compressible isothermal LBM, , |
| Trajectory | one trajectory, grid, saved steps |
| Train / validation / test split | 50 % / 10 % / 40 %, contiguous in time |
| Inputs and targets | density, velocity, vorticity |
| Loss and optimizer | |
| Quantity | Value |
|---|---|
| System | NERSC Perlmutter, 1 GPU node |
| GPU type | NVIDIA A100-SXM4, 40 GB |
| Number of GPUs | 4 |
| CPU cores allocated | 64 physical (128 hardware threads) |
| Job wall-clock time | 23.96 h (24 h limit) |
| Training time (epoch 0 to epoch 182) | 23.67 h |
| Rollout length | Epochs | Wall-clock (h) | Minutes per epoch |
|---|---|---|---|
| 1 | 25 | 0.30 | 0.7 |
| 2 | 25 | 0.42 | 1.0 |
| 3 | 25 | 0.53 | 1.3 |
| 5 | 22 | 0.71 | 1.9 |
| 10 | 16 | 1.01 | 3.8 |
| 25 | 40 | 10.02 | 15.0 |
| Quantity | Value |
|---|---|
| System | NERSC Perlmutter, 2 GPU nodes |
| GPU type | NVIDIA A100-SXM4, 80 GB |
| Number of GPUs | 8 (4 per node) |
| CPU cores allocated | 128 physical (256 hardware threads) |
| Total wall-clock time | 38.11 h |
| GPU-hours | 304.8 |
PDE Surrogate Modeling
PDE surrogate modeling builds fast approximations of partial differential equation solutions for simulation, prediction, and design.
See all 347 papers