Manuscript Offprint
arXiv:2611.02458Learning the Entropic Relaxation: Stable Coarse-Grid Emulation with Neural Discrete Equilibrium
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
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 (Re = 100,000) 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.
1 Introduction
Stable coarse-grid simulation can significantly reduce compute time, but it is challenging because discretizing the physical system disrupts the system's ability to dissipate energy [Pope, 2000, Sagaut, 2006, Meneveau and Katz, 2000]. Figure 1 summarizes this failure mode. In fluid dynamics, small-scale (high-frequency) structures such as eddies eventually dissipate via viscosity, converting kinetic energy into thermal energy at a characteristic dissipation scale [Pope, 2000, Frisch, 1995]. When the grid resolution () is fine enough to resolve this scale (), the simulation exhibits stability. Coarse grids, however, have : structures can no longer shrink toward [Ishihara et al., 2009, Sagaut, 2006]. The grid cutoff acts as a nonphysical "boundary" in Fourier space: truncating the physical cascade, aliasing, and forcing this closure error to feed unresolved content back into the represented state [Canuto et al., 2006, Patterson and Orszag, 1971, Gao et al., 2025]. Kinetic energy then accumulates in the highest resolved wavenumbers and re-enters the system as spurious noise [Frisch, 1995, Sagaut, 2006] (bottom rows of Fig. 1). This effect is strongest when the cutoff coincides with dynamically active scales. In two-dimensional turbulence, for example, the inverse-energy and direct-enstrophy cascades make the direction of transfer scale-dependent [Kraichnan,
*Equal contribution.
40th Conference on Neural Information Processing Systems (NeurIPS 2026).
scaling — Resolved reference — Unstabilized — Entropy stabilized — Nyquist limit

Figure 1: Coarse discretization interrupts scale-to-scale energy transfer. Solid curves show the resolved spectral power at successive stages of a rollout; dashed lines indicate an idealized inertial-range decay. As turbulence develops, a coarse representation loses the high-wavenumber dissipative tail and can accumulate grid-scale content, unless the unresolved transfer is modeled. The learned entropic relaxation supplies a local dissipative channel for this missing transfer.
1967, Batchelor, 1969, Boffetta and Ecke, 2012, Bohr et al., 1998, Frisch, 1995], so truncating these exchanges without a compensating dissipative mechanism lets the represented state gain spurious order or energy that the unresolved continuum system would have dissipated. Entropy stability constrains the discrete dynamics, including in shock capturing and turbulence, entropic stabilization also provides an implicit subgrid closure. We call the associated error an entropy-stability error.
A robust scientific machine learning (SciML) emulator must learn a mechanism that absorbs, redistributes, or dampens the energy that is not supported by the coarse grid Smagorinsky [1963], Meneveau and Katz [2000], Sagaut [2006]. Otherwise, SciML methods that learn simple representations or primarily interpolate the represented state during training will inherit this problem, as in Fig. 1. This can be challenging in a purely data-driven setting, where the input data are often already coarsened, with the subgrid dynamics removed Sakarvadia et al. [2026], Gao et al. [2025].
Physical principles can help supply what the data lack. Conservation of mass and momentum is not enough, because a closure can conserve both exactly while injecting energy into the resolved scales, as a negative eddy viscosity does Smagorinsky [1963], Sagaut [2006]. The missing ingredient is the direction of dissipation. In a fluid, viscosity only removes kinetic energy, and in kinetic theory this irreversibility is Boltzmann's H-theorem, the form of the second law stating that collisions never decrease entropy Krüger et al. [2017], Succi [2001]. An entropy-stability error violates this direction, because energy that viscosity should have removed remains in the represented state. Entropy-stable numerical methods avoid this error by enforcing a discrete entropy inequality Tadmor [1987, 2003].
For learned closures, entropy offers a guide that does not depend on the data. The entropy inequality involves only the model's own states, so it can be checked along any rollout and on any grid. It does not replace data, however, because a closure that overdampens can remove critical flow dynamics. Data, therefore, determine how much the closure should dissipate, and entropy determines which updates are admissible. Physics-informed neural networks typically add such conditions as penalties or constraints on generic architectures Raissi et al. [2019], Cai et al. [2021], Patel et al. [2022], Beucler et al. [2021], rather than acting on the dissipative mechanism itself; but this popular "physics-informed" approach has well-known failure modes Krishnapriyan et al. [2021].
In this work, we use the Neural Discrete Equilibrium (NeurDE) framework Benitez et al. [2025] (a novel method that, among other things, can evolve a flow through lattice Boltzmann populations) to develop a method that reinforces dissipation, and we use our solution to explore stable emulation at extremely coarse grid scales. Each lattice Boltzmann step streams these populations exactly between grid points, and then it relaxes them toward a local equilibrium in a collision step, which is where dissipation happens. The standard Bhatnagar–Gross–Krook (BGK) collision Bhatnagar et al. [1954] conserves mass and momentum but does not guarantee the H-theorem, and so it becomes unstable on underresolved grids at low viscosity Karlin et al. [1999], Boghosian et al. [2001]. Entropic lattice Boltzmann methods (ELBM) restore the H-theorem with a single relaxation parameter at each grid point; and this can act as a locally adaptive viscosity Boghosian et al. [2001], Karlin et al. [2003], Hosseini et al. [2023]. However, ELBM computes this parameter from a local entropy balance (Section 3.2), which keeps each collision admissible but is not designed to reproduce the high-resolution dynamics on a coarse grid. Fischer et al. [2025] learn via multi-agent reinforcement learning, while assuming knowledge of the target's energy spectrum, thus limiting their method's applicability to general systems when reference spectral statistics are unavailable. Our entropy constraint does not require these statistics. We instead learn the relaxation parameter with a Deep Equilibrium Model (DEQ) Bai et al. [2019], whose fixed-point iterations mirror this entropic solve. The model is trained to match filtered high-resolution data and to stay consistent with the H-theorem. We call the resulting model entropically-stabilized NeurDE, code available at Hegazy et al. [2026]
We test entropically-stabilized NeurDE on turbulent flow: a workhorse tool of modern science and engineering, which is generally limited in accuracy by the numerical resolution Ferziger et al. [2019], Pope [2000], Ishihara et al. [2009]. A major challenge of simulating turbulence is not the governing equations, but instead that turbulence generates a large range of scales and is scale-invariant Frisch [1995], Pope [2000]. Direct numerical simulation (DNS) must resolve the small structures that transfer and dissipate energy or enstrophy, and the required grid size and stable time step grow rapidly with Reynolds number Ishihara et al. [2009], Tran and Blackbourn [2009], Pope [2000]. SciML offers a complementary route to DNS Kochkov et al. [2021], Azizzadenesheli et al. [2024], Wu et al. [2022], McCabe et al. [2025]. Turbulence, therefore, is an ideal probe to evaluate how well entropically-stabilized NeurDE and other ML and numerical benchmarks handle sub-grid dynamics.
Our main contributions are:
- An entropy-stabilized physics-based model (NeurDE). To achieve stable emulations at extremely coarse grids, we extend NeurDE with an entropic closure that supplies the missing dissipative channel through a physically principled optimization task: enforcing the second law of thermodynamics Callen [1985].
- Explicit fixed-point guarantees. We prove that the DEQ Bai et al. [2019] update admits a fixed point which, if the update is a contraction, is unique and approached geometrically with DEQ depth, as is its entropy residual. Training enforces the second law there.
- Challenging stress tests and benchmarks. We demonstrate entropically-stabilized NeurDE's stable emulation capabilities on turbulent systems with Re = 100,000, for autoregressive steps, and on decreasing numerical grids: to . We compare entropically-stabilized NeurDE to the spectral Fourier Neural Operator (FNO) Li et al. [2021] and the pretrained SciML foundation model Walrus McCabe et al. [2025] (models which are and times larger than entropically-stabilized NeurDE). As a more challenging comparison, we benchmark against ELBM (the data generation simulator).
Pure ML surrogates. A first family of methods replaces the solver entirely with a neural network map between discretized function spaces. Neural operators such as FNO Li et al. [2021], Kovachki et al. [2024] are flexible and fast, but Fourier truncation and learned high-frequency transfer can limit robustness in underresolved regimes Sakarvadia et al. [2026]. Benitez et al. [2024] derive out-of-distribution risk bounds for neural operators applied to the Helmholtz equation; and Kratsios et al. [2024] analyze active expert complexity in mixtures of neural operators. Physics-informed neural networks encode continuous PDE residuals Raissi et al. [2019], Cai et al. [2021], yet their optimization landscape is fragile for nontrivial, e.g., stiff or multiscale dynamics Krishnapriyan et al. [2021]. Foundation models for PDEs such as Poseidon Herde et al. [2024] and Walrus McCabe et al. [2025] broaden coverage by training on large collections of downsampled simulations, at the cost of substantial data and compute. The common thread is that solver-free surrogates have no built-in mechanism to capture missing information from the grid, and stability over long horizons typically has to be enforced through training objectives or regularization, rather than by the integrator itself.
Hybrid solvers with learned components. A second family of models keeps a numerical solver and inserts learning into specific operators Brunton et al. [2020], Kochkov et al. [2021]. The learned component inherits locality, conservation, and discretization structure from the host method, which improves generalization. Most prominently, NeurDE [Benitez et al., 2025] learns local equilibria within a lattice Boltzmann solver. Stability is the central remaining difficulty: short-horizon objectives can accumulate error during long rollouts, and one-step predictions that look plausible can still violate invariants or dissipative structure. Existing remedies include physics-informed penalties Beucler et al. [2021], Raissi et al. [2019], long-horizon closure optimization Fischer et al. [2025], and statistical stabilization such as the Thermalizer Pedersen et al. [2025]. These add stability as an ad hoc training-time correction or post-hoc filter, rather than as a property of the integrator itself.
3 Entropy-Stabilized Kinetic Closure
3.1 Lattice Boltzmann Background
The kinetic backbone of NeurDE is the lattice Boltzmann method (LBM), which discretizes the Boltzmann equation by representing the one-particle distribution through populations at discrete single-particle velocities Bellotti et al. [2025]. The Bhatnagar–Gross–Krook (BGK) collision operator Bhatnagar et al. [1954] relaxes these populations toward equilibrium :
where is the relaxation time and contains the conserved macroscopic variables. Each step combines a local, nonlinear collision with exact streaming: the post-collision population moves to .
Within this model, macroscopic observables are recovered as moments of the populations:
where , , and denote density, macroscopic velocity, and specific total energy; the energy component applies to energy-conserving lattices. NeurDE Benitez et al. [2025] learns the equilibrium map , while retaining the prescribed streaming step. Collision preserves the conserved moments, provided the predicted equilibrium satisfies the same moment constraints as the incoming populations. The full operator splitting and original formulation are retained in Appendix A.3.
3.2 Entropic Stability
Conservation alone does not ensure nonnegative entropy production. For positive pre-collision populations f and lattice weights , the discrete H-function and collision stability condition are

Figure 2: Architecture of entropically-stabilized NeurDE. a The pipeline decouples feature extraction from the iterative DEQ solver. Context z is encoded once and injected into every iteration. b The neural update block processes the concatenated context, state, and physics hints through a convolutional network to refine the stability parameter . c Physics hints include: entropy residual , gradients , and instability indicator. The physics hints are computed outside of the computational graph, ensuring gradients flow only through (implicit differentiation).
The inequality is the discrete H-theorem: physical entropy increases as decreases. By enforcing Eq. 4, one also enforces the second law of thermodynamics; see Appendix A.5 for the thermodynamic interpretation. Classical entropic LBM (ELBM) Karlin et al. [1999] uses an equilibrium minimizing at fixed conserved moments and seeks satisfying
When such a positive mirror state exists, the collision
satisfies Eq. 4, by the convexity of , with set by the nominal viscosity (Appendix A.6.1). Near entropic equilibrium, recovers BGK. At fixed , increases the effective viscosity relative to BGK, while decreases it Hosseini et al. [2023]. The former promotes local smoothing and damping of high-frequency components, while the latter reduces damping and may permit backscatter [Hosseini et al., 2023, Buzzicotti and Tauzin, 2021]. Therefore, the parameter provides a physically-principled mechanism to modulate resolved high-frequency components; and thus it opens the possibility of modeling energy transfer across the grid cutoff (the “Maxwell’s demon” in Fig. 1), without changing the Shannon-Nyquist limit.
This entropy-balance equation defines a local nonlinear solve at each site and time step. We replace this expensive solve with a Deep Equilibrium Model (DEQ; Section 4), using entropy consistency as a training target and rollout diagnostic. A learned fixed point does not automatically satisfy Eq. 4.
4 Entropically-stabilized NeurDE Method
NeurDE Benitez et al. [2025] is a method that leverages the Boltzmann equation backbone to inherit conservation and isolate the learning problem to the unknown physics closure. Specifically, NeurDE predicts the mesoscopic equilibrium single-particle distribution based on the macroscopic variables. NeurDE's neural equilibrium model improves on the fixed-time entropy extremizer Benitez et al. [2025], Levermore [1996]; but this does not guarantee entropy stability across temporal rollouts. Coarse-grid rollout fails for a reason no equilibrium closure can fix: the dissipative channel is absent from the grid, rather than mispredicted, and so an arbitrarily accurate cannot resolve grid-scale or finer features, and this spectral energy then re-enters as grid-scale noise. Entropic stabilization supplies that channel. We therefore swap the BGK collision in NeurDE for the entropic BGK collision of Eq. 6. Under the collision's admissibility and positivity conditions, our ML surrogate aims to satisfy Eq. 4 by predicting that minimizes the difference between each side of the equation in Eq. 5.
4.1 Architecture
ELBM solvers typically find through Newton-type iterations at each grid point and time step [Karlin et al., 1999, Hosseini et al., 2023, Jonnalagadda et al., 2021, Frapolli et al., 2015, Ansumali and Karlin, 2002]. This Newton approach derives each step from a local linearization of the entropy residual. Instead, the DEQ step is based on the Newton optimization scheme, swapping the Newton iterations for neural network depth and improving the optimization step by a nonlinear step calculated through learned multiscale features. Its fixed point determines (Fig. 2).
The encoder maps mesoscopic and macroscopic inputs to a latent context once per the collision step (Fig. 2a). Each DEQ iteration then updates the current estimate from , where contains detached physics hints (entropy residual, residual derivative, and an instability indicator; Fig. 2b–c). The fixed point of this update is the entropic relaxation parameter we use in the collision. Two design choices are worth flagging. The hints guide the iteration but live outside the computational graph, so gradients flow through the learned update map rather than through a hand-coded Newton solve. The encoder is evaluated once and reused across iterations, so the cost per collision scales with the number of DEQ steps to convergence rather than with repeated feature extraction. Appendix C gives the architectural details.
4.2 Fixed-Point Guarantees
We analyze fixed-point existence and entropy-residual convergence under explicit assumptions on the learned DEQ update.
Let , be a bounded domain, and be the feature space. For input (here ), the encoder produces , and the DEQ update induces by . The analysis requires the operator-level self-map and Lipschitz properties in Assumption B.4, allowing pointwise or convolutional realizations.
Fix and a mirror-state operator . We use the representative continuous entropy
with the convention . The weighted lattice entropy in Eq. 3 is its finite-dimensional analogue. Define the entropy-balance residual by
At , the root condition recovers the entropy-balance equation . We assume throughout.
Theorem 4.1 (Existence of Neural Equilibria). Under Assumption B.4, for every with , the induced operator is well defined and admits at least one equilibrium satisfying
Proof. See Appendix B.2.
On a fixed grid, Brouwer's theorem applies, provided the update is a continuous self-map of a compact convex set. The continuum statement remains conditional on Assumption B.4, since the clamp bounds pointwise values, not the seminorm. If the -Lipschitz constant satisfies , this fixed point is unique, and iterates initialized in converge geometrically to it (Appendix B.3). remains an assumption in our DEQ formulation Bai et al. [2019], whereas monDEQ Winston and Kolter [2020] guarantees a unique equilibrium by construction. Under the boundedness and Lipschitz assumptions below, the entropy residual inherits this convergence rate.
Theorem 4.2 (Exponential Convergence of Entropy-Balance Residuals). In the setting of Theorem 4.1 and Proposition B.8, let and . Assume that Assumption B.3 holds on a set . If and if and all but finitely many iterates of are in , then, for all sufficiently large ,

