arXiv(opens in a new tab)cs.LGAug 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2608.22309

StocBench: A Benchmark for Generative Modeling of Stochastic Dynamics

Sebastian Pfister, Benjamin Holzschuh, Nils Thuerey

Abstract

We benchmark transport-based generative models as well as distillation-based few-step methods for the probabilistic forecasting of stochastic fluid flows, with a particular focus on performance under limited inference budgets. All methods are evaluated on a two-dimensional Kolmogorov flow with stochastic forcing. We measure one-step distributional accuracy against large simulated reference ensembles and assess whether the invariant measure is preserved during autoregressive rollouts via the enstrophy spectrum. On the stochastic task, flow matching achieves the most accurate one-step conditional distribution at high inference budgets, while the second-order exponential integrator DPM-2 is strongest at very low NFE. Few-step distillation methods are competitive with the multi-step methods and preserve the enstrophy spectrum particularly well. A deterministic control task, in which the forcing over the prediction interval is observed, separates aleatoric from epistemic uncertainty. Model performance does not translate between the two settings: the distilled models are competitive on the stochastic task but least accurate on the control task. While stochastic diffusion samplers such as DDPM better preserve the enstrophy spectrum during rollouts in the stochastic setting, deterministic samplers such as DDIM and DPM-2 show better spectral preservation in the deterministic setting. The benchmark is provided as a ready-to-use Python package at https://github.com/tum-pbs/stocbench.

1. Introduction

Deterministic dynamics can appear stochastic when only part of the system state is observed or when the system is highly chaotic. In these cases, we are often interested in the conditional distribution of future states rather than a single best prediction. Examples include probabilistic ensemble weather prediction (Lam et al., 2023; Price et al., 2025), stochastic subgrid-scale parameterization in climate models (Berner et al., 2017), and surrogate modeling of turbulent flows with unresolved fine-scale forcing (Beck et al., 2019). Benchmarks for probabilistic surrogates for stochastic PDEs (SPDEs) have recently begun to emerge: SPDEBench (Li et al., 2025) evaluates neural operators across a range of SPDEs, and the concurrent TRIE framework (Srikishan et al., 2026) proposes evaluation criteria for SPDE surrogates. Neither work, however, carefully compares transport-based generative methods, such as diffusion models, flow matching, or stochastic interpolation, or their distilled single-step variants, nor analyzes how inference budget affects distributional accuracy. STOCBENCH focuses precisely on this comparison.

With this work, our aim is to provide a benchmarking scenario from the regime of turbulent flows that is comparatively easy to use, and importantly, comes with detailed ground-truth statistics and methods for evaluating distributional accuracy of different methods.

A central concept for evaluating generative models of stochastic dynamics is the invariant measure. For a dissipative stochastic system such as stochastically forced Navier–Stokes, trajectories converge after an initial transient to a statistically stationary regime described by a probability distribution μ\mu over the state space that is left unchanged by the dynamics. If ωt∼μ\omega_t \sim \mu and the system evolves one step forward, then likewise ωt+Δt∼μ\omega_{t+\Delta t} \sim \mu. This long-time distribution encodes physically meaningful statistics, such as the average energy content at each spatial scale. A surrogate that correctly learns the single-step conditional P(ωt+Δt∣ωt)P(\omega_{t+\Delta t} \mid \omega_t) should, when composed autoregressively, produce trajectories whose long-time statistics also match μ\mu. In practice, even small biases in the learned conditional, for example systematic underestimation of variance or smoothing of high-frequency content, accumulate over rollout steps and cause the model to drift away from the true invariant measure. We evaluate this in the form of the enstrophy spectrum, which describes how vorticity energy is distributed across spatial scales at stationarity and is directly computable from ensemble rollouts.

1^{1}School of Computation, Information and Technology, Technical University of Munich, Germany. Correspondence to: Sebastian Pfister sebastian.pfister@tum.de.

