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 [76 , 79 , 70 ] . 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 L L L [76 , 43 ] . When the grid resolution (δ x \delta x δ x ) is fine enough to resolve this scale (δ x < L \delta x < L δ x < L ), the simulation exhibits stability. Coarse grids, however, have δ x ≫ L \delta x \gg L δ x ≫ L : structures can no longer shrink toward L L L [50 , 79 ] . 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 [31 , 74 , 45 ] . Kinetic energy then accumulates in the highest resolved wavenumbers and re-enters the system as spurious noise [43 , 79 ] (bottom rows of Figure 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, 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 .
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.
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 [ [84 ] , Meneveau and Katz [ [70 ] , Sagaut [ [79 ] . Otherwise, SciML methods that learn simple representations or primarily interpolate the represented state during training will inherit this problem, as in Figure 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. [ [80 ] , Gao et al. [ [45 ] .
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 [ [84 ] , Sagaut [ [79 ] . 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. [ [63 ] , Succi [ [86 ] . 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 [ [88 , 89 ] .
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. [ [78 ] , Cai et al. [ [29 ] , Patel et al. [ [73 ] , Beucler et al. [ [17 ] , rather than acting on the dissipative mechanism itself; but this popular “physics-informed” approach has well-known failure modes Krishnapriyan et al. [ [62 ] .
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 H 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 H 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 (§ 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 α \alpha α 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 H 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 Blackburn [2009], Pope [2000]. SciML offers a complementary route to DNS Kochkov et al. [2021], Azizade... 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 entropy 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 R e = 100,000 \mathrm{Re}=100{,}000 Re = 100 , 000 , for O ( 1000 ) \mathcal{O}(1000) O ( 1000 ) autoregressive steps, and on decreasing numerical grids: R 128 × 128 \mathbb{R}^{128\times128} R 128 × 128 to R 16 × 16 \mathbb{R}^{16\times16} R 16 × 16 . 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 O ( 10 3 ) \mathcal{O}(10^3) O ( 1 0 3 ) and O ( 10 7 ) \mathcal{O}(10^7) O ( 1 0 7 ) times larger than entropically-stabilized NeurDE ). As a more challenging comparison, we benchmark against ELBM (the data generation simulator).
Related Work
The cost of resolved simulation. DNS resolves the active modes of a flow, but its cost grows rapidly with Reynolds number and with the stable time step required by the smallest resolved scales Trebotich [2024], Fischer et al. [2022]. Standard estimates put the active degrees of freedom at O ( R e ( 1 + log R e ) 1 / 3 ) \mathcal{O}(\mathrm{Re}(1+\log\mathrm{Re})^{1/3}) O ( Re ( 1 + log Re ) 1/3 ) in two dimensions Tran and Blackburn [2009], Batchelor [1969] and O ( R e 9 / 4 ) \mathcal{O}(\mathrm{Re}^{9/4}) O ( Re 9/4 ) in three dimensions Kolmogorov [1991], Pope [2000]. Large-eddy simulation reduces this cost by evolving filtered variables and closing the effect of unresolved motion through subgrid models Meneveau and Katz [2000], Sagaut [2006]. The same lens applies to learned coarse-grid forecasting: what is missing on the coarse grid is not just resolution, but the effect of unresolved transfer on the represented state.
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. [ [66 ] , Kovachki et al. [ [59 ] are flexible and fast, but Fourier truncation and learned high-frequency transfer can limit robustness in underresolved regimes Sakarvadia et al. [ [80 ] . Benitez et al. [ [15 ] derive out-of-distribution risk bounds for neural operators applied to the Helmholtz equation; and Kratsios et al. [ [61 ] analyze active expert complexity in mixtures of neural operators. Physics-informed neural networks encode continuous PDE residuals Raissi et al. [ [78 ] , Cai et al. [ [29 ] , yet their optimization landscape is fragile for nontrivial, e.g., stiff or multiscale dynamics Krishnapriyan et al. [ [62 ] . Foundation models for PDEs such as Poseidon Herde et al. [ [48 ] and Walrus McCabe et al. [ [68 ] 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. [ [27 ] , Kochkov et al. [ [56 ] . The learned component inherits locality, conservation, and discretization structure from the host method, which improves generalization. Most prominently, NeurDE [Benitez et al., [14 ] ] 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. [ [17 ] , Raissi et al. [ [78 ] , long-horizon closure optimization Fischer et al. [ [41 ] , and statistical stabilization such as the Thermalizer Pedersen et al. [ [75 ] . These add stability as an ad hoc training-time correction or post-hoc filter, rather than as a property of the integrator itself.
Entropy-Stabilized Kinetic Closure
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 f ( t , x , v ) f(t,\mathbf{x},\mathbf{v}) f ( t , x , v ) through populations f i ( t , x ) f_i(t,\mathbf{x}) f i ( t , x ) at discrete single-particle velocities v i \mathbf{v}_i v i Bellotti et al. [ [12 ] . The Bhatnagar–Gross–Krook (BGK) collision operator Bhatnagar et al. [ [18 ] relaxes these populations toward equilibrium f i e q f_i^{\mathrm{eq}} f i eq :
f i ( t + 1 , x + v i ) = f i ( t , x ) + 1 τ [ f i e q ( U ( t , x ) ) − f i ( t , x ) ] , (1) f_i(t+1,\mathbf{x}+\mathbf{v}_i)=f_i(t,\mathbf{x})+\frac{1}{\tau}\left[f_i^{\mathrm{eq}}(U(t,\mathbf{x}))-f_i(t,\mathbf{x})\right], \tag*{(1)} f i ( t + 1 , x + v i ) = f i ( t , x ) + τ 1 [ f i eq ( U ( t , x )) − f i ( t , x ) ] , (1)
where τ \tau τ is the relaxation time and U U U contains the conserved macroscopic variables. Each step combines a local, nonlinear collision with exact streaming: the post-collision population f i c o l l ( t , x ) f_i^{\mathrm{coll}}(t,\mathbf{x}) f i coll ( t , x ) moves to x + v i \mathbf{x}+\mathbf{v}_i x + v i .
Within this model, macroscopic observables are recovered as moments of the populations:
U = ( ρ , ρ u , ρ E ) T = ∑ i ( 1 , v i , 1 2 ∣ v i ∣ 2 ) T f i , (2) U=(\rho,\rho\mathbf{u},\rho E)^{\mathsf{T}}=\sum_i\left(1,\mathbf{v}_i,\frac{1}{2}\lvert\mathbf{v}_i\rvert^2\right)^{\mathsf{T}}f_i, \tag*{(2)} U = ( ρ , ρ u , ρE ) T = i ∑ ( 1 , v i , 2 1 ∣ v i ∣ 2 ) T f i , (2)
where ρ \rho ρ , u \mathbf{u} u , and E E E denote density, macroscopic velocity, and specific total energy; the energy component applies to energy-conserving lattices. NeurDE Benitez et al. [ [14 ] learns the equilibrium map U ↦ f e q ( U ) U\mapsto f^{\mathrm{eq}}(U) U ↦ f eq ( U ) , 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 § 6 .§ 3 .
Entropic Stability
Conservation alone does not ensure nonnegative entropy production. For positive pre-collision populations f f f and lattice weights w i > 0 w_i>0 w i > 0 , the discrete H-function and collision stability condition are
H ( f ) = ∑ i f i log ( f i w i ) , (3) H(f)=\sum_i f_i\log\left(\frac{f_i}{w_i}\right), \tag*{(3)} H ( f ) = i ∑ f i log ( w i f i ) , (3)
H ( f c o l l ) ≤ H ( f ) . (4) H(f^{\mathrm{coll}})\leq H(f). \tag*{(4)} H ( f coll ) ≤ H ( f ) . (4)
The inequality is the discrete H-theorem: physical entropy increases as H H H decreases. By enforcing Eq. (4) , one also enforces the second law of thermodynamics; see Appendix § 6 .§ 5 for the thermodynamic interpretation. Classical entropic LBM (ELBM) Karlin et al. [ [54 ] uses an equilibrium f e q f^{\mathrm{eq}} f eq minimizing H H H at fixed conserved moments and seeks α > 0 \alpha> 0 α > 0 satisfying
f m i r r ( α ) = f + α ( f e q − f ) , H ( f m i r r ( α ) ) = H ( f ) . (5) f^{\mathrm{mirr}}(\alpha) = f + \alpha(f^{\mathrm{eq}} - f), \qquad H(f^{\mathrm{mirr}}(\alpha)) = H(f). \tag*{(5)} f mirr ( α ) = f + α ( f eq − f ) , H ( f mirr ( α )) = H ( f ) . (5)
When such a positive mirror state exists, the collision
f c o l l = ( 1 − β ) f + β f m i r r ( α ) = f + α β ( f e q − f ) (6) f^{\mathrm{coll}} = (1-\beta)f + \beta f^{\mathrm{mirr}}(\alpha) = f + \alpha\beta(f^{\mathrm{eq}} - f) \tag*{(6)} f coll = ( 1 − β ) f + β f mirr ( α ) = f + α β ( f eq − f ) (6)
satisfies Eq. (4) , by the convexity of H H H , with β = 1 / ( 2 τ ) ∈ ( 0 , 1 ] \beta= 1/(2\tau) \in(0, 1] β = 1/ ( 2 τ ) ∈ ( 0 , 1 ] set by the nominal viscosity (Appendix § 6 .6.1). Near entropic equilibrium, α ≈ 2 \alpha\approx2 α ≈ 2 recovers BGK. At fixed β \beta β , α < 2 \alpha< 2 α < 2 increases the effective viscosity relative to BGK, while α > 2 \alpha> 2 α > 2 decreases it Hosseini et al. [ [49 ] . The former promotes local smoothing and damping of high-frequency components, while the latter reduces damping and may permit backscatter [49 , 28 ] . Therefore, the α \alpha α 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 Figure 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; § 4 ), using entropy consistency as a training target and rollout diagnostic. A learned fixed point does not automatically satisfy Eq. (4) .
Entropically-stabilized NeurDE Method
NeurDE Benitez et al. [ [14 ] 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 f i e q f_i^{\mathrm{eq}} f i eq based on the macroscopic variables. NeurDE ’s neural equilibrium model improves on the fixed-time entropy extremizer Benitez et al. [ [14 ] ; ], Livermore [ (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 f e q f^{\mathrm{eq}} f eq 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 α \alpha α that minimizes the difference between each side of the equation in Eq. (5) .
Architecture
ELBM solvers typically find α \alpha α through Newton-type iterations at each grid point and time step [54 , 49 , 51 , 42 , 2 ] . 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 α \alpha α (Figure 2 ).
Figure 2. Architecture of entropically-stabilized NeurDE. a The pipeline decouples feature extraction from the iterative DEQ solver. Context z z 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 α \alpha α . c Physics hints include: entropy residual G = H ( α ) − H p r e G = H(\alpha) - H_{\mathrm{pre}} G = H ( α ) − H pre , gradients Δ = H ′ ( α ) \Delta= H^{\prime}(\alpha) Δ = H ′ ( α ) , and instability indicator. The physics hints are computed outside of the computational graph, ensuring gradients flow only through g θ g_\theta g θ (implicit differentiation).
The encoder maps mesoscopic and macroscopic inputs to a latent context z z z once per the collision step (Figure 2 a). Each DEQ iteration then updates the current estimate α k \alpha_k α k from ( z , α k , h k ) (z,\alpha_k,h_k) ( z , α k , h k ) , where h k h_k h k contains detached physics hints (entropy residual, residual derivative, and an instability indicator; Figure 2 b–Figure 2 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 § 8 gives the architectural details.
Fixed-Point Guarantees
We analyze fixed-point existence and entropy-residual convergence under explicit assumptions on the learned DEQ update.
Let d , F ∈ N > 0 d,F \in\mathbb{N}_{>0} d , F ∈ N > 0 , Ω ⊂ R d \Omega\subset\mathbb{R}^{d} Ω ⊂ R d be a bounded domain, and F \mathcal{F} F be the feature space. For input ϕ ∈ F \phi\in\mathcal{F} ϕ ∈ F (here ϕ = ( f , f e q , ρ , u ) \phi=(f,\mathbf{f}^{\mathrm{eq}},\rho,\mathbf{u}) ϕ = ( f , f eq , ρ , u ) ), the encoder produces z = E ( ϕ ) ∈ R F \mathbf{z}=E(\phi)\in\mathbb{R}^{F} z = E ( ϕ ) ∈ R F , and the DEQ update induces G θ , z : H 1 ( Ω ) → H 1 ( Ω ) G_{\theta,\mathbf{z}}:H^{1}(\Omega)\to H^{1}(\Omega) G θ , z : H 1 ( Ω ) → H 1 ( Ω ) by G θ , z ( α ) = g θ ( α , z ) G_{\theta,\mathbf{z}}(\alpha)=g_{\theta}(\alpha,\mathbf{z}) G θ , z ( α ) = g θ ( α , z ) . The analysis requires the operator-level self-map and Lipschitz properties in Assumption B.4, allowing pointwise or convolutional realizations.
Fix β ∈ [ 0 , 1 ] \beta\in[0,1] β ∈ [ 0 , 1 ] and a mirror-state operator f m i r r : H 1 ( Ω ) → L + 1 ( Ω ) \mathbf{f}^{\mathrm{mirr}}:H^{1}(\Omega)\to L_{+}^{1}(\Omega) f mirr : H 1 ( Ω ) → L + 1 ( Ω ) . We use the representative continuous entropy
H ( f ) ≔ ∫ Ω f ( v ) log ( f ( v ) ) d v , (7) H(\mathbf{f}) \coloneqq\int_{\Omega} f(\mathbf{v})\log(f(\mathbf{v}))\,\mathrm{d}\mathbf{v}, \tag*{(7)} H ( f ) : = ∫ Ω f ( v ) log ( f ( v )) d v , (7)
with the convention 0 log 0 = 0 0\log0=0 0 log 0 = 0 . The weighted lattice entropy in Eq. (3) is its finite-dimensional analogue. Define the entropy-balance residual h β : H 1 ( Ω ) × L + 1 ( Ω ) → R ∪ { ∞ } h_{\beta}:H^{1}(\Omega)\times L_{+}^{1}(\Omega)\to\mathbb{R}\cup\{\infty\} h β : H 1 ( Ω ) × L + 1 ( Ω ) → R ∪ { ∞ } by
h β ( α ; f ) ≔ H ( ( 1 − β ) f + β f m i r r ( α ) ) − H ( f ) . (8) h_{\beta}(\alpha;\mathbf{f}) \coloneqq H\left((1-\beta)\mathbf{f}+\beta\mathbf{f}^{\mathrm{mirr}}(\alpha)\right)-H(\mathbf{f}). \tag*{(8)} h β ( α ; f ) : = H ( ( 1 − β ) f + β f mirr ( α ) ) − H ( f ) . (8)
At β = 1 \beta=1 β = 1 , the root condition h 1 ( α ; f ) = 0 h_{1}(\alpha;\mathbf{f})=0 h 1 ( α ; f ) = 0 recovers the entropy-balance equation H ( f m i r r ( α ) ) = H ( f ) H(\mathbf{f}^{\mathrm{mirr}}(\alpha))=H(\mathbf{f}) H ( f mirr ( α )) = H ( f ) . We assume H ( f ) < ∞ H(\mathbf{f})<\infty H ( f ) < ∞ throughout.
Theorem 4.1 (Existence of Neural Equilibria). Under Assumption B.4, for every ϕ ∈ F \phi\in\mathcal{F} ϕ ∈ F with z = E ( ϕ ) \mathbf{z}=E(\phi) z = E ( ϕ ) , the induced operator G θ , z : H 1 ( Ω ) → H 1 ( Ω ) G_{\theta,\mathbf{z}}:H^{1}(\Omega)\to H^{1}(\Omega) G θ , z : H 1 ( Ω ) → H 1 ( Ω ) is well defined and admits at least one equilibrium α ⋆ ∈ K ⊂ H 1 ( Ω ) \alpha^{\star}\in\mathcal{K}\subset H^{1}(\Omega) α ⋆ ∈ K ⊂ H 1 ( Ω ) satisfying
α ⋆ = G θ , z ( α ⋆ ) = g θ ( α ⋆ , z ) . (9) \alpha^{\star}=G_{\theta,\mathbf{z}}(\alpha^{\star})=g_{\theta}(\alpha^{\star},\mathbf{z}). \tag*{(9)} α ⋆ = G θ , z ( α ⋆ ) = g θ ( α ⋆ , z ) . (9)
Proof. See Appendix § 7 .§ 2 .
On a fixed grid, Brouwer’s theorem applies, provided the update is a continuous self-map of a compact convex set. The continuum H 1 H^{1} H 1 statement remains conditional on Assumption B.4, since the clamp bounds pointwise values, not the H 1 H^{1} H 1 seminorm. If the L 2 L^{2} L 2 -Lipschitz constant satisfies L v < 1 L_{v}<1 L v < 1 , this fixed point is unique, and iterates initialized in K \mathcal{K} K converge geometrically to it (Appendix § 7 .§ 3 ). L v < 1 L_{v}<1 L v < 1 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 0 ≤ β ≤ 1 0\leq\beta\leq1 0 ≤ β ≤ 1 and f ∈ L + 1 ( Ω ) \mathbf{f}\in L_{+}^{1}(\Omega) f ∈ L + 1 ( Ω ) . Assume that Assumption B.3 holds on a set A \mathcal{A} A . If L v < 1 L_{v}<1 L v < 1 and if α ⋆ \alpha^{\star} α ⋆ and all but finitely many iterates ( α ( i ) ) i = 0 ∞ (\alpha^{(i)})_{i=0}^{\infty} ( α ( i ) ) i = 0 ∞ of G θ , z G_{\theta,\mathbf{z}} G θ , z are in A \mathcal{A} A , then, for all sufficiently large i i i ,
∣ h β ( α ⋆ ; f ) − h β ( α ( i ) ; f ) ∣ ∈ O ( L v i ) . \left|h_{\beta}(\alpha^{\star};\mathbf{f})-h_{\beta}(\alpha^{(i)};\mathbf{f})\right|\in O(L_{v}^{i}). h β ( α ⋆ ; f ) − h β ( α ( i ) ; f ) ∈ O ( L v i ) .
Proof. See Appendix B.4.
DEQ convergence does not imply an exact ELBM entropy root. L r o o t L_{\mathrm{root}} L root and R H R_{\mathrm{H}} R H (Eq. (67) ) target h 1 = 0 h_1 = 0 h 1 = 0 and h β ≤ 0 h_{\beta} \le0 h β ≤ 0 , respectively. The shifted tanh restricts α \alpha α to [ 1 , 3 ] [1, 3] [ 1 , 3 ] (Table 4 ), excluding the trivial root α = 0 \alpha= 0 α = 0 , which leaves the populations unchanged. A soft penalty on training states is not a test-time guarantee; compliance is empirical (see Figure 7 ).
Figure 7. Entropy Violations. Percentage of entropically-stabilized NeurDE rollout violating the second law of thermodynamics in DPSL-50K.
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 α \alpha α at each lattice site as the fixed point y ⋆ y^\star y ⋆ of a deep equilibrium (DEQ) model. All convolutions use zero padding of width one.
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 [ [26 ] , Minion and Brown [ [71 ] , Bedrunka et al. [ [10 ] , De Rosis and Coreixas [ [35 ] . TGV is a standard benchmark for evaluating vorticity stability and testing whether entropically-stabilized NeurDE oversmoothes 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 \operatorname{Re} = 50{,}000 Re = 50 , 000 and Re = 100,000 \operatorname{Re} = 100{,}000 Re = 100 , 000 , for TGV Re = 50,000 \operatorname{Re} = 50{,}000 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. [ [66 ] , our first SciML benchmark, is a data-driven macroscopic spectral method that learns an autoregressive field-to-field mapping. Walrus McCabe et al. [ [68 ] , our second method, is a 1.3B parameter transformer foundation model pretrained on O ( 10 ) \mathcal{O}(10) O ( 10 ) TB of data. FNO and Walrus are respectively O ( 10 2 ) \mathcal{O}(10^2) O ( 1 0 2 ) and O ( 10 4 ) \mathcal{O}(10^4) O ( 1 0 4 ) 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 R 256 × 256 \mathbb{R}^{256 \times256} R 256 × 256 case. Entropically-stabilized NeurDE is first trained on α \alpha α ground truth at R 256 × 256 \mathbb{R}^{256 \times256} R 256 × 256 and R 512 × 512 \mathbb{R}^{512 \times512} R 512 × 512 grids, for the Re = 50,000 \operatorname{Re} = 50{,}000 Re = 50 , 000 and Re = 100,000 \operatorname{Re} = 100{,}000 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 R 16 × 16 \mathbb{R}^{16 \times16} R 16 × 16 . When evaluating at R N × N \mathbb{R}^{N \times N} R N × N , we use the checkpoints trained up to R N × N \mathbb{R}^{N \times N} R N × N . 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 (R 256 × 256 \mathbb{R}^{256 \times256} R 256 × 256 ) DPSL-50K. FNO struggles to properly take a single step and fails after 5 autoregressive steps; see Figure 3 . Walrus shows stable forecasts within the first Δ t = 1250 \Delta t = 1250 Δ t = 1250 , but it fails to develop the vortices around Δ t = 2500 \Delta t = 2500 Δ t = 2500 in the training dataset and subsequently diverges; see Figure 4 . We note that incompressible turbulent dynamics were included in Walrus’ pretraining data, although not this exact problem McCabe et al. [ [68 ] . At Δ t = 2500 \Delta t = 2500 Δ t = 2500 in the test dataset, the tails no 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.
Figure 3. FNO rollout. Vorticity forecast on DPSL-50K at R 256 × 256 \mathbb{R}^{256 \times256} R 256 × 256 for 5 steps in train (left) and test (right) sets.
Figure 4. Walrus rollout. Walrus vorticity forecast on DPSL-50K at R 256 × 256 \mathbb{R}^{256 \times256} R 256 × 256 for the entire train (left) and test (right) datasets, roughly 5000 steps each.
On our most challenging dataset, DPSL-100k, entropically-stabilized NeurDE forecasts through the entire training and test datasets for all coarsened resolutions: R 128 × 128 \mathbb{R}^{128 \times128} R 128 × 128 , R 64 × 64 \mathbb{R}^{64 \times64} R 64 × 64 , R 32 × 32 \mathbb{R}^{32 \times32} R 32 × 32 , and R 16 × 16 \mathbb{R}^{16 \times16} R 16 × 16 . Figure 5 a and b compare the results of entropically-stabilized NeurDE (middle row) and the ELBM forecast (bottom row) at R 64 × 64 \mathbb{R}^{64 \times64} R 64 × 64 and R 16 × 16 \mathbb{R}^{16 \times16} R 16 × 16 , respectively. The top (ELBM filtered) row is ELBM simulations at R 512 × 512 \mathbb{R}^{512 \times512} R 512 × 512 and downsampled, while the bottom row is ELBM run at the coarse resolution. ELBM at R 64 × 64 \mathbb{R}^{64 \times64} R 64 × 64 , shows grid-scale spurious high-frequency noise as early as Δ t = 625 \Delta t = 625 Δ t = 625 (Figure 5 a). 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 R 128 × 128 \mathbb{R}^{128 \times128} R 128 × 128 , but it still outperforms the ELBM at every resolution.
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 64 \times64 64 × 64 grid and (b) a 16 × 16 16 \times16 16 × 16 grid.
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); ω \omega ω corr. (vorticity correlation); ω \omega ω error (relative error); spectrum RMSE; high-k k k /reference (ratio of high-k k k 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 [76 , 43 ] , so (phase-blind, second-order) metrics like E ( k ) E(k) E ( k ) 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 L 2 L^2 L 2 error, and high-k k k /ref measures an energy fraction rather than its distribution or phase, we also report palinstrophy (Eq. (80) ), which weights the enstrophy by k 2 k^2 k 2 .
Table 1: Doubly periodic shear layer at Re = 100,000 \operatorname{Re} = 100{,}000 Re = 100 , 000 : forecast metrics from the training data (t 0 = 0 t_0 = 0 t 0 = 0 ) at the final lead time. Entropically-stabilized NeurDE results are the mean ± \pm ± 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 L 2 L^2 L 2 error of velocity and vorticity ω \omega ω , and vorticity correlation. Spectrum diagnostics: RMSE of log 10 E ( k ) \log_{10} E(k) log 10 E ( k ) over active shells, and high-k k k energy and palinstrophy relative to the reference.
Table 1.
Table 2: Doubly periodic shear layer at Re = 100,000 \operatorname{Re} = 100{,}000 Re = 100 , 000 : forecast metrics from the testing data (t 0 = T / 2 t_0 = T/2 t 0 = T /2 ) at the final lead time; columns as in Table 1.
Table 2.
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 R 128 × 128 \mathbb{R}^{128 \times128} R 128 × 128 and coarser, ELBM simulations diverge and fail to recover the correct dynamics in the training set (see, e.g., Figure 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 (Figure 25 and Figure 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 § 13 .1.1.
Figure 21. Doubly periodic shear layer at R e = 50,000 \mathrm{Re}=50{,}000 Re = 50 , 000 : shell-averaged spectra at the final lead time on grids (a) 128 2 128^2 12 8 2 , (b) 64 2 64^2 6 4 2 , (c) 32 2 32^2 3 2 2 , and (d) 16 2 16^2 1 6 2 . Columns are the energy E ( k ) E(k) E ( k ) , enstrophy Z ( k ) = k 2 E ( k ) Z(k)=k^2E(k) Z ( k ) = k 2 E ( k ) , and palinstrophy P ( k ) = k 4 E ( k ) P(k)=k^4E(k) P ( k ) = k 4 E ( k ) spectra, where k k k is the wavenumber shell; rows are forecasts from the training (top) and testing (bottom) data. Curves compare the downsampled 512 2 512^2 51 2 2 reference, numerical ELBM, and entropically-stabilized NeurDE .
Figure 25. Doubly periodic shear layer at Re = 100,000 \operatorname{Re} = 100{,}000 Re = 100 , 000 : shell-averaged spectra at the final lead time on grids (a) 128 2 128^2 12 8 2 , (b) 64 2 64^2 6 4 2 , (c) 32 2 32^2 3 2 2 , and (d) 16 2 16^2 1 6 2 . Columns are the energy E ( k ) E(k) E ( k ) , enstrophy Z ( k ) = k 2 E ( k ) Z(k) = k^2 E(k) Z ( k ) = k 2 E ( k ) , and palinstrophy P ( k ) = k 4 E ( k ) P(k) = k^4 E(k) P ( k ) = k 4 E ( k ) spectra, where k k k is the wavenumber shell; rows are forecasts from the training (top) and testing (bottom) data. Curves compare the downsampled 512 2 512^2 51 2 2 reference, numerical ELBM, and entropically-stabilized NeurDE .
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 R 128 × 128 \mathbb{R}^{128 \times128} R 128 × 128 to test whether entropically-stabilized NeurDE is simply oversmoothing everywhere, and to quantify how many pixels are adding high-frequency information. The predicted α \alpha α (Figure 6 ) tracks the fine ELBM-generated features, along with the large-scale structures. Moreover, our predicted α \alpha α 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 α \alpha α is less likely to increase high-frequency components compared to ELBM: the respective percentages of α > 2 \alpha> 2 α > 2 for the predicted and ELBM results are 7% and 40.3% at Δ t = 1000 \Delta t = 1000 Δ t = 1000 ; 15.2% and 43.9% at Δ t = 2500 \Delta t = 2500 Δ t = 2500 ; and 37.8% and 49.4% at Δ t = 5000 \Delta t = 5000 Δ t = 5000 . 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.
Figure 6. α \alpha α prediction. Comparison between ELBM generated and predicted α \alpha α for DPSL-50K on a R 256 × 256 \mathbb{R}^{256 \times256} R 256 × 256 grid, demonstrating that NeurDE smooths where it needs to.
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 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 § 13 .§ 3 provides further emulations, tables of real and spectral metrics, and plots of the spectral metrics for all grids.
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 64 × 64 64 \times64 64 × 64 grid. This demonstrates that NeurDE does not smooth where it is unnecessary.
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 E ( k ) E(k) E ( k ) (Appendix § 10 ). In Figure 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 R 64 × 64 \mathbb{R}^{64 \times64} R 64 × 64 grid (Appendix § 10 .§ 2 ). Figure 12 and Figure 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 § 10 .§ 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 R 64 × 64 \mathbb{R}^{64 \times64} R 64 × 64 , we use the more stable entropically-stabilized NeurDE .
Table 5. Final metrics of the fine-tuning ablation. Metrics at the final saved horizon of the 64 2 64^2 6 4 2 (t i n d e x = 2500 t_{\mathrm{index}} = 2500 t index = 2500 ), 32 2 32^2 3 2 2 (t i n d e x = 1249 t_{\mathrm{index}} = 1249 t index = 1249 ), and 16 2 16^2 1 6 2 (t i n d e x = 624 t_{\mathrm{index}} = 624 t index = 624 ) 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 k k /ref., best means closest to one, not smallest.
Figure 12. Field snapshots for the 64² rollout at t i n d e x = 2500 t_{\mathrm{index}} = 2500 t index = 2500 . Columns compare the box-filtered reference, entropically-stabilized NeurDE , NeurDE shell , and ELBM; rows show density ρ \rho ρ , speed ∣ u ∣ |\mathbf{u}| ∣ u ∣ , and vorticity ω \omega ω . 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 13. Energy and enstrophy spectra at t i n d e x = 2500 t_{\mathrm{index}} = 2500 t index = 2500 . 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.
Figure 20. Doubly periodic shear layer at R e = 50,000 Re = 50{,}000 R e = 50 , 000 : vorticity forecasts on grids (a) 128 2 128^2 12 8 2 , (b) 64 2 64^2 6 4 2 , (c) 32 2 32^2 3 2 2 , and (d) 16 2 16^2 1 6 2 ; the grid size is also marked to the left of each panel. In each panel, the rows are the downsampled 512 2 512^2 51 2 2 reference (top), entropically-stabilized NeurDE (middle), and numerical ELBM run at that grid (bottom). The left block starts from the training data (t 0 = 0 t_0 = 0 t 0 = 0 ), the right block from the testing data (t 0 = T / 2 t_0 = T/2 t 0 = T /2 ); columns are lead times Δ t \Delta t Δ t in solver steps.
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.
Continuous Kinetic Theory and Thermodynamic Structure
Consider a dilute monatomic gas in the physical domain Ω ⊂ R d \Omega\subset\mathbb{R}^{d} Ω ⊂ R d with d ∈ { 2 , 3 } d \in\{2,3\} d ∈ { 2 , 3 } . Under the molecular chaos hypothesis (Stosszahlansatz ), the state of the gas is completely characterized by the one-particle distribution function f : [ 0 , T ] × Ω × R d → R ≥ 0 f : [0,T] \times\Omega\times\mathbb{R}^{d} \to\mathbb{R}_{\ge0} f : [ 0 , T ] × Ω × R d → R ≥ 0 , where f ( t , x , v ) f(t,x,v) f ( t , x , v ) represents the probability density of finding a particle at position x x x with microscopic velocity v v v at time t t t . We note that the microscopic position x x x and velocity v v v are independent of each other.
Figure 9. Phase-space representation of a kinetic distribution. a Phase space ( x , v ) (x,v) ( x , v ) at t = t 0 t=t_0 t = t 0 . 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 f f f . The red area represents the particle count N p N_p N p 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 ψ ( v ) \psi(v) ψ ( v ) , the corresponding macroscopic field is defined by velocity averaging:
⟨ ψ ⟩ ( t , x ) ≔ ∫ R d f ( t , x , v ) ψ ( v ) d v . (10) \langle\psi\rangle(t,x) \coloneqq\int_{\mathbb{R}^{d}} f(t,x,v)\psi(v)\,\mathrm{d}v. \tag*{(10)} ⟨ ψ ⟩ ( t , x ) : = ∫ R d f ( t , x , v ) ψ ( v ) d v . (10)
The physically relevant macroscopic quantities are the conserved moments corresponding to mass, momentum, and energy:
ψ i n v ( v ) = ( 1 v ∣ v ∣ 2 / 2 ) , U = ( ρ ρ u ρ E ) = ∫ R d f ψ i n v d v , (11) \psi_{\mathrm{inv}}(v) =
\begin{pmatrix}
1 \\
v \\
\lvert v\rvert^{2}/2
\end{pmatrix},
\qquad
U =
\begin{pmatrix}
\rho\\
\rho u \\
\rho E
\end{pmatrix}
=
\int_{\mathbb{R}^{d}} f\psi_{\mathrm{inv}}\,\mathrm{d}v, \tag*{(11)} ψ inv ( v ) = 1 v ∣ v ∣ 2 /2 , U = ρ ρ u ρE = ∫ R d f ψ inv d v , (11)
where ρ \rho ρ is mass density, u u u is macroscopic (bulk) velocity, and E E E is specific total energy.
The Boltzmann Equation and Collision Invariants
The evolution of f f f is governed by the Boltzmann equation:
∂ t f + v ⋅ ∇ x f = Ω ( f ) , (12) \partial_t f + v \cdot\nabla_x f = \Omega(f), \tag*{(12)} ∂ t f + v ⋅ ∇ x f = Ω ( f ) , (12)
where Ω ( f ) \Omega(f) Ω ( f ) is the collision operator. The physical admissibility of collision processes requires:
Axiom A.2 (Conservation Laws). The collision operator preserves mass, momentum, and energy:
∫ R d Ω ( f ) ψ i n v ( v ) d v = 0. (13) \int_{\mathbb{R}^{d}} \Omega(f)\psi_{\mathrm{inv}}(\mathbf{v})\,\mathrm{d}\mathbf{v}=0. \tag*{(13)} ∫ R d Ω ( f ) ψ inv ( v ) d v = 0. (13)
Axiom A.3 (Boltzmann’s H-Theorem). For collision operators satisfying Boltzmann’s H-theorem and for distribution functions f > 0 f>0 f > 0 with ∫ f log f d v < ∞ \int f\log f\,\mathrm{d}\mathbf{v}<\infty ∫ f log f d v < ∞ , the H-functional production is non-positive:
d d t H ( f ) ( t , x ) = ∫ R d Ω ( f ) log f d v ≤ 0 , (14) \frac{\mathrm{d}}{\mathrm{d}t}H(f)(t,\mathbf{x})=\int_{\mathbb{R}^{d}}\Omega(f)\log f\,\mathrm{d}\mathbf{v}\le0, \tag*{(14)} d t d H ( f ) ( t , x ) = ∫ R d Ω ( f ) log f d v ≤ 0 , (14) where the continuous H-functional (Boltzmann H-function) is defined as:
H ( f ) ( t , x ) ≔ ∫ R d f ( t , x , v ) log f ( t , x , v ) d v . (15) H(f)(t,\mathbf{x})\coloneqq\int_{\mathbb{R}^{d}}f(t,\mathbf{x},\mathbf{v})\log f(t,\mathbf{x},\mathbf{v})\,\mathrm{d}\mathbf{v}. \tag*{(15)} H ( f ) ( t , x ) : = ∫ R d f ( t , x , v ) log f ( t , x , v ) d v . (15) Equality holds if and only if Ω ( f ) = 0 \Omega(f)=0 Ω ( f ) = 0 almost everywhere.
Remark A.4. For kinetic distributions, the physical entropy has the form S = − k B H S=-k_{\mathrm{B}}H S = − k B H up to additive constants fixed by the reference measure. Thus H ˙ ≤ 0 \dot{H}\le0 H ˙ ≤ 0 is the H-theorem form of nonnegative entropy production for the modeled collision dynamics.
Equilibrium as Entropy Minimization
The equilibrium distribution is characterized as the entropy minimizer subject to moment constraints. Let U = ( ρ , ρ u , ρ E ) T \mathbf{U}=(\rho,\rho\mathbf{u},\rho E)^{\mathsf{T}} U = ( ρ , ρ u , ρE ) T be a given macroscopic state with ρ > 0 \rho>0 ρ > 0 and E > ∣ u ∣ 2 / 2 E>|\mathbf{u}|^{2}/2 E > ∣ u ∣ 2 /2 . The unique solution to the constrained minimization problem
f e q = arg min g ≥ 0 { H [ g ] | ∫ R d g ψ i n v d v = U } (16) f^{\mathrm{eq}}=\underset{g\ge0}{\operatorname{arg\,min}}\left\{H[g]\ \middle|\ \int_{\mathbb{R}^{d}}g\psi_{\mathrm{inv}}\,\mathrm{d}\mathbf{v}=\mathbf{U}\right\} \tag*{(16)} f eq = g ≥ 0 arg min { H [ g ] ∫ R d g ψ inv d v = U } (16)
is the Maxwell-Boltzmann (Maxwellian) distribution:
f M B ( v ; ρ , u , θ ) ≔ ρ ( 2 π θ ) d / 2 exp ( − ∣ v − u ∣ 2 2 θ ) , (17) f^{\mathrm{MB}}(\mathbf{v};\rho,\mathbf{u},\theta)\coloneqq\frac{\rho}{(2\pi\theta)^{d/2}}\exp\left(-\frac{|\mathbf{v}-\mathbf{u}|^{2}}{2\theta}\right), \tag*{(17)} f MB ( v ; ρ , u , θ ) : = ( 2 π θ ) d /2 ρ exp ( − 2 θ ∣ v − u ∣ 2 ) , (17)
where the kinetic temperature is θ = 2 d ( E − ∣ u ∣ 2 / 2 ) \theta=\frac{2}{d}(E-|\mathbf{u}|^{2}/2) θ = d 2 ( E − ∣ u ∣ 2 /2 ) . This result follows from introducing Lagrange multipliers λ ∈ R d + 2 \boldsymbol{\lambda}\in\mathbb{R}^{d+2} λ ∈ R d + 2 for the moment constraints; the first-order optimality condition δ H ( f ) = λ ⋅ δ ∫ f ψ i n v d v \delta H(f)=\boldsymbol{\lambda}\cdot\delta\int f\psi_{\mathrm{inv}}\mathrm{d}\mathbf{v} δ H ( f ) = λ ⋅ δ ∫ f ψ inv d v yields 1 + log f e q = λ ⋅ ψ i n v 1+\log f^{\mathrm{eq}}=\boldsymbol{\lambda}\cdot\psi_{\mathrm{inv}} 1 + log f eq = λ ⋅ ψ inv , from which Equation (17) follows by identifying λ \boldsymbol{\lambda} λ through the moment constraints. Convexity of H H H ensures uniqueness.
BGK Collision Model
For computational tractability, we adopt the Bhatnagar-Gross-Krook (BGK) single-relaxation-time approximation Bhatnagar et al. [ [18 ]
Ω ( f ) ≔ − 1 τ ( f − f M B ) , (18) \Omega(f)\coloneqq-\frac{1}{\tau}(f-f^{\mathrm{MB}}), \tag*{(18)} Ω ( f ) : = − τ 1 ( f − f MB ) , (18)
where τ > 0 \tau>0 τ > 0 is the relaxation time related to viscosity in hydrodynamics. This model satisfies Axioms A.2 and A.3, and in the hydrodynamic limit τ → 0 \tau\to0 τ → 0 (Chapman-Enskog expansion) recovers the compressible Navier-Stokes equations with kinematic viscosity ν = θ τ \nu=\theta\tau ν = θ τ .
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.
Hermite Polynomial Basis
Definition A.5 (Probabilist Hermite Polynomials). The multidimensional Hermite polynomials { H ( n ) ( v ) } \{\mathcal{H}^{(\mathbf{n})}(\mathbf{v})\} { H ( n ) ( v )} indexed by multi-indices n ∈ N 0 d \mathbf{n}\in\mathbb{N}_{0}^{d} n ∈ N 0 d are the tensor products of univariate polynomials satisfying the orthogonality relation:
∫ R d H ( n ) ( v ) H ( m ) ( v ) ω ( v ) d v = δ n m n ! I ( ∣ n ∣ ) , \int_{\mathbb{R}^{d}}\mathcal{H}^{(\mathbf{n})}(\mathbf{v})\mathcal{H}^{(\mathbf{m})}(\mathbf{v})\omega(\mathbf{v})\,\mathrm{d}\mathbf{v}=\delta_{\mathbf{n}\mathbf{m}}\mathbf{n}!\,\mathbb{I}^{(|\mathbf{n}|)}, ∫ R d H ( n ) ( v ) H ( m ) ( v ) ω ( v ) d v = δ nm n ! I ( ∣ n ∣ ) ,
where
ω ( v ) ≔ ( 2 π ) − d / 2 e − ∣ v ∣ 2 / 2 (19) \omega(\mathbf{v}) \coloneqq(2\pi)^{-d/2}e^{-\lvert\mathbf{v}\rvert^2/2} \tag*{(19)} ω ( v ) : = ( 2 π ) − d /2 e − ∣ v ∣ 2 /2 (19)
is the standard Gaussian weight function, n ! = n 1 ! ⋯ n d ! \mathbf{n}! = n_1! \cdots n_d! n ! = n 1 ! ⋯ n d ! , ∣ n ∣ = n 1 + ⋯ + n d \lvert\mathbf{n}\rvert= n_1 + \cdots+ n_d ∣ n ∣ = n 1 + ⋯ + n d , and Π ( k ) \Pi^{(k)} Π ( k ) denotes the rank-k k k identity tensor Shan and He [ [82 ] , Krüger et al. [ [63 ] , Succi and Succi [ [87 ] .
Definition A.6 (Polynomial Space). We denote by P N ( R d ) \mathcal{P}_N(\mathbb{R}^d) P N ( R d ) the space of all real-valued polynomials of total degree at most N N N :
P N ( R d ) = { P ( v ) = ∑ ∣ n ∣ ≤ N c n v n | c n ∈ R } , (20) \mathcal{P}_N(\mathbb{R}^d) = \left\{ P(\mathbf{v}) = \sum_{\lvert\mathbf{n}\rvert\leq N} c_{\mathbf{n}}\mathbf{v}^{\mathbf{n}} \,\middle|\, c_{\mathbf{n}}\in\mathbb{R} \right\}, \tag*{(20)} P N ( R d ) = ⎩ ⎨ ⎧ P ( v ) = ∣ n ∣ ≤ N ∑ c n v n c n ∈ R ⎭ ⎬ ⎫ , (20) where v n = v 1 n 1 ⋯ v d n d \mathbf{v}^{\mathbf{n}} = v_1^{n_1}\cdots v_d^{n_d} v n = v 1 n 1 ⋯ v d n d denotes the monomial corresponding to multi-index n \mathbf{n} n .
Definition A.7 (Grad Expansion). For fixed truncation order N ∈ N N \in\mathbb{N} N ∈ N , the N N N -th order Grad approximation of f f f is Grad [ [46 ] :
f ( N ) ( v ) ≔ ω ( v ) ∑ ∣ n ∣ = 0 N 1 n ! a ( n ) : H ( n ) ( v ) , (21) f^{(N)}(\mathbf{v}) \coloneqq\omega(\mathbf{v})\sum_{\lvert\mathbf{n}\rvert=0}^{N}\frac{1}{\mathbf{n}!}\mathbf{a}^{(\mathbf{n})}:\mathcal{H}^{(\mathbf{n})}(\mathbf{v}), \tag*{(21)} f ( N ) ( v ) : = ω ( v ) ∣ n ∣ = 0 ∑ N n ! 1 a ( n ) : H ( n ) ( v ) , (21) where a ( n ) \mathbf{a}^{(\mathbf{n})} a ( n ) are symmetric moment tensors and : : : denotes full tensor contraction. The moment tensors are determined by:
a ( n ) = ∫ R d f ( v ) H ( n ) ( v ) d v . (22) \mathbf{a}^{(\mathbf{n})} = \int_{\mathbb{R}^d} f(\mathbf{v})\mathcal{H}^{(\mathbf{n})}(\mathbf{v})\,\mathrm{d}\mathbf{v}. \tag*{(22)} a ( n ) = ∫ R d f ( v ) H ( n ) ( v ) d v . (22)
Remark A.8. By construction, the truncated Grad expansion satisfies f ( N ) / ω ∈ P N ( R d ) f^{(N)}/\omega\in\mathcal{P}_N(\mathbb{R}^d) f ( N ) / ω ∈ P N ( R d ) . For the BGK model with Maxwellian equilibrium, the low-Mach Hermite expansion of f M B / ω f^{\mathrm{MB}}/\omega f MB / ω truncated at N = 2 N=2 N = 2 yields the standard polynomial lattice equilibrium; the exact Maxwellian ratio is not itself a second-order polynomial except in this truncated approximation.
Gauss-Hermite Quadrature
To evaluate moments without continuous integration, we employ Gaussian quadrature adapted to the Hermite weight Shan and He [ [82 ] , Shan et al. [ [83 ] , Krüger et al. [ [63 ] , Succi [ [86 ] .
Definition A.9 (Gauss-Hermite Quadrature Rule). A Gauss-Hermite quadrature rule of degree M M M consists of a finite set of velocity nodes V = { v i } i = 1 Q ⊂ R d \mathcal{V} = \{\mathbf{v}_i\}_{i=1}^{Q} \subset\mathbb{R}^d V = { v i } i = 1 Q ⊂ R d and positive weights { w i } i = 1 Q \{w_i\}_{i=1}^{Q} { w i } i = 1 Q such that:
∫ R d P ( v ) ω ( v ) d v = ∑ i = 1 Q w i P ( v i ) , (23) \int_{\mathbb{R}^d} P(\mathbf{v})\omega(\mathbf{v})\,\mathrm{d}\mathbf{v} = \sum_{i=1}^{Q}w_iP(\mathbf{v}_i), \tag*{(23)} ∫ R d P ( v ) ω ( v ) d v = i = 1 ∑ Q w i P ( v i ) , (23) for all P ∈ P M ( R d ) P \in\mathcal{P}_M(\mathbb{R}^d) P ∈ P M ( R d ) ; see Definition A.6.
Assumption A.10 (Quadrature Order). We assume M ≥ 2 N M \geq2N M ≥ 2 N , ensuring exact integration of all moments up to order N N N in the Grad expansion and exact projection of the BGK collision operator.
Remark A.11. Standard lattices satisfy this requirement: D2Q9 has M = 5 M = 5 M = 5 (sufficient for N = 2 N = 2 N = 2 ), D3Q27 has M = 5 M = 5 M = 5 , and higher-order lattices like D3Q121 achieve M = 9 M = 9 M = 9 .
Discrete Populations
The key to preserving thermodynamic structure is the correct definition of discrete populations.
Definition A.12 (Lattice Populations). The discrete particle populations { f i } i = 1 Q \{f_i\}_{i=1}^{Q} { f i } i = 1 Q are defined by:
f i ( t , x ) ≔ w i f ( N ) ( t , x , v i ) ω ( v i ) . (24) f_i(t,\mathbf{x}) \coloneqq w_i\frac{f^{(N)}(t,\mathbf{x},\mathbf{v}_i)}{\omega(\mathbf{v}_i)}. \tag*{(24)} f i ( t , x ) : = w i ω ( v i ) f ( N ) ( t , x , v i ) . (24)
Under Definition A.12 and Assumption A.10, the discrete moments exactly reproduce the continuous moments of f ( N ) f^{(N)} f ( N ) . Specifically, for any smooth function ψ \psi ψ in v \mathbf{v} v with deg ( ∂ v k ψ ) ≤ N \deg(\partial_{\mathbf{v}}^k\psi) \leq N deg ( ∂ v k ψ ) ≤ N , we have:
∑ i = 1 Q f i ψ ( v i ) = ∫ R d f ( N ) ( v ) ψ ( v ) d v ≈ ∫ R d f ( v ) ψ ( v ) d v . (25) \sum_{i=1}^{Q}f_i\psi(\mathbf{v}_i) = \int_{\mathbb{R}^d}f^{(N)}(\mathbf{v})\psi(\mathbf{v})\,\mathrm{d}\mathbf{v} \approx\int_{\mathbb{R}^d}f(\mathbf{v})\psi(\mathbf{v})\,\mathrm{d}\mathbf{v}. \tag*{(25)} i = 1 ∑ Q f i ψ ( v i ) = ∫ R d f ( N ) ( v ) ψ ( v ) d v ≈ ∫ R d f ( v ) ψ ( v ) d v . (25)
In particular, the conserved moments are preserved exactly: ∑ i = 1 Q f i ψ i n v ( v i ) = U \sum_{i=1}^{Q} f_i\psi_{\mathrm{inv}}(\mathbf{v}_i)=U ∑ i = 1 Q f i ψ inv ( v i ) = U as the function ψ \psi ψ is a polynomial and the quadrature is exact.
To verify this, note that by the Grad expansion Equation (21) , we have f ( N ) / ω ∈ P N f^{(N)}/\omega\in\mathbb{P}_N f ( N ) / ω ∈ P N . For any ψ \psi ψ with deg ( ψ ) ≤ N \deg(\psi) \le N deg ( ψ ) ≤ N , the product ψ ⋅ ( f ( N ) / ω ) ∈ P 2 N ⊆ P M \psi\cdot(f^{(N)}/\omega) \in\mathbb{P}_{2N} \subseteq\mathbb{P}_M ψ ⋅ ( f ( N ) / ω ) ∈ P 2 N ⊆ P M by Assumption A.10. Applying the quadrature rule Equation (23) :
∫ R d f ( N ) ψ d v = ∫ R d f ( N ) ( v ) ω ( v ) ψ ( v ) ω ( v ) d v = ∑ i = 1 Q w i f ( N ) ( v i ) ω ( v i ) ψ ( v i ) = ∑ i = 1 Q f i ψ ( v i ) , \int_{\mathbb{R}^d} f^{(N)}\psi\,\mathrm{d}v = \int_{\mathbb{R}^d} \frac{f^{(N)}(\mathbf{v})}{\omega(\mathbf{v})}\psi(\mathbf{v})\omega(\mathbf{v}) \,\mathrm{d}v
= \sum_{i=1}^{Q} w_i \frac{f^{(N)}(\mathbf{v}_i)}{\omega(\mathbf{v}_i)}\psi(\mathbf{v}_i) = \sum_{i=1}^{Q} f_i\psi(\mathbf{v}_i), ∫ R d f ( N ) ψ d v = ∫ R d ω ( v ) f ( N ) ( v ) ψ ( v ) ω ( v ) d v = i = 1 ∑ Q w i ω ( v i ) f ( N ) ( v i ) ψ ( v i ) = i = 1 ∑ Q f i ψ ( v i ) ,
where we used Definition A.12 in the last equality. Furthermore, because f f f and f ( N ) f^{(N)} f ( N ) coincide on the first moments; the quadrature rule is exact for the relevant polynomials, then
∫ R d f ψ d v = ∫ R d f ( N ) ψ d v = ∑ i = 1 Q f i ψ ( v i ) \int_{\mathbb{R}^d} f\psi\,\mathrm{d}v = \int_{\mathbb{R}^d} f^{(N)}\psi\,\mathrm{d}v = \sum_{i=1}^{Q} f_i\psi(\mathbf{v}_i) ∫ R d f ψ d v = ∫ R d f ( N ) ψ d v = i = 1 ∑ Q f i ψ ( v i )
Lattice Boltzmann Background
The kinetic backbone of NeurDE is based on the Boltzmann equation (BE) and the evolution of the discretized single-particle distribution f ( t , x , v ) f(t,\mathbf{x},\mathbf{v}) f ( t , x , v ) . Here, f ( t , x , v ) f(t,\mathbf{x},\mathbf{v}) f ( t , x , v ) describes the mesoscopic particle state at position x \mathbf{x} x and particle velocity v \mathbf{v} v . The distribution is updated via the Bhatnagar–Gross–Krook (BGK) Bhatnagar et al. [ [18 ] particle collision operator, which relaxes f f f towards an equilibrium distribution f e q f^{\mathrm{eq}} f eq . The lattice Boltzmann method realizes this view on a finite velocity lattice Bellotti et al. [ [12 ] by evolving populations f i ( t , x ) f_i(t,\mathbf{x}) f i ( t , x ) at positions x \mathbf{x} x and discrete velocities v i \mathbf{v}_i v i :
f i ( t + 1 , x + v i ) = f i ( t , x ) + Ω ( f i ( t , x ) , U ( t , x ) ) (26) f_i(t+1,\mathbf{x}+\mathbf{v}_i)=f_i(t,\mathbf{x})+\Omega(f_i(t,\mathbf{x}),U(t,\mathbf{x})) \tag*{(26)} f i ( t + 1 , x + v i ) = f i ( t , x ) + Ω ( f i ( t , x ) , U ( t , x )) (26)
Ω B G K = 1 τ ( f i e q ( U ( t , x ) ) − f i ( t , x ) ) (27) \Omega_{\mathrm{BGK}}=\frac{1}{\tau}\left(f_i^{\mathrm{eq}}(U(t,\mathbf{x}))-f_i(t,\mathbf{x})\right) \tag*{(27)} Ω BGK = τ 1 ( f i eq ( U ( t , x )) − f i ( t , x ) ) (27)
with relaxation time τ \tau τ and conserved macroscopic variable U ( t , x ) U(t,\mathbf{x}) U ( t , x ) (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:
f i ( t + 1 , x ) ≈ Φ B G K S Φ B G K C f i ( t , x ) (28) f_i(t+1,\mathbf{x})\approx\Phi_{\mathrm{BGK}}^{S}\Phi_{\mathrm{BGK}}^{C}f_i(t,\mathbf{x}) \tag*{(28)} f i ( t + 1 , x ) ≈ Φ BGK S Φ BGK C f i ( t , x ) (28)
f i c o l l ( t , x ) = Φ B G K C f i ( t , x ) = f i ( t , x ) + 1 τ [ f i e q ( U ( t , x ) ) − f i ( t , x ) ] (29) f_i^{\mathrm{coll}}(t,\mathbf{x})=\Phi_{\mathrm{BGK}}^{C}f_i(t,\mathbf{x})
=f_i(t,\mathbf{x})+\frac{1}{\tau}\left[f_i^{\mathrm{eq}}(U(t,\mathbf{x}))-f_i(t,\mathbf{x})\right] \tag*{(29)} f i coll ( t , x ) = Φ BGK C f i ( t , x ) = f i ( t , x ) + τ 1 [ f i eq ( U ( t , x )) − f i ( t , x ) ] (29)
f i ( t + 1 , x ) = Φ S f i c o l l ( t , x ) = f i c o l l ( t , x − c i ) (30) f_i(t+1,\mathbf{x})=\Phi^{S}f_i^{\mathrm{coll}}(t,\mathbf{x})=f_i^{\mathrm{coll}}(t,\mathbf{x}-\mathbf{c}_i) \tag*{(30)} f i ( t + 1 , x ) = Φ S f i coll ( t , x ) = f i coll ( t , x − c i ) (30)
The collision Φ B G K C \Phi_{\mathrm{BGK}}^{C} Φ BGK C is local but nonlinear, which makes it both highly parallelizable and the natural place to insert a learned component Schornbaum and Rude [ [81 ] , Benitez et al. [ [14 ] . The streaming step Φ S \Phi^{S} Φ S 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:
U ( t , x ) = ( ρ , ρ u , ρ E ) T = ∑ i ( 1 , v i , 1 2 v i 2 ) T f i . (31) U(t,\mathbf{x})=(\rho,\rho\mathbf{u},\rho E)^{\mathsf{T}}=\sum_i(1,\mathbf{v}_i,\tfrac{1}{2}\mathbf{v}_i^2)^{\mathsf{T}}f_i. \tag*{(31)} U ( t , x ) = ( ρ , ρ u , ρE ) T = i ∑ ( 1 , v i , 2 1 v i 2 ) T f i . (31)
NeurDE inherits the BE mass and momentum conservation and only needs to specify the remaining system-specific physics governed by f i e q ( U ( t , x ) ) f_i^{\mathrm{eq}}(U(t,\mathbf{x})) f i eq ( U ( t , x )) . To do this, NeurDE learns the system’s closure to predict the mesoscopic equilibrium from the macroscopic observables U U U . By learning this macro-to-mesoscopic mapping, NeurDE and Eq. (31) naturally couple the mesoscopic particle (molecular) and macroscopic (observable) scales.
Discrete Entropy Functional
Standard lattice Boltzmann implementations employ polynomial equilibria (e.g., second-order Hermite expansions) that approximate the continuous entropy minimizer H ( f ) H(f) H ( f ) but do not generally minimize the discrete entropy functional. This discrepancy can manifest as spurious H H H -function growth, Δ H d i s c r e t e > 0 \Delta H_{\mathrm{discrete}} > 0 Δ H discrete > 0 , 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.
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:
H ( f ) = ∫ R d f log f d v = ∫ R d f ( v ) ω ( v ) log f ( v ) ω ( v ) d v . H(f) = \int_{\mathbb{R}^d} f \log f \,\mathrm{d}v = \int_{\mathbb{R}^d} \frac{f(\mathbf{v})}{\omega(\mathbf{v})} \log f(\mathbf{v}) \omega(\mathbf{v}) \,\mathrm{d}v. H ( f ) = ∫ R d f log f d v = ∫ R d ω ( v ) f ( v ) log f ( v ) ω ( v ) d v .
For the Grad approximation f ( N ) f^{(N)} f ( N ) , we have f ( N ) / ω ∈ P N f^{(N)}/\omega\in\mathbb{P}_N f ( N ) / ω ∈ P N by construction. The integrand can be decomposed as:
f ( N ) ( v ) ω ( v ) log f ( N ) ( v ) = f ( N ) ( v ) ω ( v ) [ log ( f ( N ) ( v ) ω ( v ) ) + log ω ( v ) ] . \frac{f^{(N)}(\mathbf{v})}{\omega(\mathbf{v})} \log f^{(N)}(\mathbf{v}) = \frac{f^{(N)}(\mathbf{v})}{\omega(\mathbf{v})} \left[ \log\left(\frac{f^{(N)}(\mathbf{v})}{\omega(\mathbf{v})}\right) + \log\omega(\mathbf{v}) \right]. ω ( v ) f ( N ) ( v ) log f ( N ) ( v ) = ω ( v ) f ( N ) ( v ) [ log ( ω ( v ) f ( N ) ( v ) ) + log ω ( v ) ] .
The first term involves ( f ( N ) / ω ) log ( f ( N ) / ω ) (f^{(N)}/\omega)\log(f^{(N)}/\omega) ( f ( N ) / ω ) log ( f ( N ) / ω ) . Since f ( N ) / ω ∈ P N f^{(N)}/\omega\in\mathbb{P}_N f ( N ) / ω ∈ P N , we can write:
f ( N ) ( v ) ω ( v ) = ∑ ∣ n ∣ ≤ N c n H ( n ) ( v ) , \frac{f^{(N)}(\mathbf{v})}{\omega(\mathbf{v})} = \sum_{|\mathbf{n}|\leq N} c_{\mathbf{n}} \mathcal{H}^{(\mathbf{n})}(\mathbf{v}), ω ( v ) f ( N ) ( v ) = ∣ n ∣ ≤ N ∑ c n H ( n ) ( v ) ,
for some coefficients c n ∈ R c_{\mathbf{n}} \in\mathbb{R} c n ∈ R determined by the moment tensors a ( n ) \mathbf{a}^{(\mathbf{n})} a ( n ) through the Hermite expansion. The logarithm introduces nonpolynomial terms; however, for populations close to equilibrium (the relevant regime for LBM), we assume f ( N ) / ω f^{(N)}/\omega f ( N ) / ω is strictly positive on the support of the quadrature nodes { v i } i = 1 Q \{\mathbf{v}_i\}_{i=1}^{Q} { v i } i = 1 Q . Under this condition and requiring quadrature order M ≥ 2 N + 2 M \geq2N+2 M ≥ 2 N + 2 , the quadrature rule captures the leading-order entropy contributions with controllable error.
Applying the quadrature rule to approximate the continuous integral:
H ( f ( N ) ) ≈ ∑ i = 1 Q w i f ( N ) ( v i ) ω ( v i ) log f ( N ) ( v i ) = ∑ i = 1 Q w i f ( N ) ( v i ) ω ( v i ) [ log ( f ( N ) ( v i ) ω ( v i ) ) + log w i − log w i + log ω ( v i ) ] = ∑ i = 1 Q w i f ( N ) ( v i ) ω ( v i ) [ log ( f ( N ) ( v i ) w i ω ( v i ) ) + log ω ( v i ) ] . \begin{aligned}
H(f^{(N)}) \approx\sum_{i=1}^{Q} w_i \frac{f^{(N)}(\mathbf{v}_i)}{\omega(\mathbf{v}_i)} \log f^{(N)}(\mathbf{v}_i) \\
&= \sum_{i=1}^{Q} w_i \frac{f^{(N)}(\mathbf{v}_i)}{\omega(\mathbf{v}_i)} \left[ \log\left(\frac{f^{(N)}(\mathbf{v}_i)}{\omega(\mathbf{v}_i)}\right) + \log w_i - \log w_i + \log\omega(\mathbf{v}_i) \right] \\
&= \sum_{i=1}^{Q} w_i \frac{f^{(N)}(\mathbf{v}_i)}{\omega(\mathbf{v}_i)} \left[ \log\left(\frac{f^{(N)}(\mathbf{v}_i)}{w_i\omega(\mathbf{v}_i)}\right) + \log\omega(\mathbf{v}_i) \right].
\end{aligned} H ( f ( N ) ) ≈ i = 1 ∑ Q w i ω ( v i ) f ( N ) ( v i ) log f ( N ) ( v i ) = i = 1 ∑ Q w i ω ( v i ) f ( N ) ( v i ) [ log ( ω ( v i ) f ( N ) ( v i ) ) + log w i − log w i + log ω ( v i ) ] = i = 1 ∑ Q w i ω ( v i ) f ( N ) ( v i ) [ log ( w i ω ( v i ) f ( N ) ( v i ) ) + log ω ( v i ) ] .
Using Definition A.12, we have f ( N ) ( v i ) = f i ω ( v i ) / w i f^{(N)}(\mathbf{v}_i) = f_i\omega(\mathbf{v}_i)/w_i f ( N ) ( v i ) = f i ω ( v i ) / w i , which yields:
H ( f ( N ) ) ≈ ∑ i = 1 Q f i [ log ( f i w i ) + log ω ( v i ) ] . H(f^{(N)}) \approx\sum_{i=1}^{Q} f_i \left[ \log\left(\frac{f_i}{w_i}\right) + \log\omega(\mathbf{v}_i) \right]. H ( f ( N ) ) ≈ i = 1 ∑ Q f i [ log ( w i f i ) + log ω ( v i ) ] .
We now analyze the second term. Since log ω ( v ) = − d 2 log ( 2 π ) − 1 2 ∣ v ∣ 2 \log\omega(\mathbf{v}) = -\frac{d}{2}\log(2\pi) - \frac{1}{2}|\mathbf{v}|^2 log ω ( v ) = − 2 d log ( 2 π ) − 2 1 ∣ v ∣ 2 , we have:
I ( f ) = d e f . ∑ i = 1 Q f i log ω ( v i ) = − d 2 log ( 2 π ) ∑ i = 1 Q f i − 1 2 ∑ i = 1 Q f i ∣ v i ∣ 2 . \mathcal{I}(f) \overset{\mathrm{def.}}{=} \sum_{i=1}^{Q} f_i \log\omega(\mathbf{v}_i) = -\frac{d}{2}\log(2\pi)\sum_{i=1}^{Q} f_i - \frac{1}{2}\sum_{i=1}^{Q} f_i|\mathbf{v}_i|^2. I ( f ) = def. i = 1 ∑ Q f i log ω ( v i ) = − 2 d log ( 2 π ) i = 1 ∑ Q f i − 2 1 i = 1 ∑ Q f i ∣ v i ∣ 2 .
Recognizing the discrete moments for mass ρ = ∑ i = 1 Q f i \rho= \sum_{i=1}^{Q} f_i ρ = ∑ i = 1 Q f i and total energy ρ E = 1 2 ∑ i = 1 Q f i ∣ v i ∣ 2 \rho E = \frac{1}{2}\sum_{i=1}^{Q} f_i|\mathbf{v}_i|^2 ρE = 2 1 ∑ i = 1 Q f i ∣ v i ∣ 2 (by Equation (25) with ψ = ∣ v ∣ 2 / 2 \psi= |\mathbf{v}|^2/2 ψ = ∣ v ∣ 2 /2 ), we obtain:
I ( f ) = − d 2 log ( 2 π ) ρ − ρ E . \mathcal{I}(f) = -\frac{d}{2}\log(2\pi)\rho- \rho E. I ( f ) = − 2 d log ( 2 π ) ρ − ρE .
Since mass ρ \rho ρ and total energy ρ E \rho E ρE are collision invariants (conserved by Axiom A.2), we have d d t I ( f ) = 0 \frac{d}{dt}\mathcal{I}(f)=0 d t d I ( f ) = 0 identically along Boltzmann dynamics. Thus H ( f ( N ) ) H(f^{(N)}) H ( f ( N ) ) and the first term have identical dynamical content.
Definition A.13 (Discrete Entropy Functional). The discrete entropy functional (discrete H H H -function) is defined as:
H L ( f ) ≔ ∑ i = 1 Q f i log ( f i w i ) (32) H_{\mathcal{L}}(f) \coloneqq\sum_{i=1}^{Q} f_i \log\left(\frac{f_i}{w_i}\right) \tag*{(32)} H L ( f ) : = i = 1 ∑ Q f i log ( w i f i ) (32) which is a discrete relative-entropy functional with respect to the quadrature weights w = ( w 1 , … , w Q ) ⊤ \mathbf{w}=(w_1,\ldots,w_Q)^\top w = ( w 1 , … , w Q ) ⊤ . When ∑ i f i = 1 \sum_i f_i=1 ∑ i f i = 1 , it is the usual Kullback–Leibler divergence D K L ( f ∥ w ) D_{\mathrm{KL}}(f\parallel w) D KL ( f ∥ w ) ; 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
H ( f ( N ) ) ≈ H L ( f ) + I ( f ) , H(f^{(N)}) \approx H_{\mathcal{L}}(f)+\mathcal{I}(f), H ( f ( N ) ) ≈ H L ( f ) + I ( f ) ,
where I ( f ) \mathcal{I}(f) I ( f ) is a conserved quantity. Thus, within the discrete quadrature approximation, minimizing the discrete entropy H L [ f ] H_{\mathcal{L}}[f] H L [ f ] subject to moment constraints ∑ i = 1 Q f i ψ i n v ( v i ) = U \sum_{i=1}^{Q}f_i\psi_{\mathrm{inv}}(v_i)=U ∑ i = 1 Q f i ψ inv ( v i ) = U is the entropy-consistent discrete counterpart of the continuous constrained minimization problem [54 , 49 ] .
Remark A.14 (Notation). Throughout the main text, for simplicity of notation, we denote the discrete entropy H L H_{\mathcal{L}} H L simply as H H H , as the context implies the discrete functional unless otherwise stated.
Reference measure w
The definition of the discrete entropy in Equation (32) is the canonical entropic-LBM choice for preserving the thermodynamic structure of the continuous Boltzmann equation upon velocity discretization [54 , 49 ] . It is easy to see that the Maxwellian Equation (17) and the weight function of the quadrature Equation (19) are related as,
f M B ( v ; ρ , u , θ ) = ρ θ d / 2 ω ( v − u θ ) . f^{\mathrm{MB}}(v;\rho,\mathbf{u},\theta)=\frac{\rho}{\theta^{d/2}}\omega\left(\frac{\mathbf{v}-\mathbf{u}}{\sqrt{\theta}}\right). f MB ( v ; ρ , u , θ ) = θ d /2 ρ ω ( θ v − u ) .
In particular, if we consider the absolute equilibrium state of the fluid at rest with unit density and temperature ( ρ = 1 , u = 0 , θ = 1 ) (\rho=1,\mathbf{u}=0,\theta=1) ( ρ = 1 , u = 0 , θ = 1 ) . In this state, the continuous Maxwell–Boltzmann distribution function coincides exactly with the Gaussian weight function ω ( v ) \omega(v) ω ( v ) used for the Hermite spectral projection:
f r e s t ( v ; 1 , 0 , 1 ) = 1 ( 2 π ) d / 2 e − ∣ v ∣ 2 / 2 ≡ ω ( v ) . f^{\mathrm{rest}}(v;1,0,1)=\frac{1}{(2\pi)^{d/2}}e^{-|v|^2/2}\equiv\omega(v). f rest ( v ; 1 , 0 , 1 ) = ( 2 π ) d /2 1 e − ∣ v ∣ 2 /2 ≡ ω ( v ) .
Substituting this physical state into the definition of the lattice populations (Theorem A.12) yields the discrete equilibrium populations at rest:
f i r e s t = w i f r e s t ( v i ) ω ( v i ) = w i ω ( v i ) ω ( v i ) = w i . (33) f_i^{\mathrm{rest}}=w_i\frac{f^{\mathrm{rest}}(v_i)}{\omega(v_i)}=w_i\frac{\omega(v_i)}{\omega(v_i)}=w_i. \tag*{(33)} f i rest = w i ω ( v i ) f rest ( v i ) = w i ω ( v i ) ω ( v i ) = w i . (33)
This identity shows that the vector of quadrature weights w \mathbf{w} w 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
∑ i = 1 Q w i = ∫ ω ( v ) d v = 1. \sum_{i=1}^{Q}w_i=\int\omega(v)\,dv=1. i = 1 ∑ Q w i = ∫ ω ( v ) d v = 1.
Thus, w \mathbf{w} w is a valid probability mass function representing the normalized rest equilibrium.
Consequently, the functional H L ( f ) H_{\mathcal{L}}(f) H L ( f ) measures the relative entropic cost of the current dynamic state f f f with respect to the rest reference w \mathbf{w} w . Minimizing this divergence subject to nonzero momentum constraints U \mathbf{U} U gives the discrete analogue of the continuous constrained-entropy problem that recovers the moving Maxwell–Boltzmann distribution.
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 H ( f ) H(f) H ( f ) , but the discretization error in the Gauss–Hermite quadrature means that polynomial approximations do not generally minimize the discrete entropy H L H_{\mathcal{L}} H L . The discrete entropy H L H_{\mathcal{L}} H L is strictly convex in f f f , as its Hessian matrix ∂ 2 H L ∂ f i ∂ f j = δ i j f i \frac{\partial^2 H_{\mathcal{L}}}{\partial f_i\partial f_j}=\frac{\delta_{ij}}{f_i} ∂ f i ∂ f j ∂ 2 H L = f i δ ij is positive definite for f > 0 f>0 f > 0 . Therefore, relaxation toward polynomial equilibria that do not minimize H L H_{\mathcal{L}} H L can violate the discrete H H H -theorem, producing entropy growth that accumulates into numerical instability over long time integration.
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 f i f_i f i . Defined up to reference-measure constants, the H-function and entropy S ( f ) S(f) S ( f ) are
H ( f ) = ∑ i f i log ( f i w i ) (34) H(f)=\sum_i f_i\log\left(\frac{f_i}{w_i}\right) \tag*{(34)} H ( f ) = i ∑ f i log ( w i f i ) (34)
S ( f ) = − k B H ( f ) , (35) S(f)=-k_B H(f), \tag*{(35)} S ( f ) = − k B H ( f ) , (35)
where k B k_B k B is the Boltzmann constant and w i w_i w i are the quadrature weights of the discrete velocity lattice Krüger et al. [ [63 ] , Succi [ [86 ] . When ∑ i f i = ∑ i w i = 1 \sum_i f_i=\sum_i w_i=1 ∑ i f i = ∑ i w i = 1 , Eq. (34) is the Kullback–Leibler divergence D K L ( f ∥ w ) D_{\mathrm{KL}}(f\|w) D KL ( f ∥ w ) ; for nonunit mass it is the corresponding unnormalized relative entropy. Therefore, H ( f ) H(f) H ( f ) measures how far the population is from the lattice representation of the Maxwell–Boltzmann rest state (Appendix § 6 .§ 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
H ( f c o l l ) ≤ H ( f p r e ) , (36) H\left(f^{\mathrm{coll}}\right)\le H\left(f^{\mathrm{pre}}\right), \tag*{(36)} H ( f coll ) ≤ H ( f pre ) , (36)
dissipates nonequilibrium structure rather than creating spurious grid-scale order. Entropic LBM (ELBM) enforces this condition by a clever construction Karlin et al. [ [54 ] : it introduces a local parameter α ( t , x ) \alpha(t,x) α ( t , x ) that stretches the relaxation toward an entropic mirror state ,
f m i r r ( α ) = f p r e + α ( f e q − f p r e ) . (37) f^{\mathrm{mirr}}(\alpha)=f^{\mathrm{pre}}+\alpha\left(f^{\mathrm{eq}}-f^{\mathrm{pre}}\right). \tag*{(37)} f mirr ( α ) = f pre + α ( f eq − f pre ) . (37)
Classical ELBM chooses α \alpha α as an admissible positive root of H ( f m i r r ( α ) ) = H ( f p r e ) H\left(f^{\mathrm{mirr}}(\alpha)\right)=H\left(f^{\mathrm{pre}}\right) H ( f mirr ( α ) ) = H ( f pre ) , which implies Eq. (36) under the positivity conditions in Appendix § 6 .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 α \alpha α then turns the BGK collision into
Ω E B G K = α ( t , x ) β ( f i e q ( U ( t , x ) ) − f i ( t , x ) ) (38) \Omega_{\mathrm{EBGK}}=\alpha(t,x)\beta\left(f_i^{\mathrm{eq}}(U(t,x))-f_i(t,x)\right) \tag*{(38)} Ω EBGK = α ( t , x ) β ( f i eq ( U ( t , x )) − f i ( t , x ) ) (38)
f i c o l l = Φ E B G K c f i = f i + α ( t , x ) β ( f i e q ( U ( t , x ) ) − f i ( t , x ) ) , (39) \begin{aligned}
f_i^{\mathrm{coll}}&=\Phi_{\mathrm{EBGK}}^c f_i\\
&=f_i+\alpha(t,x)\beta\left(f_i^{\mathrm{eq}}(U(t,x))-f_i(t,x)\right), \tag*{(39)}
\end{aligned} f i coll = Φ EBGK c f i = f i + α ( t , x ) β ( f i eq ( U ( t , x )) − f i ( t , x ) ) , (39)
where β = 1 / ( 2 τ ) \beta=1/(2\tau) β = 1/ ( 2 τ ) is fixed by the target viscosity Krüger et al. [ [63 ] and Φ E B G K c \Phi_{\mathrm{EBGK}}^c Φ EBGK c is the entropic BGK collision operator.
Intuitively, α \alpha α is a flow-dependent thermodynamic dial controlling an artificial viscosity. Near equilibrium, α ≈ 2 \alpha\approx2 α ≈ 2 and the entropic collision reduces to standard BGK relaxation. In underresolved or strongly nonequilibrium regions, the entropy condition alters α β \alpha\beta α β 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 α \alpha α parameter, which controls the artificial viscosity and has no closed-form solution, presents a robust learning problem. Similar to f i e q f_i^{\mathrm{eq}} f i eq , α \alpha α 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.
Entropic Stabilization via Involution
To enforce the discrete H H H -theorem, the Entropic Lattice Boltzmann Method (ELBM) constructs collision updates for which an admissible positive entropy-balance root implies Δ H C ≤ 0 \Delta H_C \le0 Δ H C ≤ 0 by design Karlin et al. [ [54 ] , Ansumali and Karlin [ [1 ] , Hosseini et al. [ [49 ] .
Entropic Involution and Mirror State
Definition A.15 (Entropic Involution). Given pre-collision populations f = ( f 1 , … , f Q ) ⊤ \boldsymbol{f} = (f_1,\ldots,f_Q)^\top f = ( f 1 , … , f Q ) ⊤ and a target equilibrium f e q = ( f 1 e q , … , f Q e q ) ⊤ \boldsymbol{f}^{\mathrm{eq}} = (f_1^{\mathrm{eq}},\ldots,f_Q^{\mathrm{eq}})^\top f eq = ( f 1 eq , … , f Q eq ) ⊤ , the entropic mirror state parameterized by α \alpha α is defined as
f m i r r ( α ) ≔ f + α ( f e q − f ) = ( 1 − α ) f + α f e q . (40) \boldsymbol{f}^{\mathrm{mirr}}(\alpha) \coloneqq\boldsymbol{f} + \alpha(\boldsymbol{f}^{\mathrm{eq}}-\boldsymbol{f}) = (1-\alpha)\boldsymbol{f}+\alpha\boldsymbol{f}^{\mathrm{eq}}. \tag*{(40)} f mirr ( α ) : = f + α ( f eq − f ) = ( 1 − α ) f + α f eq . (40)
The parameter α \alpha α 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 α ∗ ≥ 1 \alpha^* \ge1 α ∗ ≥ 1 is the nontrivial positive root of
h β = 1 ( α ) ≔ H C ( f m i r r ( α ) ) − H C ( f ) = 0 , (41) h_{\beta=1}(\alpha) \coloneqq H_C(\boldsymbol{f}^{\mathrm{mirr}}(\alpha))-H_C(\boldsymbol{f})=0, \tag*{(41)} h β = 1 ( α ) : = H C ( f mirr ( α )) − H C ( f ) = 0 , (41) with the special value α = 2 \alpha=2 α = 2 corresponding to the algebraic reflection f ( 2 ) m i r r = 2 f e q − f \boldsymbol{f}^{\mathrm{mirr}}_{(2)}=2\boldsymbol{f}^{\mathrm{eq}}-\boldsymbol{f} f ( 2 ) mirr = 2 f eq − f Karlin et al. [ [54 ] , Ansumali and Karlin [ [1 ] , Karlin et al. [ [53 ] .
The post-collision state is obtained by convex mixing,
f c o l l = ( 1 − β ) f + β f m i r r ( α ) . (42) \boldsymbol{f}^{\mathrm{coll}}=(1-\beta)\boldsymbol{f}+\beta\boldsymbol{f}^{\mathrm{mirr}}(\alpha). \tag*{(42)} f coll = ( 1 − β ) f + β f mirr ( α ) . (42)
Here, β ∈ [ 0 , 1 ] \beta\in[0,1] β ∈ [ 0 , 1 ] sets the nominal viscosity in smooth regions, while α \alpha α is chosen locally via (41) to enforce entropy balance and preserve positivity. Because H H H is convex and f c o l l \boldsymbol{f}^{\mathrm{coll}} f coll is a convex combination of f \boldsymbol{f} f and f m i r r ( α ) \boldsymbol{f}^{\mathrm{mirr}}(\alpha) f mirr ( α ) , with H [ f m i r r ( α ) ] = H ( f ) H[\boldsymbol{f}^{\mathrm{mirr}}(\alpha)]=H(\boldsymbol{f}) H [ f mirr ( α )] = H ( f ) by construction, Jensen’s inequality implies
H ( f c o l l ) = H ( ( 1 − β ) f + β f m i r r ( α ) ) ≤ H ( f ) , (43) H(\boldsymbol{f}^{\mathrm{coll}})=H\left((1-\beta)\boldsymbol{f}+\beta\boldsymbol{f}^{\mathrm{mirr}}(\alpha)\right)\le H(\boldsymbol{f}), \tag*{(43)} H ( f coll ) = H ( ( 1 − β ) f + β f mirr ( α ) ) ≤ H ( f ) , (43)
establishing the discrete H-theorem for the collision step.
Proofs of Theoretical Guarantees
Preliminaries
We recall from § 4.2 the following: let d d d , F F F be positive integers, let Ω ⊂ R d \Omega\subset\mathbb{R}^{d} Ω ⊂ R d be a bounded domain, let F \mathcal{F} F be a feature space, and fix a nonempty collection of encoders E : F → R F \mathcal{E}:\mathcal{F}\to\mathbb{R}^{F} E : F → R F . For each encoded context z = E ( ϕ ) z=\mathcal{E}(\phi) z = E ( ϕ ) , the DEQ update induces an operator G θ , z : H 1 ( Ω ) → H 1 ( Ω ) G_{\theta,z}:H^{1}(\Omega)\to H^{1}(\Omega) G θ , z : H 1 ( Ω ) → H 1 ( Ω ) .
Definition B.1 (Sobolev space). We write H 1 ( Ω ) H^{1}(\Omega) H 1 ( Ω ) for the (Hilbertian) Sobolev space on Ω \Omega Ω ; whose norm we denote by ∥ ⋅ ∥ H 1 ( Ω ) \|\cdot\|_{H^{1}(\Omega)} ∥ ⋅ ∥ H 1 ( Ω ) and is given for any u ∈ L 2 ( Ω ; R d ) u\in L^{2}(\Omega;\mathbb{R}^{d}) u ∈ L 2 ( Ω ; R d ) by
∥ u ∥ H 1 ( Ω ) ≔ d e f . ( ∫ v ∈ Ω ∥ u ( v ) ∥ 2 2 + ∥ ∇ u ( v ) ∥ 2 2 d v ) 1 / 2 (44) \|u\|_{H^{1}(\Omega)} \mathrel{\mathop{\coloneqq}^{\mathrm{def.}}} \left(\int_{v\in\Omega}\|u(v)\|_{2}^{2}+\|\nabla u(v)\|_{2}^{2}\,\mathrm{d}v\right)^{1/2} \tag*{(44)} ∥ u ∥ H 1 ( Ω ) : = def. ( ∫ v ∈ Ω ∥ u ( v ) ∥ 2 2 + ∥∇ u ( v ) ∥ 2 2 d v ) 1/2 (44)
where ∇ \nabla ∇ denotes the weak derivative of u u u (provided that it exists).
Definition B.2 (L + 1 ( Ω ) L_{+}^{1}(\Omega) L + 1 ( Ω ) space). We write L + 1 ( Ω ) L_{+}^{1}(\Omega) L + 1 ( Ω ) to denote the set of nonnegative finite-mass densities or population fields on Ω \Omega Ω ; that is, the collection of every f ∈ L 1 ( Ω ) f\in L^{1}(\Omega) f ∈ L 1 ( Ω ) satisfying f ≥ 0 f\ge0 f ≥ 0 Lebesgue-a.e. and 0 < ∫ Ω f ( v ) d v < ∞ 0<\int_{\Omega}f(v)\,\mathrm{d}v<\infty 0 < ∫ Ω f ( v ) d v < ∞ . 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 f f f and f m i r r f^{\mathrm{mirr}} f mirr ). Let A ⊂ H 1 ( Ω ) \mathcal{A}\subset H^{1}(\Omega) A ⊂ H 1 ( Ω ) be a set on which f m i r r : A → L + 1 ( Ω ) f^{\mathrm{mirr}}:\mathcal{A}\to L_{+}^{1}(\Omega) f mirr : A → L + 1 ( Ω ) is Lipschitz with respect to the L 2 ( Ω ) L^{2}(\Omega) L 2 ( Ω ) norm on A \mathcal{A} A and the L 1 ( Ω ) L^{1}(\Omega) L 1 ( Ω ) norm on its image, and on which there exist constants 0 < m < M < ∞ 0<m<M<\infty 0 < m < M < ∞ such that
m ≤ ( 1 − β ) f ( v ) + β f m i r r ( α ) ( v ) ≤ M (45) m\le(1-\beta)f(v)+\beta f^{\mathrm{mirr}}(\alpha)(v)\le M \tag*{(45)} m ≤ ( 1 − β ) f ( v ) + β f mirr ( α ) ( v ) ≤ M (45)
for Lebesgue-a.e. v ∈ Ω v\in\Omega v ∈ Ω and for all α ∈ A \alpha\in\mathcal{A} α ∈ A .
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 H 1 ( Ω ) H^{1}(\Omega) H 1 ( Ω ) rather than as a Nemytskii (superposition) lift of a pointwise kernel. For each ϕ ∈ F \phi\in\mathcal{F} ϕ ∈ F with encoded context z = E ( ϕ ) ∈ R F z=\mathcal{E}(\phi)\in\mathbb{R}^{F} z = E ( ϕ ) ∈ R F , write
G θ , z : H 1 ( Ω ) → H 1 ( Ω ) , α ↦ g θ ( α , z ) G_{\theta,z}:H^{1}(\Omega)\to H^{1}(\Omega),\qquad\alpha\mapsto g_{\theta}(\alpha,z) G θ , z : H 1 ( Ω ) → H 1 ( Ω ) , α ↦ g θ ( α , z )
for the operator that takes the current iterate to the next. The Nemytskii lift of a pointwise C 1 C^{1} C 1 symbol (Lemma B.7) is one realization of G θ , z G_{\theta,z} G θ , z ; 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 G θ , z G_{\theta,z} G θ , z 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 Ω ⊂ R d \Omega\subset\mathbb{R}^{d} Ω ⊂ R d is bounded with Lipschitz boundary. There exists a nonempty closed bounded convex set K ⊆ H 1 ( Ω ) \mathcal{K}\subseteq H^{1}(\Omega) K ⊆ H 1 ( Ω ) — the admissible set of stability parameters — such that, for every input feature ϕ ∈ F \phi\in\mathcal{F} ϕ ∈ F with encoded context z = E ( ϕ ) z=\mathcal{E}(\phi) z = E ( ϕ ) , the induced operator G θ , z : α ↦ g θ ( α , z ) G_{\theta,z}:\alpha\mapsto g_{\theta}(\alpha,z) G θ , z : α ↦ g θ ( α , z ) satisfies the following:
(A1) (Well-definedness.) G θ , z : H 1 ( Ω ) → H 1 ( Ω ) G_{\theta,z}:H^{1}(\Omega)\to H^{1}(\Omega) G θ , z : H 1 ( Ω ) → H 1 ( Ω ) is a well-defined map.
(A2) (Invariance of K \mathcal{K} K .) G θ , z ( K ) ⊆ K G_{\theta,z}(\mathcal{K})\subseteq\mathcal{K} G θ , z ( K ) ⊆ K .
(A3) (L 2 L^{2} L 2 -Lipschitzness on K \mathcal{K} K .) There exists a constant L ν ≥ 0 L_{\nu}\ge0 L ν ≥ 0 such that
∥ G θ , z ( α 0 ) − G θ , z ( α 1 ) ∥ L 2 ( Ω ) ≤ L ν ∥ α 0 − α 1 ∥ L 2 ( Ω ) , α 0 , α 1 ∈ K (46) \|G_{\theta,z}(\alpha_{0})-G_{\theta,z}(\alpha_{1})\|_{L^{2}(\Omega)}
\le L_{\nu}\|\alpha_{0}-\alpha_{1}\|_{L^{2}(\Omega)},\qquad\alpha_{0},\alpha_{1}\in\mathcal{K} \tag*{(46)} ∥ G θ , z ( α 0 ) − G θ , z ( α 1 ) ∥ L 2 ( Ω ) ≤ L ν ∥ α 0 − α 1 ∥ L 2 ( Ω ) , α 0 , α 1 ∈ K (46)
Remark B.5 (Pointwise (Nemytskii) realization and the role of B1 _1 1 ). A common way to realize Assumption B.4 is the pointwise case in which g θ : R d × R F → Ω g_{\theta}:\mathbb{R}^{d}\times\mathbb{R}^{F}\to\Omega g θ : R d × R F → Ω is continuously differentiable with bounded Jacobian sup v ∈ R d ∥ J g θ ( v , ⋅ ) ∥ 2 ≤ L ν \sup_{v\in\mathbb{R}^{d}}\|J_{g_{\theta}}(v,\cdot)\|_{2}\le L_{\nu} sup v ∈ R d ∥ J g θ ( v , ⋅ ) ∥ 2 ≤ L ν . Lemma B.7 shows that, with Ω \Omega Ω bounded and 0 ∈ Ω 0\in\Omega 0 ∈ Ω , the Nemytskii lift T g θ : H 1 ( Ω ) → H 1 ( Ω ) T_{g_{\theta}}:\ H^{1}(\Omega)\to H^{1}(\Omega) T g θ : H 1 ( Ω ) → H 1 ( Ω ) is then well-defined and L ν L_{\nu} L ν -Lipschitz in L 2 L^{2} L 2 . With the additional structural conditions g θ ( 0 , v ) = 0 g_{\theta}(0,v)=0 g θ ( 0 , v ) = 0 for every v ∈ R F v\in\mathbb{R}^{F} v ∈ R F and L ν ≤ 1 L_{\nu}\le1 L ν ≤ 1 , the lift also stabilizes the Sobolev unit ball B 1 ≔ d e f . { u ∈ H 1 ( Ω ) : ∥ u ∥ H 1 ( Ω ) ≤ 1 } B_{1}\mathrel{\mathop{\coloneqq}^{\mathrm{def.}}}\{u\in H^{1}(\Omega):\|u\|_{H^{1}(\Omega)}\le1\} B 1 : = def. { u ∈ H 1 ( Ω ) : ∥ u ∥ H 1 ( Ω ) ≤ 1 } , providing a concrete pointwise realization of Assumption B.4 with K = B 1 \mathcal{K}=B_{1} K = B 1 . In that special case, however, the strict-contraction condition L ν < 1 L_{\nu}<1 L ν < 1 forces the unique fixed point to be the zero function, since T g θ ϕ = 0 T_{g_{\theta}}\phi=0 T g θ ϕ = 0 . The general admissible-set formulation here avoids that artifact: dropping the zero-anchoring condition allows K \mathcal{K} K to be a translate of a Sobolev ball centered near the entropic value α ≈ 2 \alpha\approx2 α ≈ 2 , 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 G θ , z G_{\theta,z} G θ , z 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 α ≈ 2 \alpha\approx2 α ≈ 2 . The shifted output keeps each iterate in a fixed pointwise interval, which gives rise to a closed bounded convex admissible set K \mathcal{K} K that is a translate of a Sobolev ball rather than the zero-centered B 1 B_1 B 1 . The Lipschitz constant on K \mathcal{K} K is bounded by the product of L 2 L^2 L 2 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.
Existence of Fixed Points
We first establish Theorem 4.1 .
Lemma B.7 (Pointwise (Nemytskii) realization of Assumption B.4). Let Ω ⊂ R d \Omega\subset\mathbb{R}^d Ω ⊂ R d be a bounded domain with Lipschitz boundary. Suppose g θ : R d × R F → Ω g_\theta: \mathbb{R}^d \times\mathbb{R}^F \to\Omega g θ : R d × R F → Ω is continuously differentiable, and that for every v ∈ R F \mathbf{v} \in\mathbb{R}^F v ∈ R F the Jacobian satisfies
L v ≔ sup v ∈ R d ∥ J g θ ( v , v ) ∥ 2 < ∞ . L_{\mathbf{v}} \coloneqq\sup_{\mathbf{v} \in\mathbb{R}^d} \lVert J_{g_\theta}(\mathbf{v},\mathbf{v}) \rVert_2 < \infty. L v : = v ∈ R d sup ∥ J g θ ( v , v ) ∥ 2 < ∞. Then for every ϕ ∈ F \phi\in\mathcal{F} ϕ ∈ F the Nemytskii-type composition operator
T g θ : ϕ : ( H 1 ( Ω ) , ∥ ⋅ ∥ H 1 ( Ω ) ) → ( H 1 ( Ω ) , ∥ ⋅ ∥ L 2 ( Ω ) ) T_{g_\theta:\phi} : (H^1(\Omega), \lVert\cdot\rVert_{H^1(\Omega)}) \to(H^1(\Omega), \lVert\cdot\rVert_{L^2(\Omega)}) T g θ : ϕ : ( H 1 ( Ω ) , ∥ ⋅ ∥ H 1 ( Ω ) ) → ( H 1 ( Ω ) , ∥ ⋅ ∥ L 2 ( Ω ) ) u ↦ g θ ( u , E ( ϕ ) ) (47) u \mapsto g_\theta(u,\mathcal{E}(\phi)) \tag*{(47)} u ↦ g θ ( u , E ( ϕ )) (47) is well-defined and L v L_{\mathbf{v}} L v -Lipschitz as a map into L 2 ( Ω ) L^2(\Omega) L 2 ( Ω ) . This is the standard superposition-operator viewpoint for Nemytskii maps on Sobolev spaces [3 ] . If, in addition, 0 ∈ Ω 0 \in\Omega 0 ∈ Ω , g θ ( 0 , v ) = 0 g_\theta(0,\mathbf{v})=0 g θ ( 0 , v ) = 0 for every v ∈ R F \mathbf{v} \in\mathbb{R}^F v ∈ R F , and L v ≤ 1 L_{\mathbf{v}} \le1 L v ≤ 1 , then T g θ : ϕ T_{g_\theta:\phi} T g θ : ϕ also maps the Sobolev unit ball
B 1 ≔ { u ∈ H 1 ( Ω ) : ∥ u ∥ H 1 ( Ω ) ≤ 1 } B_1 \coloneqq\{u \in H^1(\Omega) : \lVert u \rVert_{H^1(\Omega)} \le1\} B 1 : = { u ∈ H 1 ( Ω ) : ∥ u ∥ H 1 ( Ω ) ≤ 1 } to itself, providing a concrete realization of Assumption B.4 with K = B 1 \mathcal{K}=B_1 K = B 1 .
Proof of Lemma B.7. Fix ϕ ∈ F \phi\in\mathcal{F} ϕ ∈ F and abbreviate v ≔ E ( ϕ ) ∈ R F \mathbf{v} \coloneqq\mathcal{E}(\phi) \in\mathbb{R}^F v : = E ( ϕ ) ∈ R F and Φ v ( ⋅ ) ≔ g θ ( ⋅ , v ) : R d → Ω \Phi_{\mathbf{v}}(\cdot) \coloneqq g_\theta(\cdot,\mathbf{v}) : \mathbb{R}^d \to\Omega Φ v ( ⋅ ) : = g θ ( ⋅ , v ) : R d → Ω . We interpret (45) in the standard Nemytskii sense, i.e. for every v ∈ Ω \mathbf{v} \in\Omega v ∈ Ω let ( T g θ : ϕ u ) ( v ) ≔ g θ ( u ( v ) , v ) (T_{g_\theta:\phi}u)(\mathbf{v}) \coloneqq g_\theta(u(\mathbf{v}),\mathbf{v}) ( T g θ : ϕ u ) ( v ) : = g θ ( u ( v ) , v ) . We first show that Φ v \Phi_{\mathbf{v}} Φ v is L v L_{\mathbf{v}} L v -Lipschitz on R d \mathbb{R}^d R d . To see this first fix x , y ∈ R d x,y \in\mathbb{R}^d x , y ∈ R d . Since g θ ( ⋅ , v ) g_\theta(\cdot,\mathbf{v}) g θ ( ⋅ , v ) is C 1 C^1 C 1 on R d \mathbb{R}^d R d , the Fundamental Theorem of Calculus along the line segment t ↦ y + t ( x − y ) t \mapsto y+t(x-y) t ↦ y + t ( x − y ) yields
Φ v ( x ) − Φ v ( y ) = ∫ 0 1 J g θ ( y + t ( x − y ) , v ) ( x − y ) d t . (48) \Phi_{\mathbf{v}}(x)-\Phi_{\mathbf{v}}(y)=\int_0^1 J_{g_\theta}(y+t(x-y),\mathbf{v})(x-y)\,\mathrm{d}t. \tag*{(48)} Φ v ( x ) − Φ v ( y ) = ∫ 0 1 J g θ ( y + t ( x − y ) , v ) ( x − y ) d t . (48)
The L v L_{\mathbf{v}} L v -Lipschitzness of Φ v \Phi_{\mathbf{v}} Φ v on R d \mathbb{R}^d R d now follows upon taking Euclidean norms across (48) and using the Jacobian bound in the lemma’s hypothesis
∥ Φ v ( x ) − Φ v ( y ) ∥ 2 ≤ ∫ 0 1 ∥ J g θ ( y + t ( x − y ) , v ) ∥ 2 ∥ x − y ∥ 2 d t ≤ L v ∥ x − y ∥ 2 . \lVert\Phi_{\mathbf{v}}(x)-\Phi_{\mathbf{v}}(y)\rVert_2 \le\int_0^1 \lVert J_{g_\theta}(y+t(x-y),\mathbf{v})\rVert_2\lVert x-y\rVert_2\,\mathrm{d}t \le L_{\mathbf{v}}\lVert x-y\rVert_2. ∥ Φ v ( x ) − Φ v ( y ) ∥ 2 ≤ ∫ 0 1 ∥ J g θ ( y + t ( x − y ) , v ) ∥ 2 ∥ x − y ∥ 2 d t ≤ L v ∥ x − y ∥ 2 .
Next, we show that the composition operator is indeed well-defined on H 1 ( Ω ) H^1(\Omega) H 1 ( Ω ) . To this end, the L v L_{\mathbf{v}} L v -Lipschitzness of Φ v \Phi_{\mathbf{v}} Φ v implies Lebesgue-a.e. differentiability by Rademacher’s Theorem, cf. [38 Theorem 3.1.6] . We then directly observe that ∥ D Φ v ∥ 2 ≤ L v \lVert D\Phi_{\mathbf{v}} \rVert_2 \le L_{\mathbf{v}} ∥ D Φ v ∥ 2 ≤ L v a.e. on R d \mathbb{R}^d R d . Now, for any u ∈ H 1 ( Ω ) u \in H^1(\Omega) u ∈ H 1 ( Ω ) we compute the H 1 ( Ω ) H^1(\Omega) H 1 ( Ω ) -Sobolev norm of the composition Φ v ∘ u \Phi_{\mathbf{v}} \circ u Φ v ∘ u via the chain rule; yielding
Φ v ∘ u ∈ H 1 ( Ω ) and ∇ ( Φ v ∘ u ) ( v ) = J g θ ( u ( v ) , v ) ∇ u ( v ) \Phi_{\mathbf{v}} \circ u \in H^1(\Omega) \qquad\text{and} \qquad\nabla(\Phi_{\mathbf{v}}\circ u)(\mathbf{v})=J_{g_\theta}(u(\mathbf{v}),\mathbf{v})\nabla u(\mathbf{v}) Φ v ∘ u ∈ H 1 ( Ω ) and ∇ ( Φ v ∘ u ) ( v ) = J g θ ( u ( v ) , v ) ∇ u ( v )
for Lebesgue-a.e. v ∈ Ω \mathbf{v} \in\Omega v ∈ Ω . In particular, we have that ∥ ∇ ( Φ v ∘ u ) ∥ L 2 ( Ω ) ≤ L v ∥ ∇ u ∥ L 2 ( Ω ) \lVert\nabla(\Phi_{\mathbf{v}}\circ u)\rVert_{L^2(\Omega)} \le L_{\mathbf{v}}\lVert\nabla u\rVert_{L^2(\Omega)} ∥ ∇ ( Φ v ∘ u ) ∥ L 2 ( Ω ) ≤ L v ∥ ∇ u ∥ L 2 ( Ω ) . Now, as Φ v ( R d ) ⊆ Ω \Phi_{\mathbf{v}}(\mathbb{R}^d)\subseteq\Omega Φ v ( R d ) ⊆ Ω and since Ω \Omega Ω is bounded, then the quantity
M Ω ≔ sup x ∈ Ω ∥ x ∥ 2 M_\Omega\coloneqq\sup_{x\in\Omega}\lVert x\rVert_2 M Ω : = x ∈ Ω sup ∥ x ∥ 2
must be finite. Consequently, we have that ∥ Φ v ( u ( ⋅ ) ) ∥ 2 ≤ M Ω < ∞ \lVert\Phi_{\mathbf{v}}(u(\cdot))\rVert_2 \le M_\Omega< \infty ∥ Φ v ( u ( ⋅ )) ∥ 2 ≤ M Ω < ∞ Lebesgue-almost everywhere; whence
∥ Φ v ∘ u ∥ L 2 ( Ω ) ≤ ∣ Ω ∣ 1 / 2 M Ω . \lVert\Phi_{\mathbf{v}}\circ u\rVert_{L^2(\Omega)} \le|\Omega|^{1/2}M_\Omega. ∥ Φ v ∘ u ∥ L 2 ( Ω ) ≤ ∣Ω ∣ 1/2 M Ω .
Therefore Φ v ∘ u ∈ H 1 ( Ω ) \Phi_{\mathbf{v}}\circ u\in H^1(\Omega) Φ v ∘ u ∈ H 1 ( Ω ) , so T g θ : ϕ T_{g_\theta:\phi} T g θ : ϕ is well-defined as a map into the set H 1 ( Ω ) H^1(\Omega) H 1 ( Ω ) . It remains to verify the Lipschitz estimate. Let u , w ∈ H 1 ( Ω ) u,w \in H^1(\Omega) u , w ∈ H 1 ( Ω ) . By the first step, for Lebesgue-a.e. v ∈ Ω v \in\Omega v ∈ Ω , we have ∥ g θ ( u ( v ) , v ) − g θ ( w ( v ) , v ) ∥ 2 ≤ L v ∥ u ( v ) − w ( v ) ∥ 2 \lVert g_\theta(u(v),v)-g_\theta(w(v),v)\rVert_2 \le L_v\lVert u(v)-w(v)\rVert_2 ∥ g θ ( u ( v ) , v ) − g θ ( w ( v ) , v ) ∥ 2 ≤ L v ∥ u ( v ) − w ( v ) ∥ 2 . Squaring and integrating yields
∥ T g θ : ϕ u − T g θ : ϕ w ∥ L 2 ( Ω ) 2 = ∫ Ω ∥ g θ ( u ( v ) , v ) − g θ ( w ( v ) , v ) ∥ 2 2 d v ≤ L v 2 ∫ Ω ∥ u ( v ) − w ( v ) ∥ 2 2 d v , \lVert T_{g_\theta:\phi}u-T_{g_\theta:\phi}w\rVert_{L^2(\Omega)}^2=\int_\Omega\lVert g_\theta(u(v),v)-g_\theta(w(v),v)\rVert_2^2\,dv\le L_v^2\int_\Omega\lVert u(v)-w(v)\rVert_2^2\,dv, ∥ T g θ : ϕ u − T g θ : ϕ w ∥ L 2 ( Ω ) 2 = ∫ Ω ∥ g θ ( u ( v ) , v ) − g θ ( w ( v ) , v ) ∥ 2 2 d v ≤ L v 2 ∫ Ω ∥ u ( v ) − w ( v ) ∥ 2 2 d v ,
so ∥ T g θ : ϕ u − T g θ : ϕ w ∥ L 2 ( Ω ) ≤ L v ∥ u − w ∥ L 2 ( Ω ) ≤ L v ∥ u − w ∥ H 1 ( Ω ) \lVert T_{g_\theta:\phi}u-T_{g_\theta:\phi}w\rVert_{L^2(\Omega)}\le L_v\lVert u-w\rVert_{L^2(\Omega)}\le L_v\lVert u-w\rVert_{H^1(\Omega)} ∥ T g θ : ϕ u − T g θ : ϕ w ∥ L 2 ( Ω ) ≤ L v ∥ u − w ∥ L 2 ( Ω ) ≤ L v ∥ u − w ∥ H 1 ( Ω ) . This proves that T g θ : ϕ T_{g_\theta:\phi} T g θ : ϕ is L v L_v L v -Lipschitz as a map into L 2 ( Ω ) L^2(\Omega) L 2 ( Ω ) .
Conditional self-map on B 1 B_1 B 1 . Suppose now the additional hypotheses 0 ∈ Ω 0\in\Omega 0 ∈ Ω , g θ ( 0 , v ) = 0 g_\theta(0,v)=0 g θ ( 0 , v ) = 0 for every v v v , and L v ≤ 1 L_v\le1 L v ≤ 1 . The preceding estimate then gives the non-expansive bound
∥ T g θ : ϕ u − T g θ : ϕ w ∥ L 2 ( Ω ) ≤ ∥ u − w ∥ L 2 ( Ω ) . (49) \lVert T_{g_\theta:\phi}u-T_{g_\theta:\phi}w\rVert_{L^2(\Omega)}\le\lVert u-w\rVert_{L^2(\Omega)}. \tag*{(49)} ∥ T g θ : ϕ u − T g θ : ϕ w ∥ L 2 ( Ω ) ≤ ∥ u − w ∥ L 2 ( Ω ) . (49)
Since g θ ( 0 , v ) = 0 g_\theta(0,v)=0 g θ ( 0 , v ) = 0 , the constant function 0 ∈ H 1 ( Ω ) 0\in H^1(\Omega) 0 ∈ H 1 ( Ω ) satisfies T g θ : ϕ 0 = 0 T_{g_\theta:\phi}0=0 T g θ : ϕ 0 = 0 , and (47) implies
∥ T g θ : ϕ u ∥ L 2 ( Ω ) = ∥ T g θ : ϕ u − T g θ : ϕ 0 ∥ L 2 ( Ω ) ≤ L v ∥ u ∥ L 2 ( Ω ) ≤ L v ∥ u ∥ H 1 ( Ω ) . \lVert T_{g_\theta:\phi}u\rVert_{L^2(\Omega)}=\lVert T_{g_\theta:\phi}u-T_{g_\theta:\phi}0\rVert_{L^2(\Omega)}\le L_v\lVert u\rVert_{L^2(\Omega)}\le L_v\lVert u\rVert_{H^1(\Omega)}. ∥ T g θ : ϕ u ∥ L 2 ( Ω ) = ∥ T g θ : ϕ u − T g θ : ϕ 0 ∥ L 2 ( Ω ) ≤ L v ∥ u ∥ L 2 ( Ω ) ≤ L v ∥ u ∥ H 1 ( Ω ) .
Combining this with ∥ ∇ ( T g θ : ϕ u ) ∥ L 2 ( Ω ) ≤ L v ∥ ∇ u ∥ L 2 ( Ω ) \lVert\nabla(T_{g_\theta:\phi}u)\rVert_{L^2(\Omega)}\le L_v\lVert\nabla u\rVert_{L^2(\Omega)} ∥ ∇ ( T g θ : ϕ u ) ∥ L 2 ( Ω ) ≤ L v ∥ ∇ u ∥ L 2 ( Ω ) yields
∥ T g θ : ϕ u ∥ H 1 ( Ω ) 2 = ∥ T g θ : ϕ u ∥ L 2 ( Ω ) 2 + ∥ ∇ ( T g θ : ϕ u ) ∥ L 2 ( Ω ) 2 ≤ L v 2 ∥ u ∥ H 1 ( Ω ) 2 . \lVert T_{g_\theta:\phi}u\rVert_{H^1(\Omega)}^2=\lVert T_{g_\theta:\phi}u\rVert_{L^2(\Omega)}^2+\lVert\nabla(T_{g_\theta:\phi}u)\rVert_{L^2(\Omega)}^2\le L_v^2\lVert u\rVert_{H^1(\Omega)}^2. ∥ T g θ : ϕ u ∥ H 1 ( Ω ) 2 = ∥ T g θ : ϕ u ∥ L 2 ( Ω ) 2 + ∥ ∇ ( T g θ : ϕ u ) ∥ L 2 ( Ω ) 2 ≤ L v 2 ∥ u ∥ H 1 ( Ω ) 2 .
In particular, if ∥ u ∥ H 1 ( Ω ) ≤ 1 \lVert u\rVert_{H^1(\Omega)}\le1 ∥ u ∥ H 1 ( Ω ) ≤ 1 then ∥ T g θ : ϕ u ∥ H 1 ( Ω ) ≤ 1 \lVert T_{g_\theta:\phi}u\rVert_{H^1(\Omega)}\le1 ∥ T g θ : ϕ u ∥ H 1 ( Ω ) ≤ 1 , i.e. T g θ : ϕ ( B 1 ) ⊆ B 1 T_{g_\theta:\phi}(B_1)\subseteq B_1 T g θ : ϕ ( B 1 ) ⊆ B 1 . This realizes Assumption B.4 with K = B 1 \mathcal{K}=B_1 K = B 1 , but as noted in Remark B.5 this special case forces 0 0 0 to be a fixed point of T g θ : ϕ T_{g_\theta:\phi} T g θ : ϕ , 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 ϕ ∈ F \phi\in\mathcal{F} ϕ ∈ F and write z = E ( ϕ ) z=\mathcal{E}(\phi) z = E ( ϕ ) . By Assumption B.4(A1)–(A2), the operator G θ , z : H 1 ( Ω ) → H 1 ( Ω ) G_{\theta,z}:H^1(\Omega)\to H^1(\Omega) G θ , z : H 1 ( Ω ) → H 1 ( Ω ) is well-defined and leaves the admissible set K \mathcal{K} K invariant, and by (A3) its restriction to K \mathcal{K} K is L v L_v L v -Lipschitz in the L 2 L^2 L 2 metric, hence continuous in L 2 L^2 L 2 .
Since K \mathcal{K} K is bounded in H 1 ( Ω ) H^1(\Omega) H 1 ( Ω ) and Ω \Omega Ω is a bounded domain with Lipschitz boundary, the Rellich–Kondrachov theorem [37 Theorem 5.1] implies that K \mathcal{K} K is relatively compact in L 2 ( Ω ) L^2(\Omega) L 2 ( Ω ) . To see that K \mathcal{K} K is closed in L 2 ( Ω ) L^2(\Omega) L 2 ( Ω ) , let u n ∈ K u_n\in\mathcal{K} u n ∈ K with u n → u u_n\to u u n → u in L 2 ( Ω ) L^2(\Omega) L 2 ( Ω ) . The sequence is bounded in the reflexive space H 1 ( Ω ) H^1(\Omega) H 1 ( Ω ) , so a subsequence converges weakly in H 1 ( Ω ) H^1(\Omega) H 1 ( Ω ) to some u ~ ∈ H 1 ( Ω ) \tilde{u}\in H^1(\Omega) u ~ ∈ H 1 ( Ω ) ; the same subsequence converges strongly in L 2 ( Ω ) L^2(\Omega) L 2 ( Ω ) to u u u , hence u ~ = u \tilde{u}=u u ~ = u a.e. By Mazur’s theorem the closed convex set K ⊆ H 1 ( Ω ) \mathcal{K}\subseteq H^1(\Omega) K ⊆ H 1 ( Ω ) is weakly closed, so u ~ ∈ K \tilde{u}\in\mathcal{K} u ~ ∈ K and therefore u ∈ K u\in\mathcal{K} u ∈ K . Hence K \mathcal{K} K is compact in L 2 ( Ω ) L^2(\Omega) L 2 ( Ω ) .
Since G θ , z ∣ K G_{\theta,z}|_{\mathcal{K}} G θ , z ∣ K is continuous in the L 2 L^2 L 2 metric and maps K \mathcal{K} K to itself, the Schauder–Tychonoff fixed-point theorem applies; see [22 page 136] and the discussion in [33 ] . Therefore G θ , z G_{\theta,z} G θ , z admits a fixed point α ⋆ ∈ K \alpha^\star\in\mathcal{K} α ⋆ ∈ K satisfying (9).
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 α ⋆ \alpha^\star α ⋆ 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 L v < 1 L_v<1 L v < 1 in (44). Then the equilibrium α ⋆ ∈ K \alpha^\star\in\mathcal{K} α ⋆ ∈ K is unique, and for any α ( 0 ) ∈ K \alpha^{(0)}\in\mathcal{K} α ( 0 ) ∈ K the sequence of iterates ( α ( i ) ) i = 0 ∞ (\alpha^{(i)})_{i=0}^{\infty} ( α ( i ) ) i = 0 ∞ defined for every non-negative integer i i i by α ( i + 1 ) ≔ G θ , z ( α ( i ) ) = g θ ( α ( i ) , E ( ϕ ) ) \alpha^{(i+1)}\coloneqq G_{\theta,z}(\alpha^{(i)})=g_\theta(\alpha^{(i)},\mathcal{E}(\phi)) α ( i + 1 ) : = G θ , z ( α ( i ) ) = g θ ( α ( i ) , E ( ϕ )) satisfies the exponential convergence bound
∥ α ⋆ − α ( i ) ∥ L 2 ( Ω ) ≤ ∥ α ( 0 ) − α ⋆ ∥ L 2 ( Ω ) L v i . (50) \lVert\alpha^\star-\alpha^{(i)}\rVert_{L^2(\Omega)}\le\lVert\alpha^{(0)}-\alpha^\star\rVert_{L^2(\Omega)}L_v^i. \tag*{(50)} ∥ α ⋆ − α ( i ) ∥ L 2 ( Ω ) ≤ ∥ α ( 0 ) − α ⋆ ∥ L 2 ( Ω ) L v i . (50)
Proof of Proposition B.8. Under Assumption B.4 with L v < 1 L_v<1 L v < 1 , the operator G θ , z G_{\theta,z} G θ , z is a strict contraction on K \mathcal{K} K in the L 2 L^2 L 2 metric and maps K \mathcal{K} K into itself. The proof of Theorem 4.1 shows that K \mathcal{K} K is closed in L 2 ( Ω ) L^2(\Omega) L 2 ( Ω ) , hence complete in this metric. The Banach contraction principle (also a special case of the generalizations in [32 ] ) then yields (i) a unique fixed point of G θ , z G_{\theta,z} G θ , z in K \mathcal{K} K , and (ii) the exponential estimate (48). By Theorem 4.1 and (i), this unique fixed point is α ⋆ \alpha^\star α ⋆ . The argument does not require G θ , z ( 0 ) = 0 G_{\theta,z}(0)=0 G θ , z ( 0 ) = 0 ; in particular, α ⋆ \alpha^\star α ⋆ need not be the zero function and, for the architecture used in this paper, lies near the entropic value α ≈ 2 \alpha\approx2 α ≈ 2 rather than at the origin.
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 0 ≤ β ≤ 1 0 \le\beta\le1 0 ≤ β ≤ 1 and f ∈ L + 1 ( Ω ) f \in L^{1}_{+}(\Omega) f ∈ L + 1 ( Ω ) , and assume that Assumption B.3 holds on A \mathcal{A} A . There exists a constant L ≥ 0 L \ge0 L ≥ 0 such that the entropy balance function h β ( ⋅ ; f ) ∣ A h_{\beta}(\cdot;f)|_{\mathcal{A}} h β ( ⋅ ; f ) ∣ A is L L L -Lipschitz on A \mathcal{A} A with respect to the L 2 ( Ω ) L^{2}(\Omega) L 2 ( Ω ) metric. Moreover, we have
L ≤ β ( sup t ∈ [ m , M ] ∣ 1 + log ( t ) ∣ ) Lip ( f m i r r ; A ) (51) L \le\beta\left(\sup_{t\in[m,M]} \lvert1+\log(t)\rvert\right)\operatorname{Lip}(f^{\mathrm{mirr}};\mathcal{A}) \tag*{(51)} L ≤ β ( t ∈ [ m , M ] sup ∣ 1 + log ( t )∣ ) Lip ( f mirr ; A ) (51)
where Lip ( f m i r r ; A ) \operatorname{Lip}(f^{\mathrm{mirr}};\mathcal{A}) Lip ( f mirr ; A ) denotes any Lipschitz constant of f m i r r f^{\mathrm{mirr}} f mirr on A \mathcal{A} A with respect to the L 2 ( Ω ) L^{2}(\Omega) L 2 ( Ω ) norm on A \mathcal{A} A and the L 1 ( Ω ) L^{1}(\Omega) L 1 ( Ω ) norm on its image.
Proof of Lemma B.9. Define ϕ : [ 0 , ∞ ) → R \phi:[0,\infty)\to\mathbb{R} ϕ : [ 0 , ∞ ) → R by ϕ ( x ) = d e f x log ( x ) \phi(x) \mathrel{\overset{\mathrm{def}}{=}} x\log(x) ϕ ( x ) = def x log ( x ) with ϕ ( 0 ) = d e f 0 \phi(0) \mathrel{\overset{\mathrm{def}}{=}} 0 ϕ ( 0 ) = def 0 . Then ϕ ∈ C 1 ( ( 0 , ∞ ) ) \phi\in C^{1}((0,\infty)) ϕ ∈ C 1 (( 0 , ∞ )) and ϕ ′ ( x ) = 1 + log ( x ) \phi'(x)=1+\log(x) ϕ ′ ( x ) = 1 + log ( x ) for all x > 0 x>0 x > 0 . In particular, for any x , y ∈ [ m , M ] x,y \in[m,M] x , y ∈ [ m , M ] , the mean value theorem yields
∣ ϕ ( x ) − ϕ ( y ) ∣ ≤ ( sup t ∈ [ m , M ] ∣ ϕ ′ ( t ) ∣ ) ∣ x − y ∣ = ( sup t ∈ [ m , M ] ∣ 1 + log ( t ) ∣ ) ∣ x − y ∣ . \lvert\phi(x)-\phi(y)\rvert\le\left(\sup_{t\in[m,M]} \lvert\phi'(t)\rvert\right)\lvert x-y\rvert= \left(\sup_{t\in[m,M]} \lvert1+\log(t)\rvert\right)\lvert x-y\rvert. ∣ ϕ ( x ) − ϕ ( y )∣ ≤ ( t ∈ [ m , M ] sup ∣ ϕ ′ ( t )∣ ) ∣ x − y ∣ = ( t ∈ [ m , M ] sup ∣ 1 + log ( t )∣ ) ∣ x − y ∣ .
Now fix α ∈ A \alpha\in\mathcal{A} α ∈ A and set f α c o l l = d e f ( 1 − β ) f + β f m i r r ( α ) ∈ L + 1 ( Ω ) f_{\alpha}^{\mathrm{coll}} \mathrel{\overset{\mathrm{def}}{=}} (1-\beta)f+\beta f^{\mathrm{mirr}}(\alpha) \in L^{1}_{+}(\Omega) f α coll = def ( 1 − β ) f + β f mirr ( α ) ∈ L + 1 ( Ω ) . By (43) we have f α c o l l ( v ) ∈ [ m , M ] f_{\alpha}^{\mathrm{coll}}(\mathsf{v})\in[m,M] f α coll ( v ) ∈ [ m , M ] for Lebesgue-a.e. v ∈ Ω \mathsf{v}\in\Omega v ∈ Ω and all α ∈ A \alpha\in\mathcal{A} α ∈ A . Consequently, for any α 0 , α 1 ∈ A \alpha_{0},\alpha_{1}\in\mathcal{A} α 0 , α 1 ∈ A ,
∣ h β ( α 0 ; f ) − h β ( α 1 ; f ) ∣ = ∣ H ( f α 0 c o l l ) − H ( f α 1 c o l l ) ∣ = ∣ ∫ Ω ϕ ( f α 0 c o l l ( v ) ) − ϕ ( f α 1 c o l l ( v ) ) d v ∣ ≤ ∫ Ω ∣ ϕ ( f α 0 c o l l ( v ) ) − ϕ ( f α 1 c o l l ( v ) ) ∣ d v ≤ ( sup t ∈ [ m , M ] ∣ 1 + log ( t ) ∣ ) ∫ Ω ∣ f α 0 c o l l ( v ) − f α 1 c o l l ( v ) ∣ d v = ( sup t ∈ [ m , M ] ∣ 1 + log ( t ) ∣ ) ∥ f α 0 c o l l − f α 1 c o l l ∥ L 1 ( Ω ) = β ( sup t ∈ [ m , M ] ∣ 1 + log ( t ) ∣ ) ∥ f m i r r ( α 0 ) − f m i r r ( α 1 ) ∥ L 1 ( Ω ) ≤ β ( sup t ∈ [ m , M ] ∣ 1 + log ( t ) ∣ ) Lip ( f m i r r ; A ) ∥ α 0 − α 1 ∥ L 2 ( Ω ) . \begin{aligned}
\lvert h_{\beta}(\alpha_{0};f)-h_{\beta}(\alpha_{1};f)\rvert
&=\left\lvert H(f_{\alpha_{0}}^{\mathrm{coll}})-H(f_{\alpha_{1}}^{\mathrm{coll}})\right\rvert\\
&=\left\lvert\int_{\Omega}\phi(f_{\alpha_{0}}^{\mathrm{coll}}(\mathsf{v}))-\phi(f_{\alpha_{1}}^{\mathrm{coll}}(\mathsf{v}))\,\mathrm{d}\mathsf{v}\right\rvert\\
&\le\int_{\Omega}\left\lvert\phi(f_{\alpha_{0}}^{\mathrm{coll}}(\mathsf{v}))-\phi(f_{\alpha_{1}}^{\mathrm{coll}}(\mathsf{v}))\right\rvert\,\mathrm{d}\mathsf{v}\\
&\le\left(\sup_{t\in[m,M]}\lvert1+\log(t)\rvert\right)\int_{\Omega}\left\lvert f_{\alpha_{0}}^{\mathrm{coll}}(\mathsf{v})-f_{\alpha_{1}}^{\mathrm{coll}}(\mathsf{v})\right\rvert\,\mathrm{d}\mathsf{v}\\
&=\left(\sup_{t\in[m,M]}\lvert1+\log(t)\rvert\right)\left\|f_{\alpha_{0}}^{\mathrm{coll}}-f_{\alpha_{1}}^{\mathrm{coll}}\right\|_{L^{1}(\Omega)}\\
&=\beta\left(\sup_{t\in[m,M]}\lvert1+\log(t)\rvert\right)\left\|f^{\mathrm{mirr}}(\alpha_{0})-f^{\mathrm{mirr}}(\alpha_{1})\right\|_{L^{1}(\Omega)}\\
&\le\beta\left(\sup_{t\in[m,M]}\lvert1+\log(t)\rvert\right)\operatorname{Lip}(f^{\mathrm{mirr}};\mathcal{A})\left\|\alpha_{0}-\alpha_{1}\right\|_{L^{2}(\Omega)}.
\end{aligned} ∣ h β ( α 0 ; f ) − h β ( α 1 ; f )∣ = H ( f α 0 coll ) − H ( f α 1 coll ) = ∫ Ω ϕ ( f α 0 coll ( v )) − ϕ ( f α 1 coll ( v )) d v ≤ ∫ Ω ϕ ( f α 0 coll ( v )) − ϕ ( f α 1 coll ( v )) d v ≤ ( t ∈ [ m , M ] sup ∣ 1 + log ( t )∣ ) ∫ Ω f α 0 coll ( v ) − f α 1 coll ( v ) d v = ( t ∈ [ m , M ] sup ∣ 1 + log ( t )∣ ) f α 0 coll − f α 1 coll L 1 ( Ω ) = β ( t ∈ [ m , M ] sup ∣ 1 + log ( t )∣ ) f mirr ( α 0 ) − f mirr ( α 1 ) L 1 ( Ω ) ≤ β ( t ∈ [ m , M ] sup ∣ 1 + log ( t )∣ ) Lip ( f mirr ; A ) ∥ α 0 − α 1 ∥ L 2 ( Ω ) .
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, α ⋆ ∈ A \alpha^{\star}\in\mathcal{A} α ⋆ ∈ A and there exists I ∈ N I\in\mathbb{N} I ∈ N such that α ( i ) ∈ A \alpha^{(i)}\in\mathcal{A} α ( i ) ∈ A for all i ∈ N + i\in\mathbb{N}_{+} i ∈ N + with i ≥ I i\ge I i ≥ I . Define the (tail) set
A ⋆ = d e f { α ⋆ } ∪ { α ( i ) } i ∈ N + , i ≥ I ⊆ A . \mathcal{A}^{\star}\mathrel{\overset{\mathrm{def}}{=}}\{\alpha^{\star}\}\cup\{\alpha^{(i)}\}_{i\in\mathbb{N}_{+},\,i\ge I}\subseteq\mathcal{A}. A ⋆ = def { α ⋆ } ∪ { α ( i ) } i ∈ N + , i ≥ I ⊆ A .
Consequently, Lemma B.9 applies on A ⋆ \mathcal{A}^{\star} A ⋆ , and therefore there exists L ≥ 0 L\ge0 L ≥ 0 (cf. (49)) such that the restriction h β ∣ A ⋆ h_{\beta}|_{\mathcal{A}^{\star}} h β ∣ A ⋆ is L L L -Lipschitz.
Hence, for every i ∈ N + i\in\mathbb{N}_{+} i ∈ N + with i ≥ I i\ge I i ≥ I we obtain
∣ h β ( α ⋆ ; f ) − h β ( α ( i ) ; f ) ∣ ≤ L ∥ α ⋆ − α ( i ) ∥ L 2 ( Ω ) ≤ L ∥ α ( 0 ) − α ⋆ ∥ L 2 ( Ω ) L ν i . \begin{aligned}
\left\lvert h_{\beta}(\alpha^{\star};f)-h_{\beta}(\alpha^{(i)};f)\right\rvert
&\le L\left\|\alpha^{\star}-\alpha^{(i)}\right\|_{L^{2}(\Omega)}\\
&\le L\left\|\alpha^{(0)}-\alpha^{\star}\right\|_{L^{2}(\Omega)}L_{\nu}^{i}.
\end{aligned} h β ( α ⋆ ; f ) − h β ( α ( i ) ; f ) ≤ L α ⋆ − α ( i ) L 2 ( Ω ) ≤ L α ( 0 ) − α ⋆ L 2 ( Ω ) L ν i .
where the final inequality follows from (50) . This concludes the proof upon setting
L ~ = d e f . L ∥ α ( 0 ) − α ⋆ ∥ L 2 ( Ω ) \widetilde{L} \overset{\mathrm{def.}}{=} L \left\lVert\alpha^{(0)}-\alpha^\star\right\rVert_{L^2(\Omega)} L = def. L α ( 0 ) − α ⋆ L 2 ( Ω )
and relabeling L ~ \widetilde{L} L as L L L .
Model Architecture
Figure 2 illustrates the DEQ framework used to approximate Eq. (8) . Since β \beta β is determined by the target Reynolds number Karlin and Succi [ [52 ] , we solve the entropy-balance equation at β = 1 \beta= 1 β = 1 . For an exact positive entropy-balance root, the post-collision convex combination satisfies the discrete H-theorem for any β ∈ [ 0 , 1 ] \beta\in[0,1] β ∈ [ 0 , 1 ] by Jensen’s inequality (Eq. (43) ). The adaptive relaxation parameter α ⋆ \alpha^{\star} α ⋆ is then represented as the fixed point of a learnable transformation. Following a decoupled conditioning strategy Bai et al. [ [5 , 6 ] , Fung et al. [ [44 ] , the architecture separates high-dimensional feature extraction from the recurrent dynamics that govern the fixed-point iterations.
Connection to Entropic Root Finding
The DEQ model Bai et al. [ [5 ] is motivated by the fact that the entropic stabilizer is already a root-finding problem. For fixed populations f \boldsymbol{f} f , let
r ( α ; f ) ≔ h β = 1 ( α ; f ) . r(\alpha;\boldsymbol{f}) \coloneqq h_{\beta=1}(\alpha;\boldsymbol{f}). r ( α ; f ) : = h β = 1 ( α ; f ) .
The classical ELBM solve applies a damped Newton map
N λ ( α ; f ) ≔ α − λ r ( α ; f ) ∂ α r ( α ; f ) , 0 < λ ≤ 1. N_{\lambda}(\alpha;\boldsymbol{f}) \coloneqq\alpha- \lambda\frac{r(\alpha;\boldsymbol{f})}{\partial_{\alpha}r(\alpha;\boldsymbol{f})}, \qquad0 < \lambda\le1. N λ ( α ; f ) : = α − λ ∂ α r ( α ; f ) r ( α ; f ) , 0 < λ ≤ 1.
Thus every admissible entropic root r ( α ⋆ ; f ) = 0 r(\alpha^{\star};\boldsymbol{f}) = 0 r ( α ⋆ ; f ) = 0 is equivalently a fixed point α ⋆ = N λ ( α ⋆ ; f ) \alpha^{\star} = N_{\lambda}(\alpha^{\star};\boldsymbol{f}) α ⋆ = N λ ( α ⋆ ; f ) , provided ∂ α r ( α ⋆ ; f ) ≠ 0 \partial_{\alpha}r(\alpha^{\star};\boldsymbol{f}) \ne0 ∂ α r ( α ⋆ ; f ) = 0 . 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 g θ g_{\theta} g θ approximates this fixed-point iteration while conditioning on mesoscopic, macroscopic, and physics-hint features. The guarantees in § 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 (f n e q = f − f e q \boldsymbol{f}_{\mathrm{neq}} = \boldsymbol{f} - \boldsymbol{f}^{\mathrm{eq}} f neq = f − f eq ) together with macroscopic variables ( ρ , u ) (\rho,\boldsymbol{u}) ( ρ , u ) (Figure 2 a). 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. [ [23 ] . All features are normalized and mapped into a latent context vector z \boldsymbol{z} z , which is computed once per time step and reused in each DEQ iteration. At every iteration, the DEQ update function g θ g_{\theta} g θ (Figure 2 b) receives three concatenated inputs: the frozen context z \boldsymbol{z} z , the current state α k \alpha_k α k , and the physics-based hint h k \boldsymbol{h}_k h k . These are processed by a convolutional network of Conv+GroupNorm layers followed by a tanh activation, and the output is shifted by + 2 +2 + 2 to keep the predicted α k + 1 \alpha_{k+1} α k + 1 near the physically admissible relaxation range. To guide the solver, a physics engine computes auxiliary hints h k \boldsymbol{h}_k h k from the current iterate α k \alpha_k α k , including the entropy residual, its derivative, and additional instability indicators when available Latt et al. [ [64 ] . 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.
Feature Encoder Architecture
The feature encoder computes the injection vector z \boldsymbol{z} z that is reused across all DEQ iterations:
z = FeatureEncoder ( ϕ ) = ϕ 2 ( GN ( ϕ 1 ( GN ( ϕ ) ) ) ) (52) \boldsymbol{z} = \operatorname{FeatureEncoder}(\phi) = \phi_2\bigl(\operatorname{GN}(\phi_1(\operatorname{GN}(\phi)))\bigr) \tag*{(52)} z = FeatureEncoder ( ϕ ) = ϕ 2 ( GN ( ϕ 1 ( GN ( ϕ ))) ) (52)
where ϕ 1 , ϕ 2 \phi_1,\phi_2 ϕ 1 , ϕ 2 are 3 × 3 3 \times3 3 × 3 convolutional layers with group normalization (GN) and activation functions (ReLU or GELU). The encoder maps from input dimension C i n C_{\mathrm{in}} C in to hidden dimension d h d_h d h .
Update g θ g_{\theta} g θ
Layer Configuration
All convolutional layers use padding=1 (except the final 1 × 1 1 \times1 1 × 1 conv) to maintain spatial dimensions.
Algorithm 1 Entropy Root DEQ: Complete Forward Pass
1: Input: Distribution functions $F$, $F_{\mathrm{eq}} \in \mathbb{R}^{B \times Q \times H \times W}$
2: Macroscopic variables $\{\rho, u, T, \ldots\}$
3: Previous state $\alpha_{\mathrm{prev}}$ (optional warm-start)
4: Output: Stability parameter $\alpha \in \mathbb{R}^{B \times 1 \times H \times W}$
5: // Feature Encoding (Injection Pattern - Runs ONCE)
6: Concatenate input features: $\phi \leftarrow [f, f_{\mathrm{eq}}, \rho, u, \ldots]$
7: Encode features: $z \leftarrow \operatorname{FeatureEncoder}(\phi)$ ▷ {xref}`Eq. 50`
8: // Physics Setup (Pre-computation)
9: Compute lattice weights: $w_i \leftarrow w_i(T)$ for $i = 1, \ldots, Q$
10: Compute reference entropy
11: Compute physical bound
12: // Initialize Alpha (Warm-start if available)
13: if $\alpha_{\mathrm{prev}}$ available and batch sizes match then
14: $\alpha^{(0)} \leftarrow \operatorname{clamp}(\alpha_{\mathrm{prev}}, \alpha_{\min}, \alpha_{\max})$
15: else
16: $\alpha^{(0)} \leftarrow \alpha_{\mathrm{init}} \cdot \mathbf{1}_{B \times 1 \times H \times W}$ ▷ Typically $\alpha_{\mathrm{init}} = 2.0$
17: end if
18: // DEQ Fixed-Point Iteration
19: Define update function $g_\theta(\alpha; z, F, F_{\mathrm{eq}}, H_{\mathrm{pre}}, \alpha_{\max})$
20: Solve fixed point: $\alpha^* \leftarrow \operatorname{DEQSolver}(g_\theta, \alpha^{(0)})$ ▷
21: // Final Processing
22: $\alpha \leftarrow \operatorname{clamp}(\alpha^*, \alpha_{\min}, \alpha_{\max})$
23: Return $\alpha$
Table 3. Update Block layer specifications
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
Model Hyperparameters
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 § 5 .
Problem Setup
The two-dimensional incompressible Navier–Stokes equations are represented as
∂ t u + ( u ⋅ ∇ ) u = − ∇ p + ν ∇ 2 u , ∇ ⋅ u = 0 , (53) \partial_t u+(u\cdot\nabla)u=-\nabla p+\nu\nabla^2u,
\\
\nabla\cdot u=0, \tag*{(53)} ∂ t u + ( u ⋅ ∇ ) u = − ∇ p + ν ∇ 2 u , ∇ ⋅ u = 0 , (53)
where u = ( u x , u y ) u=(u_x,u_y) u = ( u x , u y ) is the velocity, p p p is the pressure, and ν \nu ν 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 (M a ≲ 0.1 \mathrm{Ma}\lesssim0.1 Ma ≲ 0.1 ). 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 [ [24 ] , Bellotti [ [11 ] . 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, v i ∈ { 0 , ± 1 } ⊗ 2 \boldsymbol{v}_i\in\{0,\pm1\}^{\otimes2} v i ∈ { 0 , ± 1 } ⊗ 2 for i = 1 , … , Q i=1,\ldots,Q i = 1 , … , Q , in the isothermal, weakly compressible regime. The discrete entropic equilibrium f e q f^{\mathrm{eq}} f eq admits a closed-form solution Hosseini et al. [ [49 ] , allowing us to isolate the stability parameter α \alpha α as the sole quantity requiring closure.
Figure 10. Computational setup for Kelvin–Helmholtz instability simulation. The domain [ 0 , 1 ] 2 [0,1]^2 [ 0 , 1 ] 2 contains two counter-rotating shear layers at y = 0.25 y = 0.25 y = 0.25 and y = 0.75 y = 0.75 y = 0.75 with hyperbolic tangent velocity profiles (blue regions). A sinusoidal perturbation in the cross-stream velocity u y u_y u y (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 ( x , y ) ∈ [ 0 , 1 ] × [ 0 , 1 ] (x,y) \in[0,1] \times[0,1] ( x , y ) ∈ [ 0 , 1 ] × [ 0 , 1 ] , discretized with Δ x = 1 / 512 \Delta x = 1/512 Δ x = 1/512 and periodic boundary conditions in both directions. The streamwise velocity is prescribed piecewise to form two shear layers centered at y = 0.25 y = 0.25 y = 0.25 and y = 0.75 y = 0.75 y = 0.75 :
u x ( x , y ) = { V 0 tanh ( λ ( y − 0.25 ) ) , y < 0.5 , V 0 tanh ( λ ( 0.75 − y ) ) , y ≥ 0.5 , (54) u_x(x,y) =
\begin{cases}
V_0 \tanh\left(\lambda(y - 0.25)\right), & y < 0.5, \\
V_0 \tanh\left(\lambda(0.75 - y)\right), & y \ge0.5,
\end{cases} \tag*{(54)} u x ( x , y ) = { V 0 tanh ( λ ( y − 0.25 ) ) , V 0 tanh ( λ ( 0.75 − y ) ) , y < 0.5 , y ≥ 0.5 , (54)
while the cross-stream velocity introduces a small sinusoidal perturbation,
u y ( x , y ) = δ V 0 sin ( 2 π ( x + 0.25 ) ) , (55) u_y(x,y) = \delta V_0 \sin\left(2\pi(x + 0.25)\right), \tag*{(55)} u y ( x , y ) = δ V 0 sin ( 2 π ( x + 0.25 ) ) , (55)
which seeds the Kelvin–Helmholtz instability. The parameters are fixed as ρ 0 = 1 \rho_0 = 1 ρ 0 = 1 (reference density), V 0 = M a c s V_0 = \mathrm{Ma}\,c_s V 0 = Ma c s with M a = 0.1 \mathrm{Ma} = 0.1 Ma = 0.1 and c s = 1 / 3 c_s = 1/\sqrt{3} c s = 1/ 3 (reference velocity), λ = 80 \lambda= 80 λ = 80 (shear-layer sharpness), and δ = 0.05 \delta= 0.05 δ = 0.05 (perturbation amplitude). The Reynolds number is set to R e = 50,000 \mathrm{Re} = 50{,}000 Re = 50 , 000 , and the LB populations are initialized from the standard equilibrium distribution f e q ( ρ , u ) f^{\mathrm{eq}}(\rho,\mathbf{u}) f eq ( ρ , u ) .
Dataset. The reference trajectory is generated on a 512 × 512 512 \times512 512 × 512 grid with nondimensional time step
Δ t r e f = c s M a n x ≈ 1 × 10 − 4 . (56) \Delta t_{\mathrm{ref}} = \frac{c_s\,\mathrm{Ma}}{n_x} \approx1 \times10^{-4}. \tag*{(56)} Δ t ref = n x c s Ma ≈ 1 × 1 0 − 4 . (56)
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.
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., 128 × 128 128 \times128 128 × 128 or 64 × 64 64 \times64 64 × 64 ) 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.
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 u i ( x , t ) u_i(\mathbf{x},t) u i ( x , t ) , the filtered velocity field u ˉ \bar{\mathbf{u}} u ˉ at spatial resolution Δ x o u t \Delta x^{\mathrm{out}} Δ x out and temporal spacing Δ t o u t \Delta t^{\mathrm{out}} Δ t out is obtained using a product filter
u ˉ i ( x , t ) = ∫ R ∫ Ω G x ( x − x ′ ; Δ f ) G t ( t − t ′ ; Δ T f ) u i ( x ′ , t ′ ) d x ′ d t ′ . (57) \bar{u}_i(\mathbf{x},t)=\int_{\mathbb{R}}\int_{\Omega}G_x(\mathbf{x}-\mathbf{x}';\Delta_f)G_t(t-t';\Delta T_f)u_i(\mathbf{x}',t')\,d\mathbf{x}'\,dt'. \tag*{(57)} u ˉ i ( x , t ) = ∫ R ∫ Ω G x ( x − x ′ ; Δ f ) G t ( t − t ′ ; Δ T f ) u i ( x ′ , t ′ ) d x ′ d t ′ . (57)
Here G x G_x G x is the spatial box kernel and G t G_t G t is the temporal box kernel. The implementation uses the discrete version of this product filter, described below.
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. (57) .
The continuous spatial box filter in d d d dimensions is defined as:
G ( x ; Δ f ) = ∏ i = 1 d G i ( x i ; Δ f ) = ∏ i = 1 d { 1 Δ f , ∣ x i ∣ ≤ Δ f / 2 , 0 , otherwise , (58) G(\mathbf{x};\Delta_f)=\prod_{i=1}^{d}G_i(x_i;\Delta_f)=\prod_{i=1}^{d}
\begin{cases}
\frac{1}{\Delta_f}, & |x_i|\le\Delta_f/2,\\
0, & \text{otherwise},
\end{cases} \tag*{(58)} G ( x ; Δ f ) = i = 1 ∏ d G i ( x i ; Δ f ) = i = 1 ∏ d { Δ f 1 , 0 , ∣ x i ∣ ≤ Δ f /2 , otherwise , (58)
where Δ f \Delta_f Δ f is the filter width. The temporal box filter has the same top-hat form on an interval of width Δ T f = q Δ t i n \Delta T_f=q\Delta t^{\mathrm{in}} Δ T f = q Δ t in . For a scalar field u ( x , t ) u(\mathbf{x},t) u ( x , t ) discretized on a uniform grid with spacing Δ x i n \Delta x^{\mathrm{in}} Δ x in and time step Δ t i n \Delta t^{\mathrm{in}} Δ t in , the filtered field at coarse resolution Δ x o u t = r Δ x i n \Delta x^{\mathrm{out}}=r\Delta x^{\mathrm{in}} Δ x out = r Δ x in and Δ t o u t = q Δ t i n \Delta t^{\mathrm{out}}=q\Delta t^{\mathrm{in}} Δ t out = q Δ t in is:
u ˉ ( X , t n ) = 1 q r d ∑ m = 0 q − 1 ∑ x ∈ N ( X ) u ( x , t n q + m ) . (59) \bar{u}(\mathbf{X},t_n)=\frac{1}{qr^d}\sum_{m=0}^{q-1}\sum_{\mathbf{x}\in\mathcal{N}(\mathbf{X})}u(\mathbf{x},t_{nq+m}). \tag*{(59)} u ˉ ( X , t n ) = q r d 1 m = 0 ∑ q − 1 x ∈ N ( X ) ∑ u ( x , t n q + m ) . (59)
where N ( X ) \mathcal{N}(\mathbf{X}) N ( X ) denotes the r × r × ⋯ r\times r\times\cdots r × r × ⋯ neighborhood of fine-grid cells that correspond to coarse-grid cell X \mathbf{X} X . The spatial filter width is Δ f = r Δ x i n \Delta_f=r\Delta x^{\mathrm{in}} Δ f = r Δ x in , which coincides with the coarse grid spacing Δ x o u t \Delta x^{\mathrm{out}} Δ x out . The temporal factor q q q is chosen consistently with the spatial downsampling factor. Thus, the 512 2 512^2 51 2 2 , 20,000-frame reference gives 256 2 256^2 25 6 2 , 128 2 128^2 12 8 2 , and 64 2 64^2 6 4 2 descendants with 10,000, 5,000, and 2,500 frames. The 64 2 64^2 6 4 2 comparison stage used in Appendix § 10 .§ 2 is the 256 2 256^2 25 6 2 , 10,000-frame space-time box-filtered reference filtered again with r = q = 4 r=q=4 r = q = 4 .
Implementation via Average Pooling
In our pipeline, the discrete box filter is implemented using average pooling operations. For each spatial axis i i i , the kernel size is computed as:
k i = ⌈ s i i n s i o u t ⌉ (60) k_i=\left\lceil\frac{s_i^{\mathrm{in}}}{s_i^{\mathrm{out}}}\right\rceil \tag*{(60)} k i = ⌈ s i out s i in ⌉ (60)
where s i i n s_i^{\mathrm{in}} s i in and s i o u t s_i^{\mathrm{out}} s i out are the input and output resolutions. For each output frame, the code first averages over a contiguous temporal window of length q q q and then applies the spatial block average. The filtering operation is then:
X f i l t e r e d ( n ) = AvgPool x ( 1 q ∑ m = 0 q − 1 X ( n q + m ) ; k 1 , k 2 , … ) (61) \mathbf{X}_{\mathrm{filtered}}^{(n)}=\operatorname{AvgPool}_{x}\left(\frac{1}{q}\sum_{m=0}^{q-1}\mathbf{X}^{(nq+m)};k_1,k_2,\ldots\right) \tag*{(61)} X filtered ( n ) = AvgPool x ( q 1 m = 0 ∑ q − 1 X ( n q + m ) ; k 1 , k 2 , … ) (61)
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 t t and t i n d e x t_{\mathrm{index}} t index 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.
Spectral Finetuning
NeurDE shell , the third method in the ablation of § 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 § 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 64 2 64^{2} 6 4 2 , 32 2 32^{2} 3 2 2 , and 16 2 16^{2} 1 6 2 grids.
Fine-tuning Procedure
The rollout loss of Eq. (67) 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 § 11 ). 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,
E n ( t ) = ∑ round ( ∣ m ∣ ) = n 1 2 V 2 ∣ u ^ i ( m , t ) ∣ 2 , (62) E_n(t) = \sum_{\operatorname{round}(\lvert\mathbf{m}\rvert)=n} \frac{1}{2V^2}\left\lvert\hat{u}_i(\mathbf{m},t)\right\rvert^2, \tag*{(62)} E n ( t ) = round (∣ m ∣) = n ∑ 2 V 2 1 ∣ u ^ i ( m , t ) ∣ 2 , (62)
where V V V is the number of grid points, following the convention of Appendix § 12 .§ 1 . The spectral-shell loss penalizes the mismatch between the rollout and the box-filtered reference on the top quarter of the shells,
L s p e c ( t ) = 1 ∣ H ∣ ∑ n ∈ H ( ln E n ( t ) − ln E n r e f ( t ) ) 2 , H = { n : 0.75 n max ≤ n ≤ n max } , (63) \mathcal{L}_{\mathrm{spec}}(t) = \frac{1}{\lvert\mathcal{H}\rvert}\sum_{n\in\mathcal{H}}\left(\ln E_n(t)-\ln E_n^{\mathrm{ref}}(t)\right)^2,\qquad\mathcal{H}=\left\{n:0.75\,n_{\max}\le n\le n_{\max}\right\}, \tag*{(63)} L spec ( t ) = ∣ H ∣ 1 n ∈ H ∑ ( ln E n ( t ) − ln E n ref ( t ) ) 2 , H = { n : 0.75 n m a x ≤ n ≤ n m a x } , (63)
where n max = N / 2 n_{\max}=N/2 n m a x = N /2 is the Nyquist shell of the N × N N\times N N × N grid, so the loss acts on the shells 3 N / 8 ≤ n ≤ N / 2 3N/8\le n\le N/2 3 N /8 ≤ n ≤ N /2 . This lower bound is higher than the N / 4 N/4 N /4 cutoff of the high-k k k energy diagnostic (Appendix § 12 .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. (67) keep the fields aligned with the reference. The fine-tuning objective is
L f t ( θ ) = L r o l l o u t ( θ ) + c s p e c ∑ t = 1 T L s p e c ( t ) . (64) \mathcal{L}_{\mathrm{ft}}(\theta)=\mathcal{L}_{\mathrm{rollout}}(\theta)+c_{\mathrm{spec}}\sum_{t=1}^{T}\mathcal{L}_{\mathrm{spec}}(t). \tag*{(64)} L ft ( θ ) = L rollout ( θ ) + c spec t = 1 ∑ T L spec ( t ) . (64)
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.
Training. Fine-tuning uses the same rollout training, horizon curriculum, and IPTA gradient subset as the base model, with Eq. (64) in place of Eq. (67) 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 k 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.
Ablation on the 64x64 Rollout
This ablation isolates the effect of fine-tuning at 64 2 64^2 6 4 2 . We compare entropically-stabilized NeurDE , NeurDE shell , and under-resolved ELBM against the box-filtered high-resolution reference. The reference target is the 256 2 256^2 25 6 2 , 10,000-frame stage after space-time box filtering to the 64 2 64^2 6 4 2 , 2,500-frame comparison grid.
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.
Figure 11. Core field-level fidelity for 64 2 64^2 6 4 2 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.
The field snapshots in Figure 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 § 12 .§ 1 together with the analogous enstrophy spectrum,
Z n = ∑ round ( ∣ m ∣ ) = n 1 2 V 2 ∣ ω ^ ( m ) ∣ 2 . (65) Z_n = \sum_{\operatorname{round}(|\mathbf{m}|)=n} \frac{1}{2V^2} \lvert\hat{\omega}(\mathbf{m}) \rvert^2 . \tag*{(65)} Z n = round ( ∣ m ∣ ) = n ∑ 2 V 2 1 ∣ ω ^ ( m ) ∣ 2 . (65)
At t i n d e x = 2500 t_{\mathrm{index}} = 2500 t index = 2500 , 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 u ′ = u − ⟨ u ⟩ \mathbf{u}' = \mathbf{u} - \langle\mathbf{u} \rangle u ′ = u − ⟨ u ⟩ and ω ′ = ω − ⟨ ω ⟩ \omega' = \omega- \langle\omega\rangle ω ′ = ω − ⟨ ω ⟩ , we use
C u u ( r ) = ⟨ u ′ ( x ) ⋅ u ′ ( x + r ) ⟩ ⟨ ∣ u ′ ( x ) ∣ 2 ⟩ , C ω ω ( r ) = ⟨ ω ′ ( x ) ω ′ ( x + r ) ⟩ ⟨ ∣ ω ′ ( x ) ∣ 2 ⟩ . (66) C_{uu}(r) = \frac{\langle\mathbf{u}'(\mathbf{x}) \cdot\mathbf{u}'(\mathbf{x}+\mathbf{r}) \rangle}{\langle\lvert\mathbf{u}'(\mathbf{x}) \rvert^2 \rangle}, \qquad C_{\omega\omega}(r) = \frac{\langle\omega'(\mathbf{x})\omega'(\mathbf{x}+\mathbf{r}) \rangle}{\langle\lvert\omega'(\mathbf{x}) \rvert^2 \rangle}. \tag*{(66)} C uu ( r ) = ⟨∣ u ′ ( x ) ∣ 2 ⟩ ⟨ u ′ ( x ) ⋅ u ′ ( x + r )⟩ , C ω ω ( r ) = ⟨∣ ω ′ ( x ) ∣ 2 ⟩ ⟨ ω ′ ( x ) ω ′ ( x + r )⟩ . (66)
The remaining panels (Figure 15 –Figure 18 ) give the time-resolved fidelity metrics, flow statistics, artifact diagnostics, and two-point error evolution for the same rollouts.
Figure 15. Supplementary fidelity metrics for the 64 2 64^2 6 4 2 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 18. Supplementary two-point error evolution for the 64 2 64^2 6 4 2 fine-tuning ablation. The curves track correlation-error evolution over rollout time and separate velocity-correlation errors from the more discriminating vorticity-correlation errors.
Figure 14. Two-point correlations at t i n d e x = 2500 t_{\mathrm{index}} = 2500 t index = 2500 . 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.
Figure 16. Supplementary flow statistics for the 64 2 64^{2} 6 4 2 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 64 2 64^{2} 6 4 2 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.
Ablation on the 32 × 32 and 16 × 16 Rollouts
On the coarser grids, fine-tuning has a much smaller effect than at 64 2 64^2 6 4 2 (Table 5 ). The base model does not show the spectral collapse seen at 64 2 64^2 6 4 2 : its spectrum log-RMSE is 0.259 at 32 2 32^2 3 2 2 and 0.631 at 16 2 16^2 1 6 2 , compared with 3.794 at 64 2 64^2 6 4 2 . The spectral-shell loss therefore has less missing high-wavenumber energy to restore. Fine-tuning raises the high-k k k energy fraction from 0.623 to 0.748 of the reference value at 32 2 32^2 3 2 2 and from 0.301 to 0.365 at 16 2 16^2 1 6 2 , and it lowers the spectrum log-RMSE at 16 2 16^2 1 6 2 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 2 16^2 1 6 2 and carries excess high-k k k energy at 32 2 32^2 3 2 2 ; at 16 2 16^2 1 6 2 all three methods stay below the reference high-k k k energy.
Summary
Across the three grids, fine-tuning changes the field metrics little except at 64 2 64^2 6 4 2 , 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-k k k energy fraction rises from 0.0077 to 0.422 of the reference value. At 32 2 32^2 3 2 2 and 16 2 16^2 1 6 2 , the base model does not collapse spectrally, and fine-tuning mainly raises the high-k k k 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 2 64^2 6 4 2 and 16 2 16^2 1 6 2 while carrying excess high-k k k energy at 64 2 64^2 6 4 2 and 32 2 32^2 3 2 2 . Fine-tuning therefore helps where entropically-stabilized NeurDE over-smooths, and otherwise leaves its field fidelity essentially unchanged, which is the behavior reported in § 5 .
NeurDE Training Procedure
The surrogate’s effectiveness depends on the training protocol as well as the architecture. Because the entropic parameter α \alpha α 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. [ [7 ] .
Stability Model Pretraining
Training the α \alpha α stability model begins with a typical supervised training routine from predicted ELBM-generated α \alpha α . As the ELBM grids become finer, α → 2 \alpha\to2 α → 2 . Therefore, we train against the α \alpha α 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 α \alpha α through an MSE loss.
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:
L r o l l o u t ( θ ) = ∑ t = 1 T c r o o t L r o o t ( t ) + c ω L ω ( t ) + c H R H ( t ) , (67) \mathcal{L}_{\mathrm{rollout}}(\theta) = \sum_{t=1}^{T} c_{\mathrm{root}} \mathcal{L}_{\mathrm{root}}(t) + c_{\omega} \mathcal{L}_{\omega}(t) + c_{\mathrm{H}} \mathcal{R}_{\mathrm{H}}(t), \tag*{(67)} L rollout ( θ ) = t = 1 ∑ T c root L root ( t ) + c ω L ω ( t ) + c H R H ( t ) , (67)
where T T T is the rollout horizon. In practice, T T T 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 H H H -theorem.
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 T T T Bengio et al. [ [13 ] , Bansal et al. [ [7 ] . The model is first trained on short trajectories and is then exposed to longer horizons as training progresses. The effective horizon at epoch e e e is determined by a monotonically increasing schedule g ( e ) g(e) g ( e ) :
T c u r r ( e ) = min ( T max , ⌊ g ( e ) ⌋ ) , (68) T_{\mathrm{curr}}(e) = \min\left(T_{\max}, \left\lfloor g(e) \right\rfloor\right), \tag*{(68)} T curr ( e ) = min ( T m a x , ⌊ g ( e ) ⌋ ) , (68)
where T max T_{\max} T m a x is the maximum horizon feasible within hardware memory constraints.2 This schedule lets the model learn stable short-term updates before it is required to maintain dynamical consistency over longer intervals.
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 [ [93 ] , but this introduces a recency bias and ignores longer-range dependencies that matter for physical consistency Pascanu et al. [ [72 ] .
We use IPTA Bansal et al. [ [7 ] 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 S k ( e ) ⊆ { 1 , … , T c u r r ( e ) } S_k(e) \subseteq\{1,\ldots,T_{\mathrm{curr}}(e)\} S k ( e ) ⊆ { 1 , … , T curr ( e )} :
∇ θ L I P T A ( e ) = ∑ t ∈ S k ( e ) ∇ θ ℓ ( t ) . (69) \nabla_{\theta}\mathcal{L}_{\mathrm{IPTA}}(e) = \sum_{t \in S_k(e)} \nabla_{\theta}\ell^{(t)}. \tag*{(69)} ∇ θ L IPTA ( e ) = t ∈ S k ( e ) ∑ ∇ θ ℓ ( t ) . (69)
This selective summation makes the memory cost proportional to the subset size ∣ S k ( e ) ∣ \lvert S_k(e)\rvert ∣ S k ( e )∣ , not the full horizon T c u r r ( e ) T_{\mathrm{curr}}(e) T curr ( e ) . This is what allows the curriculum to use effective horizons longer than those feasible with standard backpropagation.
We use two strategies to construct S k ( e ) S_k(e) S k ( e ) . 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.
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.
Hyperparameters
Optimization. Both stages use AdamW with learning rate 5 × 10 − 4 5 \times10^{-4} 5 × 1 0 − 4 and weight decay 10 − 4 10^{-4} 1 0 − 4 . 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 z 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 α \alpha α fields at 128 2 128^2 12 8 2 (TGV-50K), 256 2 256^2 25 6 2 (DPSL-50K), and 384 2 384^2 38 4 2 (DPSL-100K). Rollout training uses the 512 2 512^2 51 2 2 ELBM simulation, coarse-grained to N 2 N^2 N 2 . Each simulation is split along time into training, validation, and test blocks in proportions 0.6/0.1/0.3 for 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.
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.
Losses. Pretraining minimizes a mean squared error on α − 2 \alpha- 2 α − 2 , weighted by 1 + 10 5 ∣ α − 2 ∣ 1 + 10^{5}|\alpha- 2| 1 + 1 0 5 ∣ α − 2∣ , plus a Jacobian penalty on the DEQ with weight 0.1. The rollout loss of Eq. (67) uses c r o o t = 10 4 c_{\mathrm{root}} = 10^{4} c root = 1 0 4 , c ω = 10 c_{\omega} = 10 c ω = 10 , and c H = 10 c_{H} = 10 c H = 10 , where L ω L_{\omega} L ω is a Huber loss (δ = 10 − 4 \delta= 10^{-4} δ = 1 0 − 4 ) on ρ \rho ρ , u u u , and ω \omega ω with relative weights 1, 1, and 5.
Curriculum and IPTA. The horizon T c u r r T_{\mathrm{curr}} T curr 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 T m a x = 2000 T_{\mathrm{max}} = 2000 T max = 2000 to be reached. Horizons are capped at 75% of the training split. We use the deterministic IPTA schedule with K m e m = 16 K_{\mathrm{mem}} = 16 K mem = 16 log-spaced timesteps that become denser toward T T T .
Algorithm 2 Training the DEQ Surrogate for α \alpha α
Input: DEQ parameters θ \theta θ , rollout data { f ( t ) } t = 1 T \{f^{(t)}\}_{t=1}^{T} { f ( t ) } t = 1 T , curriculum schedule { T c u r r ( e ) } \{T_{\mathrm{curr}}(e)\} { T curr ( e )} , IPTA subset strategy, max subset size K m e m K_{\mathrm{mem}} K mem (hardware-dependent memory budget), vorticity reference ω r e f \omega_{\mathrm{ref}} ω ref , weights c r o o t , c ω , c H c_{\mathrm{root}}, c_{\omega}, c_{\mathrm{H}} c root , c ω , c H
Output: Trained DEQ parameters θ \theta θ
for each epoch e e e do
Set rollout horizon T ← T c u r r ( e ) T \leftarrow T_{\mathrm{curr}}(e) T ← T curr ( e )
for each rollout trajectory do
for each timestep t = 1 , … , T t = 1, \ldots, T t = 1 , … , T do
Compute z ← E ( f ( t ) , f e q , ρ , u ) z \leftarrow\mathcal{E}(f^{(t)}, f^{\mathrm{eq}}, \rho, u) z ← E ( f ( t ) , f eq , ρ , u )
Predict entropic parameter α θ ( t ) = DEQ ( α θ ( t − 1 ) , z ) \alpha_{\theta}^{(t)} = \operatorname{DEQ}(\alpha_{\theta}^{(t-1)}, z) α θ ( t ) = DEQ ( α θ ( t − 1 ) , z )
Apply ELBM update with α θ ( t ) \alpha_{\theta}^{(t)} α θ ( t ) to obtain f ( t + 1 ) f^{(t+1)} f ( t + 1 )
Evaluate entropy regularizer R H ( t ) \mathcal{R}_{\mathrm{H}}(t) R H ( t ) and vorticity loss L ω ( t ) \mathcal{L}_{\omega}(t) L ω ( t )
Form one-step weighted loss ℓ ( t ) \ell^{(t)} ℓ ( t )
end for
Select subset S k ( e ) ⊆ { 1 , … , T } S_k(e) \subseteq\{1, \ldots, T\} S k ( e ) ⊆ { 1 , … , T } s.t. ∣ S k ( e ) ∣ ≤ K m e m \lvert S_k(e)\rvert\leq K_{\mathrm{mem}} ∣ S k ( e )∣ ≤ K mem using the chosen IPTA strategy
Accumulate gradients ∇ θ L I P T A ( e ) = ∑ t ∈ S k ( e ) ∇ θ ℓ ( t ) \nabla_{\theta}\mathcal{L}_{\mathrm{IPTA}}(e) = \sum_{t\in S_k(e)} \nabla_{\theta}\ell^{(t)} ∇ θ L IPTA ( e ) = ∑ t ∈ S k ( e ) ∇ θ ℓ ( t )
Update θ \theta θ using optimizer
Save α θ ( t ) \alpha_{\theta}^{(t)} α θ ( t )
end for
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.
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.3 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. Training budget of the base models, averaged over four seeds. All stages ran on one Frontier node (8 MI250X GCDs) with data-parallel training.
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 N 2 N^{2} N 2 , which is the reference simulation coarse-grained to an N × N N \times N N × N 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-h is the wall time in hours 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.
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, ⟨ ⋅ ⟩ \langle\cdot\rangle ⟨ ⋅ ⟩ 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.
Fourier and Energy-Spectrum Conventions
Let u = ( u 1 , … , u D ) \mathbf{u}=(u_1,\ldots,u_D) u = ( u 1 , … , u D ) denote a velocity field on a periodic grid with V = ∏ j = 1 D N j V=\prod_{j=1}^{D}N_j V = ∏ j = 1 D N j grid points. We use the unnormalized discrete Fourier transform convention
u ^ i ( m ) = ∑ x u i ( x ) exp ( − 2 π i ∑ j = 1 D m j x j N j ) (70) \hat{u}_i(\mathbf{m})=\sum_{\mathbf{x}}u_i(\mathbf{x})\exp\left(-2\pi\mathrm{i}\sum_{j=1}^{D}\frac{m_jx_j}{N_j}\right) \tag*{(70)} u ^ i ( m ) = x ∑ u i ( x ) exp ( − 2 π i j = 1 ∑ D N j m j x j ) (70)
where m \mathbf{m} 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
K = 1 2 ⟨ u i u i ⟩ , (71) K = \frac{1}{2}\langle u_i u_i\rangle, \tag*{(71)} K = 2 1 ⟨ u i u i ⟩ , (71)
where ⟨ ⋅ ⟩ \langle\cdot\rangle ⟨ ⋅ ⟩ denotes the spatial average and repeated velocity indices are summed. Parseval’s identity then gives
K = ∑ m 1 2 V 2 ∣ u i ^ ( m ) ∣ 2 . (72) K = \sum_{\mathbf{m}} \frac{1}{2V^2}\left|\widehat{u_i}(\mathbf{m})\right|^2. \tag*{(72)} K = m ∑ 2 V 2 1 ∣ u i ( m ) ∣ 2 . (72)
The integer-shell energy is obtained by binning Fourier modes according to n = round ( ∣ m ∣ ) n=\operatorname{round}(|\mathbf{m}|) n = round ( ∣ m ∣ ) :
E n = ∑ round ( ∣ m ∣ ) = n 1 2 V 2 ∣ u i ^ ( m ) ∣ 2 . (73) E_n = \sum_{\operatorname{round}(|\mathbf{m}|)=n} \frac{1}{2V^2}\left|\widehat{u_i}(\mathbf{m})\right|^2. \tag*{(73)} E n = round ( ∣ m ∣ ) = n ∑ 2 V 2 1 ∣ u i ( m ) ∣ 2 . (73)
When the zero shell is included, ∑ n E n = K \sum_n E_n=K ∑ n E n = K 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 L L , the physical shell wavenumber and shell spacing are
κ n = 2 π n L , Δ κ = 2 π L . (74) \kappa_n = \frac{2\pi n}{L}, \qquad\Delta\kappa= \frac{2\pi}{L}. \tag*{(74)} κ n = L 2 π n , Δ κ = L 2 π . (74)
The continuum energy spectrum is approximated by
E ( κ n ) ≈ E n Δ κ , K ≈ ∑ n E ( κ n ) Δ κ . (75) E(\kappa_n) \approx\frac{E_n}{\Delta\kappa}, \qquad K \approx\sum_n E(\kappa_n)\Delta\kappa. \tag*{(75)} E ( κ n ) ≈ Δ κ E n , K ≈ n ∑ E ( κ n ) Δ κ . (75)
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 [ [76 ] , Frisch [ [43 ] , Davidson [ [34 ] .
Spectral Derivatives, Vorticity, and Dissipation
For a periodic scalar field f f f , spectral differentiation is computed as
∂ j f = F − 1 [ i κ j f ^ ] . (76) \partial_j f = \mathcal{F}^{-1}\left[i\kappa_j\widehat{f}\right]. \tag*{(76)} ∂ j f = F − 1 [ i κ j f ] . (76)
where κ j = 2 π m j / L j \kappa_j=2\pi m_j/L_j κ j = 2 π m j / L j is the physical wavenumber in direction j j j . The divergence diagnostic is ∇ ⋅ u = ∂ j u j \nabla\cdot\mathbf{u}=\partial_j u_j ∇ ⋅ u = ∂ j u j . In low-Mach incompressible or weakly compressible calculations, we use the ratio
θ r m s ω r m s = ⟨ ( ∇ ⋅ u ) 2 ⟩ 1 / 2 ⟨ ω i ω i ⟩ 1 / 2 (77) \frac{\theta_{\mathrm{rms}}}{\omega_{\mathrm{rms}}} =
\frac{\left\langle(\nabla\cdot\mathbf{u})^2\right\rangle^{1/2}}
{\left\langle\omega_i\omega_i\right\rangle^{1/2}} \tag*{(77)} ω rms θ rms = ⟨ ω i ω i ⟩ 1/2 ⟨ ( ∇ ⋅ u ) 2 ⟩ 1/2 (77)
as a compact measure of compressibility or solver-induced divergence error. In two dimensions, the scalar vorticity is
ω = ∂ x u y − ∂ y u x , (78) \omega=\partial_x u_y-\partial_y u_x, \tag*{(78)} ω = ∂ x u y − ∂ y u x , (78)
and the enstrophy is
Ω = 1 2 ⟨ ω 2 ⟩ . (79) \Omega=\frac{1}{2}\langle\omega^2\rangle. \tag*{(79)} Ω = 2 1 ⟨ ω 2 ⟩ . (79)
The palinstrophy is
P = 1 2 ⟨ ∣ ∇ ω ∣ 2 ⟩ . (80) P=\frac{1}{2}\langle|\nabla\omega|^2\rangle. \tag*{(80)} P = 2 1 ⟨ ∣∇ ω ∣ 2 ⟩ . (80)
For three-dimensional flow, ω = ∇ × u \boldsymbol{\omega}=\nabla\times\mathbf{u} ω = ∇ × u and the strain-rate tensor is
S i j = 1 2 ( ∂ j u i + ∂ i u j ) . (81) S_{ij}=\frac{1}{2}(\partial_j u_i+\partial_i u_j). \tag*{(81)} S ij = 2 1 ( ∂ j u i + ∂ i u j ) . (81)
For incompressible periodic flow with kinematic viscosity ν \nu ν , the kinetic energy dissipation rate is
ε = 2 ν ⟨ S i j S i j ⟩ . (82) \varepsilon= 2\nu\langle S_{ij}S_{ij}\rangle. \tag*{(82)} ε = 2 ν ⟨ S ij S ij ⟩ . (82)
The corresponding Kolmogorov length and velocity scales are
η K = ( ν 3 ε ) 1 / 4 , u η = ( ν ε ) 1 / 4 . (83) \eta_{\mathrm{K}} = \left(\frac{\nu^3}{\varepsilon}\right)^{1/4}, \qquad u_{\eta} = (\nu\varepsilon)^{1/4}. \tag*{(83)} η K = ( ε ν 3 ) 1/4 , u η = ( ν ε ) 1/4 . (83)
These vorticity and strain diagnostics follow the usual incompressible-flow notation Batchelor [2000], Pope [2000], Davidson [2015].
Time-Series Balance Checks
For unforced incompressible periodic flow, kinetic energy decay is controlled by viscous dissipation:
d K d t = − ε . (84) \frac{dK}{dt} = -\varepsilon. \tag*{(84)} d t d K = − ε . (84)
In periodic incompressible flow, ε = 2 ν Ω \varepsilon= 2\nu\Omega ε = 2 ν Ω when Ω = 1 2 ⟨ ω i ω i ⟩ \Omega= \frac{1}{2}\langle\omega_i\omega_i\rangle Ω = 2 1 ⟨ ω i ω i ⟩ . Thus, an effective viscosity inferred from the energy time series is
ν e f f , K = − d K / d t 2 Ω . (85) \nu_{\mathrm{eff},K} = -\frac{dK/dt}{2\Omega}. \tag*{(85)} ν eff , K = − 2Ω d K / d t . (85)
When the nominal viscosity is known, the ratio ν e f f , K / ν \nu_{\mathrm{eff},K}/\nu ν eff , K / ν is a direct diagnostic of whether the rollout is dissipating energy at the expected rate.
For the enstrophy balance, the three-dimensional identity is
d Ω d t = ⟨ ω i S i j ω j ⟩ − 2 ν P , (86) \frac{d\Omega}{dt} = \langle\omega_iS_{ij}\omega_j\rangle- 2\nu P, \tag*{(86)} d t d Ω = ⟨ ω i S ij ω j ⟩ − 2 ν P , (86)
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
ν e f f , Ω = ⟨ ω i S i j ω j ⟩ − d Ω / d t 2 P . (87) \nu_{\mathrm{eff},\Omega} = \frac{\langle\omega_iS_{ij}\omega_j\rangle- d\Omega/dt}{2P}. \tag*{(87)} ν eff , Ω = 2 P ⟨ ω i S ij ω j ⟩ − d Ω/ d t . (87)
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 ⟨ u i u i ⟩ \sqrt{\langle u_i u_i\rangle} ⟨ u i u i ⟩ , and the low-Mach RMS Mach diagnostic
M a r m s = ⟨ u i u i ⟩ c s . (88) \mathrm{Ma}_{\mathrm{rms}} = \frac{\sqrt{\langle u_i u_i\rangle}}{c_s}. \tag*{(88)} Ma rms = c s ⟨ u i u i ⟩ . (88)
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 u i u_i u i with u i ′ = u i − ⟨ u i ⟩ u'_i = u_i - \langle u_i\rangle u i ′ = u i − ⟨ u i ⟩ . For lattice Boltzmann units, the default is c s = 1 / 3 c_s = 1/\sqrt{3} c s = 1/ 3 .
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
E ( κ ) ∼ ε 2 / 3 κ − 5 / 3 , (89) E(\kappa) \sim\varepsilon^{2/3}\kappa^{-5/3}, \tag*{(89)} E ( κ ) ∼ ε 2/3 κ − 5/3 , (89)
and a direct enstrophy cascade with
E ( κ ) ∼ η Ω 2 / 3 κ − 3 , (90) E(\kappa) \sim\eta_{\Omega}^{2/3}\kappa^{-3}, \tag*{(90)} E ( κ ) ∼ η Ω 2/3 κ − 3 , (90)
where ε \varepsilon ε is the upscale energy-transfer rate and η Ω \eta_{\Omega} η Ω is the downscale enstrophy-transfer rate. We use the subscripted notation η Ω \eta_{\Omega} η Ω to avoid confusing the enstrophy flux with the ELBM relaxation parameter β \beta β . In this setting, the enstrophy spectrum satisfies Z ( κ ) = κ 2 E ( κ ) Z(\kappa) = \kappa^2 E(\kappa) Z ( κ ) = κ 2 E ( κ ) , so the direct-enstrophy range corresponds to Z ( κ ) ∼ κ − 1 Z(\kappa) \sim\kappa^{-1} Z ( κ ) ∼ κ − 1 . We use these scalings only for two-dimensional hydrodynamic diagnostics [60 , 19 ] . For three-dimensional homogeneous isotropic turbulence, the default inertial range guide is the Kolmogorov energy scaling
E ( κ ) ∼ ε 2 / 3 κ − 5 / 3 , (91) E(\kappa) \sim\varepsilon^{2/3}\kappa^{-5/3}, \tag*{(91)} E ( κ ) ∼ ε 2/3 κ − 5/3 , (91)
with the dissipation rate ε \varepsilon ε defined above Pope [ [76 ] ; ], Frisch [ [43 ] .
We also track longitudinal structure functions for periodic homogeneous fields. For an axis-aligned separation r e j r\mathbf{e}_j r e j ,
S p ( r ) = ⟨ [ ( u ( x + r e j ) − u ( x ) ) ⋅ e j ] p ⟩ , (92) S_p(r) = \left\langle\left[(\mathbf{u}(\mathbf{x}+r\mathbf{e}_j)-\mathbf{u}(\mathbf{x}))\cdot\mathbf{e}_j\right]^p \right\rangle, \tag*{(92)} S p ( r ) = ⟨ [ ( u ( x + r e j ) − u ( x )) ⋅ e j ] p ⟩ , (92)
with averages taken over space and over selected coordinate directions. Local scaling exponents are estimated by
ξ p ( r ) = d log S p ( r ) d log r . (93) \xi_p(r) = \frac{d\log S_p(r)}{d\log r}. \tag*{(93)} ξ p ( r ) = d log r d log S p ( r ) . (93)
When the inertial interval is short, extended self-similarity instead compares structure functions directly, e.g.
d log S 4 ( r ) d log S 2 ( r ) = ξ 4 ( r ) ξ 2 ( r ) . (94) \frac{d\log S_4(r)}{d\log S_2(r)} = \frac{\xi_4(r)}{\xi_2(r)}. \tag*{(94)} d log S 2 ( r ) d log S 4 ( r ) = ξ 2 ( r ) ξ 4 ( r ) . (94)
This follows the ESS diagnostic of Benzi et al. Benzi et al. [1993].
Correlations and Small-Scale Shape Statistics
Two-point velocity correlations are computed from the fluctuating velocity u i ′ = u i − ⟨ u i ⟩ u_i'=u_i-\langle u_i\rangle u i ′ = u i − ⟨ u i ⟩ :
R u u ( r ) = ⟨ u i ′ ( x ) u i ′ ( x + r e j ) ⟩ , (95) R_{uu}(r) = \left\langle u_i'(\mathbf{x})u_i'(\mathbf{x}+r\mathbf{e}_j)\right\rangle, \tag*{(95)} R uu ( r ) = ⟨ u i ′ ( x ) u i ′ ( x + r e j ) ⟩ , (95)
with averages over space, velocity component i i i , and selected coordinate directions j j j . The normalized correlation R u u ( r ) / R u u ( 0 ) R_{uu}(r)/R_{uu}(0) R uu ( r ) / R uu ( 0 ) 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 [ [76 ] ; ], Davidson [ [34 ] .
For small-scale intermittency checks, we use the longitudinal derivative a = ∂ x u x a=\partial_x u_x a = ∂ x u x and report
S a = ⟨ a 3 ⟩ ⟨ a 2 ⟩ 3 / 2 , F a = ⟨ a 4 ⟩ ⟨ a 2 ⟩ 2 . (96) S_a = \frac{\langle a^3\rangle}{\langle a^2\rangle^{3/2}}, \qquad F_a = \frac{\langle a^4\rangle}{\langle a^2\rangle^2}. \tag*{(96)} S a = ⟨ a 2 ⟩ 3/2 ⟨ a 3 ⟩ , F a = ⟨ a 2 ⟩ 2 ⟨ a 4 ⟩ . (96)
The skewness S a S_a S a is sensitive to the asymmetric small-scale cascade, while the flatness F a F_a F a is a compact measure of heavy tails and intermittency.
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. [ [36 ] ; ], Buzzicotti and Tauzin [ [28 ] . In the present hydrodynamic setting, the diagnostic role is threefold. First, the identity ∑ n E n = K \sum_n E_n=K ∑ n E n = K 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 K ( t ) K(t) K ( t ) and ∑ n E n ( t ) \sum_n E_n(t) ∑ n E n ( t ) , including the zero shell when the mean flow is relevant.
Dissipation consistency: compare ν e f f , K \nu_{\mathrm{eff},K} ν eff , K and ν e f f , Ω \nu_{\mathrm{eff},\Omega} ν eff , Ω with the nominal viscosity or with the effective viscosity induced by the closure.
Cascade consistency: compare compensated spectra against the appropriate − 5 / 3 -5/3 − 5/3 or − 3 -3 − 3 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.
Turbulence Diagnostics
The metrics are evaluated at the same saved rollout time as the corresponding filtered reference. Let u \mathbf{u} u denote the predicted velocity, u r e f \mathbf{u}_{\mathrm{ref}} u ref the reference velocity, and ω = ∂ x u y − ∂ y u x \omega= \partial_x u_y - \partial_y u_x ω = ∂ x u y − ∂ y u x the scalar vorticity computed from the velocity field. The velocity error is ∥ u − u r e f ∥ 2 / ∥ u r e f ∥ 2 \lVert\mathbf{u} - \mathbf{u}_{\mathrm{ref}}\rVert_2/\lVert\mathbf{u}_{\mathrm{ref}}\rVert_2 ∥ u − u ref ∥ 2 / ∥ u ref ∥ 2 , and the vorticity error is ∥ ω − ω r e f ∥ 2 / ∥ ω r e f ∥ 2 \lVert\omega- \omega_{\mathrm{ref}}\rVert_2/\lVert\omega_{\mathrm{ref}}\rVert_2 ∥ ω − ω ref ∥ 2 / ∥ ω ref ∥ 2 , with norms taken over all grid points and velocity components where applicable. The vorticity correlation is the pointwise Pearson correlation
corr ( ω , ω r e f ) = ⟨ ( ω − ⟨ ω ⟩ ) ( ω r e f − ⟨ ω r e f ⟩ ) ⟩ ⟨ ( ω − ⟨ ω ⟩ ) 2 ⟩ ⟨ ( ω r e f − ⟨ ω r e f ⟩ ) 2 ⟩ . (97) \operatorname{corr}(\omega,\omega_{\mathrm{ref}}) = \frac{\langle(\omega-\langle\omega\rangle)(\omega_{\mathrm{ref}}-\langle\omega_{\mathrm{ref}}\rangle)\rangle}{\sqrt{\langle(\omega-\langle\omega\rangle)^2\rangle\langle(\omega_{\mathrm{ref}}-\langle\omega_{\mathrm{ref}}\rangle)^2\rangle}}. \tag*{(97)} corr ( ω , ω ref ) = ⟨( ω − ⟨ ω ⟩ ) 2 ⟩ ⟨( ω ref − ⟨ ω ref ⟩ ) 2 ⟩ ⟨( ω − ⟨ ω ⟩) ( ω ref − ⟨ ω ref ⟩)⟩ . (97)
For the spectral columns, E ( k ) E(k) E ( k ) is the shell-summed kinetic-energy spectrum defined in Appendix G.1. The reported spectrum RMSE is an active-shell log-spectrum error,
RMSE E = [ 1 ∣ A ∣ ∑ k ∈ A ( log 10 E ( k ) − log 10 E r e f ( k ) ) 2 ] 1 / 2 , (98) \operatorname{RMSE}_E = \left[\frac{1}{|\mathcal{A}|}\sum_{k\in\mathcal{A}}\left(\log_{10}E(k)-\log_{10}E_{\mathrm{ref}}(k)\right)^2\right]^{1/2}, \tag*{(98)} RMSE E = [ ∣ A ∣ 1 k ∈ A ∑ ( log 10 E ( k ) − log 10 E ref ( k ) ) 2 ] 1/2 , (98)
A = { k : E r e f ( k ) > 10 − 12 E max } , E max = max j E r e f ( j ) . \mathcal{A}=\{k:E_{\mathrm{ref}}(k)>10^{-12}E_{\max}\},\qquad E_{\max}=\max_j E_{\mathrm{ref}}(j). A = { k : E ref ( k ) > 1 0 − 12 E m a x } , E m a x = j max E ref ( j ) .
The high-wavenumber entry is not total energy; it is the ratio of high-k k k energy fractions,
∑ k ≥ N / 4 E ( k ) / ∑ k E ( k ) ∑ k ≥ N / 4 E r e f ( k ) / ∑ k E r e f ( k ) , (99) \frac{\sum_{k\geq N/4}E(k)/\sum_k E(k)}{\sum_{k\geq N/4}E_{\mathrm{ref}}(k)/\sum_k E_{\mathrm{ref}}(k)}, \tag*{(99)} ∑ k ≥ N /4 E ref ( k ) / ∑ k E ref ( k ) ∑ k ≥ N /4 E ( k ) / ∑ k E ( k ) , (99)
so a value of one means matching the reference high-k k k fraction, values above one indicate excess grid-scale energy, and values below one indicate depleted high-wavenumber content.
Let u m ( x , t ) \mathbf{u}_m(x,t) u m ( x , t ) be the model velocity field, and let u r e f \mathbf{u}_{\mathrm{ref}} u ref be the box-filtered reference velocity. Vorticity is computed spectrally from velocity as
ω = ∂ x u y − ∂ y u x . (100) \omega=\partial_xu_y-\partial_yu_x. \tag*{(100)} ω = ∂ x u y − ∂ y u x . (100)
The relative velocity error is
ε u ( t ) = ∥ u m ( ⋅ , t ) − u r e f ( ⋅ , t ) ∥ 2 ∥ u r e f ( ⋅ , t ) ∥ 2 . (101) \varepsilon_u(t)=\frac{\lVert\mathbf{u}_m(\cdot,t)-\mathbf{u}_{\mathrm{ref}}(\cdot,t)\rVert_2}{\lVert\mathbf{u}_{\mathrm{ref}}(\cdot,t)\rVert_2}. \tag*{(101)} ε u ( t ) = ∥ u ref ( ⋅ , t ) ∥ 2 ∥ u m ( ⋅ , t ) − u ref ( ⋅ , t ) ∥ 2 . (101)
The vorticity correlation is
ρ ω ( t ) = ∑ x ( ω m − ω ‾ m ) ( ω r e f − ω ‾ r e f ) [ ∑ x ( ω m − ω ‾ m ) 2 ∑ x ( ω r e f − ω ‾ r e f ) 2 ] 1 / 2 . (102) \rho_\omega(t)=\frac{\sum_x(\omega_m-\overline{\omega}_m)(\omega_{\mathrm{ref}}-\overline{\omega}_{\mathrm{ref}})}{\left[\sum_x(\omega_m-\overline{\omega}_m)^2\sum_x(\omega_{\mathrm{ref}}-\overline{\omega}_{\mathrm{ref}})^2\right]^{1/2}}. \tag*{(102)} ρ ω ( t ) = [ ∑ x ( ω m − ω m ) 2 ∑ x ( ω ref − ω ref ) 2 ] 1/2 ∑ x ( ω m − ω m ) ( ω ref − ω ref ) . (102)
The relative vorticity error is
ε ω ( t ) = ∥ ω m ( ⋅ , t ) − ω r e f ( ⋅ , t ) ∥ 2 ∥ ω r e f ( ⋅ , t ) ∥ 2 . (103) \varepsilon_\omega(t)=\frac{\lVert\omega_m(\cdot,t)-\omega_{\mathrm{ref}}(\cdot,t)\rVert_2}{\lVert\omega_{\mathrm{ref}}(\cdot,t)\rVert_2}. \tag*{(103)} ε ω ( t ) = ∥ ω ref ( ⋅ , t ) ∥ 2 ∥ ω m ( ⋅ , t ) − ω ref ( ⋅ , t ) ∥ 2 . (103)
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,
E n = ∑ round ( ∣ m ∣ ) = n 1 2 V 2 ∣ u ^ i ( m ) ∣ 2 , (104) E_n = \sum_{\operatorname{round}(|\mathbf{m}|)=n} \frac{1}{2V^2} |\hat{\mathbf{u}}_i(\mathbf{m})|^2, \tag*{(104)} E n = round ( ∣ m ∣ ) = n ∑ 2 V 2 1 ∣ u ^ i ( m ) ∣ 2 , (104)
with an analogous enstrophy spectrum
Z n = ∑ round ( ∣ m ∣ ) = n 1 2 V 2 ∣ ω ^ ( m ) ∣ 2 . (105) Z_n = \sum_{\operatorname{round}(|\mathbf{m}|)=n} \frac{1}{2V^2} |\hat{\omega}(\mathbf{m})|^2. \tag*{(105)} Z n = round ( ∣ m ∣ ) = n ∑ 2 V 2 1 ∣ ω ^ ( m ) ∣ 2 . (105)
Two-point correlations measure spatial structure. With u ′ = u − ⟨ u ⟩ \mathbf{u}' = \mathbf{u} - \langle\mathbf{u} \rangle u ′ = u − ⟨ u ⟩ and ω ′ = ω − ⟨ ω ⟩ \omega' = \omega- \langle\omega\rangle ω ′ = ω − ⟨ ω ⟩ , we use
C u u ( r ) = ⟨ u ′ ( x ) ⋅ u ′ ( x + r ) ⟩ ⟨ ∣ u ′ ( x ) ∣ 2 ⟩ , (106) C_{uu}(r) = \frac{\langle\mathbf{u}'(\mathbf{x}) \cdot\mathbf{u}'(\mathbf{x}+\mathbf{r}) \rangle}{\langle|\mathbf{u}'(\mathbf{x})|^2 \rangle}, \tag*{(106)} C uu ( r ) = ⟨ ∣ u ′ ( x ) ∣ 2 ⟩ ⟨ u ′ ( x ) ⋅ u ′ ( x + r )⟩ , (106)
and
C ω ω ( r ) = ⟨ ω ′ ( x ) ω ′ ( x + r ) ⟩ ⟨ ∣ ω ′ ( x ) ∣ 2 ⟩ . (107) C_{\omega\omega}(r) = \frac{\langle\omega'(\mathbf{x})\omega'(\mathbf{x}+\mathbf{r}) \rangle}{\langle|\omega'(\mathbf{x})|^2 \rangle}. \tag*{(107)} C ω ω ( r ) = ⟨ ∣ ω ′ ( x ) ∣ 2 ⟩ ⟨ ω ′ ( x ) ω ′ ( x + r )⟩ . (107)
Experimental Results
We report forecasts for the doubly periodic shear layer at R e = 50,000 \mathrm{Re} = 50{,}000 Re = 50 , 000 (DPSL-50K) and R e = 100,000 \mathrm{Re} = 100{,}000 Re = 100 , 000 (DPSL-100K), and the Taylor Green vortex at R e = 50,000 \mathrm{Re} = 50{,}000 Re = 50 , 000 (TGV). For all experiments, the reference is the 512 2 512^2 51 2 2 numerical ELBM simulation downsampled to each grid following the techniques described in Appendix § 9 .§ 3 . Training forecasts start at t 0 = 0 t_0 = 0 t 0 = 0 ; testing forecasts start at t 0 = T / 2 t_0 = T/2 t 0 = T /2 , where T T T is the rollout length. Figures show seed 2025; tables report entropically-stabilized NeurDE as mean ± \pm ± standard deviation over four seeds and ELBM as one deterministic run.
Doubly periodic shear layer at Re=50,000
We present the results for the doubly periodic shear layer at R e = 50,000 \mathrm{Re} = 50{,}000 Re = 50 , 000 . The real-space and spectral metrics are presented in Table 8 and Table 9 for the training and testing datasets, respectively. Figure 20 shows real-space forecasts for a single seed, and Figure 21 shows the spectral metrics. These results are visually indistinguishable from those of the other seeds, except for a single case described below.
Table 8. Real-space and spectral metrics for doubly periodic shear layer at R e = 50,000 \mathrm{Re} = 50{,}000 Re = 50 , 000 . We compare emulation metrics from the training data (t 0 = 0 t_0 = 0 t 0 = 0 ) at the final lead time against the downsampled 512 2 512^2 51 2 2 reference. Entropically-stabilized NeurDE results are the mean ± \pm ± 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 L 2 L^2 L 2 error of velocity and vorticity ω \omega ω , and vorticity correlation. Spectrum diagnostics: RMSE of log 10 E ( k ) \log_{10} E(k) log 10 E ( k ) over active shells, and high-k k k energy and palinstrophy relative to the reference. Bold marks the better method per grid.
Table 9. Real-space and spectral metrics for doubly periodic shear layer at R e = 50,000 \mathrm{Re} = 50{,}000 Re = 50 , 000 . We compare emulation metrics from the testing data (t 0 = T / 2 t_0 = T/2 t 0 = T /2 ) at the final lead time, against the downsampled 512 2 512^2 51 2 2 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 L 2 L^2 L 2 error of velocity and vorticity ω \omega ω , and vorticity correlation. Spectrum diagnostics: RMSE of log 10 E ( k ) \log_{10} E(k) log 10 E ( k ) over active shells, and high-k k k energy and palinstrophy relative to the reference. Bold marks the better method per grid.
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 § 13 .1.1.
Figure 22. The percentage of pixels that violate the second law of thermodynamics over the NeurDE emulation of the doubly periodic shear layer at R e = 50,000 \mathrm{Re}=50{,}000 Re = 50 , 000 . We show the training and testing datasets for all grids. The mean and standard deviation are taken over all seeds.
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 128 2 128^2 12 8 2 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.
Figure 23 a and Figure 23 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 Δ t = 1250 \Delta t = 1250 Δ t = 1250 . Therefore, while this specific entropically-stabilized NeurDE model is less stable than all the others, it is still more stable than the ELBM comparison.
Figure 23. Doubly periodic shear layer at R e = 50,000 \mathrm{Re} = 50{,}000 Re = 50 , 000 , seed 576268 on the 128 2 128^2 12 8 2 grid: (a) vorticity forecasts and (b) shell-averaged spectra at the final lead time, laid out as in Figure 20 and Figure 21 . The rollout stays finite, but its forecast from the training data departs from the other three seeds: at Δ t = 2500 \Delta t = 2500 Δ t = 2500 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 k 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.
The spectral metrics of this emulation (Figure 23 b) perform better than the metrics for the emulation of seed 2025 (Figure 21 a). 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.
Doubly periodic shear layer at Re=100,000
We present the results for the doubly periodic shear layer at R e = 100 , 000 \mathrm{Re}=100,000 Re = 100 , 000 . The real-space and spectral metrics are presented in Table 10 and Table 11 for the training and testing datasets, respectively. Figure 24 shows real-space forecasts for a single seed, and Figure 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 R e = 100 , 000 \mathrm{Re}=100,000 Re = 100 , 000 . We compare emulation metrics from the training data (t 0 = 0 t_0=0 t 0 = 0 ) at the final lead time against the downsampled 512 2 512^2 51 2 2 reference. Entropically-stabilized NeurDE results are the mean ± \pm ± 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 L 2 L^2 L 2 error of velocity and vorticity ω \omega ω , and vorticity correlation. Spectrum diagnostics: RMSE of log 10 E ( k ) \log_{10} E(k) log 10 E ( k ) over active shells, and high-k k k energy and palinstrophy relative to the reference. Bold marks the better method per grid.
Table 11. Real-space and spectral metrics for doubly periodic shear layer at R e = 100 , 000 \mathrm{Re}=100,000 Re = 100 , 000 . We compare emulation metrics from the testing data (t 0 = T / 2 t_0=T/2 t 0 = T /2 ) at the final lead time against the downsampled 512 2 512^2 51 2 2 reference. Entropically-stabilized NeurDE results are the mean ± \pm ± 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 L 2 L^2 L 2 error of velocity and vorticity ω \omega ω , and vorticity correlation. Spectrum diagnostics: RMSE of log 10 E ( k ) \log_{10} E(k) log 10 E ( k ) over active shells, and high-k k k energy and palinstrophy relative to the reference. Bold marks the better method per grid.
Figure 24. Doubly periodic shear layer at R e = 100,000 \mathrm{Re} = 100{,}000 Re = 100 , 000 : vorticity forecasts on grids (a) 128 2 128^2 12 8 2 , (b) 64 2 64^2 6 4 2 , (c) 32 2 32^2 3 2 2 , and (d) 16 2 16^2 1 6 2 ; the grid size is also marked to the left of each panel. In each panel, the rows are the downsampled 512 2 512^2 51 2 2 reference (top), entropically-stabilized NeurDE (middle), and numerical ELBM run at that grid (bottom). The left block starts from the training data (t 0 = 0 t_0 = 0 t 0 = 0 ), the right block from the testing data (t 0 = T / 2 t_0 = T/2 t 0 = T /2 ); columns are lead times Δ t \Delta t Δ t in solver steps.
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 \operatorname{Re} = 100{,}000 Re = 100 , 000 . We show the training and testing datasets for all grids. The mean and standard deviation are taken over all seeds.
Taylor Green Vortex at Re=50,000
We present the results for the Taylor Green vortex experiment at R e = 50,000 \mathrm{Re}=50{,}000 Re = 50 , 000 . The real-space and spectral metrics are presented in Table 12 and Table 13 for the training and testing datasets, respectively. Figure 27 shows real-space forecasts for a single seed, and Figure 28 shows the spectral metrics. These results are visually indistinguishable from those of the other seeds.
Table 12. Real-space and spectral metrics for TGV at R e = 50,000 \mathrm{Re}=50{,}000 Re = 50 , 000 . We compare emulation metrics from the training data (t 0 = 0 t_0=0 t 0 = 0 ) at the final lead time against the downsampled 512 2 512^2 51 2 2 reference. Entropically-stabilized NeurDE results are the mean ± \pm ± 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 L 2 L^2 L 2 error of velocity and vorticity ω \omega ω , and vorticity correlation. Spectrum diagnostics: RMSE of log 10 E ( k ) \log_{10}E(k) log 10 E ( k ) over active shells, and high-k k k energy and palinstrophy relative to the reference. Bold marks the better method per grid.
Table 13. Real-space and spectral metrics for TGV at R e = 50,000 \mathrm{Re}=50{,}000 Re = 50 , 000 . We compare emulation metrics from the testing data (t 0 = T / 2 t_0=T/2 t 0 = T /2 ) at the final lead time against the downsampled 512 2 512^2 51 2 2 reference. Entropically-stabilized NeurDE results are the mean ± \pm ± 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 L 2 L^2 L 2 error of velocity and vorticity ω \omega ω , and vorticity correlation. Spectrum diagnostics: RMSE of log 10 E ( k ) \log_{10}E(k) log 10 E ( k ) over active shells, and high-k k k energy and palinstrophy relative to the reference. Bold marks the better method per grid.
Figure 27. TGV velocity streamline emulations at Re = 50,000 \operatorname{Re} = 50{,}000 Re = 50 , 000 , colored by speed on grids (a) 128 2 128^2 12 8 2 , (b) 64 2 64^2 6 4 2 , (c) 32 2 32^2 3 2 2 , and (d) 16 2 16^2 1 6 2 ; the grid size is also marked to the left of each panel. In each panel, the rows are the downsampled 512 2 512^2 51 2 2 reference (top), entropically-stabilized NeurDE (middle), and numerical ELBM run at that grid (bottom). The left block starts from the training data (t 0 = 0 t_0 = 0 t 0 = 0 ), the right block from the testing data (t 0 = T / 2 t_0 = T/2 t 0 = T /2 ); columns are lead times Δ t \Delta t Δ t in solver steps.
Figure 28. TGV at R e = 50,000 \mathrm{Re} = 50{,}000 Re = 50 , 000 shell-averaged spectra at the final lead time on grids (a) 128 2 128^2 12 8 2 , (b) 64 2 64^2 6 4 2 , (c) 32 2 32^2 3 2 2 , and (d) 16 2 16^2 1 6 2 . Columns are the energy E ( k ) E(k) E ( k ) , enstrophy Z ( k ) = k 2 E ( k ) Z(k) = k^2 E(k) Z ( k ) = k 2 E ( k ) , and palinstrophy P ( k ) = k 4 E ( k ) P(k) = k^4 E(k) P ( k ) = k 4 E ( k ) spectra, where k k k is the wavenumber shell; rows are forecasts from the training (top) and testing (bottom) data. Curves compare the downsampled 512 2 512^2 51 2 2 reference, numerical ELBM, and entropically-stabilized NeurDE . The flow stays in a few low-k k k shells, so the high-k k k tail is at roundoff level.
The two spectrum diagnostics (Spec. RMSE and High-k k k /ref.) are left blank at every resolution. This follows from the flow itself. We initialize TGV with the single-mode field u = U 0 sin x cos y u=U_0\sin x\cos y u = U 0 sin x cos y , v = − U 0 cos x sin y v=-U_0\cos x\sin y v = − U 0 cos x sin y , 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 [90 ] . In our weakly compressible simulations (M a = 0.1 \mathrm{Ma}=0.1 Ma = 0.1 ), the energy therefore stays in the lowest wavenumber shells over the whole forecast window. The shells above the high-k k k cutoff (N / 4 N/4 N /4 on an N × N N\times N N × N grid) hold energy only at the level of floating-point roundoff. Both spectrum diagnostics then reduce to comparisons of roundoff. High-k k k /ref. divides the predicted high-k k 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 k k /ref. for TGV ranges from 20 to 7 × 10 3 7\times10^3 7 × 1 0 3 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.
Figure 29. The percentage of pixels that violate the second law of thermodynamics over the NeurDE emulation of the Taylor Green vortex experiment at R e = 50,000 \mathrm{Re} = 50{,}000 Re = 50 , 000 . We show the training and testing datasets for all grids. The mean and standard deviation are taken over all seeds.
Fourier Neural Operator Baseline
We use the Fourier Neural Operator (FNO) Li et al. [ [66 ] as a purely macroscopic neural-operator baseline for the doubly periodic shear layer with Re = 50,000 \operatorname{Re} = 50{,}000 Re = 50 , 000 (DPSL-50K) forecasting task in § 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 [ [69 ] , Sakarvadia et al. [ [80 ] . 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. [ [66 ] , is not practical at the resolutions and horizons considered here. We therefore train FNO as a one-step map and roll it out autoregressively:
G θ : ( ρ , u , ω ) ( t , x ) ↦ ( ρ , u , ω ) ( t + 1 , x ) . \mathcal{G}_{\theta} : (\rho, \mathbf{u}, \omega)(t, \mathbf{x}) \mapsto(\rho, \mathbf{u}, \omega)(t+1, \mathbf{x}). G θ : ( ρ , u , ω ) ( t , x ) ↦ ( ρ , u , ω ) ( t + 1 , x ) .
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 × 4\times 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. [ [58 ] (version 0.3.0).
Table 17. Compute used to train the final FNO.
The final model uses the following configuration (Table 14 ):
Table 14. FNO architecture.
Hidden Width (d v d_v d v ): 128.
Fourier Modes (k max k_{\max} k m a x ): 64.
Network Depth (L L L ): 4 layers.
Hyperparameter Sweep. Before the final run, a grid search of 2 × 3 × 3 × 2 = 36 2 \times3 \times3 \times2 = 36 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 Table 14 and Table 16 : 64 Fourier modes, peak learning rate 10 − 4 10^{-4} 1 0 − 4 and weight decay 10 − 5 10^{-5} 1 0 − 5 . 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.
Table 16. FNO training setup.
Training Protocol. The model was trained on macroscopic channels only:
( ρ , u , ω ) ( t , x ) ↦ ( ρ , u , ω ) ( t + 1 , x ) (\rho, \mathbf{u}, \omega)(t, \mathbf{x}) \mapsto(\rho, \mathbf{u}, \omega)(t+1, \mathbf{x}) ( ρ , u , ω ) ( t , x ) ↦ ( ρ , u , ω ) ( t + 1 , x )
on a 256 × 256 256 \times256 256 × 256 periodic grid, where ρ \rho ρ is density, u \mathbf{u} u is the bulk velocity, and ω = ∇ × u \omega= \nabla\times\mathbf{u} ω = ∇ × u 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 α \alpha α , or the discrete H H H -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 10 − 4 10^{-4} 1 0 − 4 (Table 16 ). The figures below show this final model.
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 5.9 × 10 − 5 5.9 \times10^{-5} 5.9 × 1 0 − 5 .
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 18. Wall-clock time per curriculum stage (4 GPUs).
Observed Behavior. Overall, this result of Figure 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.
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 10 − 4 10^{-4} 1 0 − 4 ;
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.
The pretrained Walrus model was fine-tuned on the same 256 × 256 256 \times256 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.