Figure 3: FNO rollout. Vorticity forecast on DPSL-50K at for 5 steps in train (left) and test (right) sets.
Figure 4: Walrus rollout. Walrus vorticity forecast on DPSL-50K at for the entire train (left) and test (right) datasets, roughly 5000 steps each.
Proof. See Appendix B.4.
DEQ convergence does not imply an exact ELBM entropy root. and (Eq. 65) target and , respectively. The shifted tanh restricts to (Table 4), excluding the trivial root , which leaves the populations unchanged. A soft penalty on training states is not a test-time guarantee; compliance is empirical (see Fig. 7).
5 Empirical Results
We evaluate entropically-stabilized NeurDE's emulation capabilities on extremely under-resolved grids, which drastically disrupts dissipation. We use the 2D doubly periodic shear layer (DPSL) and the 2D Taylor Green Vortex (TGV). DPSL is a standard benchmark for vortex roll-up, secondary instability, and vortex merger in two-dimensional turbulence Brown [1995], Minion and Brown [1997], Bedrunka et al. [2021], De Rosis and Coreixas [2020]. TGV is a standard benchmark for evaluating vorticity stability and testing whether entropically-stabilized NeurDE oversmooths and disrupts stable dynamics. Both DPSL and TGV experiments are low-Mach ELBM simulations of the weakly compressible Navier–Stokes shear-layer (Appendix D). For DPSL, Re = 50,000 and Re = 100,000, for TGV Re = 50,000. Both systems have periodic boundary conditions. We train four randomly initialized models on the first half of each simulated data and test on both halves.
We benchmark entropically-stabilized NeurDE against state-of-the-art SciML models and the ELBM that simulated the datasets. The FNO Li et al. [2021], our first SciML benchmark, is a data-driven macroscopic spectral method that learns an autoregressive field-to-field mapping. Walrus McCabe et al. [2025], our second method, is a 1.3B parameter transformer foundation model pretrained on TB of data. FNO and Walrus are respectively and times larger than NeurDE. ML methods are rarely compared against the numerical method that generated their training data, because they rarely outperform it on accuracy and stability for challenging systems. As a challenging benchmark, we compare against the numerical ELBM designed for stable and accurate simulations.
For entropically-stabilized NeurDE and FNO, we train autoregressively with increasing length. FNO and Walrus are trained on the macroscopic observables for the simplest case. Entropically-stabilized NeurDE is first trained on ground truth at and grids, for the Re = 50,000 and Re = 100,000 experiments, respectively. After, we autoregressively train on the macroscopic observables, continuing to coarsen the grid by a factor of two until reaching . When evaluating at , we use the checkpoints trained up to . Since Walrus and entropically-stabilized NeurDE are very different architectures, we fine-tune the pretrained Walrus within its own repository. We train Walrus for roughly twice as long. Further training details are provided in Appendices F (NeurDE), I (FNO), and J (Walrus).
Results. We begin by evaluating the FNO and Walrus benchmarks, which fail to fully forecast through the simplest ( ) DPSL-50K. FNO struggles to properly take a single step and fails after 5 autoregressive steps; see Fig. 3. Walrus shows stable forecasts within the first , but it fails to develop the vortices around in the training dataset and subsequently diverges; see Fig. 4. We note that incompressible turbulent dynamics were included in Walrus' pretraining data, although not this exact problem McCabe et al. [2025]. At in the test dataset, the tails no

Figure 5: Long-rollout comparison on the doubly periodic shear layer at Re=100,000. Vorticity forecasts for the box-filtered high-resolution reference (top), entropy-stabilized NeurDE (middle), and an underresolved ELBM baseline (bottom) on (a) a 64 × 64 grid and (b) a 16 × 16 grid.
longer align and high-frequency noise enters into the center of the vortices. In fact, test images at all times look very similar, indicating Walrus may be struggling to capture the dynamics. Since current ML surrogates struggle to accurately emulate this high Re system, we focus on our more challenging comparison with the numerical ELBM method that generated the data.
On our most challenging dataset, DPSL-100k, entropically-stabilized NeurDE forecasts through the entire training and test datasets for all coarsened resolutions: , , , and . Figure 5a and b compare the results of entropically-stabilized NeurDE (middle row) and the ELBM forecast (bottom row) at and , respectively. The top (ELBM filtered) row is ELBM simulations at and downsampled, while the bottom row is ELBM run at the coarse resolution. ELBM at , shows grid-scale spurious high-frequency noise as early as (Fig. 5a). These figures demonstrate the necessary tradeoff between stability and accuracy. Entropically-stabilized NeurDE stably reproduces the correct dynamics for the remaining DPSL-100k experiments and all but one DPSL-50k seed (Appendices H.2 and H.1); that seed struggles only at , but it still outperforms the ELBM at every resolution.
Quantifying performance on chaotic systems like turbulence makes standard metrics like MSE imprecise and often requires comparisons of the energy spectrum and correlations. Appendix G.7 explains our metrics in detail: velocity error (relative error); corr. (vorticity correlation); error (relative error); spectrum RMSE; high-/reference (ratio of high- energy fractions); enstrophy; palinstrophy. It is important to consider all of these diagnostics together. For example, any Fourier spectrum can be matched by a Gaussian random field lacking coherent structures, intermittency, or turbulent flux statistics Pope [2000], Frisch [1995], so (phase-blind, second-order) metrics like cannot be evaluated alone. However, real-space metrics like MSE upweight large-valued structures, while ignoring the medium and small scales that determine the future flow. Because low-amplitude fine structure contributes little to error, and high-/ref measures an energy fraction rather than its distribution or phase, we also report palinstrophy (Eq. 78), which weights the enstrophy by .
Table 1: Doubly periodic shear layer at Re = 100,000: forecast metrics from the training data () at the final lead time. Entropically-stabilized NeurDE results are the mean standard deviation over four seeds; ELBM results are from one deterministic run. The "Faithful Emulation" reports whether the rollout reproduces the expected structures. Field fidelity: relative error of velocity and vorticity , and vorticity correlation. Spectrum diagnostics: RMSE of over active shells, and high- energy and palinstrophy relative to the reference.
| Grid | Method | Faithful Emulation | Field Fidelity | Spectrum Diagnostics | ||||
|---|---|---|---|---|---|---|---|---|
| Vel. err | corr. | err | Spec. RMSE | High-/ref. 1 | P/ref. 1 | |||
| NeurDEELBM | 4/40/1 | 0.281 | 0.546 | 0.981 | 0.869 | 0.684 | 0.647 | |
| NeurDEELBM | 4/40/1 | 0.392 | 0.542 | 1.03 | 0.438 | 1.98 | 1.49 | |
| NeurDEELBM | 4/40/1 | 0.561 | 0.435 | 1.16 | 0.678 | 3.6 | 2.8 | |
| NeurDEELBM | 4/40/1 | 0.729 | 0.217 | 1.29 | 0.96 | 2.0 | 2.1 | |
Table 2: Doubly periodic shear layer at Re = 100,000: forecast metrics from the testing data () at the final lead time; columns as in Table 1.
| Grid | Method | Faithful Emulation | Field Fidelity | Spectrum Diagnostics | ||||
|---|---|---|---|---|---|---|---|---|
| Vel. err | corr. | err | Spec. RMSE | High-/ref. 1 | P/ref. 1 | |||
| NeurDEELBM | 4/41/1 | 0.0448 | 0.920 | 0.401 | 0.257 | 1.08 | 1.02 | |
| NeurDEELBM | 4/41/1 | 0.0555 | 0.920 | 0.402 | 0.346 | 1.56 | 1.28 | |
| NeurDEELBM | 4/41/1 | 0.0785 | 0.931 | 0.368 | 0.430 | 1.2 | 1.1 | |
| NeurDEELBM | 4/41/1 | 0.224 | 0.884 | 0.469 | 0.331 | 0.82 | 0.69 | |
Despite having erroneous dynamics, ELBM outperforms entropically-stabilized NeurDE on various spectral methods, thus highlighting the challenges of quantifying emulation quality. For all DPSL ELBM simulations on grids and coarser, ELBM simulations diverge and fail to recover the correct dynamics in the training set (see, e.g., Fig. 5, bottom row). Entropically-stabilized NeurDE's strengths are at very coarse resolutions, with performance converging to ELBM as grids become finer. Tables 1 and 2 provide these measurements for DPSL-100K. The "Faithful Emulation" column indicates whether the rollout faithfully reproduces the expected dynamics.
Stability and accuracy illustrate a tradeoff: targeted smoothing increases stability by enforcing dissipation, which causes smoothing that decreases accuracy. Therefore, while ELBM outperforms entropically-stabilized NeurDE on spectral measurements, this likely comes at the cost of stable simulations and ELBM's failure to faithfully simulate the training dynamics. Specifically, by better capturing high-frequency components (Figs. 25 and 21), ELBM is incurring typical high-frequency noise that is known to cause simulation dynamics to diverge. This is also observed in entropically-stabilized NeurDE for the single divergent seed, as explained in Appendix H.1.1.
By enforcing the second law of thermodynamics and reinforcing dissipation, we provide stability through local smoothing that affects the global high-frequency components. We investigate the DPSL-50K predicted at to test whether entropically-stabilized NeurDE is simply oversmoothing everywhere, and to quantify how many pixels are adding high-frequency information. The predicted (Fig. 6) tracks the fine ELBM-generated features, along with the large-scale structures. Moreover, our predicted affects fewer pixels than the ELBM. Together, this indicates that our method is not simply oversmoothing, but instead it is locally smoothing where necessary and possibly more efficiently than ELBM. The predicted is less likely to increase high-frequency components compared to ELBM: the respective percentages of for the predicted and ELBM results are 7% and 40.3% at ; 15.2% and 43.9% at ; and 37.8% and 49.4% at . This likely contributes to entropically-stabilized NeurDE's stability, since ELBM introduces sufficient spurious high-frequency noise for the dynamics to diverge at very coarse grids.
We further test entropically-stabilized NeurDE's adherence to the second law of thermodynamics by investigating violations. Figure 7 shows the percentage of pixels that violate the second law of

Figure 6: prediction. Comparison between ELBM generated and predicted for DPSL-50K on a grid, demonstrating that NeurDE smooths where it needs to.
Figure 7: Entropy Violations. Percentage of entropically-stabilized NeurDE rollout violating the second law of thermodynamics in DPSL-50K.

