Memory-Conditioned Flow-Matching for Stable Autoregressive PDE Rollouts
Victor Armegioiu
TL;DR
This work addresses the instability of autoregressive PDE rollouts in coarse-to-fine multiscale regimes by introducing memory-conditioned flow matching. Grounded in the Mori–Zwanzig decomposition, it shows that a compact memory state is essential to approximate history-dependent tail priors and stabilize long-horizon generation, while retaining a Markovian internal-time transport. The Memory-Conditioned Rectified Flow (MCRF) framework augments a convolutional backbone with a memory pathway, and provides a formal rollout bound that decomposes errors into memory-approximation and conditional-generation components. Empirically, on 2D compressible Euler benchmarks with shocks and mixing, the method delivers substantial stability gains and improved multi-scale fidelity, especially in the low- and mid-frequency bands, with additional robustness from degraded-conditioning training.
Abstract
Autoregressive generative PDE solvers can be accurate one step ahead yet drift over long rollouts, especially in coarse-to-fine regimes where each step must regenerate unresolved fine scales. This is the regime of diffusion and flow-matching generators: although their internal dynamics are Markovian, rollout stability is governed by per-step \emph{conditional law} errors. Using the Mori--Zwanzig projection formalism, we show that eliminating unresolved variables yields an exact resolved evolution with a Markov term, a memory term, and an orthogonal forcing, exposing a structural limitation of memoryless closures. Motivated by this, we introduce memory-conditioned diffusion/flow-matching with a compact online state injected into denoising via latent features. Via disintegration, memory induces a structured conditional tail prior for unresolved scales and reduces the transport needed to populate missing frequencies. We prove Wasserstein stability of the resulting conditional kernel. We then derive discrete Grönwall rollout bounds that separate memory approximation from conditional generation error. Experiments on compressible flows with shocks and multiscale mixing show improved accuracy and markedly more stable long-horizon rollouts, with better fine-scale spectral and statistical fidelity.
