Neural emulators of physical simulations, meaning networks trained to predict the next state of a fluid or diffusion field from the current one, are fast. They are still built from dense floating-point arithmetic. Binary neural networks restrict weights and activations to ±1 and replace multiplications with bitwise XNOR and popcount (bit counting) operations. They promise far cheaper inference, with XNOR-Net reporting a 58x CPU speedup and 32x memory saving on convolutions. They have never been used as emulators that are rolled out step after step. The reason is easy to see: a 1-bit network makes large, noisy errors, and in an autoregressive rollout every error is fed back as input. Small violations of conservation laws are known to compound into drift even for full-precision models.
This note proposes a binary emulator that never predicts the next state directly. It predicts the fluxes, the amounts of mass, heat or vorticity crossing each face between grid cells. The state is then updated by adding what flows in and subtracting what flows out. Under this update, whatever error the binary network makes can only move conserved quantity between neighbouring cells. It cannot create or destroy that quantity anywhere, locally or globally. The bet is that this structure matters much more at 1 bit than at 32 bits. If so, conservative output structure is the missing ingredient that makes extreme quantization usable for long physical rollouts.
Core Claim
Write the cell averages of a conserved quantity as $u_i^t$ on cell $i$ at step $t$. A flux-form emulator outputs face fluxes $\hat F_{i+1/2}$, the predicted net transfer from cell $i$ to cell $i+1$ over one step, and updates
$$u_i^{t+1} = u_i^t - \left(\hat F_{i+1/2} - \hat F_{i-1/2}\right) + s_i^t,$$
where $s_i^t$ is a known external source such as a prescribed forcing, computed analytically in full precision. The sum over cells telescopes. Total mass therefore changes only through boundary fluxes and $s$, and each cell's budget closes exactly, whatever values $\hat F$ takes.
The claim has two parts. First, a binarized backbone with full-precision input and flux heads stays stable for far longer rollouts than the same backbone predicting $u^{t+1}$ directly. Second, this gap between flux-form and direct prediction is substantially larger at 1 bit than at full precision. That interaction effect is the scientific finding. A positive result would show that quantization error is harmful in rollouts mainly because it acts as a spurious source or sink. A negative result would show that the harm comes mainly from local, conservative redistribution error, which no conservation structure can fix.
Relation to Prior Work
Two lines of work motivate the proposal by showing that hard conservation stabilizes full-precision emulators.
ACE2 adds a corrector to its atmosphere emulator, a spherical Fourier neural operator, that enforces global dry-air mass and moisture conservation. This allows stable multi-decade rollouts. ProbConserv takes any black-box predictor and applies a Bayesian update in integral, finite-volume form. It reaches zero conservation error and reports a 3x lower MSE on the Stefan problem and 5.5x on the porous medium equation, compared with unconstrained models.
Both methods correct an output after the fact, and both act on a small number of integral constraints. Our design differs: conservation is built into the output parameterization and holds cell by cell. This matters for binary networks, whose errors are local and high-frequency rather than a global bias.
Deep Conservation also enforces exact conservation, but it does so by solving a constrained optimization problem online at every step. That online cost is exactly what a cheap binary emulator cannot afford. Our update is a single subtraction per cell.
Hybrid Latent Representations keeps physical channels on the grid so that hard constraints can act on them. We reuse that idea: the physical channels and the flux head stay in full precision, and only the latent processing is binarized.
The binary side supplies the method.
- BinRVR introduces distribution-aware binary convolutions, which rescale binary features using their mean, absolute mean and standard deviation. These handle asymmetric, high-dynamic-range continuous signals at about a 0.9 dB PSNR cost for about 96% fewer FLOPs.
- BSRN accumulates residual information across binary layers to recover fine textures.
We adopt both, along with the field's standard practice of keeping the first and last layers in full precision. Neither paper runs a long recurrent rollout, and neither has any physical prior. BinRVR explicitly notes that 1-bit operators struggle with large displacements. This constrains us: we expect advection-dominated regimes to be the hardest case.
Binary structured PINNs is the closest name match. It shares only the word "binary": it uses binary-tree connectivity in full precision and trains with soft PDE residual losses. Its Burgers' result (relative error 1.252e-2 versus 2.686e-1 for a standard PINN) is evidence that sharp fronts need special structure. It says nothing about 1-bit arithmetic.
Research Program
The emulator is a convolutional encode-process-decode network in the style of the Dil-ResNet from Learned Simulators for Turbulence. It has three parts:
- a full-precision encoder taking the current field;
- a processor whose weights and activations are binarized, using distribution-aware scaling, real-valued shortcut connections around each binary block, and straight-through gradient estimates;
- a full-precision 1×1 head that outputs one flux per cell face and spatial direction.
The update above is applied in full precision. It costs one subtraction per face, which is negligible next to the processor. Training uses multi-step rollout loss on the predicted states, so the fluxes are supervised only through their effect on the state. No ground-truth fluxes are needed.
For 2D incompressible flow we work in vorticity form. Advection and diffusion of vorticity are then fluxes, and Kolmogorov forcing enters as the analytic source $s$. This keeps total vorticity exact while leaving the velocity reconstruction to a fixed spectral solve.
Three questions get explicit study.
First, where binary error goes. We decompose the per-step error of direct and flux-form variants into a cell-budget residual (zero by construction for flux form) and a redistribution component. We then track how each grows over the rollout.
Second, positivity. Flux form conserves mass but does not prevent negative densities. In the porous medium equation we measure positivity violations. If needed, we test a limiter that caps outgoing flux at the cell's content. This limiter is a classical finite-volume device that keeps the update conservative.
Third, sharp fronts. Sign activations are piecewise constant, and ProbConserv and BsPINN both show that continuous models smear shocks. We therefore ask, as a secondary and openly speculative question, whether binary flux emulators locate Burgers' shocks and Stefan fronts more sharply than full-precision ones at matched cost.
Baselines
The naive reference point is a binary network with the identical backbone that predicts $u^{t+1}$ directly, trained on the same data with the same rollout loss and tuning budget. It answers the question "does a 1-bit emulator work at all without structure?" We expect it to diverge early.
The strongest existing method for exact conservation on top of an arbitrary predictor is the integral Bayesian update of ProbConserv. We apply it to that direct-prediction binary network as a post-hoc correction at every rollout step, with its noise parameter set for exact global conservation. This is the most serious competitor because it also guarantees conservation, at the global integral level, and adds little cost. On the generalized porous medium suite it reports a 3x MSE decrease on Stefan and 5.5x on PME relative to unconstrained models. Beating it means lower rollout nRMSE and a longer time to divergence at equal backbone cost. We will also check whether its gains carry over from full-precision networks to binary ones.
For accuracy at full precision, the reference is the same architecture in FP32, in both direct and flux form. The HRE line reports 30–50% lower RMSE than a U-Net after 64 rollout steps on Kolmogorov flow and decaying turbulence (Hybrid Latent Representations). We include a U-Net as the common anchor so our numbers can be placed against that report. No reported result was found on Lacuna for any binary or sub-8-bit emulator on these PDE benchmarks. Every binary number in this study is therefore new, and there is no prior binary figure to beat.
Two cost-matched competitors carry the efficiency comparison:
- the same flux-form network quantized to 4 and 8 bits with quantization-aware training;
- full-precision flux-form networks shrunk until their weight memory and effective operation count match the binary model.
Effective operations count binary operations at the conventional 1/64 of a FLOP, the rate implied by the XNOR-Net speedup accounting. We also report measured CPU latency with an XNOR/popcount kernel.
All models get the same training data, the same number of epochs, and the same hyperparameter search budget. Each is tuned separately, and results are averaged over five seeds.
Finally, an ablation isolates the key ingredient. We run binary flux-form with and without Gaussian input-noise training, the self-correcting trick of Learned Simulators for Turbulence. This separates the gain from conservative structure from the gain due to robustness against noisy inputs.
Why not just…?
Why not just use 4- or 8-bit quantization, which is known to be accurate? At 8 bits the memory saving is 4x, against 32x at 1 bit, and multipliers remain. The two settings are different hardware regimes, and in our Pareto analysis INT8 may well win at the high-accuracy end. The question we test is narrower: at the lowest cost points, does binary flux-form give lower rollout error than INT4 or INT8 at the same effective cost? If INT4 flux-form matches binary flux-form everywhere, we will report that the useful precision floor for emulators is 4 bits, not 1.
Why not just train a smaller full-precision network with the same budget? This is the real threat. Small FP32 networks are easy to train and may beat a binary network of equal memory. This is why the matched-cost FP32 flux-form model is a main baseline rather than an afterthought. If it Pareto-dominates, the binary contribution fails, though the interaction finding about conservation can still stand.
Why not just correct a direct binary prediction with a global conservation projection? ProbConserv and the ACE2 corrector fix a handful of integral quantities. Binary quantization noise is spatially local, so a projection can zero the global budget while every cell still gains or loses mass spuriously. The error decomposition will show directly whether the cell-budget residual left by projection drives divergence. If projection matches flux form, the cheaper projection wins and we will say so.
Why not just inject training noise so the network learns to self-correct? Noise injection stabilized full-precision turbulence rollouts in Learned Simulators for Turbulence. It teaches robustness to perturbed inputs but provides no guarantee about where the network's own errors put mass. The noise ablation measures how much of the stability each mechanism supplies, and whether they combine.
Proposed Experiments
The benchmarks follow the cited papers:
- parameterized inviscid Burgers' equation on 512 finite-volume cells, as in Deep Conservation;
- the diffusion, porous medium and Stefan variants of the generalized porous medium suite from ProbConserv;
- 2D Kolmogorov flow and incompressible decaying turbulence as used by Hybrid Latent Representations.
The metrics are:
- normalized RMSE as a function of rollout step, out to several times the training horizon;
- time until correlation with the reference falls below 0.8;
- cell-wise and global conservation residuals;
- positivity violations;
- shock-location error;
- energy spectra for the turbulent flows;
- weight memory, effective operations and measured latency.
The first decisive check is the interaction. The ratio of time-to-divergence between flux-form and direct prediction should be much larger for binary networks than for full-precision ones. If the ratio is similar at both precisions, the core claim is false.
The second check is the cost frontier. Binary flux-form should lie on or below the error-versus-cost curve traced by the INT4, INT8 and shrunk FP32 models, at least at the low-cost end.
The third check is the projection comparison. Binary flux-form should beat the globally projected binary predictor, and the error decomposition should show that the projected model's remaining cell-budget errors account for the difference.
The shock-sharpness question is reported as exploratory, whichever way it comes out.
References
- XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networks
- ACE2: accurately learning subseasonal to decadal atmospheric variability and forced responses
- Learning Physical Models that Can Respect Conservation Laws
- Deep Conservation: A Latent-Dynamics Model for Exact Satisfaction of Physical Conservation Laws
- Hybrid Latent Representations for PDE Emulation
- Binarized High-Efficiency RAW Video Restoration and Beyond
- Binarized Neural Network for Single Image Super Resolution
- Binary structured physics-informed neural networks for solving equations with rapidly changing solutions
- Learned Simulators for Turbulence