Figure 8: Long-rollout comparison on the Taylor Green Vortex at Re=50,000. Vorticity forecasts for the box-filtered high-resolution reference (top), entropy-stabilized NeurDE (middle), and an underresolved ELBM baseline (bottom) on a grid. This demonstrates that NeurDE does not smooth where it is unnecessary.
thermodynamics over the training and testing datasets for DPSL-50K. We observe that entropically-stabilized NeurDE rarely violates the second law and thus accomplishes its intended task.
For our final test of entropically-stabilized NeurDE's ability to retain important information and not oversmooth, we train and evaluate on the 2D TGV experiment. The TGV vortices are stable and have little spectral power in high frequencies; thus, any oversmoothing would cause them to diverge. Figure 8 shows that both entropically-stabilized NeurDE and ELBM match the downsampled high-resolution simulations. This indicates that entropically-stabilized NeurDE can retain key spectral information. For other grids, Appendix H.3 provides further emulations, tables of real and spectral metrics, and plots of the spectral metrics for all grids.
Ablation. We ablate our entropic stability study with three methods on DPSL-50K: ELBM, entropically-stabilized NeurDE, and NeurDE shell. NeurDE shell improves energy spectrum alignment over entropically-stabilized NeurDE through fine-tune training on (Appendix E). In Fig. 20, we see that ELBM fails to be as stable as entropically-stabilized NeurDE, indicating that the learned viscosity improves upon state-of-the-art numerical methods. Compared to entropically-stabilized NeurDE, NeurDE shell significantly improves the high-frequency components on the grid (Appendix E.2). Figures 12 and 13 show the real-space emulation results and spectral components, respectively, alongside more detailed comparisons. Table 5 provides the real-space and spectral metrics for all grids. For the lower resolutions, NeurDE shell performs similarly to entropically-stabilized NeurDE (Appendix E.3). However, improving high-frequency alignment creates the possibility of inducing high-frequency noise that can destabilize the emulation. For these reasons, and the small improvements outside of , we use the more stable entropically-stabilized NeurDE.
References
Santosh Ansumali and Iliya V. Karlin. Stabilization of the lattice boltzmann method by the h theorem: a numerical test. Physical Review E, 62(6):7999–8003, 2000. doi: 10.1103/PhysRevE.62.7999.
Santosh Ansumali and Iliya V Karlin. Single relaxation time model for entropic lattice boltzmann methods. Physical Review E, 65(5):056312, 2002.
Jürgen Appell and Petr P. Zabrejko. Nonlinear Superposition Operators. Cambridge University Press, 1990. doi: 10.1017/CBO9780511897450.
Kamyar Azizzadenesheli, Nikola Kovachki, Zongyi Li, Miguel Liu-Schiaffini, Jean Kossaifi, and Anima Anandkumar. Neural operators for accelerating scientific simulations and design. Nature Reviews Physics, 6(5):320–328, 2024. doi: 10.1038/s42254-024-00712-5.
Shaojie Bai, J Zico Kolter, and Vladlen Koltun. Deep equilibrium models. Advances in neural information processing systems, 32, 2019.
Shaojie Bai, Vladlen Koltun, and J Zico Kolter. Multiscale deep equilibrium models. Advances in neural information processing systems, 33:5238–5250, 2020.
Arpit Bansal, Avi Schwarzschild, Eitan Borgnia, Zeyad Emam, Furong Huang, Micah Goldblum, and Tom Goldstein. End-to-end algorithm synthesis with recurrent networks: Extrapolation without overthinking. Advances in Neural Information Processing Systems, 35:20232–20242, 2022.
George K Batchelor. Computation of the energy spectrum in homogeneous two-dimensional turbulence. The Physics of Fluids, 12(12):II–233, 1969. doi: 10.1063/1.1692443.
George K. Batchelor. An Introduction to Fluid Dynamics. Cambridge University Press, 2000. doi: 10.1017/CBO9780511800955.
Mario Christopher Bedrunka, Dominik Wilde, Martin Kliemank, Dirk Reith, Holger Foysi, and Andreas Krämer. Lettuce: Pytorch-based lattice boltzmann framework. In International Conference on High Performance Computing, pages 40–55. Springer, 2021.
Thomas Bellotti. Truncation errors and modified equations for the lattice boltzmann method via the corresponding finite difference schemes. ESAIM: Mathematical Modelling and Numerical Analysis, 57(3):1225–1255, 2023.
Thomas Bellotti, Philippe Helluy, and Laurent Navoret. Fourth-order entropy-stable lattice boltzmann schemes for hyperbolic systems. SIAM Journal on Scientific Computing, 47(1):A586–A611, 2025.
Yoshua Bengio, Jérôme Louradour, Ronan Collobert, and Jason Weston. Curriculum learning. In Proceedings of the 26th annual international conference on machine learning, pages 41–48, 2009.
J Benitez, Junyi Guo, Kareem Hegazy, Ivan Dokmanić, Michael W Mahoney, and Maarten V de Hoop. Neural equilibria for long-term prediction of nonlinear conservation laws. arXiv preprint arXiv:2501.06933, 2025. doi: 10.48550/arXiv.2501.06933.
Jose Antonio Lara Benitez, Takashi Furuya, Florian Faucher, Anastasis Kratsios, Xavier Tricoche, and Maarten V de Hoop. Out-of-distributional risk bounds for neural operators with applications to the helmholtz equation. Journal of Computational Physics, page 113168, 2024.
Roberto Benzi, Sergio Ciliberto, Raffaele Tripiccione, Christophe Baudet, F. Massaioli, and Sauro Succi. Extended self-similarity in turbulent flows. Physical Review E, 48(1):R29–R32, 1993. doi: 10.1103/PhysRevE.48.R29.
Tom Beucler, Michael Pritchard, Stephan Rasp, Jordan Ott, Pierre Baldi, and Pierre Gentine. Enforcing analytic constraints in neural networks emulating physical systems. Physical review letters, 126(9):098302, 2021. doi: 10.1103/PhysRevLett.126.098302.
Prabhu Lal Bhatnagar, Eugene P Gross, and Max Krook. A model for collision processes in gases. i. small amplitude processes in charged and neutral one-component systems. Physical review, 94(3): 511, 1954. doi: 10.1103/PhysRev.94.511.
Guido Boffetta and Robert E Ecke. Two-dimensional turbulence. Annual review of fluid mechanics, 44(1):427–451, 2012. doi: 10.1146/annurev-fluid-120710-101240.
Bruce M Boghosian, Jeffrey Yepez, Peter V Coveney, and Alexander Wager. Entropic lattice boltzmann methods. Proceedings of the Royal Society of London. Series A: Mathematical, Physical and Engineering Sciences, 457(2007):717–766, 2001. doi: 10.1098/rspa.2000.0689.
Tomas Bohr, Mogens H Jensen, Giovanni Paladin, and Angelo Vulpiani. Dynamical systems approach to turbulence, volume 8 of Cambridge Nonlinear Science Series. Cambridge University Press, 1998. doi: 10.1017/CBO9780511599972.
Frank F Bonsall and KB Vedak. Lectures on some fixed point theorems of functional analysis, volume 26. Tata Institute of Fundamental Research Bombay, 1962.
Fabian Bösch, Shyam S Chikatamarla, and Ilya V Karlin. Entropic multirelaxation lattice boltzmann models for turbulent flows. Physical Review E, 92(4):043309, 2015. doi: 10.1103/PhysRevE.92.043309.
François Bouchut. Construction of bgk models with a family of kinetic entropies for a given system of conservation laws. Journal of statistical physics, 95:113–170, 1999.
Iain D Boyd and Thomas E Schwartzentruber. Nonequilibrium gas dynamics and molecular simulation, volume 42. Cambridge University Press, 2017.
David L Brown. Performance of under-resolved two-dimensional incompressible flow simulations. Journal of Computational Physics, 122(1):165–183, 1995.
Steven L Brunton, Bernd R Noack, and Petros Koumoutsakos. Machine learning for fluid mechanics. Annual review of fluid mechanics, 52(1):477–508, 2020.
Michele Buzzicotti and Guillaume Tauzin. Inertial range statistics of the entropic lattice boltzmann method in three-dimensional turbulence. Physical Review E, 104(1):015302, 2021. doi: 10.1103/PhysRevE.104.015302.
Shengze Cai, Zhiping Mao, Zhicheng Wang, Minglang Yin, and George Em Karniadakis. Physics-informed neural networks (pinns) for fluid mechanics: A review. Acta Mechanica Sinica, 37(12):1727–1738, 2021. doi: 10.1007/s10409-021-01148-1.
Herbert B. Callen. Thermodynamics and an Introduction to Thermostatistics. John Wiley & Sons, New York, 2 edition, 1985. ISBN 978-0-471-86256-7.
Claudio Canuto, M. Youssuff Hussaini, Alfio Quarteroni, and Thomas A. Zang. Spectral Methods: Fundamentals in Single Domains. Scientific Computation. Springer, Berlin, Heidelberg, 2006. doi: 10.1007/978-3-540-30726-6.
Lj B Cirić. A generalization of banach's contraction principle. Proceedings of the American Mathematical society, 45(2):267–273, 1974.
S. Cobzaš. Fixed point theorems in locally convex spaces—the schauder mapping method. Fixed Point Theory and Applications, 2006:57950, 2006. doi: 10.1155/FPTA/2006/57950.
Peter A. Davidson. Turbulence: An Introduction for Scientists and Engineers. Oxford University Press, 2 edition, 2015. doi: 10.1093/acprof:oso/9780198722588.001.0001.
Alessandro De Rosis and Christophe Coreixas. Multiphysics flow simulations using d3q19 lattice boltzmann methods based on central moments. Physics of Fluids, 32(11), 2020.
Benedikt Dorschner, Fabian Bösch, Shyam S. Chikatamarla, Konstantinos Boulouchos, and Ilya V. Karlin. Entropic multi-relaxation time lattice boltzmann model for complex flows. Journal of Fluid Mechanics, 801:623–651, 2016. doi: 10.1017/jfm.2016.448.
Lawrence C. Evans. Partial Differential Equations, volume 19 of Graduate Studies in Mathematics. American Mathematical Society, 2 edition, 2010. ISBN 978-0821849743.
Herbert Federer. Geometric Measure Theory. Die Grundlehren der mathematischen Wissenschaften. Springer, 1969.
Joel H Ferziger, Milovan Perić, and Robert L Street. Computational methods for fluid dynamics. Springer Cham, 4 edition, 2019. doi: 10.1007/978-3-319-99693-6.
Paul Fischer, Stefan Kerkemeier, Misun Min, Yu-Hsiang Lan, Malachi Phillips, Thilina Rathnayake, Elia Merzari, Ananias Tomboulides, Ali Karakus, Noel Chalmers, et al. Nekrs, a gpu-accelerated spectral element navier-stokes solver. Parallel Computing, 114:102982, 2022.
Paul Fischer, Sebastian Kaltenbach, Sergey Litvinov, Sauro Succi, and Petros Koumoutsakos. Optimal lattice boltzmann closures through multi-agent reinforcement learning. arXiv preprint arXiv:2504.14422, 2025.
Nicolò Frapolli, Shyam S Chikatamarla, and Iliya V Karlin. Entropic lattice boltzmann model for compressible flows. Physical Review E, 92(6):061301, 2015.
Uriel Frisch. Turbulence: The Legacy of A. N. Kolmogorov. Cambridge University Press, 1995. doi: 10.1017/CBO9781139170666.
Samy Wu Fung, Howard Heaton, Qiuwei Li, Daniel McKenzie, Stanley Osher, and Wotao Yin. Jfb: Jacobian-free backpropagation for implicit networks. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 36, pages 6648–6656, 2022.
Wenhan Gao, Ruichen Xu, Yuefan Deng, and Yi Liu. Discretization-invariance? on the discretization mismatch errors in neural operators. In International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=J9Fgrq00ni.
Harold Grad. On the kinetic theory of rarefied gases. Communications on pure and applied mathematics, 2(4):331–407, 1949. doi: 10.1002/cpa.3160020403.
Kareem Hegazy, Jose Antonio Lara Benitez, and Alexander Kiefer. Kinet. https://github.com/khegazy/kinet, 2026.
Maximilian Herde, Bogdan Raonic, Tobias Rohner, Roger Käppeli, Roberto Molinaro, Emmanuel de Bézenac, and Siddhartha Mishra. Poseidon: Efficient foundation models for pdes. Advances in Neural Information Processing Systems, 37:72525–72624, 2024.
Seyed Ali Hosseini, Mohammad Atif, Santosh Ansumali, and Iliya V Karlin. Entropic lattice boltzmann methods: A review. Computers & Fluids, 259:105884, 2023. doi: 10.1016/j.compfluid.2023.105884.
Takashi Ishihara, Toshiyuki Gotoh, and Yukio Kaneda. Study of high-reynolds number isotropic turbulence by direct numerical simulation. Annual review of fluid mechanics, 41(1):165–180, 2009. doi: 10.1146/annurev.fluid.010908.165203.
Anirudh Jonnalagadda, Atul Sharma, and Amit Agrawal. Single relaxation time entropic lattice boltzmann methods: A developer’s perspective for stable and accurate simulations. Computers & Fluids, 215:104792, 2021. doi: 10.1016/j.compfluid.2020.104792.
Iliya V Karlin and S Succi. Equilibria for discrete kinetic equations. Physical Review E, 58(4):R4053, 1998.
Iliya V. Karlin, Fabian Bösch, and Shyam S. Chikatamarla. Gibbs’ principle for the lattice-kinetic theory of fluid dynamics. Physical Review E, 90(3):031302, 2014. doi: 10.1103/PhysRevE.90.031302.
Ilya V Karlin, Antonio Ferrante, and Hans Christian Öttinger. Perfect entropy functions of the lattice boltzmann method. Europhysics Letters, 47(2):182–188, 1999. doi: 10.1209/epl/i1999-00370-1.
IV Karlin, S Ansumali, E De Angelis, HC Öttinger, and S Succi. Entropic lattice boltzmann method for large scale turbulence simulation. arXiv preprint cond-mat/0306003, 2003.
Dmitrii Kochkov, Jamie A Smith, Ayya Alieva, Qing Wang, Michael P Brenner, and Stephan Hoyer. Machine learning–accelerated computational fluid dynamics. Proceedings of the National Academy of Sciences, 118(21):e2101784118, 2021.
Andrei Nikolaevich Kolmogorov. The local structure of turbulence in incompressible viscous fluid for very large reynolds numbers. Proceedings of the Royal Society of London. Series A: Mathematical and Physical Sciences, 434(1890):9–13, 1991.
Jean Kossaifi, Nikola Kovachki, Zongyi Li, David Pitt, Miguel Liu-Schiaffini, Valentin Durisseaux, Robert Joseph George, Boris Bonev, Kamyar Azizzadenesheli, Julius Berner, and Anima Anandkumar. A library for learning neural operators. arXiv preprint arXiv:2412.10354, 2025.
Nikola B Kovachki, Samuel Lanthaler, and Andrew M Stuart. Operator learning: Algorithms and analysis. arXiv preprint arXiv:2402.15715, 2024.
Robert H. Kraichnan. Inertial ranges in two-dimensional turbulence. The Physics of Fluids, 10(7): 1417–1423, 1967. doi: 10.1063/1.1762301.
Anastasis Kratsios, Takashi Furuya, Jose Antonio Lara Benitez, Matti Lassas, and Maarten de Hoop. Mixtures of neural operators reduce active complexity in operator learning. arXiv preprint arXiv:2404.09101, 2024. doi: 10.48550/arXiv.2404.09101. URL https://arxiv.org/abs/2404.09101.
Aditi Krishnapriyan, Amir Gholami, Shandian Zhe, Robert Kirby, and Michael W Mahoney. Characterizing possible failure modes in physics-informed neural networks. In Advances in Neural Information Processing Systems, volume 34, pages 26548–26560, 2021.
Timm Krüger, Halim Kusumaatmaja, Alexandr Kuzmin, Orest Shardt, Goncalo Silva, and Erland Magnus Viggen. The lattice boltzmann method. Springer International Publishing, 10(978-3): 4–15, 2017.
Jonas Latt, Christophe Coreixas, Joël Beny, and Andrea Parmigiani. Efficient supersonic flow simulations using lattice boltzmann methods based on numerical equilibria. Philosophical Transactions of the Royal Society A, 378(2175):20190559, 2020.
C David Levermore. Moment closure hierarchies for kinetic theories. Journal of statistical Physics, 83:1021–1065, 1996.
Zongyi Li, Nikola Borislavov Kovachki, Kamyar Azizzadenesheli, Burigede liu, Kaushik Bhattacharya, Andrew Stuart, and Anima Anandkumar. Fourier neural operator for parametric partial differential equations. In International Conference on Learning Representations, 2021. URL https://openreview.net/forum?id=c8P9NQVtmm0.
Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In International Conference on Learning Representations (ICLR), 2019. URL https://arxiv.org/abs/1711.05101.
Michael McCabe, Payel Mukhopadhyay, Tanya Marwah, Bruno Regaldo-Saint Blancard, Francois Rozet, Cristiana Diaconu, Lucas Meyer, Kaze WK Wong, Hadi Sotoudeh, Alberto Bietti, et al. Walrus: A cross-domain foundation model for continuum dynamics. arXiv preprint arXiv:2511.15684, 2025.
Nick McGreivy and Ammar Hakim. Weak baselines and reporting biases lead to overoptimism in machine learning for fluid-related partial differential equations. arXiv preprint arXiv:2407.07218, 2024.
Charles Meneveau and Joseph Katz. Scale-invariance and turbulence models for large-eddy simulation. Annual Review of Fluid Mechanics, 32(1):1–32, 2000. doi: 10.1146/annurev.fluid.32.1.1.
Michael L Minion and David L Brown. Performance of under-resolved two-dimensional incompressible flow simulations, ii. Journal of Computational Physics, 138(2):734–765, 1997.
Razvan Pascanu, Tomas Mikolov, and Yoshua Bengio. On the difficulty of training recurrent neural networks. In International conference on machine learning, pages 1310–1318. Pnlr, 2013.
Ravi G Patel, Indu Manickam, Nathaniel A Trask, Mitchell A Wood, Myoungkyu Lee, Ignacio Tomas, and Eric C Cyr. Thermodynamically consistent physics-informed neural networks for hyperbolic systems. Journal of Computational Physics, 449:110754, 2022. doi: 10.1016/j.jcp.2021.110754.
G. S. Patterson and Steven A. Orszag. Spectral calculations of isotropic turbulence: Efficient removal of aliasing interactions. The Physics of Fluids, 14(11):2538–2541, 1971. doi: 10.1063/1.1693365.
Christian Pedersen, Laure Zanna, and Joan Bruna. Thermalizer: Stable autoregressive neural emulation of spatiotemporal chaos. Proceedings of the 42nd International Conference on Machine Learning, 267:48635–48661, 2025.
Stephen B. Pope. Turbulent Flows. Cambridge University Press, 2000. doi: 10.1017/CBO9780511840531.
Stephen B Pope. Turbulent flows. Measurement Science and Technology, 12(11):2020–2021, 2001.
Maziar Raissi, Paris Perdikaris, and George E Karniadakis. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. Journal of Computational physics, 378:686–707, 2019. doi: 10.1016/j.jcp.2018.10.045.
Pierre Sagaut. Large eddy simulation for incompressible flows: an introduction. Springer, 3 edition, 2006. doi: 10.1007/b137536.
Mansi Sakarvadia, Kareem Hegazy, Amin Totounferoush, Kyle Chard, Yaoqing Yang, Ian Foster, and Michael W Mahoney. The false promise of zero-shot super-resolution in machine-learned operators. In International Conference on Learning Representations, 2026. doi: 10.48550/arXiv.2510.06646. URL https://openreview.net/forum?id=hkF7ZM7fEp.
Florian Schornbaum and Ulrich Rude. Massively parallel algorithms for the lattice boltzmann method on nonuniform grids. SIAM Journal on Scientific Computing, 38(2):C96–C126, 2016.
Xiaowen Shan and Xiaoyi He. Discretization of the velocity space in the solution of the boltzmann equation. Physical Review Letters, 80(1):65, 1998. doi: 10.1103/PhysRevLett.80.65.
Xiaowen Shan, Xue-Feng Yuan, and Hudong Chen. Kinetic theory representation of hydrodynamics: a way beyond the navier–stokes equation. Journal of Fluid Mechanics, 550:413–441, 2006.
Joseph Smagorinsky. General circulation experiments with the primitive equations: I. the basic experiment. Monthly weather review, 91(3):99–164, 1963. doi: 10.1175/1520-0493(1963)091<0099:GCEWTP>2.3.CO;2.
Leslie N. Smith and Nicholay Topin. Super-convergence: Very fast training of neural networks using large learning rates. In Artificial Intelligence and Machine Learning for Multi-Domain Operations Applications, volume 11006 of Proc. SPIE, 2019. URL https://arxiv.org/abs/1708.07120.
Sauro Succi. The lattice Boltzmann equation: for fluid dynamics and beyond. Oxford university press, 2001.
Sauro Succi and S Succi. The lattice Boltzmann equation: for complex states of flowing matter. Oxford university press, 2018.
Eitan Tadmor. The numerical viscosity of entropy stable schemes for systems of conservation laws. i. Mathematics of Computation, 49(179):91–103, 1987. doi: 10.1090/S0025-5718-1987-0890255-3.
Eitan Tadmor. Entropy stability theory for difference approximations of nonlinear conservation laws and related time-dependent problems. Acta Numerica, 12:451–512, 2003. doi: 10.1017/S0962492902000156.
G. I. Taylor and A. E. Green. Mechanism of the production of small eddies from large ones. Proceedings of the Royal Society of London. Series A, 158(895):499–521, 1937. doi: 10.1098/rspa.1937.0036.
Chuong V Tran and Luke Blackbourn. Number of degrees of freedom of two-dimensional turbulence. Physical Review E—Statistical, Nonlinear, and Soft Matter Physics, 79(5):056308, 2009. doi: 10.1103/PhysRevE.79.056308.
David Trebotich. Exascale computational fluid dynamics in heterogeneous systems. Journal of Fluids Engineering, 146(4):041104, 2024.
Ronald J Williams and Jing Peng. An efficient gradient-based algorithm for on-line training of recurrent network trajectories. Neural computation, 2(4):490–501, 1990.
Ezra Winston and J. Zico Kolter. Monotone operator equilibrium networks. In Advances in Neural Information Processing Systems, volume 33, 2020.
Tailin Wu, Takashi Maruyama, and Jure Leskovec. Learning to accelerate partial differential equations via latent global evolution. Advances in Neural Information Processing Systems, 35:2240–2253, 2022. doi: 2206.07681.
A Kinetic Theory Background
This appendix reviews the kinetic-theory background used in the main text. We first recall the continuous Boltzmann description and its thermodynamic H-theorem, then describe the Hermite–Gauss quadrature that produces a finite velocity lattice, and finally derive the discrete entropy functional used by entropic lattice Boltzmann methods. The goal is to make explicit where the discrete H-function comes from and why polynomial lattice equilibria can lose the entropy structure that the learned entropic closure is designed to restore.
A.1 Continuous Kinetic Theory and Thermodynamic Structure
A.1.1 Phase Space Formulation
Consider a dilute monatomic gas in the physical domain with . Under the molecular chaos hypothesis (Stosszahlansatz), the state of the gas is completely characterized by the one-particle distribution function , where represents the probability density of finding a particle at position with microscopic velocity at time . We note that the microscopic position and velocity are independent of each other.
a
Phase Space

b
Distribution