Preprint. August 25, 2026.

Overall, our benchmark assesses both one-step conditional probabilistic forecasting, i.e., learning the conditional distribution of the next state given the current state, and how well the invariant measure is respected in long-horizon rollout scenarios, which is probed via the enstrophy spectrum. Specifically, we consider (i) one-step mean and standard deviation errors, as well as energy distance, and (ii) the mean difference in the average enstrophy spectrum between the predictions and ensemble references in multi-step autoregressive rollouts. All reference ensembles are obtained from a numerical simulator.

In addition to the probabilistic setting with the stochastic forcing, we evaluate a deterministic variant in which the model is conditioned on the exact forcing. The two variants of our benchmark probe fundamentally different model capabilities. In the stochastic variant, the random forcing is unobserved and the uncertainty in the next state is ir-reducible, i.e., no additional information could remove it. The model must capture a genuine conditional distribution whose spread reflects the unknown driving noise, and autoregressive rollouts must converge to the invariant measure μ\mu. In the deterministic variant, the forcing is provided as input and the next state is fully determined by the current vorticity and forcing together. The task therefore reduces to learning a deterministic simulation step, closely resembling the regime studied by neural operators (Li et al., 2021; Brandstetter et al., 2022; Holzschuh et al., 2025). A well-calibrated model should collapse its predictive distribution to a point mass in this setting. The two tasks are thus complementary: the stochastic task tests distributional generation and long-time spectral statistics, while the deterministic task acts as a sanity check that models suppress spurious stochasticity when the physics is fully observed. Additionally, comparing the ranking of models in the stochastic and deterministic settings allows us to answer the question: Does model performance translate from the stochastic setting to the deterministic one and vice versa?

For both variants, we evaluate several transport-based models on our benchmark, including DDPM (Ho et al., 2020), DDIM (Song et al., 2021a), DPM-2 (Lu et al., 2022), flow matching (Lipman et al., 2023), and stochastic interpolation (Albergo & Vanden-Eijnden, 2023; Albergo et al., 2025; Chen et al., 2024b). Since transport-based models often perform poorly when the inference budget is very small, we also evaluate distillation methods that are designed to generate samples in only a few steps, or even a single step (Song et al., 2023; Sauer et al., 2024). Throughout, we focus on single-step conditional methods that learn P(ωt+Δt∣ωt)P(\omega_{t+\Delta t} \mid \omega_t). Restricting to this setting isolates the quality of the generative step itself from confounding factors such as temporal bundling or extended input histories; we discuss these extensions in the related work.

Importantly, StocBench provides a statistically robust evaluation. The training set comprises 1,500 trajectories with 200 frames each, totaling 300,000 turbulent-flow snapshots. For the one-step evaluation, we estimate ground-truth conditional statistics from 5,000 simulated next states for each of 48 conditions, and compare them against model ensembles of 3,000 samples per condition. For the long-term evaluation, we unroll 5,000 initial states over 50 autoregressive steps, yielding 250,000 predicted transitions from which we assess whether models preserve the enstrophy spectrum of the invariant measure.

To summarize, our contributions are:

• We introduce STOCBENCH, a benchmark for conditional stochastic forecasting in fluid dynamics based on the stochastically forced Kolmogorov flow of Chen et al. (2024b). The benchmark provides datasets and evaluation metrics in a ready-to-use Python package for reproducible model comparison. Special care was taken to provide robust ground truth statistics for evaluation.

• We evaluate representative transport-based generative methods on STOCBENCH and analyze their performance under inference budgets ranging from 10 to 400 network evaluations per sample. We further compare them against distillation-based approaches that generate samples with only one or two network evaluations.

• We include a deterministic prediction task in which the model is conditioned on the forcing, yielding dynamics and enstrophy spectra similar to the stochastic variant. This task separates aleatoric from epistemic uncertainty and tests whether model performance translates between the stochastic and deterministic settings.

References (29)