Kastor: An efficient fine-tuning strategy for generative emulation of PDE simulations

📅 2026-08-06
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Traditional PDE solvers are computationally expensive, while existing autoregressive surrogate models suffer from error accumulation in long-term predictions and struggle to capture stochasticity. To address these limitations, this work proposes Kastor, a two-stage inference framework: the first stage employs a large-step causal autoregressive model to efficiently generate coarse-grained solutions, and the second stage refines these via a non-causal temporal super-resolution network to recover fine-grained dynamics. The method introduces mean prediction regularization (MPR) and spatial gradient matching to enhance physical consistency. Evaluated on The Well benchmark, Kastor reduces prediction error by 42.9% on average compared to fine-tuned Walrus, achieves lower variance-normalized RMSE on 8 out of 10 datasets, and simultaneously improves spectral fidelity and computational efficiency.
📝 Abstract
Machine learning offers a promising avenue to accelerate physical simulations by replacing computationally expensive traditional Partial Differential Equation (PDE) solvers with fast, differentiable surrogate models. However, standard auto-regressive ML emulators often suffer from error accumulation over long horizons and struggle to capture the stochasticity of complex physical systems. In this paper, we propose Kastor, a comprehensive methodology to adapt a deterministic physics foundation model into a highly efficient and accurate generative surrogate. First, we introduce a two-stage inference scheme that combines a large-stride causal auto-regressive model with a non-causal temporal super-resolution network, significantly reducing error accumulation while minimizing computational cost. Second, we present Mean prediction regularization (MPR), a novel training objective that constrains the generative model to predict the deterministic distribution mean under null noise conditioning. This regularization dramatically improves the performance and stability of both Functional Generative Networks (FGN) and diffusion-based emulators. Finally, we demonstrate that incorporating spatial gradient matching improves the accuracy and physical fidelity of the simulations as measured by power spectrum density. Extensive evaluations on diverse simulation datasets of the benchmark The Well show that with these components, our model outperforms competing methods in forecasting accuracy, spectral consistency, and computational efficiency. Our model achieves a 42.9% average reduction in forecasting compared to our reference based on the Walrus finetuning methodology, and outperforms Walrus for 8 out of 10 datasets on variance-normalized RMSE (VRMSE).
Problem

Research questions and friction points this paper is trying to address.

PDE simulations
error accumulation
stochasticity
generative emulation
physical fidelity
Innovation

Methods, ideas, or system contributions that make the work stand out.

Kastor
generative emulation
mean prediction regularization
temporal super-resolution
gradient matching