Figure 9: Phase-space representation of a kinetic distribution. a Phase space at . The green region marks a spatial volume element containing particles; red particles indicate those whose velocities lie in a selected interval. b The corresponding velocity distribution function . The red area represents the particle count in the selected velocity interval, connecting microscopic particle states to the macroscopic distribution. Inspired by Boyd & Schunk Boyd and Schwartzentruber [2017].
Definition A.1 (Macroscopic Observables). For any phase space function , the corresponding macroscopic field is defined by velocity averaging:
The physically relevant macroscopic quantities are the conserved moments corresponding to mass, momentum, and energy:
where is mass density, u is macroscopic (bulk) velocity, and E is specific total energy.
A.1.2 The Boltzmann Equation and Collision Invariants
The evolution of f is governed by the Boltzmann equation:
(12) where is the collision operator. The physical admissibility of collision processes requires:
Axiom A.2 (Conservation Laws). The collision operator preserves mass, momentum, and energy:
Axiom A.3 (Boltzmann's H-Theorem). For collision operators satisfying Boltzmann's H-theorem and for distribution functions with , the H-functional production is non-positive:
where the continuous H-functional (Boltzmann H-function) is defined as:
Equality holds if and only if almost everywhere.
Remark A.4. For kinetic distributions, the physical entropy has the form up to additive constants fixed by the reference measure. Thus is the H-theorem form of nonnegative entropy production for the modeled collision dynamics.
A.1.3 Equilibrium as Entropy Minimization
The equilibrium distribution is characterized as the entropy minimizer subject to moment constraints. Let be a given macroscopic state with and . The unique solution to the constrained minimization problem
is the Maxwell-Boltzmann (Maxwellian) distribution:
where the kinetic temperature is . This result follows from introducing Lagrange multipliers for the moment constraints; the first-order optimality condition yields , from which Equation (17) follows by identifying through the moment constraints. Convexity of ensures uniqueness.
A.1.4 BGK Collision Model
For computational tractability, we adopt the Bhatnagar-Gross-Krook (BGK) single-relaxation-time approximation Bhatnagar et al. [1954]
where is the relaxation time related to viscosity in hydrodynamics. This model satisfies Axioms A.2 and A.3, and in the hydrodynamic limit (Chapman-Enskog expansion) recovers the compressible Navier-Stokes equations with kinematic viscosity .
A.2 Spectral Discretization of Velocity Space
We now construct a finite-dimensional approximation of the Boltzmann equation that preserves the spectral structure of the continuous theory.
A.2.1 Hermite Polynomial Basis
Definition A.5 (Probabilist Hermite Polynomials). The multidimensional Hermite polynomials indexed by multi-indices are the tensor products of univariate polynomials satisfying the orthogonality relation:
where
is the standard Gaussian weight function, , , and denotes the rank- identity tensor Shan and He [1998], Krüger et al. [2017], Succi and Succi [2018].
Definition A.6 (Polynomial Space). We denote by the space of all real-valued polynomials of total degree at most :
where denotes the monomial corresponding to multi-index .
Definition A.7 (Grad Expansion). For fixed truncation order , the -th order Grad approximation of is Grad [1949]:
where are symmetric moment tensors and : denotes full tensor contraction. The moment tensors are determined by:
Remark A.8. By construction, the truncated Grad expansion satisfies . For the BGK model with Maxwellian equilibrium, the low-Mach Hermite expansion of truncated at yields the standard polynomial lattice equilibrium; the exact Maxwellian ratio is not itself a second-order polynomial except in this truncated approximation.
A.2.2 Gauss-Hermite Quadrature
To evaluate moments without continuous integration, we employ Gaussian quadrature adapted to the Hermite weight Shan and He [1998], Shan et al. [2006], Krüger et al. [2017], Succi [2001].
Definition A.9 (Gauss-Hermite Quadrature Rule). A Gauss-Hermite quadrature rule of degree consists of a finite set of velocity nodes and positive weights such that:
for all ; see Definition A.6.
Assumption A.10 (Quadrature Order). We assume , ensuring exact integration of all moments up to order in the Grad expansion and exact projection of the BGK collision operator.
Remark A.11. Standard lattices satisfy this requirement: D2Q9 has (sufficient for ), D3Q27 has , and higher-order lattices like D3Q121 achieve .
A.2.3 Discrete Populations
The key to preserving thermodynamic structure is the correct definition of discrete populations.
Definition A.12 (Lattice Populations). The discrete particle populations are defined by:
Under Definition A.12 and Assumption A.10, the discrete moments exactly reproduce the continuous moments of . Specifically, for any smooth function in with , we have:
In particular, the conserved moments are preserved exactly: as the function is a polynomial and the quadrature is exact.
To verify this, note that by the Grad expansion Equation (21), we have . For any with , the product by Assumption A.10. Applying the quadrature rule Equation (23):
where we used Definition A.12 in the last equality. Furthermore, because and coincide on the first moments; the quadrature rule is exact for the relevant polynomials, then
A.3 Lattice Boltzmann Background
The kinetic backbone of NeurDE is based on the Boltzmann equation (BE) and the evolution of the discretized single-particle distribution . Here, describes the mesoscopic particle state at position and particle velocity . The distribution is updated via the Bhatnagar–Gross–Krook (BGK) Bhatnagar et al. [1954] particle collision operator, which relaxes towards an equilibrium distribution . The lattice Boltzmann method realizes this view on a finite velocity lattice Bellotti et al. [2025] by evolving populations at positions and discrete velocities :
with relaxation time and conserved macroscopic variable (density, momentum, and, for energy-conserving lattices, energy).
This formulation is well suited to hybrid ML for two reasons. First, the BGK update separates cleanly into a local collision and a global streaming step:
The collision is local but nonlinear, which makes it both highly parallelizable and the natural place to insert a learned component Schornbaum and Rude [2016], Benitez et al. [2025]. The streaming step is linear and is implemented exactly as a shift on the lattice. Second, conserved macroscopic observables are recovered by simple moments of the populations, which preserves conservation laws by construction:
NeurDE inherits the BE mass and momentum conservation and only needs to specify the remaining system-specific physics governed by . To do this, NeurDE learns the system's closure to predict the mesoscopic equilibrium from the macroscopic observables . By learning this macro-to-mesoscopic mapping, NeurDE and (Eq. 29) naturally couple the mesoscopic particle (molecular) and macroscopic (observable) scales.
A.4 Discrete Entropy Functional
Standard lattice Boltzmann implementations employ polynomial equilibria (e.g., second-order Hermite expansions) that approximate the continuous entropy minimizer but do not generally minimize the discrete entropy functional. This discrepancy can manifest as spurious H-function growth, , equivalently negative physical entropy production, which accumulates into numerical instability. The next subsection develops a quadrature-consistent discrete entropy functional on the discrete velocity set.
A.4.1 Projection of the Continuous Entropy
We begin by projecting the continuous entropy functional onto the discrete velocity space. Starting from the continuous entropy and introducing the weight function:
For the Grad approximation , we have by construction. The integrand can be decomposed as:
The first term involves . Since , we can write:
for some coefficients determined by the moment tensors through the Hermite expansion. The logarithm introduces nonpolynomial terms; however, for populations close to equilibrium (the relevant regime for LBM), we assume is strictly positive on the support of the quadrature nodes . Under this condition and requiring quadrature order , the quadrature rule captures the leading-order entropy contributions with controllable error.
Applying the quadrature rule to approximate the continuous integral:
Using Definition A.12, we have , which yields:
We now analyze the second term. Since , we have:
Recognizing the discrete moments for mass and total energy (by Equation (25) with ), we obtain:
Since mass and total energy are collision invariants (conserved by Axiom A.2), we have identically along Boltzmann dynamics. Thus and the first term have identical dynamical content.
Definition A.13 (Discrete Entropy Functional). The discrete entropy functional (discrete -function) is defined as:
which is a discrete relative-entropy functional with respect to the quadrature weights . When , it is the usual Kullback–Leibler divergence ; for fixed non-unit mass it differs from the normalized KL form only by mass-dependent affine terms.
At the quadrature level, the projected entropy is approximated by the decomposition
where is a conserved quantity. Thus, within the discrete quadrature approximation, minimizing the discrete entropy subject to moment constraints is the entropy-consistent discrete counterpart of the continuous constrained minimization problem Karlin et al. [1999], Hosseini et al. [2023].
Remark A.14 (Notation). Throughout the main text, for simplicity of notation, we denote the discrete entropy simply as , as the context implies the discrete functional unless otherwise stated.
A.4.2 Reference measure w
The definition of the discrete entropy in Equation (30) is the canonical entropic-LBM choice for preserving the thermodynamic structure of the continuous Boltzmann equation upon velocity discretization Karlin et al. [1999], Hosseini et al. [2023]. It is easy to see that the Maxwellian Equation (17) and the weight function of the quadrature Equation (19) are related as,
In particular, if we consider the absolute equilibrium state of the fluid at rest with unit density and temperature (). In this state, the continuous Maxwell-Boltzmann distribution function coincides exactly with the Gaussian weight function used for the Hermite spectral projection:
Substituting this physical state into the definition of the lattice populations (Theorem A.12) yields the discrete equilibrium populations at rest:
This identity shows that the vector of quadrature weights is the discrete population vector corresponding to the unit-density rest state. Moreover, since the quadrature is exact for the zeroth moment, by Equation (23) we have
Thus, is a valid probability mass function representing the normalized rest equilibrium.
Consequently, the functional measures the relative entropic cost of the current dynamic state with respect to the rest reference . Minimizing this divergence subject to nonzero momentum constraints gives the discrete analogue of the continuous constrained-entropy problem that recovers the moving Maxwell–Boltzmann distribution.
A.4.3 Entropic Stabilization Motivation
Standard lattice Boltzmann methods employ polynomial equilibria derived by truncating the Hermite expansion of the Maxwellian. The Maxwellian minimizes the continuous entropy , but the discretization error in the Gauss-Hermite quadrature means that polynomial approximations do not generally minimize the discrete entropy . The discrete entropy is strictly convex in , as its Hessian matrix is positive definite for . Therefore, relaxation toward polynomial equilibria that do not minimize can violate the discrete -theorem, producing entropy growth that accumulates into numerical instability over long time integration.
A.5 Entropic Stability
To avoid adding spurious noise (erroneous information) from our coarse discretization, we enforce the second law of thermodynamics by making sure entropy increases or stays constant at every autoregressive step. Naturally, as an isolated system evolves, it reaches equilibrium where disorder and entropy are maximized. Thus, a decreasing entropy indicates that energy (erroneous information) was added to the system.
The BE backbone provides a simple calculation of entropy from the H-function and . Defined up to reference-measure constants, the H-function and entropy are
where is the Boltzmann constant and are the quadrature weights of the discrete velocity lattice Krüger et al. [2017], Succi [2001]. When , Eq. 32 is the Kullback–Leibler divergence ; for nonunit mass it is the corresponding unnormalized relative entropy. Therefore, measures how far the population is from the lattice representation of the Maxwell–Boltzmann rest state (Appendix A.4).
To enforce the second law of thermodynamics, we must satisfy the discrete H-theorem: the H function must decrease or remain constant after the collision operator. A collision that satisfies the H-theorem
dissipates nonequilibrium structure rather than creating spurious grid-scale order. Entropic LBM (ELBM) enforces this condition by a clever construction Karlin et al. [1999]: it introduces a local parameter that stretches the relaxation toward an entropic mirror state,
Classical ELBM chooses as an admissible positive root of , which implies Eq. 34 under the positivity conditions in Appendix A.6.1. At each time step and each spatial grid point, this root is generally found via expensive iterative second-order optimizers. The entropic parameter then turns the BGK collision into
where is fixed by the target viscosity Krüger et al. [2017] and is the entropic BGK collision operator.
Intuitively, is a flow-dependent thermodynamic dial controlling an artificial viscosity. Near equilibrium, and the entropic collision reduces to standard BGK relaxation. In underresolved or strongly nonequilibrium regions, the entropy condition alters to modify the effective relaxation by increasing an artificial viscosity. The larger viscosity increases local dissipation of high-frequency structures before they reach the grid resolution. Figure 1 demonstrates this in Fourier space, where the artificial viscosity dampens the energy spectrum near the grid cutoff, prohibiting energy and information from being lost to the unresolved subgrid frequencies. The artificial viscosity trades unresolved high-frequency fidelity for entropy stability on the represented grid.
Learning the parameter, which controls the artificial viscosity and has no closed-form solution, presents a robust learning problem. Similar to , is local and calculated by an unknown nonlinear function, making it well-suited to neural networks and highly parallelizable. From the described thermodynamic constraints, we create physics-informed losses to enrich this model with physics principles (Appendix A.6). These principles are resolution invariant and provide supplemental information to help the model make predictions on otherwise missing sub-grid information.
A.6 Entropic Stabilization via Involution
To enforce the discrete -theorem, the Entropic Lattice Boltzmann Method (ELBM) constructs collision updates for which an admissible positive entropy-balance root implies by design Karlin et al. [1999], Ansumali and Karlin [2000], Hosseini et al. [2023].
A.6.1 Entropic Involution and Mirror State
Definition A.15 (Entropic Involution). Given pre-collision populations and a target equilibrium , the entropic mirror state parameterized by is defined as
The parameter is determined by requiring that the mirror state has exactly the same entropy as the pre-collision state.
Definition A.16 (Entropy Balance Equation). The entropic parameter is the nontrivial positive root of
with the special value corresponding to the algebraic reflection Karlin et al. [1999], Ansumali and Karlin [2000], Karlin et al. [2014].
The post-collision state is obtained by convex mixing,
Here, sets the nominal viscosity in smooth regions, while is chosen locally via (39) to enforce entropy balance and preserve positivity. Because is convex and is a convex combination of and , with by construction, Jensen's inequality implies
establishing the discrete -theorem for the collision step.
B Proofs of Theoretical Guarantees
B.1 Preliminaries
We recall from Section 4.2 the following: let be positive integers, let be a bounded domain, let be a feature space, and fix a nonempty collection of encoders . For each encoded context , the DEQ update induces an operator .
Definition B.1 (Sobolev space). We write for the (Hilbertian) Sobolev space on ; whose norm we denote by and is given for any by
where denotes the weak derivative of u (provided that it exists).
Definition B.2 ( space). We write to denote the set of nonnegative finite-mass densities or population fields on ; that is, the collection of every satisfying Lebesgue-a.e. and . The probability-normalized case has unit mass, while the lattice-Boltzmann populations used in the experiments may carry nonunit local mass.
Assumption B.3 (Uniform bounds of and ). Let be a set on which is Lipschitz with respect to the norm on and the norm on its image, and on which there exist constants such that
for Lebesgue-a.e. and for all .
From a pointwise symbol to an operator-level update. The architecture in this paper realizes the DEQ update by a finite-depth convolutional network whose spatial coupling is not pointwise. Accordingly, the fixed-point analysis below is phrased at the level of the operator induced on rather than as a Nemytskii (superposition) lift of a pointwise kernel. For each with encoded context , write
for the operator that takes the current iterate to the next. The Nemytskii lift of a pointwise symbol (Lemma B.7) is one realization of ; convolutional updates with bounded layer norms and Lipschitz activations are another. The arguments below depend only on operator-level Lipschitz and self-map properties of on a suitable admissible set, and are agnostic to whether the spatial coupling is pointwise or convolutional.
Assumption B.4 (Operator-level regularity of the DEQ update). The domain is bounded with Lipschitz boundary. There exists a nonempty closed bounded convex set – the admissible set of stability parameters – such that, for every input feature with encoded context , the induced operator satisfies the following:
(A1) (Well-definedness.) is a well-defined map.
(A2) (Invariance of .) .
(A3) -Lipschitzness on .) There exists a constant such that
Remark B.5 (Pointwise (Nemytskii) realization and the role of ). A common way to realize Assumption B.4 is the pointwise case in which is continuously differentiable with bounded Jacobian . Lemma B.7 shows that, with bounded and , the Nemytskii lift is then well-defined and -Lipschitz in . With the additional structural conditions for every and , the lift also stabilizes the Sobolev unit ball , providing a concrete pointwise realization of Assumption B.4 with . In that special case, however, the strict-contraction condition forces the unique fixed point to be the zero function, since . The general admissible-set formulation here avoids that artifact: dropping the zero-anchoring condition allows to be a translate of a Sobolev ball centered near the entropic value , which matches the tanh-bounded shifted output of the architecture used in this paper.
Remark B.6 (Convolutional realization). The architecture used in this paper realizes as a finite composition of convolutional layers with bounded operator norms and Lipschitz pointwise activations, followed by a tanh-bounded shifted output near the entropic value . The shifted output keeps each iterate in a fixed pointwise interval, which gives rise to a closed bounded convex admissible set that is a translate of a Sobolev ball rather than the zero-centered . The Lipschitz constant on is bounded by the product of operator norms of the convolutional layers and the activation Lipschitz constants; we do not unfold these architecture-dependent constants here, because the analysis below depends only on the operator-level conditions in Assumption B.4.
B.2 Existence of Fixed Points
We first establish Theorem 4.1.
Lemma B.7 (Pointwise (Nemytskii) realization of Assumption B.4). Let be a bounded domain with Lipschitz boundary. Suppose is continuously differentiable, and that for every the Jacobian satisfies
Then for every the Nemytskii-type composition operator
(45)
is well-defined and -Lipschitz as a map into . This is the standard superposition-operator viewpoint for Nemytskii maps on Sobolev spaces Appell and Zabrejko [1990]. If, in addition, , for every , and , then also maps the Sobolev unit ball to itself, providing a concrete realization of Assumption B.4 with .
Proof of Lemma B.7. Fix and abbreviate and . We interpret (45) in the standard Nemytskii sense, i.e. for every let . We first show that is -Lipschitz on . To see this first fix . Since is on , the Fundamental Theorem of Calculus along the line segment yields
The -Lipschitzness of on now follows upon taking Euclidean norms across (46) and using the Jacobian bound in the lemma's hypothesis
Next, we show that the composition operator is indeed well-defined on . To this end, the -Lipschitzness of implies Lebesgue-a.e. differentiability by Rademacher's Theorem, cf. [Federer, 1969, Theorem 3.1.6]. We then directly observe that a.e. on . Now, for any we compute the -Sobolev norm of the composition via the chain rule; yielding
for Lebesgue-a.e. . In particular, we have that . Now, as and since is bounded, then the quantity must be finite. Consequently, we have that Lebesgue-almost everywhere; whence
Therefore , so is well-defined as a map into the set .
It remains to verify the Lipschitz estimate. Let . By the first step, for Lebesgue-a.e. , we have . Squaring and integrating yields
so . This proves that is -Lipschitz as a map into .
Conditional self-map on . Suppose now the additional hypotheses , for every , and . The preceding estimate then gives the non-expansive bound
Since , the constant function satisfies , and (47) implies
Combining this with yields
In particular, if then , i.e. . This realizes Assumption B.4 with , but as noted in Remark B.5 this special case forces 0 to be a fixed point of , which is not the regime of interest for the architecture used in this paper.
We are now in a position to prove Theorem 4.1.
Proof of Theorem 4.1. Fix and write . By Assumption B.4(A1)–(A2), the operator is well-defined and leaves the admissible set invariant, and by (A3) its restriction to is -Lipschitz in the metric, hence continuous in .
Since is bounded in and is a bounded domain with Lipschitz boundary, the Rellich–Kondrachov theorem [Evans, 2010, Theorem 5.1] implies that is relatively compact in . To see that is closed in , let with in . The sequence is bounded in the reflexive space , so a subsequence converges weakly in to some ; the same subsequence converges strongly in to , hence a.e. By Mazur’s theorem the closed convex set is weakly closed, so and therefore . Hence is compact in .
Since is continuous in the metric and maps to itself, the Schauder–Tychonoff fixed-point theorem applies; see [Bonsall and Vedak, 1962, page 136] and the discussion in Cobzaš [2006]. Therefore admits a fixed point satisfying (9).
B.3 Uniqueness and Exponential Convergence
If, moreover, the Lipschitz constant is strictly below one, then the preceding result strengthens substantially: the iterates generated by our model converge to the equilibrium at an exponential rate. In particular, under this condition, the equilibrium becomes unique.
Proposition B.8 (Exponential Convergence). In the setting of Theorem 4.1, suppose additionally that in (44). Then the equilibrium is unique, and for any the sequence of iterates defined for every non-negative integer by satisfies the exponential convergence bound
Proof of Proposition B.8. Under Assumption B.4 with , the operator is a strict contraction on in the metric and maps into itself. The proof of Theorem 4.1 shows that is closed in , hence complete in this metric. The Banach contraction principle (also a special case of the generalizations in Čirić [1974]) then yields (i) a unique fixed point of in , and (ii) the exponential estimate (48). By Theorem 4.1 and (i), this unique fixed point is . The argument does not require ; in particular, need not be the zero function and, for the architecture used in this paper, lies near the entropic value rather than at the origin.
B.4 Convergence of the Entropy Balance Functions
To obtain convergence of the associated entropy-balance functions, we require a stability lemma. Although Proposition B.8 gives convergence of the architecture iterates under a strict-contraction assumption, we still need to control how the entropy-balance map varies with respect to its input density. Concretely, we show that the entropy-balance map is Lipschitz on any class of densities satisfying the stated positivity and boundedness assumptions.
Lemma B.9 (Lipschitzness of the Entropy Balance Function). Fix and , and assume that Assumption B.3 holds on . There exists a constant such that the entropy balance function is -Lipschitz on with respect to the metric. Moreover, we have
where denotes any Lipschitz constant of on with respect to the norm on and the norm on its image.
Proof of Lemma B.9. Define by with . Then and for all . In particular, for any , the mean value theorem yields
Now fix and set . By (43) we have for Lebesgue-a.e. and all . Consequently, for any ,
This is precisely (49).
We can now prove convergence of the entropy-balance residual under the hypotheses of Proposition B.8 and Assumption B.3.
Proof of Theorem 4.2. Under the hypotheses of Proposition B.8, the exponential convergence estimate in (48) holds. By assumption, and there exists such that for all with . Define the (tail) set
Consequently, Lemma B.9 applies on , and therefore there exists (cf. (49)) such that the restriction is -Lipschitz.
Hence, for every with we obtain
where the final inequality follows from (48). This concludes the proof upon setting
and relabeling as L.
C Model Architecture
Fig. 2 illustrates the DEQ framework used to approximate Eq. 8. Since is determined by the target Reynolds number Karlin and Succi [1998], we solve the entropy-balance equation at . For an exact positive entropy-balance root, the post-collision convex combination satisfies the discrete H-theorem for any by Jensen's inequality (Eq. 41). The adaptive relaxation parameter is then represented as the fixed point of a learnable transformation. Following a decoupled conditioning strategy Bai et al. [2019, 2020], Fung et al. [2022], the architecture separates high-dimensional feature extraction from the recurrent dynamics that govern the fixed-point iterations.
C.1 Connection to Entropic Root Finding
The DEQ model Bai et al. [2019] is motivated by the fact that the entropic stabilizer is already a root-finding problem. For fixed populations , let
The classical ELBM solve applies a damped Newton map
Thus every admissible entropic root is equivalently a fixed point , provided . We use the DEQ as a learned Newton-style fixed-point solver: instead of running Newton iterations independently at every lattice site and timestep, the learnable map approximates this fixed-point iteration while conditioning on mesoscopic, macroscopic, and physics-hint features. The guarantees in Section 4.2 abstract the conditions under which this learned implicit iteration has a well-defined attractor. When the learned map approximates the Newton root map, the attractor approximates an entropy-balance root; the fixed-point theorem alone guarantees existence and convergence of the learned iteration, not zero entropy residual by itself.
The computational pipeline begins with an encoder that processes microscopic nonequilibrium features () together with macroscopic variables (Fig. 2a). Because NeurDE operates at the mesoscopic level, these inputs can be augmented with higher-order moments, including momentum flux and stress tensors Bösch et al. [2015]. All features are normalized and mapped into a latent context vector , which is computed once per time step and reused in each DEQ iteration. At every iteration, the DEQ update function (Fig. 2b) receives three concatenated inputs: the frozen context , the current state , and the physics-based hint . These are processed by a convolutional network of Conv+GroupNorm layers followed by a tanh activation, and the output is shifted by +2 to keep the predicted near the physically admissible relaxation range. To guide the solver, a physics engine computes auxiliary hints from the current iterate , including the entropy residual, its derivative, and additional instability indicators when available Latt et al. [2020]. By embedding these physically meaningful signals into the update rule, the recurrent map is trained toward low entropy residuals and stable rollouts rather than treated as an unconstrained black-box predictor.
C.2 Feature Encoder Architecture
The feature encoder computes the injection vector that is reused across all DEQ iterations:
where are convolutional layers with group normalization (GN) and activation functions (ReLU or GELU). The encoder maps from input dimension to hidden dimension .
C.3 Update
C.3.1 Layer Configuration
All convolutional layers use padding=1 (except the final conv) to maintain spatial dimensions.
Algorithm 1 Entropy Root DEQ: Complete Forward Pass
1: Input: Distribution functions 2: Macroscopic variables 3: Previous state (optional warm-start) 4: Output: Stability parameter 5: // Feature Encoding (Injection Pattern - Runs ONCE) 6: Concatenate input features: 7: Encode features: 8: // Physics Setup (Pre-computation) 9: Compute lattice weights: for 10: Compute reference entropy 11: Compute physical bound 12: // Initialize Alpha (Warm-start if available) 13: if available and batch sizes match then 14: 15: else 16: 17: end if 18: // DEQ Fixed-Point Iteration 19: Define update function 20: Solve fixed point: 21: // Final Processing 22: 23: Return
▷ Eq. 50
▷ Typically
Table 3: Update Block layer specifications
| Layer | Input Dim | Output Dim | Kernel | Activation |
|---|---|---|---|---|
| Input GN | - | - | ||
| Conv1 | - | |||
| GN1 | - | - | ||
| Act1 | - | GELU/ReLU | ||
| Conv2 | - | |||
| GN2 | - | - | ||
| Act2 | - | GELU/ReLU | ||
| Conv | - | |||
| GN | - | - | ||
| Act | - | GELU/ReLU | ||
| Conv | 1 | - | ||
| Tanh | 1 | 1 | - | tanh |
C.4 Detached Physics Hints
Physics hints are computed with torch.no_grad(). This design choice means:
-
Gradients flow only through the neural network UpdateBlock
-
Physics computations provide guidance but are not differentiable
-
This prevents instabilities from entropy gradient flow
-
Follows the DEQFlow pattern for stability
Table 4: NeurDE architecture hyperparameters, shared by every case, grid, and seed. The equilibrium is the analytic entropic one; the network predicts the ELBM relaxation parameter at each lattice site as the fixed point of a deep equilibrium (DEQ) model. All convolutions use zero padding of width one.
| Component | Hyperparameter | Value |
|---|---|---|
| Inputs | ChannelsPreprocessing | 14: , , , , |
| Encoder | LayersEvaluations | 2 conv : , ReLUonce per collision step |
| Update block | Layers | 5 conv: 68 64; 64 64; 64 32; 32 1; ReLU between |
| Input | 64 encoder + 1 + 3 physics hints | |
| Damping | 0.1: | |
| Physics hints(no gradient) | Entropy residual | |
| Newton direction | , | |
| Instability | ||
| Output | map | , if , else |
| DEQ solver | Forward / backward | Broyden / Broyden, implicit differentiation |
| Max. iterations / tolerance | (both passes) | |
| Initial state | previous step's if available, else | |
| Initialization | Conv weights / biases | |
| Precision | Stability pretraining | float32; bf16 autocast in encoder only |
| Solver training | float64, no autocast | |
| Size | Trainable parameters | 176,641 (encoder 45,056; update block 131,585) |
C.5 Model Hyperparameters
D Experiments and Coarse Graining
This appendix describes the implementation of the spatio-temporal coarse-graining pipeline used to process the high-resolution shear-layer reference described in Section 5.
D.1 Problem Setup
The two-dimensional incompressible Navier–Stokes equations are represented as
where is the velocity, is the pressure, and is the kinematic viscosity.
The LB method provides a mesoscopic discretization of these dynamics by evolving particle distributions on a lattice. Although weakly compressible, LB recovers the incompressible limit for low Mach numbers (). Its local update rules eliminate the need for a global Poisson solver, and the scheme is inherently parallelizable, making it a widely used tool for high-performance fluid simulation and multiphysics coupling Bouchut [1999], Bellotti [2023]. These features make LB a natural platform for evaluating machine-learning closures in challenging underresolved flows.
Numerical framework. We perform simulations on a two-dimensional lattice with a D2Q9 discrete velocity set, for , in the isothermal, weakly compressible regime. The discrete entropic equilibrium admits a closed-form solution Hosseini et al. [2023], allowing us to isolate the stability parameter as the sole quantity requiring closure.

