Neural surrogates for physical simulation are fast. A trained network can predict the next state of a fluid flow hundreds of times faster than a conventional solver; one mesh-based model reports speedups of 682x over OpenFOAM on cylinder flow (Predicting Physics in Mesh-reduced Space with Temporal Attention). The trouble comes when the surrogate runs autoregressively, feeding each prediction back in as the next input. Small errors then compound. Over hundreds of steps the simulated flow loses energy in the wrong places, violates conservation, or blows up. Recent work mostly attacks this with better architectures that make drift slower. None of it gives the rollout a way to notice that it has drifted and fix itself.
We propose to treat the classical numerical solver as an occasional corrector rather than a competitor. The surrogate runs as usual. A cheap check, based on how badly the current predicted state violates the governing equations, decides when to hand that state to the real solver for a short burst of a few fine steps. The solver pulls the state back toward physically valid flow, and the surrogate then continues from the corrected state. The research question is how to spend a fixed, small fraction of solver time, say 2–10% of the total wall-clock budget, so that long-horizon error stays bounded. We also ask when a state-triggered schedule beats simply correcting every $k$ steps.
Core Claim
A short solver burst launched from a drifted surrogate state cannot restore the true trajectory. For chaotic flows nothing can, and the phase error it has already accumulated stays. What a burst does remove is the off-physics part of the error: spurious high-frequency energy, divergence and conservation violations, and amplitude departures from the system's attractor. We claim that this component, not phase decorrelation, is what drives rollout blow-up and spectral distortion. It is also cheap to detect, because it shows up directly in the discrete equation residual of the predicted state.
Under a matched wall-clock budget, residual-triggered bursts should therefore extend the horizon over which surrogate rollouts remain physically valid well beyond what architecture changes alone achieve. They should also beat fixed-interval bursts specifically on systems whose error growth is uneven across trajectories or over time. We state that second condition as a falsifiable prediction, not an assumption. If error grows uniformly, fixed-interval correction should be nearly optimal, and we will report that outcome.
Where This Sits
The idea borrows its control structure from video object tracking, where drift is a well-studied failure. In tracking, errors written into a memory bank poison later frames (Video Object Segmentation Using Space-Time Memory Networks stores all past frames and attends to them). The fixes that work pair the drifting tracker with an independent, non-drifting source of truth. FEELVOS matches every frame back to the uncorrupted first frame. Mask Selection and Propagation uses a selector network to admit only verified masks into memory. Detector-in-the-Loop Tracking hard-resets a tracker's memory from a single-frame detector when drift is detected. These papers motivate the design: an independent, drift-free check plus a reset.
They also constrain it in two ways. The selector approach costs about 2.2 seconds per frame, so the check must be cheap. The hand-set reset thresholds in the detector-in-the-loop work are reported as fragile, so the trigger must be calibrated rather than hand-tuned. In physics, the numerical solver plays the role of the detector, and the equation residual plays the role of the quality check.
On the simulation side, the closest work reduces drift without detecting or correcting it. The mesh-reduced model compresses meshes into a small latent state and runs temporal attention over the latent history ( Predicting Physics in Mesh-reduced Space with Temporal Attention). Its authors acknowledge it has no mechanism to discard a corrupted latent token. DRIFT-Net adds a global spectral branch and reports a flatter error curve over 100-step rollouts, but it remains open-loop. The State Space Neural Operator reaches sub-millisecond inference, but its recurrent state can accumulate bias with no supervisory reset. Conservation-structured operators (Pengwei Liu et al.) build physics into the layers but still cannot fix errors once they occur.
CFDONEval supplies an important constraint. It finds that the best long-horizon models (GFormer, OFormer) show "gradual, almost linear error increases," while message-passing models degrade sharply late in the rollout. If error growth is near-linear and uniform, adaptive triggering has little to gain over a fixed schedule. Our proposal therefore makes that heterogeneity a measured quantity rather than a premise. All of these surrogates are plug-in components for our method, not rivals to it.
Research Program
We fix a surrogate stepper $f_\theta$ and a reference solver $S$. The solver is the same code that generated the training data: the Exponax spectral solver for 2D periodic flows, and OpenFOAM for the mesh-based cylinder and vascular flows. At each step $t$ the controller computes a drift score $r_t$, the normalized discrete residual of the governing equations evaluated on the predicted state, plus conserved-quantity violations where applicable. Computing $r_t$ requires only finite differences on the predicted state, so it costs far less than a surrogate step.
When the calibrated score exceeds a threshold, the controller runs $k$ solver steps starting from the current state, replaces the state, and resumes. For history-based surrogates such as the mesh-reduced transformer, the corrected state is re-encoded and overwrites the stale latent tokens. This is the physics analogue of the memory hard-reset in the detector-in-the-loop work.
The controller solves a budgeted allocation problem:
$$\min_{\text{schedule}} \; \mathbb{E}\big[\,D(\hat u_{1:T}, u_{1:T})\,\big] \quad \text{s.t.} \quad T\,c_f + n_b\,k\,c_S \le B,$$
In this problem, $\hat u$ and $u$ are the predicted and reference trajectories over $T$ steps, and $D$ is a rollout error measure (defined below). The costs $c_f$ and $c_S$ are the measured wall-clock costs of one surrogate step and one solver step, $n_b$ is the number of bursts, $k$ is the burst length, and $B$ is the total latency budget.
We will build three triggers of increasing sophistication. The first is a fixed interval. The second is a residual threshold, calibrated on held-out trajectories so that the expected number of bursts meets the budget. The third is a small learned predictor that maps $r_t$ and its recent history to the expected error reduction from bursting now. The third is justified only if it beats the second.
The analytic core of the program is an error decomposition. For each rollout we split the error at every step into two parts. The off-physics part is measured as the distance between the predicted state and its own $k$-step solver projection. The on-physics part is the remaining discrepancy, which reflects phase and trajectory decorrelation. We then test whether bursts remove the first part and leave the second, as the core claim predicts.
Baselines
The naive reference point is the pure open-loop surrogate with no correction, run to the full horizon. Every other configuration must beat it at equal wall-clock time, not equal step count.
The strongest existing competitor on the 2D periodic flows is DRIFT-Net run open-loop, because it is the method explicitly designed to flatten long-horizon error growth. Against the scOT backbone of POSEIDON, DRIFT-Net reports relative $L_1$ error reductions of 7% to 54% on the POSEIDON Navier–Stokes tasks and a throughput of 158 steps/s versus 118 steps/s on Forced Kolmogorov Flow (DRIFT-Net). We will retrain it on our data splits with its published configuration, which uses 17M parameters, and give every surrogate the same training compute and the same hyperparameter-search budget.
On meshes, the strongest competitor is the mesh-reduced temporal-attention model, which reports RMSE "nearly 20 times lower" than MeshGraphNet on long cylinder rollouts ( Predicting Physics in Mesh-reduced Space with Temporal Attention). The file gives no absolute error value for it, nor any per-model numeric values for CFDONEval's long-horizon challenge. We will therefore reproduce these baselines rather than quote them.
The main competitor to our trigger is fixed-interval bursting at the same total solver budget, sweeping both the interval and $k$. This is the ablation that isolates the proposal's key ingredient: the state-dependent timing of corrections. A second ablation fires the same number of bursts at uniformly random times, which separates "when" from "how many." A third replaces the solver burst with a learned one-step denoising corrector of equal cost, which tests whether the physics solver matters or any corrector would do.
Beating the baselines means two things. At a solver budget of at most 10% of wall-clock time, triggered bursts should reach the error threshold at least twice as late as open-loop DRIFT-Net. Separately, on the systems where we measure uneven error growth, residual triggering should beat the best-tuned fixed interval, with the win holding across seeds.
Why not just…?
Why not just train with longer unrolled losses or noise injection so the surrogate stops drifting? These methods slow drift, but they do not detect it, and CFDONEval shows that even the most stable architectures still accumulate error roughly linearly (CFDONEval). Unrolled training is also memory-bound in exactly the way the State Space Neural Operator paper describes. We will include an unrolled-trained surrogate both as a baseline and as the surrogate inside our controller. If bursts add nothing on top of it, the proposal fails on that system.
Why not just correct every $k$ steps? This is the real threat. If error accumulates uniformly, as CFDONEval's near-linear curves suggest for attention models, a tuned fixed interval should match any trigger. We therefore measure the variance of per-step error growth across trajectories and over time for each system. We predict an advantage for residual triggering only where that variance is high: shock-bearing sonic flow over the wedge, forced Kolmogorov turbulence, and pulsatile vascular flow. We predict no advantage on steady vortex shedding, and a null result there is the expected outcome, not a failure.
Why not just use a better architecture, or skip the surrogate and run the solver at lower resolution? Better architectures are complementary, which is why DRIFT-Net and the mesh-reduced model serve as inner surrogates rather than rivals. A coarse-resolution solver is a legitimate alternative corrector. We will include it as a burst variant, with coarse steps projected up to full resolution. It will also run as a standalone baseline at the same wall-clock budget, so the comparison shows whether cheap full-physics beats a fast surrogate with sparse fine-physics.
Proposed Experiments
On the Forced Kolmogorov Flow setting from ApeBench and POSEIDON, we will generate data with Exponax, following the pipeline in the pde-transformer codebase. We will extend rollouts from 100 steps to 1,000. Because pointwise error is meaningless for chaotic flow after decorrelation, we will report three quantities: pointwise relative $L_1$ error up to the decorrelation time, the kinetic-energy-spectrum error used by CFDONEval, and time-to-blow-up.
On the mesh-reduced suite (cylinder flow, sonic wedge flow, vascular aneurysm), we will use OpenFOAM bursts. There we will report RMSE over the horizon, the phase error of the shedding frequency, and conservation violation. For breadth, we will add two time-dependent datasets from The Well, whose codebase we will use, with bursts from the originating solver where it is available.
Every result will be plotted as error against measured wall-clock time. The pure solver and the pure surrogate will appear as the two endpoints, with each schedule tracing a curve between them.
The first decisive check is the error decomposition. If bursts do not reduce the off-physics error more than the on-physics error, the mechanism we propose is wrong, even if raw error improves. The second is the heterogeneity test described above: the residual trigger should win exactly where error growth is uneven. The third is the corrector swap. If a learned denoiser of equal cost matches the solver burst, including on out-of-distribution Reynolds numbers, then the solver is unnecessary and the contribution reduces to a scheduling rule for learned correctors.
References
- Predicting Physics in Mesh-reduced Space with Temporal Attention
- Video Object Segmentation Using Space-Time Memory Networks
- FEELVOS: Fast End-To-End Embedding Learning for Video Object Segmentation
- Mask Selection and Propagation for Unsupervised Video Object Segmentation
- Detector-in-the-Loop Tracking: Active Memory Rectification for Stable Glottic Opening Localization
- DRIFT-Net: A Spectral-Coupled Neural Operator for PDEs Learning
- Merging Memory and Space: A State Space Neural Operator
- PAPM: A Physics-aware Proxy Model for Process Systems
- CFDONEval: A Comprehensive Evaluation of Operator-Learning Neural Network Models for Computational Fluid Dynamics
- The Well: a Large-Scale Collection of Diverse Physics Simulations for Machine Learning