Figure 10: Computational setup for Kelvin–Helmholtz instability simulation. The domain contains two counter-rotating shear layers at and with hyperbolic tangent velocity profiles (blue regions). A sinusoidal perturbation in the cross-stream velocity (red curves) seeds the instability. Green arrows indicate the streamwise velocity direction in each layer. Periodic boundary conditions are applied in both directions (gray dashed arrows).
Computational setup and initialization. The domain is , discretized with and periodic boundary conditions in both directions. The streamwise velocity is prescribed piecewise to form two shear layers centered at and :
while the cross-stream velocity introduces a small sinusoidal perturbation,
which seeds the Kelvin–Helmholtz instability. The parameters are fixed as (reference density), with and (reference velocity), (shear-layer sharpness), and (perturbation amplitude). The Reynolds number is set to , and the LB populations are initialized from the standard equilibrium distribution .
Dataset. The reference trajectory is generated on a grid with nondimensional time step
We refer to this high-resolution trajectory as the reference data in the diagnostics below. It is the resolved LB reference used for filtering and comparison, not an exact spectral solution of the continuum equations.
D.2 Coarse-Graining for Stability Analysis
To study stability under resolution loss, we coarse-grain the reference data to target grids where closure effects dominate. Operating at coarser resolutions (e.g., or ) serves three purposes:
-
analyzing stability in the underresolved regime where closure effects dominate.
-
enabling efficient neural-network training with larger batch sizes.
-
reducing temporal redundancy while preserving essential advective dynamics.
The coarse-graining process applies a box filter in both space and time before decimation, so the coarse fields are local space-time averages of the resolved trajectory rather than point samples.
D.3 Space-Time Box Filter for Coarse-Graining
To generate data at coarser resolutions suitable for stability analysis, we apply a space-time box filter to the reference fields and then decimate. For a field , the filtered velocity field at spatial resolution and temporal spacing is obtained using a product filter
Here is the spatial box kernel and is the temporal box kernel. The implementation uses the discrete version of this product filter, described below.
D.3.1 Mathematical Definition
Our implementation employs the discrete box filter (also known as a top-hat filter or uniform filter) as the filtering operation in Eq. (55).
The continuous spatial box filter in d dimensions is defined as:
where is the filter width. The temporal box filter has the same top-hat form on an interval of width . For a scalar field discretized on a uniform grid with spacing and time step , the filtered field at coarse resolution and is:
where denotes the neighborhood of fine-grid cells that correspond to coarse-grid cell . The spatial filter width is , which coincides with the coarse grid spacing . The temporal factor is chosen consistently with the spatial downsampling factor. Thus, the , 20,000-frame reference gives , , and descendants with 10,000, 5,000, and 2,500 frames. The comparison stage used in Appendix E.2 is the , 10,000-frame space-time box-filtered reference filtered again with .
D.3.2 Implementation via Average Pooling
In our pipeline, the discrete box filter is implemented using average pooling operations. For each spatial axis i, the kernel size is computed as:
where and are the input and output resolutions. For each output frame, the code first averages over a contiguous temporal window of length q and then applies the spatial block average. The filtering operation is then:
This operation is performed on GPU for efficiency and is applied independently to each channel (velocity component, vorticity, etc.). One-dimensional time-like arrays such as t and are reduced with the same temporal mean.
The coarse-graining pipeline consists of four main stages executed sequentially:
-
Metadata Extraction: Preliminary scan of input HDF5 datasets to classify data types and extract dimensional information.
-
Preprocessing: Dataset consolidation and validation, creating temporary merged datasets suitable for parallel processing.
-
Parallel Processing: Distributed spatio-temporal downsampling across multiple workers using configurable backends (SLURM or multiprocessing).
-
Virtual Dataset Assembly: Efficient merging of processed shards using HDF5 virtual datasets to avoid redundant data copies.
E Spectral Finetuning
NeurDE shell, the third method in the ablation of Section 5, is an entropically-stabilized NeurDE that has been fine-tuned with an additional spectral objective. We do not use this fine-tuning for our final results, because it can be challenging to apply. Improving the agreement with the reference at high wavenumbers can also bring in high-frequency noise and aliasing, the kind of grid-scale content that destabilizes the underresolved ELBM rollouts in Section 5. A spectral objective must therefore sharpen small-scale features without destroying the large-scale features and the stability that the entropic closure provides. Ongoing research is looking into metrics and loss functions that strike this balance. Still, NeurDE shell is shown to improve upon entropically-stabilized NeurDE for DPSL-50K while maintaining long-time emulation stability. This appendix describes the fine-tuning procedure and reports the ablation against entropically-stabilized NeurDE and ELBM on DPSL-50K for the , , and grids.
E.1 Fine-tuning Procedure
The rollout loss of Eq. (65) compares fields in real space. Such losses are dominated by the large, energetic structures and are insensitive to the high-wavenumber tail of the spectrum, which is where coarse rollouts lose small-scale energy or inject grid-scale artifacts. Fine-tuning adds a term that compares the highest-wavenumber shells of the rollout's kinetic-energy spectrum to those of the box-filtered reference, so that the closure is also trained to carry the correct amount of energy at the smallest resolved scales.
Starting point. Fine-tuning starts from the trained entropically-stabilized NeurDE checkpoint of the same grid (Appendix F). The architecture, the lattice Boltzmann state variables, and the rollout integrator are unchanged; only the training objective changes.
Spectral-shell loss. At each saved rollout state, we Fourier transform the velocity field and bin the kinetic energy into integer shells,
where V is the number of grid points, following the convention of Appendix G.1. The spectral-shell loss penalizes the mismatch between the rollout and the box-filtered reference on the top quarter of the shells,
where is the Nyquist shell of the grid, so the loss acts on the shells . This lower bound is higher than the cutoff of the high-k energy diagnostic (Appendix G.7), so the loss acts on a narrower band than the diagnostic measures. Because the shell sums discard the Fourier phases, this term only constrains how much energy each high-wavenumber shell carries; the real-space terms of Eq. (65) keep the fields aligned with the reference. The fine-tuning objective is
We say “spectral-shell” rather than “spectral norm” because the penalty acts on shell-averaged flow spectra, not on the operator norm of a network layer.
Table 5: Final metrics of the fine-tuning ablation. Metrics at the final saved horizon of the ( ), ( ), and ( ) rollouts, against the box-filtered reference. The first three columns measure field fidelity; the last two diagnose spectral behavior. Bold marks the best value within each grid block. For High-k/ref., best means closest to one, not smallest.
| Grid | Method | Field fidelity | Spectrum diagnostics | |||
|---|---|---|---|---|---|---|
| Vel. err | corr. | err | Spec. RMSE | High-k/ref. 1 | ||
| NeurDE | 0.0806 | 0.9387 | 2.383 | 3.794 | 0.0077 | |
| NeurDE shell | 0.0462 | 0.9614 | 0.275 | 0.540 | 0.422 | |
| ELBM | 0.0544 | 0.9374 | 0.355 | 0.302 | 1.415 | |
| NeurDE | 0.0686 | 0.9551 | 0.2977 | 0.2593 | 0.6226 | |
| NeurDE shell | 0.0676 | 0.9534 | 0.3021 | 0.2613 | 0.7478 | |
| ELBM | 0.0694 | 0.9456 | 0.3268 | 0.3915 | 1.1259 | |
| NeurDE | 0.205 | 0.910 | 0.425 | 0.631 | 0.301 | |
| NeurDE shell | 0.207 | 0.909 | 0.422 | 0.583 | 0.365 | |
| ELBM | 0.221 | 0.897 | 0.442 | 0.519 | 0.718 | |

c
Figure 11: Core field-level fidelity for forecasts. Entropically-stabilized NeurDE, NeurDE shell, and ELBM are compared against the box-filtered high-resolution reference. (a) Relative velocity error, (b) vorticity correlation, and (c) relative vorticity error over rollout time. Fine-tuning substantially reduces the velocity and vorticity errors of the base model and increases vorticity correlation over the later rollout.
Training. Fine-tuning uses the same rollout training, horizon curriculum, and IPTA gradient subset as the base model, with Eq. (62) in place of Eq. (65) in Algorithm 2. The regularizer is used only during training. At test time there is no spectral filter, projection, or correction; NeurDE shell is advanced with the same local update as entropically-stabilized NeurDE.
Metrics. The field-fidelity and spectrum metrics reported below are those of Appendix G.7: the relative velocity error, the pointwise vorticity correlation, the relative vorticity error, the active-shell log-spectrum RMSE, and the ratio of high-k energy fractions. All metrics are evaluated at the same saved rollout time as the corresponding filtered reference. In generated figure labels and axes, "DNS" denotes the box-filtered high-resolution reference rather than an exact spectral solution of the continuum equations. Table 5 collects the final metrics on all three grids.
E.2 Ablation on the Rollout
This ablation isolates the effect of fine-tuning at . We compare entropically-stabilized NeurDE, NeurDE shell, and under-resolved ELBM against the box-filtered high-resolution reference. The reference target is the , 10,000-frame stage after space-time box filtering to the , 2,500-frame comparison grid.
Field comparison at , horizon 1250,

Figure 12: Field snapshots for the rollout at . Columns compare the box-filtered reference, entropically-stabilized NeurDE, NeurDE shell, and ELBM; rows show density , speed , and vorticity . The base entropically-stabilized NeurDE forecast is visibly over-smoothed in vorticity, while fine-tuning restores sharper vortex structure and better phase alignment with the reference. ELBM preserves the main vortices but shows excess small-scale texture in the fields.
Figure 11 shows the three field-fidelity metrics over the rollout. Fine-tuning gives the best field-level agreement in this comparison (Table 5), whereas ELBM gives the lowest final spectrum log-RMSE while carrying excess high-wavenumber energy relative to the reference. The pointwise vorticity correlation measures phase and coherent-structure fidelity rather than only global statistics. After the early transient, NeurDE shell remains better aligned with the box-filtered reference, while the base model and ELBM decorrelate.
The field snapshots in Fig. 12 explain the correlation improvement visually. NeurDE shell better preserves the signed vortex cores and surrounding filaments at the final saved horizon, whereas the base model over-smooths the vorticity field.
Figure 13 shows the shell-averaged energy spectrum of Appendix G.1 together with the analogous enstrophy spectrum,
At , the energy-spectrum log-RMSE is 3.79 for the base model, 0.540 for NeurDE shell, and 0.302 for ELBM. Fine-tuning therefore greatly reduces the spectral collapse of the base model, while ELBM remains closest to the reference by this final spectral RMSE.
Two-point correlations measure spatial structure. With and , we use
The remaining panels (Figs. 15–18) give the time-resolved fidelity metrics, flow statistics, artifact diagnostics, and two-point error evolution for the same rollouts.

Figure 13: Energy and enstrophy spectra at . The base entropically-stabilized NeurDE forecast loses high-wavenumber energy and enstrophy, while NeurDE shell restores much of the missing spectral content. ELBM remains strongest on the final energy-spectrum log-RMSE, so the improvement should be read as improved field-level fidelity and reduced spectral collapse rather than better spectral accuracy on every metric.

c
d
Figure 14: Two-point correlations at . Velocity correlations are similar across methods, but vorticity correlations expose the main failure of the base model: it preserves overly smooth long-range structure and does not reproduce the reference-like small-scale decorrelation. NeurDE shell and ELBM track the reference vorticity correlation much more closely.

d
e
f
Figure 15: Supplementary fidelity metrics for the fine-tuning ablation. This figure reports the full collection of time-resolved fidelity metrics used to compare entropically-stabilized NeurDE, NeurDE shell, and ELBM against the filtered reference.

Figure 16: Supplementary flow statistics for the fine-tuning ablation. The statistics summarize density, kinetic, vorticity, divergence, and derivative-shape diagnostics for the reference and each rollout.

Figure 17: Supplementary artifact diagnostics for the fine-tuning ablation. Fourier-space and artifact-oriented diagnostics expose how the base forecast loses high-wavenumber content and how fine-tuning recovers a larger fraction of the resolved reference spectral structure.

d
NeurDE:
NeurDE + spectral-shell reg.:
f
ELBM:
Figure 18: Supplementary two-point error evolution for the fine-tuning ablation. The curves track correlation-error evolution over rollout time and separate velocity-correlation errors from the more discriminating vorticity-correlation errors.
E.3 Ablation on the 32 × 32 and 16 × 16 Rollouts
On the coarser grids, fine-tuning has a much smaller effect than at 64² (Table 5). The base model does not show the spectral collapse seen at 64²: its spectrum log-RMSE is 0.259 at 32² and 0.631 at 16², compared with 3.794 at 64². The spectral-shell loss therefore has less missing high-wavenumber energy to restore. Fine-tuning raises the high- energy fraction from 0.623 to 0.748 of the reference value at 32² and from 0.301 to 0.365 at 16², and it lowers the spectrum log-RMSE at 16² from 0.631 to 0.583. The field metrics of the two NeurDE variants differ by at most 1.5% on both grids, and neither variant is better on all of them. Both learned closures have lower velocity error, lower vorticity error, and higher vorticity correlation than ELBM on both grids. ELBM has the lowest spectrum log-RMSE at 16² and carries excess high- energy at 32²; at 16² all three methods stay below the reference high- energy.
E.4 Summary
Across the three grids, fine-tuning changes the field metrics little except at 64², where the base model collapses spectrally and fine-tuning removes the collapse: the vorticity error drops from 2.383 to 0.275 and the high- energy fraction rises from 0.0077 to 0.422 of the reference value. At 32² and 16², the base model does not collapse spectrally, and fine-tuning mainly raises the high- energy fraction while every field metric stays within 1.5% of the base model (Appendix E.3). ELBM keeps the lowest final log-spectrum RMSE at 64² and 16² while carrying excess high- energy at 64² and 32². Fine-tuning therefore helps where entropically-stabilized NeurDE over-smooths, and otherwise leaves its field fidelity essentially unchanged, which is the behavior reported in Section 5.
F NeurDE Training Procedure
The surrogate's effectiveness depends on the training protocol as well as the architecture. Because the entropic parameter directly controls long-time stability in underresolved LB simulations, we train it in the same setting in which it will be used: embedded in the rollout. The protocol combines three elements: rollout-based training, curriculum learning, and the Incremental Progress Training Algorithm (IPTA) Bansal et al. [2022].
F.1 Stability Model Pretraining
Training the stability model begins with a typical supervised training routine from predicted ELBM-generated . As the ELBM grids become finer, . Therefore, we train against the values from the coarsest grid where ELBM can reproduce the expected dynamics. We train the stability model by comparing its output directly to the ELBM through an MSE loss.
F.2 Rollout-Based Training
Rather than optimizing only one-step predictions, the surrogate is embedded directly into the ELBM update and trained through multi-step rollouts. This recursive formulation exposes the model to compounding errors and encourages updates that remain stable over trajectories. The rollout loss balances three objectives:
where is the rollout horizon. In practice, is limited by GPU memory, and the loss is a weighted combination of approximate recovery of the entropic root, preservation of vortical structures, and compliance with the discrete -theorem.
F.3 Curriculum Learning
Applying rollout training with a fixed, long horizon from the start is unstable and memory intensive. We therefore use a curriculum over the rollout horizon Bengio et al. [2009], Bansal et al. [2022]. The model is first trained on short trajectories and is then exposed to longer horizons as training progresses. The effective horizon at epoch is determined by a monotonically increasing schedule :
where is the maximum horizon feasible within hardware memory constraints.² This schedule lets the model learn stable short-term updates before it is required to maintain dynamical consistency over longer intervals.
F.4 Incremental Progress Training Algorithm (IPTA)
Curriculum learning controls the forward rollout length, but gradient computation remains the limiting factor. On short horizons, consecutive states are often nearly identical, giving weak gradients. Backpropagating through the full long-horizon trajectory is typically infeasible due to memory limitations. Truncated Backpropagation Through Time (TBPTT) reduces memory by backpropagating through a fixed recent window of timesteps Williams and Peng [1990], but this introduces a recency bias and ignores longer-range dependencies that matter for physical consistency Pascanu et al. [2013].
We use IPTA Bansal et al. [2022] to decouple the rollout horizon from the backpropagation path. Instead of using a contiguous block of steps, IPTA computes the gradient over a sparse subset :
This selective summation makes the memory cost proportional to the subset size , not the full horizon . This is what allows the curriculum to use effective horizons longer than those feasible with standard backpropagation.
We use two strategies to construct . The first is a deterministic schedule that selects timesteps sparsely near the beginning of a trajectory and more densely toward the end, where rollout errors have had more time to compound. The second is a stochastic schedule that samples timesteps from a distribution biased toward distant states. The deterministic version gives a lower-variance learning signal; the stochastic version gives a more exploratory estimate of long-range temporal effects.
F.4.1 Training Algorithm
The practical implementation is summarized in Algorithm 2. The surrogate is unrolled for a curriculum-selected horizon, and the model parameters are updated using gradients from a sparse subset of timesteps whose size is constrained by the available hardware memory.
Together, rollout training, the horizon curriculum, and IPTA address the main practical tension in this problem: the closure must be trained on long trajectories, but full backpropagation through those trajectories is too expensive. Rollout training exposes the model to compounding error, the loss keeps the update tied to physical consistency, and IPTA makes longer effective horizons feasible under memory constraints.
F.5 Hyperparameters
Optimization. Both stages use AdamW with learning rate and weight decay . The learning rate is warmed up linearly over the first 1000 steps and then held constant. Gradients are clipped to norm 1, and steps whose gradient norm is an outlier (z-score above 2.5 relative to a running average) are scaled down further. The global batch size is 16 for pretraining and 32 for rollout training, split evenly over the eight GCDs. Pretraining runs in float32 with a bfloat16 encoder; rollout training runs in float64. The validation loss is computed every 250 steps, and the checkpoint with the lowest value is kept. Every configuration is trained with four seeds.
Data. Pretraining targets are the ELBM fields at (TGV-50K), (DPSL-50K), and (DPSL-100K). Rollout training uses the ELBM simulation, coarse-grained to . Each simulation is split along time into training, validation, and test blocks in proportions 0.6/0.1/0.3 for
²The floor function, denoted as , gives the greatest integer that is less than or equal to .
Incremental Progress Training Algorithm (IPTA)
Memory:
a Deterministic IPTA
Sparse early, increasing frequency toward end of trajectory.

b Stochastic IPTA
Probabilistic sampling biased toward distant timesteps.

c Standard Truncated BPTT
Fixed recent window, strong recency bias.

Figure 19: Gradient accumulation in the Incremental Progress Training Algorithm (IPTA). By computing gradients over a sparse subset of timesteps, either deterministically (denser near the end) or stochastically (biased toward distant steps), IPTA removes the recency bias of truncated backpropagation and enables memory-efficient long-horizon training.
pretraining and 0.5/0.2/0.3 for rollout training. Rollout training on each grid starts from the model of the previous, finer grid; the finest grid starts from the pretrained model.
Losses. Pretraining minimizes a mean squared error on , weighted by , plus a Jacobian penalty on the DEQ with weight 0.1. The rollout loss of Eq. (65) uses , , and , where is a Huber loss () on , , and with relative weights 1, 1, and 5.
Curriculum and IPTA. The horizon steps through 1, 2, 3, 5, 7, 10, 17, 25, 37, 50, 75, 100, 250, 500, 1000, and 1500, with 2, 1, 1, 5, 1, 5, 1, 5, 1, 7, 1, 10, 10, 10, 10, and 10 epochs respectively (80 in total). Training moves to the next horizon early after 3 epochs without validation improvement, and unused epochs carry over, which allows the final horizon to be reached. Horizons are capped at 75% of the training split. We use the deterministic IPTA schedule with log-spaced timesteps that become denser toward .
Algorithm 2 Training the DEQ Surrogate for
1: Input: DEQ parameters , rollout data , curriculum schedule , IPTA subset strategy, max subset size (hardware-dependent memory budget), vorticity reference , weights , ,
2: Output: Trained DEQ parameters
3: for each epoch do
4: Set rollout horizon
5: for each rollout trajectory do
6: for each timestep do
7: Compute
8: Predict entropic parameter
9: Apply ELBM update with to obtain
10: Evaluate entropy regularizer and vorticity loss
11: Form one-step weighted loss
12: end for
13: Select subset s.t. using the chosen IPTA strategy
14: Accumulate gradients
15: Update using optimizer
16: Save
17: end for
18: end for
Training length. Pretraining was configured for 10,000 epochs and rollout training for 80, but both were also limited by job wall time. Table 6 gives the epochs completed.
Table 6: Epochs completed, mean over four seeds. Rollout training on a grid is complete at 80 epochs; lower values were stopped by the wall-time limit. Epochs shrink as the horizon grows, so counts are not comparable across stages.
| Stability | 384² | 256² | 128² | 64² | 32² | 16² | |
|---|---|---|---|---|---|---|---|
| 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 |
F.6 Compute Costs
All models were trained on the OLCF Frontier supercomputer. A Frontier node contains four AMD Instinct MI250X accelerators. Each MI250X consists of two graphics compute dies (GCDs), and each GCD has 64 GB of high-bandwidth memory and is exposed to software as a separate GPU, so a node provides eight GPUs.³ Every training run in Table 7 used one full node, that is, all eight GCDs. Training was data-parallel: each GCD held a complete copy of the model, the training samples were split evenly across the eight GCDs, and gradients were averaged across GCDs at every step with PyTorch DistributedDataParallel. The spatial domain was not partitioned, so each GCD processed whole grids. Each of the four random seeds was trained as an independent job with this same configuration.
Table 7 reports the cost of each training stage, averaged over the four seeds. The Stage column lists the stability model, which is trained first, and then the solver at each training resolution , which is the reference simulation coarse-grained to an grid. Solver stages are trained from the finest grid to the coarsest, and each stage is initialized from a checkpoint of the previous, finer stage. Each row therefore gives the additional cost of that stage. The cost of obtaining a model at a given resolution includes all finer stages above it. Wall time is the elapsed time of the stage in hours, minutes, and seconds, summed over all jobs used to complete it, because long stages were split into several consecutive jobs that each resumed from the last checkpoint. Node- is the wall time in hours
³OLCF Frontier User Guide, https://docs.olcf.ornl.gov/systems/frontier_user_guide.html.
Table 7: Training budget of the base models, averaged over four seeds. All stages ran on one Frontier node (8 MI250X GCDs) with data-parallel training.
| Case | Stage | Wall time | Node-h | GCD-h | Steps |
|---|---|---|---|---|---|
| TGV-50K | Stability | 1:57:19 | 1.96 | 15.64 | 69,611 |
| Solver 128² | 6:00:34 | 6.01 | 48.08 | 3,657 | |
| Solver 64² | 1:50:48 | 1.85 | 14.78 | 1,736 | |
| Solver 32² | 0:39:30 | 0.66 | 5.27 | 787 | |
| Solver 16² | 0:11:14 | 0.19 | 1.50 | 373 | |
| Total | 10:39:27 | 10.66 | 85.26 | ||
| DPSL-50K | Stability | 1:28:29 | 1.47 | 11.80 | 12,123 |
| Solver 256² | 6:00:45 | 6.01 | 48.10 | 2,453 | |
| Solver 128² | 6:00:48 | 6.01 | 48.11 | 2,948 | |
| Solver 64² | 5:48:24 | 5.81 | 46.45 | 1,539 | |
| Solver 32² | 0:44:44 | 0.75 | 5.97 | 775 | |
| Solver 16² | 0:12:43 | 0.21 | 1.70 | 373 | |
| Total | 20:15:55 | 20.27 | 162.12 | ||
| DPSL-100K | Stability | 1:59:10 | 1.99 | 15.89 | 9,113 |
| Solver 384² | 3:24:32 | 3.41 | 27.27 | 2,125 | |
| Solver 256² | 4:00:21 | 4.01 | 32.05 | 2,625 | |
| Solver 128² | 6:00:27 | 6.01 | 48.06 | 3,259 | |
| Solver 64² | 2:22:38 | 2.38 | 19.02 | 1,597 | |
| Solver 32² | 0:34:03 | 0.57 | 4.54 | 775 | |
| Solver 16² | 0:11:57 | 0.20 | 1.59 | 373 | |
| Total | 18:33:11 | 18.55 | 148.42 |
multiplied by the one node used. GCD-h is the node-hours multiplied by the eight GCDs per node. To count physical MI250X accelerators instead, divide this column by two. Steps is the number of training iterations completed, taken from the last saved checkpoint. For stages that were stopped by the job time limit, this is a lower bound. The Total rows sum all stages for one seed, so the full cost of all four seeds is four times the total.
G Periodic Flow Diagnostics
This appendix records the periodic-flow diagnostics that we use for offline post-processing and will use for future turbulence analyses. These diagnostics are independent of a particular solver implementation. They assume periodic fields, constant-density low-Mach hydrodynamic conventions, and Fourier derivatives on a uniform grid unless stated otherwise. The goal is to make the normalizations explicit, so that spectra, vorticity diagnostics, and time-series balance checks can be compared across saved rollouts without ambiguity.
Throughout this appendix, denotes a spatial average over the periodic grid. Repeated velocity-component indices are summed. The definitions below are hydrodynamic: if a simulation is compressible or variable-density, then density-weighted kinetic energy and compressible energy budgets require additional terms that are not part of these diagnostics.
G.1 Fourier and Energy-Spectrum Conventions
Let denote a velocity field on a periodic grid with grid points. We use the unnormalized discrete Fourier transform convention
(68) where m is the vector of integer FFT modes. With this convention, the zero mode is the spatial mean and nonzero modes describe fluctuations around the mean flow. The kinetic energy per unit mass is defined by
where denotes the spatial average and repeated velocity indices are summed. Parseval's identity then gives
The integer-shell energy is obtained by binning Fourier modes according to :
When the zero shell is included, up to roundoff. If the zero shell is omitted, the sum gives the turbulent kinetic energy after removing mean-flow kinetic energy. This distinction is useful for comparing initialized zero-mean periodic turbulence with rollouts that may develop a small numerical mean.
On an isotropic periodic domain of side length L, the physical shell wavenumber and shell spacing are
The continuum energy spectrum is approximated by
The continuum conversion above assumes a common side length in all coordinate directions. For anisotropic boxes one can still use spectral derivatives with direction-dependent wavenumbers, but shell-averaged spectra should be interpreted with care because spherical shells in integer-mode space no longer correspond to isotropic shells in physical wavenumber space. These are the standard homogeneous-turbulence spectrum conventions used in Pope, Frisch, and Davidson Pope [2000], Frisch [1995], Davidson [2015].
G.2 Spectral Derivatives, Vorticity, and Dissipation
For a periodic scalar field f, spectral differentiation is computed as
where is the physical wavenumber in direction . The divergence diagnostic is . In low-Mach incompressible or weakly compressible calculations, we use the ratio
as a compact measure of compressibility or solver-induced divergence error. In two dimensions, the scalar vorticity is
and the enstrophy is
The palinstrophy is
For three-dimensional flow, and the strain-rate tensor is
For incompressible periodic flow with kinematic viscosity , the kinetic energy dissipation rate is
The corresponding Kolmogorov length and velocity scales are
These vorticity and strain diagnostics follow the usual incompressible-flow notation Batchelor [2000], Pope [2000], Davidson [2015].
G.3 Time-Series Balance Checks
For unforced incompressible periodic flow, kinetic energy decay is controlled by viscous dissipation:
In periodic incompressible flow, when . Thus, an effective viscosity inferred from the energy time series is
When the nominal viscosity is known, the ratio is a direct diagnostic of whether the rollout is dissipating energy at the expected rate.
For the enstrophy balance, the three-dimensional identity is
where the first term is vortex stretching. In two dimensions the stretching term vanishes, leaving purely viscous enstrophy decay. The corresponding effective viscosity estimate is
These balance identities are useful as regression checks for saved rollouts: large disagreement between nominal and effective viscosity typically indicates forcing, boundary effects, insufficient resolution, or non-negligible compressibility terms that are outside the assumptions of this appendix.
We also report basic scalar summaries: component means and root-mean-square velocities, total RMS speed , and the low-Mach RMS Mach diagnostic
For zero-mean homogeneous turbulence, this coincides with the usual turbulent Mach number. If a rollout develops mean drift, the fluctuation-based turbulent Mach number is obtained by replacing with . For lattice Boltzmann units, the default is .
G.4 Inertial-Range Guides
In two-dimensional hydrodynamic turbulence, the inviscid quadratic invariants are kinetic energy and enstrophy. The Kraichnan–Batchelor dual-cascade picture therefore predicts an inverse energy cascade with
and a direct enstrophy cascade with
where is the upscale energy-transfer rate and is the downscale enstrophy-transfer rate. We use the subscripted notation to avoid confusing the enstrophy flux with the ELBM relaxation parameter . In this setting, the enstrophy spectrum satisfies , so the direct-enstrophy range corresponds to . We use these scalings only for two-dimensional hydrodynamic diagnostics Kraichnan [1967], Boffetta and Ecke [2012]. For three-dimensional homogeneous isotropic turbulence, the default inertial range guide is the Kolmogorov energy scaling
with the dissipation rate defined above Pope [2000], Frisch [1995].
We also track longitudinal structure functions for periodic homogeneous fields. For an axis-aligned separation ,
with averages taken over space and over selected coordinate directions. Local scaling exponents are estimated by
When the inertial interval is short, extended self-similarity instead compares structure functions directly, e.g.
This follows the ESS diagnostic of Benzi et al. Benzi et al. [1993].
G.5 Correlations and Small-Scale Shape Statistics
Two-point velocity correlations are computed from the fluctuating velocity :
with averages over space, velocity component , and selected coordinate directions . The normalized correlation provides a scale-space view that is complementary to the Fourier spectrum. In periodic homogeneous turbulence, the correlation length and spectral distribution encode the same large-scale organization, but correlations can be easier to interpret when spectra are noisy or when only a short inertial interval is available Pope [2000], Davidson [2015].
For small-scale intermittency checks, we use the longitudinal derivative and report
The skewness is sensitive to the asymmetric small-scale cascade, while the flatness is a compact measure of heavy tails and intermittency.
G.6 Entropic LBM Diagnostics
The same spectra and structure statistics are useful for evaluating entropic lattice Boltzmann simulations, where stability and inertial-range fidelity are often assessed through energy spectra, compensated spectra, and higher-order structure functions Dorschner et al. [2016], Buzzicotti and Tauzin [2021]. In the present hydrodynamic setting, the diagnostic role is threefold. First, the identity verifies the Fourier normalization and catches shape/order errors in saved velocity tensors. Second, the energy and enstrophy balances measure whether the learned collision introduces the intended effective dissipation without unstable entropy growth. Third, inertial-range statistics test whether the stabilized coarse-grid dynamics preserve the expected cascade phenomenology rather than merely damping the flow.
For comparing a learned entropic closure against a baseline solver, we use the following hydrodynamic checks:
-
Energy consistency: compare and , including the zero shell when the mean flow is relevant.
-
Dissipation consistency: compare and with the nominal viscosity or with the effective viscosity induced by the closure.
-
Cascade consistency: compare compensated spectra against the appropriate or guides, using the two-dimensional enstrophy-cascade guide only for two-dimensional hydrodynamic data.
-
Coherent-structure consistency: compare vorticity RMS, enstrophy, palinstrophy, and structure-function exponents across time.
The diagnostics are therefore not additional training objectives by themselves; they are post-processing tools for verifying that the stabilized rollout remains dynamically credible.
G.7 Turbulence Diagnostics
The metrics are evaluated at the same saved rollout time as the corresponding filtered reference. Let denote the predicted velocity, the reference velocity, and the scalar vorticity computed from the velocity field. The velocity error is , and the vorticity error is , with norms taken over all grid points and velocity components where applicable. The vorticity correlation is the pointwise Pearson correlation
For the spectral columns, is the shell-summed kinetic-energy spectrum defined in Appendix G.1. The reported spectrum RMSE is an active-shell log-spectrum error,
(96)
The high-wavenumber entry is not total energy; it is the ratio of high-k energy fractions,
so a value of one means matching the reference high-k fraction, values above one indicate excess grid-scale energy, and values below one indicate depleted high-wavenumber content.
Let be the model velocity field, and let be the box-filtered reference velocity. Vorticity is computed spectrally from velocity as
The relative velocity error is
The vorticity correlation is
The relative vorticity error is
Here the discrete norm is the RMS norm over grid points and velocity components where applicable. The pointwise vorticity correlation measures phase and coherent-structure fidelity rather than only global statistics.
The shell-averaged energy spectrum uses the Fourier-shell convention in Appendix G.1.
with an analogous enstrophy spectrum
Two-point correlations measure spatial structure. With and , we use
and
H Experimental Results
We report forecasts for the doubly periodic shear layer at Re = 50,000 (DPSL-50K) and Re = 100,000 (DPSL-100K), and the Taylor Green vortex at Re = 50,000 (TGV). For all experiments, the reference is the 512² numerical ELBM simulation downsampled to each grid following the techniques described in Appendix D.3. Training forecasts start at ; testing forecasts start at , where is the rollout length. Figures show seed 2025; tables report entropically-stabilized NeurDE as mean standard deviation over four seeds and ELBM as one deterministic run.
H.1 Doubly periodic shear layer at Re=50,000
We present the results for the doubly periodic shear layer at Re = 50,000. The real-space and spectral metrics are presented in Tables 8 and 9 for the training and testing datasets, respectively. Figure 20 shows real-space forecasts for a single seed, and Fig. 21 shows the spectral metrics. These results are visually indistinguishable from those of the other seeds, except for a single case described below.
For the model trained with seed 576268, the emulation diverges noticeably, but still maintains the primary features. This is the only instance where any entropically-stabilized NeurDE emulation diverges from the expected results. We highlight this example in Appendix H.1.1.
Table 8: Real-space and spectral metrics for doubly periodic shear layer at Re = 50,000. We compare emulation metrics from the training data () at the final lead time against the downsampled reference. Entropically-stabilized NeurDE results are the mean standard deviation over four seeds; ELBM results are from one deterministic run. The "Faithful Emulation" reports whether the rollout reproduces the expected structures. Field fidelity: relative error of velocity and vorticity , and vorticity correlation. Spectrum diagnostics: RMSE of over active shells, and high- energy and palinstrophy relative to the reference. Bold marks the better method per grid.
| Grid | Method | Faithful Emulation | Field Fidelity | Spectrum Diagnostics | ||||
|---|---|---|---|---|---|---|---|---|
| Vel. err | corr. | err | Spec. RMSE | High-/ref. 1 | P/ref. 1 | |||
| NeurDE | 3.5/4 | |||||||
| ELBM | 0/1 | 0.259 | 0.600 | 0.92 | 0.967 | 0.48 | 0.540 | |
| NeurDE | 4/4 | |||||||
| ELBM | 0/1 | 0.381 | 0.582 | 0.961 | 0.479 | 1.5 | 1.20 | |
| NeurDE | 4/4 | |||||||
| ELBM | 0/1 | 0.551 | 0.456 | 1.13 | 0.767 | 3.4 | 2.6 | |
| NeurDE | 4/4 | |||||||
| ELBM | 0/1 | 0.720 | 0.212 | 1.29 | 0.987 | 1.9 | 2.2 | |
Table 9: Real-space and spectral metrics for doubly periodic shear layer at Re = 50,000. We compare emulation metrics from the testing data () at the final lead time, against the downsampled reference. Entropically-stabilized NeurDE results are the mean standard deviation over four seeds; ELBM results are from one deterministic run. The "Faithful Emulation" reports whether the rollout reproduces the expected structures. Field fidelity: relative error of velocity and vorticity , and vorticity correlation. Spectrum diagnostics: RMSE of over active shells, and high- energy and palinstrophy relative to the reference. Bold marks the better method per grid.
| Grid | Method | Faithful Emulation | Field Fidelity | Spectrum Diagnostics | ||||
|---|---|---|---|---|---|---|---|---|
| Vel. err | corr. | err | Spec. RMSE | High-/ref. 1 | P/ref. 1 | |||
| NeurDE | 4/4 | |||||||
| ELBM | 1/1 | 0.021 | 0.970 | 0.244 | 0.286 | 0.96 | 0.921 | |
| NeurDE | 4/4 | |||||||
| ELBM | 1/1 | 0.0548 | 0.939 | 0.349 | 0.308 | 1.4 | 1.17 | |
| NeurDE | 4/4 | |||||||
| ELBM | 1/1 | 0.0697 | 0.945 | 0.328 | 0.440 | 1.25 | 1.16 | |
| NeurDE | 4/4 | |||||||
| ELBM | 1/1 | 0.209 | 0.901 | 0.435 | 0.348 | 0.783 | 0.709 | |

Figure 20: Doubly periodic shear layer at Re = 50,000: vorticity forecasts on grids (a) , (b) , (c) , and (d) ; the grid size is also marked to the left of each panel. In each panel, the rows are the downsampled reference (top), entropically-stabilized NeurDE (middle), and numerical ELBM run at that grid (bottom). The left block starts from the training data ( ), the right block from the testing data ( ); columns are lead times in solver steps.

Figure 21: Doubly periodic shear layer at Re = 50,000: shell-averaged spectra at the final lead time on grids (a) , (b) , (c) , and (d) . Columns are the energy , enstrophy , and palinstrophy spectra, where k is the wavenumber shell; rows are forecasts from the training (top) and testing (bottom) data. Curves compare the downsampled reference, numerical ELBM, and entropically-stabilized NeurDE.

Figure 22: The percentage of pixels that violate the second law of thermodynamics over the NeurDE emulation of the doubly periodic shear layer at Re = 50,000. We show the training and testing datasets for all grids. The mean and standard deviation are taken over all seeds.
H.1.1 Single Seed Divergence
We highlight the emulation results of the entropically-stabilized NeurDE model trained on DPSL-50K with seed 576268 and evaluated on the grid. We note that this is the only noticeable real-space divergence amongst all the models evaluated on all the coarsened grids. This includes this same model (seed 576268) evaluated on DPSL-50K on coarser grids. Notably, despite this divergence, this model is still more stable than ELBM.
Figures 23a and b show the real-space and spectral components of the emulation. At late times in train set emulation, entropically-stabilized NeurDE begins to diverge from the ground truth. While two erroneous vortices begin to emerge, it still captures the general features of the ground truth dynamics. For ELBM, these vortices have already formed before . Therefore, while this specific entropically-stabilized NeurDE model is less stable than all the others, it is still more stable than the ELBM comparison.
The spectral metrics of this emulation (Fig. 23b) perform better than the metrics for the emulation of seed 2025 (Fig. 21a). This further supports our claim that quantifying simulation and emulation quality of chaotic dynamics is very challenging. Again, we see that improved spectral methods have led to significant divergence in the simulation compared to the 2025 seed.

Figure 23: Doubly periodic shear layer at Re = 50,000, seed 576268 on the grid: (a) vorticity forecasts and (b) shell-averaged spectra at the final lead time, laid out as in Figs. 20 and 21. The rollout stays finite, but its forecast from the training data departs from the other three seeds: at its velocity error is 0.174 (other seeds 0.080–0.096) and its vorticity correlation is 0.683 (0.829–0.862). It also keeps more energy at high k than the other seeds (high-k/ref. 0.142 against 0.007–0.034). Its forecast from the testing data is in line with, and on the field metrics slightly better than, the other seeds.
H.2 Doubly periodic shear layer at Re=100,000
We present the results for the doubly periodic shear layer at Re = 100,000. The real-space and spectral metrics are presented in Tables 10 and 11 for the training and testing datasets, respectively. Figure 24 shows real-space forecasts for a single seed, and Fig. 25 shows the spectral metrics. These results are visually indistinguishable from those of the other seeds.
Table 10: Real-space and spectral metrics for doubly periodic shear layer at Re = 100,000. We compare emulation metrics from the training data () at the final lead time against the downsampled reference. Entropically-stabilized NeurDE results are the mean standard deviation over four seeds; ELBM results are from one deterministic run. The "Faithful Emulation" reports whether the rollout reproduces the expected structures. Field fidelity: relative error of velocity and vorticity , and vorticity correlation. Spectrum diagnostics: RMSE of over active shells, and high- energy and palinstrophy relative to the reference. Bold marks the better method per grid.
| Grid | Method | Faithful Emulation | Field Fidelity | Spectrum Diagnostics | ||||
|---|---|---|---|---|---|---|---|---|
| Vel. err | corr. | err | Spec. RMSE | High-/ref. 1 | P/ref. 1 | |||
| NeurDEELBM | 4/40/1 | 0.281 | 0.546 | 0.981 | 0.869 | 0.684 | 0.647 | |
| NeurDEELBM | 4/40/1 | 0.392 | 0.542 | 1.03 | 0.438 | 1.98 | 1.49 | |
| NeurDEELBM | 4/40/1 | 0.561 | 0.435 | 1.16 | 0.678 | 3.6 | 2.8 | |
| NeurDEELBM | 4/40/1 | 0.729 | 0.217 | 1.29 | 0.96 | 2.0 | 2.1 | |
Table 11: Real-space and spectral metrics for doubly periodic shear layer at Re = 100,000. We compare emulation metrics from the testing data () at the final lead time against the downsampled reference. Entropically-stabilized NeurDE results are the mean standard deviation over four seeds; ELBM results are from one deterministic run. The "Faithful Emulation" reports whether the rollout reproduces the expected structures. Field fidelity: relative error of velocity and vorticity , and vorticity correlation. Spectrum diagnostics: RMSE of over active shells, and high- energy and palinstrophy relative to the reference. Bold marks the better method per grid.
| Grid | Method | Faithful Emulation | Field Fidelity | Spectrum Diagnostics | ||||
|---|---|---|---|---|---|---|---|---|
| Vel. err | corr. | err | Spec. RMSE | High-/ref. 1 | P/ref. 1 | |||
| NeurDEELBM | 4/41/1 | 0.0448 | 0.920 | 0.401 | 0.257 | 1.08 | 1.02 | |
| NeurDEELBM | 4/41/1 | 0.0555 | 0.920 | 0.402 | 0.346 | 1.56 | 1.28 | |
| NeurDEELBM | 4/41/1 | 0.0785 | 0.931 | 0.368 | 0.430 | 1.2 | 1.1 | |
| NeurDEELBM | 4/41/1 | 0.224 | 0.884 | 0.469 | 0.331 | 0.82 | 0.69 | |

Figure 24: Doubly periodic shear layer at Re = 100,000: vorticity forecasts on grids (a) , (b) , (c) , and (d) ; the grid size is also marked to the left of each panel. In each panel, the rows are the downsampled reference (top), entropically-stabilized NeurDE (middle), and numerical ELBM run at that grid (bottom). The left block starts from the training data ( ), the right block from the testing data ( ); columns are lead times in solver steps.

Figure 25: Doubly periodic shear layer at Re = 100,000: shell-averaged spectra at the final lead time on grids (a) , (b) , (c) , and (d) . Columns are the energy , enstrophy , and palinstrophy spectra, where k is the wavenumber shell; rows are forecasts from the training (top) and testing (bottom) data. Curves compare the downsampled reference, numerical ELBM, and entropically-stabilized NeurDE.

Figure 26: The percentage of pixels that violate the second law of thermodynamics over the NeurDE emulation of the doubly periodic shear layer at Re = 100,000. We show the training and testing datasets for all grids. The mean and standard deviation are taken over all seeds.
H.3 Taylor Green Vortex at Re=50,000
We present the results for the Taylor Green vortex experiment at Re = 50,000. The real-space and spectral metrics are presented in Tables 12 and 13 for the training and testing datasets, respectively. Figure 27 shows real-space forecasts for a single seed, and Fig. 28 shows the spectral metrics. These results are visually indistinguishable from those of the other seeds.
The two spectrum diagnostics (Spec. RMSE and High-k/ref.) are left blank at every resolution. This follows from the flow itself. We initialize TGV with the single-mode field , , which is an exact solution of the two-dimensional incompressible Navier-Stokes equations: the pressure gradient balances the nonlinear term, so the vortex decays in place and passes no energy to smaller scales [Taylor and Green, 1937]. In our weakly compressible simulations (Ma = 0.1), the energy therefore stays in the lowest wavenumber shells over the whole forecast window. The shells above the high-k cutoff ( on an grid) hold energy only at the level of floating-point roundoff. Both spectrum diagnostics then reduce to comparisons of roundoff. High-k/ref. divides the predicted high-k energy fraction by a reference fraction that is effectively zero. Spec. RMSE is a logarithmic error that weights every retained shell equally, so it is dominated by shells whose reference energy is numerical noise rather than flow. The computed values confirm this. At the final horizon, entropically-stabilized NeurDE's High-k/ref. for TGV ranges from 20 to across seeds and grids, and it does not change monotonically with resolution. We therefore omit these two columns for TGV. The velocity error, the vorticity error and correlation, and the palinstrophy ratio remain well defined and are reported.
Table 12: Real-space and spectral metrics for TGV at Re = 50,000. We compare emulation metrics from the training data () at the final lead time against the downsampled reference. Entropically-stabilized NeurDE results are the mean standard deviation over four seeds, ELBM results are from one deterministic run. The "Faithful Emulation" reports whether the rollout reproduces the expected structures. Field fidelity: relative error of velocity and vorticity , and vorticity correlation. Spectrum diagnostics: RMSE of over active shells, and high-k energy and palinstrophy relative to the reference. Bold marks the better method per grid.
| Grid | Method | Faithful Emulation | Field Fidelity | Spectrum Diagnostics | ||||
|---|---|---|---|---|---|---|---|---|
| Vel. err | corr. | err | Spec. RMSE | High-k/ref. 1 | P/ref. 1 | |||
| NeurDE | 4/4 | - | - | |||||
| ELBM | 1/1 | 1.00 | - | - | 1.00 | |||
| NeurDE | 4/4 | - | - | |||||
| ELBM | 1/1 | 0.00162 | 1.00 | 0.00179 | - | - | 0.997 | |
| NeurDE | 4/4 | - | - | |||||
| ELBM | 1/1 | 0.00317 | 1.00 | 0.00355 | - | - | 0.995 | |
| NeurDE | 4/4 | - | - | |||||
| ELBM | 1/1 | 0.0228 | 1.00 | 0.0228 | - | - | 0.956 | |
Table 13: Real-space and spectral metrics for TGV at Re = 50,000. We compare emulation metrics from the testing data () at the final lead time against the downsampled reference. Entropically-stabilized NeurDE results are the mean standard deviation over four seeds, ELBM results are from one deterministic run. The "Faithful Emulation" reports whether the rollout reproduces the expected structures. Field fidelity: relative error of velocity and vorticity , and vorticity correlation. Spectrum diagnostics: RMSE of over active shells, and high-k energy and palinstrophy relative to the reference. Bold marks the better method per grid.
| Grid | Method | Faithful Emulation | Field Fidelity | Spectrum Diagnostics | ||||
|---|---|---|---|---|---|---|---|---|
| Vel. err | corr. | err | Spec. RMSE | High-k/ref. 1 | P/ref. 1 | |||
| NeurDE | 4/4 | - | - | |||||
| ELBM | 1/1 | 1.00 | - | - | 0.999 | |||
| NeurDE | 4/4 | - | - | |||||
| ELBM | 1/1 | 0.00180 | 1.00 | 0.00197 | - | - | 0.997 | |
| NeurDE | 4/4 | - | - | |||||
| ELBM | 1/1 | 0.00319 | 1.00 | 0.00365 | - | - | 0.995 | |
| NeurDE | 4/4 | - | - | |||||
| ELBM | 1/1 | 0.0231 | 1.00 | 0.0232 | - | - | 0.955 | |

Figure 27: TGV velocity streamline emulations at Re = 50,000, colored by speed on grids (a) , (b) , (c) , and (d) ; the grid size is also marked to the left of each panel. In each panel, the rows are the downsampled reference (top), entropically-stabilized NeurDE (middle), and numerical ELBM run at that grid (bottom). The left block starts from the training data ( ), the right block from the testing data ( ); columns are lead times in solver steps.

Figure 28: TGV at Re = 50,000 shell-averaged spectra at the final lead time on grids (a) , (b) , (c) , and (d) . Columns are the energy , entropropy , and palinstrophy spectra, where k is the wavenumber shell; rows are forecasts from the training (top) and testing (bottom) data. Curves compare the downsampled reference, numerical ELBM, and entropically-stabilized NeurDE. The flow stays in a few low-k shells, so the high-k tail is at roundoff level.

Figure 29: The percentage of pixels that violate the second law of thermodynamics over the NeurDE emulation of the Taylor Green vortex experiment at Re = 50,000. We show the training and testing datasets for all grids. The mean and standard deviation are taken over all seeds.
I Fourier Neural Operator Baseline
We use the Fourier Neural Operator (FNO) Li et al. [2021] as a purely macroscopic neural-operator baseline for the doubly periodic shear layer with Re = 50,000 (DPSL-50K) forecasting task in Section 5. This baseline does not evolve lattice populations and does not use the entropic collision mechanism. Instead, it learns an autoregressive map directly between resolved macroscopic fields. This makes the comparison useful: it separates the benefit of a high-capacity spectral neural operator from the kinetic and entropy-constrained structure used by the proposed method.
The DPSL geometry is doubly periodic, which is favorable for FNO because its spectral convolution layers are naturally matched to periodic domains. However, the target dynamics contain sharp vorticity gradients and small-scale turbulent structures, which are known to be difficult for neural operators to resolve robustly at high Reynolds number McGreivy and Hakim [2024], Sakarvadia et al. [2026]. We therefore evaluated relatively large Fourier bandwidths and lifting dimensions to give the baseline substantial representational capacity.
Because the DPSL-50K rollouts are long, treating time as an additional input dimension, as in some prior FNO turbulence experiments Li et al. [2021], is not practical at the resolutions and horizons considered here. We therefore train FNO as a one-step map and roll it out autoregressively:
This protocol matches the forecasting use case in the main experiments, but it is also stricter than a short-window interpolation task because small one-step errors accumulate over thousands of steps. Under this protocol, the FNO models we tested did not produce stable long-horizon DPSL forecasts. We therefore keep the details in the appendix and focus the main experimental section on the more informative comparison between the proposed entropically-stabilized NeurDE and the numerical ELBM baseline.
Computational Setup. The final model was trained on one NERSC Perlmutter node equipped with 4× NVIDIA A100-SXM4 GPUs with 40 GB HBM2 memory (Table 17). We implemented the models using the official Neural Operator library Kossaifi et al. [2025] (version 0.3.0).
The final model uses the following configuration (Table 14):
-
Hidden Width (): 128.
-
Fourier Modes (): 64.
-
Network Depth (): 4 layers.
Table 14: FNO architecture.
| Hyperparameter | Value |
|---|---|
| Spatial dimensions | 2 (256 × 256 periodic grid) |
| Input / output channels | 4 (density, , , vorticity) |
| Fourier modes retained | 64 per dimension (64 × 33 after the real FFT) |
| Hidden channels (width) | 128 |
| Fourier layers | 4 |
| Lifting / projection channels | 256 / 256 |
| Skip connection in Fourier layers | linear (1 × 1 convolution) |
| Activation | GELU |
| Boundary padding | none (domain is periodic) |
| Input normalization | per-variable batch statistics (running mean and std.) |
| Precision | float32 |
| Trainable parameters | 276,958,340 (≈ 2.8 × 10⁸) |
Hyperparameter Sweep. Before the final run, a grid search of 2 × 3 × 3 × 2 = 36 configurations varied the width, the batch size, and the learning-rate schedule (Table 15). All other settings were held at the values in Tables 14 and 16: 64 Fourier modes, peak learning rate 10⁻⁴ and weight decay 10⁻⁵. One difference from the final run is that the sweep runs supervised every step of the rollout, while the final run is supervised at most 32 steps (Table 16).
Table 15: Sweep grid and the values used in the final run.
| 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 |
Training Protocol. The model was trained on macroscopic channels only:
on a 256 × 256 periodic grid, where is density, is the bulk velocity, and is the scalar vorticity in two dimensions. The FNO is therefore a direct field-to-field surrogate. It is not given the lattice populations, the entropic parameter , or the discrete -theorem residuals used by the proposed kinetic model.
The final model was trained with AdamW Loshchilov and Hutter [2019] and a one-cycle learning-rate schedule Smith and Topin [2019] with cosine annealing and a peak learning rate of (Table 16). The figures below show this final model.
Table 16: FNO training setup.
| Hyperparameter | Value |
|---|---|
| Data | |
| Simulation | D2Q9 weakly compressible isothermal LBM, Re = , Ma = 0.1 |
| 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 | |
| Loss | sum of per-variable MSE (density, velocity, vorticity) |
| Optimizer | AdamW Loshchilov and Hutter [2019] |
| Weight decay | |
| Gradient clipping | global norm |
| Global batch size | 16 (4 per GPU) |
| Learning-rate schedule | |
| Schedule | OneCycle Smith and Topin [2019], cosine annealing, stepped per batch |
| Peak learning rate | |
| Warm-up fraction (pct_start) | 0.3 |
| Initial learning rate | (div_factor = 25) |
| Final learning rate | (final_div_factor = 100) |
| Schedule length | 300 epochs |
| Rollout curriculum | |
| Rollout lengths | 1, 2, 3, 5, 10, 25, 50 steps |
| Epoch budget per stage | 25, 25, 25, 50, 50, 50, 75 |
| Early stage advance | after 5 epochs without validation improvement |
| Supervised steps per rollout | at most 32, log-spaced (affects only the 50-step stage) |
| Run | |
| Epochs completed | 183 of 300 (job ended); best checkpoint at epoch 182 |
| Parallelism | distributed data parallel (Table 17) |
| Compilation | torch.compile |
| Random seed | 2025 |
The curriculum advances to the next rollout length when a stage’s epoch budget is used up, or earlier if the validation loss has not improved for 5 consecutive epochs. In the final run, the stages occupied epochs 0–24, 25–49, 50–74, 75–96, 97–112, 113–152 and 153–182. Training stopped during the 50-step stage, at which point the learning rate was .
Training Cost. The final model was trained in a single 24-hour job on one NERSC Perlmutter GPU node (Table 17). The job ran until the time limit. The cost per epoch grows with the rollout length, because each training sample is unrolled for that many steps. As a result, the 25- and 50-step stages account for 20.7 of the 23.7 training hours (Table 18). These figures cover only the final run, not the sweep or evaluation.
Table 17: Compute used to train the final FNO.
| 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 |
| GPU-hours (job) | 95.8 |
| Node-hours (job) | 23.96 |
| Energy (Slurm node counter) | J ≈ 31.2 kWh |
Table 18: Wall-clock time per curriculum stage (4 GPUs).
| 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 |
| 50 | 30 | 10.67 | 21.3 |
| Total | 183 | 23.67 |
Observed Behavior. Overall, this result of Fig. 3 should not be interpreted as a failure of spectral neural operators in general. Rather, it indicates that a macroscopic one-step FNO, without kinetic variables or an entropy constraint, is not robust for this long-horizon underresolved DPSL setting. The limitation is most visible during autoregressive rollout: the model may learn a reasonable short-term field update, but repeated application damps or distorts the vortical structures that control the later-time dynamics. Given the substantial cost of scaling the space-time FNO formulation to the present horizons, we did not pursue further FNO-specific architectural modifications.
J Walrus Baseline
Since Walrus is a large pretrained Transformer, which significantly differs from entropically-stabilized NeurDE, we trained it within its own repository. We used the default model parameters and started from the pretrained weights. Unless otherwise specified, we used the default values within the repository.
Fine-tuning Setup. We used standard configuration variables found in the Walrus repository for the fine-tuning procedure: its trainer, the AdamW optimizer, and its inverse-square-root learning-rate schedule with linear warm-up and square-root cool-down. We changed only what was needed for a short fine-tuning run on new data:
-
a learning rate of ;
-
warm-up and cool-down shortened to 6 and 3 epochs, to keep the proportions of the default schedule over 16 epochs;
-
drop-path and input-field dropout turned off;

Figure 30: Diverging vorticity decay from DNS as forecast length increases.
-
no gradient accumulation;
-
gradient clipping at 10;
-
per-sample normalization in place of precomputed dataset statistics.
The pretrained Walrus model was fine-tuned on the same 256 × 256 DPSL-50K simulation used for the FNO baseline. Each training sample gives the model 6 consecutive input states and asks it to predict the next state, with the time stride between states drawn from 1 to 5 saved steps. Fine-tuning ran for 16 epochs of 2000 optimizer steps each, which is 32,000 steps in total. It used fully sharded data parallelism (FSDP) across 8 GPUs, a batch of 2 per GPU (global batch 16), and float32 arithmetic. Validation ran every second epoch.
Training Cost. Fine-tuning took 38 h of wall-clock time on 8 GPUs, or about 305 GPU-hours (Table 19). These figures cover only fine-tuning, not pretraining or the forecast evaluation.
Table 19: Compute used to fine-tune Walrus.
| 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 |
| Node-hours | 76.2 |
| Energy (Slurm node counter) | J ≈ 134.0 kWh |