betaFeedback

WorksPhysics and Astronomy

A generative foundation model for 2D magnetized plasma turbulence

Abstract

We present a proof-of-principle study demonstrating a conditional generative foundation model for self-organizing magnetized plasma turbulence. Built on a multichannel flow-matching framework with a spectral decomposition strategy, the model is trained on direct numerical simulations of 2D modified Hasegawa-Wakatani (MHW) turbulence across the hydrodynamic to adiabatic parameter range. Without retraining, this single model successfully performs three distinct downstream tasks: (i) unconditional generation of statistically faithful quasi-steady-state snapshots that recover the directional energy spectra and amplitude statistics, from which statistical transport quantities, including turbulent flux and effective diffusivity, alongside their uncertainties, are inferred directly; (ii) super-resolution from 4×4\times and 8×8\times downsampled observations to reconstruct fine-scale turbulence and large-scale zonal structures; and (iii) full-field inpainting from sparse spatial observations covering as little as ∼10%\sim 10\% of the domain. The generated fields faithfully reproduce regime-dependent turbulence vs. zonal-flow states and energy partitioning. Under extreme sparsity the long-correlation zonal flows are pinned by only a handful of observations, while the residual uncertainty concentrates in the small-scale turbulent fluctuations. These results establish flow-matching generative models as powerful, unified surrogates for state generation, statistical inference, and sparse-data reconstruction, providing a scalable baseline for 3D plasma turbulence and experimental applications.

Introduction

Magnetized plasma turbulence and its nonlinear interaction with self-generated mean flows, in particular zonal flows, govern cross-field transport in essentially every magnetic-confinement fusion device and underlie the formation of transport barriers and confinement transitions[1]. A predictive understanding of this turbulence-flow interplay is therefore essential for fusion reactor design and operation, but is made difficult by the extreme range of spatial and temporal scales, the strongly nonlinear and chaotic character of the dynamics, and the high cost of high-fidelity gyrokinetic or fluid simulations.

For the past four decades, reduced fluid models of drift-wave turbulence have provided a tractable yet physically meaningful setting in which to study these phenomena. The Hasegawa-Wakatani (HW) model[2] in its original form describes resistive drift-wave turbulence in a magnetized slab through two coupled equations for the perturbed density and the electrostatic potential. In the modified Hasegawa-Wakatani (MHW) model[3], the resistive coupling is restricted to the non-zonal components of the fields, thus allowing the spontaneous generation of stable zonal flows through turbulent Reynolds stresses and the subsequent suppression of cross-field transport. The MHW model thus retains, within a minimal two-field 2D system, the essence of drift-wave-zonal-flow interaction. Its two asymptotic limits, hydrodynamic at small adiabaticity and quasi-adiabatic at large adiabaticity, bracket two regimes of practical interest: nearly isotropic turbulence and strongly anisotropic turbulence-zonal-flow states[3]. Statistical and phase-transition properties of HW/MHW turbulence have continued to attract attention[4, 5].

Recent years have seen rapid adoption of machine learning (ML) in plasma physics, ranging from data-driven closures[6, 7] and surrogate models[8] to disruption predictors[9]. The HW/MHW family has served as a test bed for many of these developments, including data-driven rediscovery of the model equations from simulation data[10], non-intrusive reduced-order modelling[11], calibration of coarse-grid dissipation against high-fidelity turbulence statistics[12], and neural-operator surrogates that capture the bifurcating drift-wave and zonal-flow dynamics[5]. However, conventional supervised learning approaches face fundamental challenges in turbulence modeling: they are deterministic (unable to sample from the conditional distribution of turbulent states) and task-specific (a model trained for forward prediction cannot perform inference or reconstruction without retraining). Generative models address these limitations by learning the full data distribution p(x∣α)p(x|\alpha) rather than a point map, enabling (i) ensemble sampling with uncertainty quantification, (ii) conditioning on partial observations for inverse problems without task-specific retraining, and (iii) potential generalization across regimes. Generative approaches have begun to enter plasma turbulence research, through GAN-based deconvolution for large-eddy simulations[13] and variational autoencoder-based generative surrogates for long-time transport simulations[14]. In parallel, generative models such as diffusion models[15] and the more recent flow-matching framework[16] have rapidly matured into powerful tools for high-fidelity reconstruction, super-resolution and inpainting in hydrodynamic turbulence[17, 18, 19, 20, 21]. However, these plasma applications remain task-specific and single-regime. A unified conditional generative foundation model for magnetized plasma turbulence, one that spans turbulence regimes and serves state synthesis, statistical inference, and sparse-data reconstruction within a single learned prior, and captures the coexistence and competition between self-generated zonal flows and small-scale drift-wave turbulence, has so far been lacking.

In this work, we present a proof-of-principle study of a generative foundation model for magnetized plasma turbulence, using the 2D MHW system as a controlled testbed. We build a single conditional generative model on direct numerical simulations spanning the full hydrodynamic-to-adiabatic range, using a multichannel flow-matching model[20] augmented with a spectral decomposition strategy[18] to mitigate spectral bias and capture multiscale dynamics. The trained model demonstrates three key capabilities: it unconditionally synthesizes statistically faithful turbulent state realizations that recover regime-dependent energy spectra and zonal-flow morphology, from which statistical transport quantities such as the turbulent particle flux are inferred directly, and the same trained model supports two practically important conditional reconstruction tasks—physical-state super-resolution from heavily downsampled low-resolution fields, and full-field reconstruction from spatially sparse observations without any task-specific retraining or finetuning. In addition, we characterize how reconstruction uncertainty is distributed across scales under extreme observation sparsity: zonal flows are readily pinned by sparse observations due to long correlation lengths, while higher uncertainty concentrates in small-scale turbulent fluctuations. These results have implications for plasma diagnostics and data assimilation in more realistic experimental settings.

The remainder of the paper is organized as follows. Section II introduces the MHW equations, outlines the simulation campaign and the construction of the training and evaluation datasets. Section III describes the multichannel flow-matching generative model used in this study. Section IV presents the unconditional-generation and transport-inference results, the super-resolution and inpainting results, and the generalization to adiabaticity values not used in training, together with quantitative assessments of statistical fidelity. Section V summarizes the findings and discusses open issues and future directions.

Physics models and data generation

The modified Hasegawa–Wakatani system

We consider the 2D MHW model in a doubly periodic slab with Cartesian coordinates (x,y)(x, y), where xx denotes the radial direction and yy is the binormal/poloidal direction. Under the standard drift-wave normalization, the model evolves the fluctuating plasma density n(x,y,t)n(x, y, t) and electrostatic potential ϕ(x,y,t)\phi(x, y, t) according to

∂tn+{ϕ,n}=α(ϕ~−n~)−κ∂yϕ−νn(−∇⊥2)Nn,(1)\partial_t n + \{\phi,n\} = \alpha\left(\widetilde{\phi}-\widetilde{n}\right)-\kappa\partial_y\phi-\nu_n\left(-\nabla_\perp^2\right)^N n, \tag*{(1)}
∂tϖ+{ϕ,ϖ}=α(ϕ~−n~)−νϖ(−∇⊥2)Nϖ,(2)\partial_t\varpi+\{\phi,\varpi\}=\alpha\left(\widetilde{\phi}-\widetilde{n}\right)-\nu_\varpi\left(-\nabla_\perp^2\right)^N\varpi, \tag*{(2)}

where ϖ≡∇⊥2ϕ\varpi\equiv\nabla_\perp^2\phi is the vorticity, {f,g}≡∂xf ∂yg−∂yf ∂xg\{f,g\}\equiv\partial_xf\,\partial_yg-\partial_yf\,\partial_xg is the standard Poisson bracket, α\alpha is the adiabaticity parameter, κ\kappa is the normalized background density gradient, and the νn,ϖ(−∇⊥2)N\nu_{n,\varpi}\left(-\nabla_\perp^2\right)^N terms model small-scale hyper-dissipation3^3.

A field is decomposed into its zonal (flux-surface-averaged) and non-zonal (fluctuating) components via ⟨f⟩y=(1/Ly)∫f dy\langle f\rangle_y=(1/L_y)\int f\,dy and f~=f−⟨f⟩y\widetilde{f}=f-\langle f\rangle_y. Restricting the resistive coupling to the non-zonal components (ϕ~−n~)(\widetilde{\phi}-\widetilde{n}) is the key MHW modification, since the zonal components are constant on a flux surface (k∥=0k_\parallel=0) and therefore do not drive the parallel electron current that the resistive coupling represents3^3.

The system admits two quadratic invariants under ideal dynamics:

E=12∫(∣∇⊥ϕ∣2+n2) dx dy,(3)E=\frac{1}{2}\int\left(\lvert\nabla_\perp\phi\rvert^2+n^2\right)\,dx\,dy, \tag*{(3)}
W=12∫(n−ϖ)2 dx dy,(4)W=\frac{1}{2}\int(n-\varpi)^2\,dx\,dy, \tag*{(4)}

i.e. the total energy EE (a sum of kinetic and internal energy) and the generalized enstrophy WW. The MHW system is linearly unstable for any finite κ\kappa when numerical dissipation is neglected[3]; for the parameters scanned in this work (κ=1\kappa= 1, α∈[0.1,1]\alpha\in[0.1, 1]), the linear dispersion relation gives maximum growth rates γmax⁡≃0.11−0.15\gamma_{\max} \simeq0.11 - 0.15 at kyρs≃0.8−1.3k_y \rho_s \simeq0.8 - 1.3 and kx=0k_x = 0, peaking near α≃0.2−0.3\alpha\simeq0.2 - 0.3. Nonlinearly, the MHW system has two asymptotic limits: the hydrodynamic limit (α→0\alpha\to0) where the density and vorticity equations decouple and the dynamics reduces to 2D Navier-Stokes-like turbulence driven by the linear instability, producing nearly isotropic small-scale turbulence, and the adiabatic limit (α→∞\alpha\to\infty) where the resistive coupling forces n~≈ϕ~\tilde{n} \approx\tilde{\phi}, yielding a Hasegawa-Mima-like regime dominated by drift-wave-zonal-flow interaction.

Direct numerical simulations

Training and evaluation data are generated with the GDB code[22], which solves Eqs. (1) and (2) on a doubly periodic square domain of physical size (Lx,Ly)=(64,64)(L_x, L_y) = (64, 64) (in units of ρs\rho_s) at a numerical resolution of (Nx,Ny)=(512,512)(N_x, N_y) = (512, 512). The spatial discretization uses the Arakawa scheme for the nonlinear Poisson brackets, a pseudospectral treatment for the hyper-diffusion operators (sixth order, N=3N = 3, with νn=νϖ=10−5\nu_n = \nu_\varpi= 10^{-5} in normalized units), and the trapezoidal leapfrog time integrator with Δt=2.5×10−3\Delta t = 2.5 \times10^{-3} in normalized time units.

In this study, we fix the normalized background density gradient at κ=1.0\kappa= 1.0 and scan the adiabaticity parameter α\alpha over α∈{0.1,0.2,…,1.0}\alpha\in\{0.1, 0.2, \ldots, 1.0\} in increments of 0.1. For each α\alpha, the simulation is run from random initial perturbations through the linear-growth phase into a statistically stationary saturated state, which is reached within the first 2×1032 \times10^3 normalized time units. Snapshots of (n,ϕ)(n, \phi) are then recorded at intervals of one time unit throughout the saturated phase, yielding a retained record of 20,000 snapshots per case. In addition, three simulations at adiabaticity values not used in training, α=0.25\alpha= 0.25 and 0.750.75 (within the training range) and α=1.1\alpha= 1.1 (beyond it), are performed with the same numerical setup and saturation procedure. They serve only as references for the zero-shot tests of Section IV E, and none of their snapshots enters the training set.

Pre-processing and dataset splits

Each 512×512512 \times512 snapshot is downsampled to 128×128128 \times128 by retaining every fourth grid point in each direction, balancing computational efficiency with resolution of energy-containing scales across all α\alpha regimes. The density and potential channels are normalized independently to [−1,1][-1,1] using per-α\alpha min-max scaling computed from the training dataset. This normalization is applied consistently during training and inference, and inverted for all post-hoc physical diagnostics. Critically, the train-test split is performed temporally rather than randomly: the first 18,500 snapshots from each α\alpha case (spanning the initial portion of the saturated phase) form the training set, while the final 1,500 snapshots (from later in the saturated phase) are withheld entirely and reserved for evaluation. This temporal split ensures that training and evaluation cover non-overlapping time intervals, providing a more stringent test of generalization than random splitting from a single time window. Unlike many data-driven approaches that randomly shuffle training and test samples from the same temporal ensemble, our protocol better reflects the challenge of predicting future or unseen transient realizations of turbulent dynamics.

Generative foundation model: multichannel flow matching with conditional guidance

Optimal transport flow-matching framework

Flow matching[16] is a generative modeling approach for learning complex data distributions through a continuous normalizing flow. The key idea is to construct a deterministic sample path (s)(s) that evolves from a tractable base distribution (e.g., a standard Gaussian) at pseudo-time s=0s = 0 to the target data distribution at s=1s = 1. Here, x(s)x(s) represents a spatiotemporal field (in our case, the turbulent density and potential contours), and its evolution is governed by a learned neural velocity field vθv_\theta:

dx(s)ds=vθ(x(s),s;c1),x(0)∼p0,(5)\frac{dx(s)}{ds} = v_\theta\left(x(s),s;c_1\right), \qquad x(0) \sim p_0, \tag*{(5)}

where p0p_0 is a standard Gaussian (the base distribution) and c1c_1 is prior conditioning information (e.g., adiabaticity parameter α\alpha, discussed above). At s=1s = 1, samples generated by integrating this ODE converge to the data distribution p1p_1.

Training uses optimal-transport (OT) flow matching, which specifies a linear interpolation path between p0p_0 and p1p_1:

xs=(1−s)x0+sx1,x_s = (1-s)x_0 + sx_1,

where x0∼p0x_0 \sim p_0 and x1∼pdatax_1 \sim p_{\mathrm{data}}. The velocity field is trained to minimize

LFM(θ)=Es∼Uniform⁡[0,1], x1∼pdata, x0∼p0∥vθ(xs,s;c1)−(x1−x0)∥22.(6)\mathcal{L}_{\mathrm{FM}}(\theta) = \mathbb{E}_{s\sim\operatorname{Uniform}[0,1],\,x_1\sim p_{\mathrm{data}},\,x_0\sim p_0}\left\|v_\theta(x_s,s;c_1)-(x_1-x_0)\right\|_2^2. \tag*{(6)}

Compared to diffusion models, flow matching offers two practical advantages: (i) the regression target in Eq. (6) is simple and simulation-free (no noise schedule or score-matching formulation is needed), and (ii) the straight-line OT paths are efficient to integrate, typically requiring fewer function evaluations at inference time. The vector field vθv_\theta is parameterized by a U-Net-style convolutional architecture with sinusoidal embeddings for pseudo-time ss and learned embeddings for the conditioning variable c1c_1. At inference, samples are generated by solving Eq. (5) from a random Gaussian seed using a standard ODE integrator (e.g., forward Euler or RK45). The full architectural and training details are provided in Appendix C.

Multichannel spectral decomposition

To jointly model the coupled dynamics of the two MHW fields (nn, ϕ\phi), we adopt the multichannel flow-matching formulation of Parikh et al. ²⁰. A naive two-channel representation x=[n,ϕ]x=[n,\phi] would allow the network to learn their joint distribution p(n,ϕ∣α)p(n,\phi\mid\alpha) and capture cross-correlations between density and potential fluctuations, which is a necessary feature since the MHW dynamics couple nn and ϕ\phi through the adiabaticity parameter α\alpha (Eqs. (1)–(2)). However, this direct two-channel approach suffers from a critical normalization imbalance: the energy-containing scales of ϕ\phi (low wavenumbers) dominate the dynamic range of the channel, causing small-scale ϕ\phi fluctuations (high wavenumbers) to be numerically suppressed when both fields are normalized independently to [−1,1][-1,1] during training. This underrepresentation of small-scale potential structure prevents the network from accurately learning the multiscale, coupled physics of the (n,ϕ)(n,\phi) system.

We address this by decomposing ϕ\phi into low and high-wavenumber components before normalization, thereby mitigating the spectral bias inherent in neural networks trained on normalized data. Define the box wavenumber q(kx,ky)=max⁡(∣kx∣,∣ky∣)q(k_x,k_y)=\max(\lvert k_x\rvert,\lvert k_y\rvert) and introduce two overlapping Fourier masks:

ML(kx,ky)={1if q(kx,ky)≤kh,0otherwise(7)M_{\mathrm{L}}(k_x,k_y)= \begin{cases} 1 & \text{if } q(k_x,k_y)\leq k_h,\\ 0 & \text{otherwise} \end{cases} \tag*{(7)}
MH(kx,ky)={1if q(kx,ky)≥kl,0otherwise(8)M_{\mathrm{H}}(k_x,k_y)= \begin{cases} 1 & \text{if } q(k_x,k_y)\geq k_l,\\ 0 & \text{otherwise} \end{cases} \tag*{(8)}

where (kl,kh)=(1.2,1.6)ρs−1(k_l,k_h)=(1.2,1.6)\rho_s^{-1} in this study. The corresponding spatial components are

ϕL=F−1[MLϕ^],(9)\phi_{\mathrm{L}}=\mathcal{F}^{-1}[M_{\mathrm{L}}\hat{\phi}], \tag*{(9)}
ϕH=F−1[MHϕ^],(10)\phi_{\mathrm{H}}=\mathcal{F}^{-1}[M_{\mathrm{H}}\hat{\phi}], \tag*{(10)}

where ϕ^=F[ϕ]\hat{\phi}=\mathcal{F}[\phi] is the Fourier transform.

Modes satisfying kl≤q(kx,ky)≤khk_l\leq q(k_x,k_y)\leq k_h appear in both channels. This overlap is essential: it eliminates sharp spectral discontinuities at the cutoff wavenumber khk_h, which would otherwise introduce training artifacts and impair the network’s ability to learn smooth, scale-dependent variations in the dynamics. The three normalized channels x=[n,ϕL,ϕH]x=[n,\phi_{\mathrm{L}},\phi_{\mathrm{H}}] are then supplied to the flow-matching network. This ensures that small-scale potential fluctuations receive representational weight comparable to large-scale features during training, rather than being drowned out by energy-containing scales. The effectiveness of this spectral decomposition strategy is validated in Appendix B, where ablations show that omitting the decomposition results in degraded high-wavenumber fidelity in both unconditional samples and conditional reconstructions across all α\alpha regimes, a direct consequence of unmitigated spectral bias.

Prior conditioning: classifier-free adiabaticity guidance

The adiabaticity parameter α\alpha encodes the regime of plasma turbulence via the prior conditioning variable (c1c_1). During training, α\alpha is represented as a learned scalar embedding that is fused with the pseudo-time embedding before being passed to the U-Net backbone.

We employ classifier-free guidance[23], a training-time strategy that enables the same network to learn both conditional and unconditional distributions without requiring a separate classifier or likelihood model. Specifically, the α\alpha conditioning is randomly removed (i.e., set to zero or a null embedding) with probability pdrop=0.2p_{\mathrm{drop}}=0.2 during training. This forces the network to learn both

p(x∣α)(conditional distribution at regime α),(11)p(x \mid\alpha) \quad\text{(conditional distribution at regime } \alpha\text{),} \tag*{(11)}
p(x)(marginal distribution over all trained α values).(12)p(x) \quad\text{(marginal distribution over all trained } \alpha\text{ values).} \tag*{(12)}

Classifier-free guidance offers several practical advantages over classifier-based guidance (which would require training a separate classifier network or loss): (1) No additional model or likelihood computation is needed; all information flows through the single velocity field vθv_\theta. (2) The network learns to condition on α\alpha amortized within a single training objective, avoiding the need for task-specific retraining when switching between conditional and unconditional modes. (3) Because α\alpha is treated as a continuous scalar rather than a discrete class label, the learned conditional distribution can be queried at adiabaticity values not encountered during training, enabling zero-shot interpolation and extrapolation (Section IV E).

At inference, regime-specific samples are generated by providing the corresponding α\alpha value to the network. Unconditional samples are obtained by omitting the α\alpha signal, which samples from the learned marginal p(x)p(x).

Posterior conditioning: flow-guided measurement assimilation

Inverse problems are naturally formulated as Bayesian posterior inference: given a measurement c2=A(x∗)c_2 = \mathcal{A}(x^*) acquired under a known state-to-observable operator A\mathcal{A}, we seek samples from

p(x∣c2)∝p(c2∣x) p(x),p(x \mid c_2) \propto p(c_2 \mid x)\,p(x),

where p(x)p(x) is our learned prior (conditional or marginal, depending on whether α\alpha is known).

We employ a measurement-guided posterior sampling strategy, in the spirit of diffusion posterior sampling (DPS)[24], that combines the learned flow prior with gradient-based guidance[25]. At each pseudo-time step ss along the sampling trajectory, we use Tweedie’s estimate to predict the implied data-space target:

x^1(xs)=xs+(1−s) vθ(xs,s;c1).(13)\hat{x}_1(x_s) = x_s + (1-s)\,v_\theta(x_s,s;c_1). \tag*{(13)}

This prediction is then used to compute a measurement consistency loss:

J(xs)=∥c2−A(x^1(xs))∥22.J(x_s) = \lVert c_2 - \mathcal{A}(\hat{x}_1(x_s)) \rVert_2^2.

The gradient ∇xsJ\nabla_{x_s} J is used to steer the sampling ODE towards the posterior:

v~(xs,s;c1,c2)=vθ(xs,s;c1)−γ∥vθ(xs,s;c1)∥2∥∇xsJ∥2+ϵ∇xsJ(14)\tilde{v}(x_s,s;c_1,c_2) = v_\theta(x_s,s;c_1) - \gamma\frac{\lVert v_\theta(x_s,s;c_1)\rVert_2}{\lVert\nabla_{x_s}J\rVert_2+\epsilon}\nabla_{x_s}J \tag*{(14)}

where γ=0.25\gamma= 0.25 is a fixed scaling coefficient and ϵ=10−8\epsilon= 10^{-8} prevents division by zero. The adaptive rescaling in Eq. (14) normalizes the measurement gradient to the magnitude of the model’s velocity, ensuring that the likelihood correction remains balanced with the prior drift throughout the sampling trajectory. Without this rescaling, the measurement gradient would either overwhelm the prior dynamics (when large) or be negligible (when small), both pathologies that degrade posterior fidelity[25].

The modified ODE is integrated using forward Euler with Nsteps=200N_{\mathrm{steps}} = 200 uniform steps (Δs=1/Nsteps\Delta s = 1/N_{\mathrm{steps}}). Independent Gaussian seeds yield an ensemble of posterior samples, which we report as ensemble means with per-pixel variance to quantify reconstruction uncertainty.

No network retraining is required to apply this posterior sampling strategy to new measurement operators A\mathcal{A}. The learned velocity field vθv_\theta remains fixed; only the measurement operator and its gradient change. This enables immediate transfer to new inverse problems, a key feature of the proposed foundation model for practical scientific applications where data assimilation problems frequently change.

Downstream tasks

The trained flow-matching network, together with the posterior-sampling strategy above, enables three distinct downstream tasks without modification:

  • Task 1: Unconditional generation. Samples are drawn directly from the learned prior by integrating Eq. (5) with a random seed and no measurement guidance (c2=∅c_2 = \varnothing). This produces statistically representative turbulent states that reflect the learned data distribution p(x∣α)p(x|\alpha) at a specified adiabaticity α\alpha, or p(x)p(x) when conditioning is omitted. Ensemble statistics of nonlinear functionals of the fields, e.g., the turbulent particle flux (Section IV B), are evaluated directly on these samples.

  • Task 2: Super-resolution. The measurement operator ASR\mathcal{A}_{\mathrm{SR}} uniformly downsamples the target field by a factor of r∈{4,8}r \in\{4, 8\}:

ASR(x)=x∣every r gridpoint.\mathcal{A}_{\mathrm{SR}}(x) = x|_{\text{every } r\text{ gridpoint}}.

Given a low-resolution observation c2=ASR(x∗)c_2 = \mathcal{A}_{\mathrm{SR}}(x^*), the posterior sampler reconstructs a high-resolution field consistent with this coarse measurement, inferring the fine-scale structure from the learned prior.

  • Task 3: State inpainting. The measurement operator AIP\mathcal{A}_{\mathrm{IP}} applies a binary spatial mask M(x,y)∈{0,1}Nx×Ny\mathcal{M}(x,y) \in\{0,1\}^{N_x \times N_y}:

AIP(x)=M⊙x,\mathcal{A}_{\mathrm{IP}}(x) = \mathcal{M} \odot x,

where ⊙\odot denotes element-wise multiplication. The posterior sampler then reconstructs the full field from partial spatial observations, inferring unobserved regions from the learned prior while respecting the pixel values where observations are available.

Both conditional tasks (Tasks 2 and 3) use the same pre-trained flow-matching backbone without task-specific retraining, realized through the guided sampling scheme of Eq. (14). This is a core feature of foundation models: a single prior learned on diverse training data can be flexibly reused for downstream tasks with minimal additional computation.

Results

We organize the results as follows. Section IV A establishes, through unconditional sampling, that the model has correctly learned the regime-dependent statistics of the MHW system. Section IV B shows that statistical transport quantities and their uncertainties can be inferred directly from the generated ensembles. Section IV C demonstrates physical-state super-resolution from 4×4\times and 8×8\times downsampled fields, and Section IV D full-field reconstruction from spatially partial observations, characterizing how the reconstruction uncertainty is distributed across scales. Section IV E examines generalization to adiabaticity values not used in training.

All results are evaluated on snapshots withheld from the model’s training, as described in Sec. II C. For unconditional generation, we draw N=300N = 300 independent samples for each adiabaticity value α\alpha and compare their ensemble statistics with N=300N = 300 held-out DNS snapshots from the corresponding case.

For posterior reconstruction, each measurement is selected from a held-out DNS snapshot. Super-resolution measurements are obtained by uniformly downsampling the 128×128128 \times128 reference field by factors of 4 and 8, corresponding to observed resolutions of 32×3232 \times32 and 16×1616 \times16, respectively. Sparse-observation measurements are formed by retaining a prescribed fraction of spatial locations from the reference field. Unless otherwise stated, the same measurement operator is applied to both the density and potential channels. For each fixed measurement, 300 posterior samples are generated from independent Gaussian initializations while keeping the observation unchanged. Throughout the figures, nn and ϕ\phi denote the full fluctuating fields modelled by the network, including their zonal components; the zonal/non-zonal decomposition of Section II A enters only the resistive coupling term.

Sampling the learned prior across adiabaticity regimes

We first assess whether the model has captured the regime-dependent structure of the MHW system by drawing samples at each trained value of the adiabaticity parameter α\alpha and comparing them against held-out simulation snapshots. The comparison proceeds from qualitative flow structure to quantitative statistics: two-dimensional contours, directional energy spectra, point-wise probability density functions (PDFs), and a distribution-level embedding of the full sample sets. As shown in Figure 1, the generated samples reproduce the characteristic transition of the MHW system: at α=0.1\alpha= 0.1, both the density nn and potential ϕ\phi fields exhibit nearly isotropic small-scale turbulence, whereas at α=0.8\alpha= 0.8 the fields are dominated by zonally elongated bands. The generated samples are visually indistinguishable from the reference snapshots, indicating the model successfully synthesizes diverse turbulent states.

Figure 1. Density nn (top row) and potential ϕ\phi (bottom row) contours of a reference (ref.) snapshot and four unconditionally generated (gen.) samples at (a) α=0.1\alpha= 0.1 and (b) α=0.8\alpha= 0.8. The full doubly periodic 64×6464 \times64 (ρs\rho_s units) domain is shown; the color scale is shared across the panels of each row.

To quantify the fidelity of the generated fields scale by scale, we compare the 1-D total energy density spectra E(kx)\mathcal{E}(k_x) and E(ky)\mathcal{E}(k_y) (Eq. (18)) between the generated ensemble and the reference statistics at α=0.1\alpha= 0.1 and α=0.8\alpha= 0.8 (Figure 2).

Figure 2. Total energy density spectra E(kx)\mathcal{E}(k_x) (left column) and E(ky)\mathcal{E}(k_y) (right column) at α=0.1\alpha= 0.1 (top row) and α=0.8\alpha= 0.8 (bottom row). Dashed black lines denote the reference simulation statistics; solid red lines denote the mean over unconditionally generated samples, with shaded bands indicating the ensemble spread.

At α=0.1\alpha= 0.1, the generated spectra follow the reference across the full resolved wavenumber range in both directions, with a slight energy deficit at wavenumbers (∣k∣>5|k| > 5). At α=0.8\alpha= 0.8, the model is able to capture discrete peaks in E(kx)\mathcal{E}(k_x) associated with the dominant zonal-flow wavenumbers, indicating that the learned prior encodes the nonlinear zonal wavelength selection of the saturated state. However, the generated spectra flatten at wavenumbers (kx>3k_x > 3, ky>2.5k_y > 2.5), over-predicting the reference tail. This discrepancy is due to a known spectral bias issue of generative models[26], which recover low-frequency content preferentially and leave a residual noise floor at small scales. The residual is more visible at α=0.8\alpha= 0.8. because the saturated turbulence is roughly two orders of magnitude less energetic than at α=0.1\alpha= 0.1, so the high-kk reference energy decays to levels comparable with this noise floor. The kinetic and internal energy spectra are shown separately in Appendix B (Figure 15), which also quantifies the benefit of the spectral decomposition for the high-wavenumber floor.

Figure 15. Spectra of unconditional samples with and without spectral decomposition. Columns show the density spectra En(kx)\mathcal{E}_n(k_x), En(ky)\mathcal{E}_n(k_y) and kinetic-energy spectra Ek(kx)\mathcal{E}_k(k_x), Ek(ky)\mathcal{E}_k(k_y); rows correspond to α=0.1\alpha= 0.1 (top) and α=0.8\alpha= 0.8 (bottom). Each panel compares the reference statistics with the sample mean ±\pm one standard deviation from the spectral-decomposition model (red) and the baseline model trained without spectral-decomposition (blue).

Beyond second-order spectral statistics, we also compare the one-point amplitude statistics of the fluctuations. As shown in Figure 3, the generated PDFs of nn and ϕ\phi closely follow the reference in both regimes. Notably, the low-probability tails are recovered down to densities of ∼10−5\sim10^{-5} for both cases, with only minor tail deviations in ϕ\phi at α=0.8\alpha= 0.8, confirming that the high-wavenumber noise floor noted above does not distort the amplitude statistics of the fields.

Figure 3. Point-wise PDFs of density nn (left) and potential ϕ\phi (right) fluctuations at α=0.1\alpha= 0.1 (blue) and α=0.8\alpha= 0.8 (red). Dashed lines denote reference simulation data and solid lines denote unconditionally generated samples.

Finally, we examine whether the generated ensemble covers the reference distribution at the level of the entire dataset, rather than aggregated statistics from individual cases.

Figure 4 shows a joint t-SNE embedding of reference and generated samples across all ten trained values of α\alpha. The samples organize into well-separated clusters by α\alpha, and within every cluster the generated samples (crosses) interleave with the reference samples (circles) rather than forming a displaced or contracted sub-cluster. This indicates that conditioning on α\alpha reliably steers generation to the correct regime, without sign of either mode collapse or memorization. The clusters for adjacent α\alpha in the strong zonal-flow range (α=0.7−0.9\alpha= 0.7 - 0.9) lie closest in the embedding, which is consistent with the underlying physics as the system approaches the adiabatic limit.

Joint t-SNE embedding of reference and unconditionally generated snapshots

Figure 4. Joint t-SNE embedding of reference (circles) and unconditionally generated (crosses) snapshots for all trained values of α∈{0.1,…,1.0}\alpha\in\{0.1,\ldots,1.0\}.

Inference of statistical transport quantities

Because the model learns the joint distribution of (n,ϕ)(n, \phi) conditioned on the adiabaticity α\alpha, statistical transport quantities that are nonlinear functionals of both fields can be evaluated directly on unconditionally generated ensembles, without the model ever having been trained on them. The primary quantity of interest is the radial turbulent particle flux

Γn(α)=⟨n~ v~x⟩xy=−⟨n~ ∂yϕ~⟩xy,(15)\Gamma_n(\alpha) = \langle\tilde{n}\,\tilde{v}_x\rangle_{xy} = -\langle\tilde{n}\,\partial_y\tilde{\phi}\rangle_{xy}, \tag*{(15)}

where v~x=−∂yϕ~\tilde{v}_x=-\partial_y\tilde{\phi} is the radial E×BE \times B velocity and ⟨⋅⟩xy\langle\cdot\rangle_{xy} denotes the average over the full domain, together with the effective turbulent diffusivity Deff(α)=Γn(α)/κD_{\mathrm{eff}}(\alpha)=\Gamma_n(\alpha)/\kappa obtained from the imposed background gradient; since κ=1\kappa=1 in this study, DeffD_{\mathrm{eff}} coincides numerically with Γn\Gamma_n and only Γn\Gamma_n is reported below. Evaluating Eq. (15) over an ensemble of generated snapshots at each α\alpha yields not only the mean flux but its full distribution, and hence a data-free estimate of the transport level and its intrinsic variability.

Figure 5 shows the particle flux as a function of α\alpha for the ten trained values. The DNS shows a strong reduction in radial transport as α\alpha increases. The decrease is particularly sharp between α=0.2\alpha=0.2 and 0.30.3, where Γn\Gamma_n drops by nearly one order of magnitude, followed by a more gradual decay toward the adiabatic regime. As the zonal flow becomes dominant, turbulent radial transport is strongly suppressed. The generated ensemble closely follows both the magnitude and the nonlinear dependence of Γn\Gamma_n on α\alpha, including the sharp transport reduction around α=0.3\alpha=0.3. The predicted mean is lower than the DNS value at all ten values of α\alpha, by 1 to 12%, but the discrepancy remains small compared with the overall variation of the flux across regimes.

Figure 5. Particle flux versus the adiabaticity parameter α\alpha for the ten training cases. The generated ensemble (red) is compared against the DNS reference (black dashed, time-averaged); error bars denote ±1\pm1 standard deviation of the per-snapshot mean flux over each ensemble.

Furthermore, Table I compares the statistical quantities obtained from the DNS and generated ensembles across all trained values of α\alpha. The model reproduces the kinetic and internal energies (Eqs. (19) and (21)), their zonal components (Eqs. (20) and (22)), the generalized enstrophy (Eq. (23)), and the particle flux (Eq. (15)) to within 15% over the full parameter range, with two exceptions: the enstrophy WW is over-predicted at every α\alpha (by up to 23%), consistent with the high-wavenumber noise floor noted in Section IV A, and the zonal internal energy EnzE_{nz} at α=0.1\alpha= 0.1, where it is only 4% of EnE_n, is over-predicted by about 70%. More importantly, it captures the strong redistribution of energy associated with the transition toward the adiabatic regime. As α\alpha increases, the zonal kinetic energy becomes an increasingly large fraction of the total kinetic energy, while the internal energy and turbulent particle flux decrease substantially. The ensemble spreads are not reproduced as well as the means: the generated spread is smaller than the DNS spread for EnE_n and Γn\Gamma_n (by a factor of 0.5 to 0.95) and larger for EkE_k, EkzE_{kz} and WW (by up to a factor of 4), so the spread of the generated ensemble should be read as a measure of variability rather than as a calibrated uncertainty. This agreement indicates that the generated fields preserve not only marginal field statistics, but also the regime-dependent energy partition between turbulent fluctuations and self-organized zonal structures.

Super-resolution from 4 and 8 downsampled observations

We now impose posterior conditioning, taking c2c_2 to be a uniformly decimated observation of the target field that retains every fourth or eighth grid point (effective resolutions of 32×3232 \times32 and 16×1616 \times16). Figure 6 and Figure 7 compare the resulting posterior samples with the reference fields and with a deterministic bicubic-interpolation baseline at α=0.1\alpha= 0.1 and α=0.8\alpha= 0.8; the corresponding energy spectra are shown in the two left columns of Figure 8.

Figure 6. Super-resolution reconstruction contour of density field nn from ×4\times4 and ×8\times8 uniformly downsampled measurements at (a) α=0.1\alpha= 0.1 and (b) α=0.8\alpha= 0.8. Left to right: reference, measurement, bicubic interpolation reconstruction, two posterior generated samples, and absolute differences of the bicubic reconstruction and of each posterior sample.

Figure 7. Super-resolution reconstruction contour of potential field ϕ\phi from ×4\times4 and ×8\times8 uniformly downsampled measurements at (a) α=0.1\alpha=0.1 and (b) α=0.8\alpha=0.8. Left to right: reference, measurement, reconstruction with bicubic interpolation, two posterior generated samples, and absolute differences.

Figure 8. Total energy density spectra E(kx)\mathcal{E}(k_x) and E(ky)\mathcal{E}(k_y) of DPS reconstructions (red) versus bicubic interpolation (blue) and the reference (black dashed), for ×8\times8 and ×4\times4 uniformly downsampled measurements and 10% and 25% sparse observations: (a) α=0.1\alpha= 0.1, (b) α=0.8\alpha= 0.8.

The contour comparison (Figure 6 and Figure 7) shows that bicubic interpolation recovers only the large-scale organization of the flow, returning overly smooth fields in which the fine-scale eddies are often absent. In contrast, the posterior samples restore small-scale structure consistent with the learned turbulence prior.

For the density field, at ×4\times4 downsampling the observation still constrains most of the energy-containing scales, and the reconstructions are visually nearly indistinguishable from the reference in both regimes, with correspondingly small absolute differences. At ×8\times8 downsampling the reconstructions are no longer pixel-wise exact. This is not a shortcoming of the model but a direct consequence of posterior sampling, since many high-resolution fields are consistent with the same 16×1616 \times16 observation and individual posterior draws realize different instances of the unresolved scales.

α\alphaModelEkE_kEkzE_{kz}EnE_nEnzE_{nz}WWΓn\Gamma_n
0.1DNS3.4±0.2063.4 \pm0.2060.307±0.09760.307 \pm0.097611.9±1.0411.9 \pm1.040.496±0.1270.496 \pm0.12726.7±1.6526.7 \pm1.651.71±0.2021.71 \pm0.202
GenAI3.71±0.2353.71 \pm0.2350.317±0.09620.317 \pm0.096211.1±0.65511.1 \pm0.6550.859±0.4540.859 \pm0.45432.2±5.0932.2 \pm5.091.55±0.1571.55 \pm0.157
0.2DNS3.00±0.1623.00 \pm0.1620.620±0.1920.620 \pm0.1926.69±0.4926.69 \pm0.4920.334±0.1010.334 \pm0.10118.2±1.0918.2 \pm1.091.28±0.1241.28 \pm0.124
GenAI3.10±0.1893.10 \pm0.1890.643±0.2090.643 \pm0.2096.03±0.3046.03 \pm0.3040.390±0.1620.390 \pm0.16220.0±2.6320.0 \pm2.631.19±0.09821.19 \pm0.0982
0.3DNS2.89±0.07152.89 \pm0.07152.45±0.09092.45 \pm0.09091.15±0.1291.15 \pm0.1290.191±0.05670.191 \pm0.05673.97±0.3503.97 \pm0.3500.222±0.02670.222 \pm0.0267
GenAI2.73±0.1322.73 \pm0.1322.32±0.1312.32 \pm0.1311.01±0.06231.01 \pm0.06230.170±0.04540.170 \pm0.04544.16±0.5094.16 \pm0.5090.202±0.01500.202 \pm0.0150
0.4DNS3.24±0.07023.24 \pm0.07022.92±0.07622.92 \pm0.07620.714±0.04870.714 \pm0.04870.153±0.02750.153 \pm0.02752.66±0.1442.66 \pm0.1440.136±0.01120.136 \pm0.0112
GenAI2.95±0.1782.95 \pm0.1782.65±0.1792.65 \pm0.1790.646±0.04610.646 \pm0.04610.137±0.03600.137 \pm0.03602.78±0.3842.78 \pm0.3840.126±0.009750.126 \pm0.00975
0.5DNS2.18±0.06262.18 \pm0.06261.94±0.06551.94 \pm0.06550.473±0.04700.473 \pm0.04700.0917±0.01930.0917 \pm0.01932.04±0.1562.04 \pm0.1560.0984±0.01040.0984 \pm0.0104
GenAI1.89±0.09261.89 \pm0.09261.66±0.09321.66 \pm0.09320.432±0.02670.432 \pm0.02670.0897±0.02240.0897 \pm0.02242.26±0.2802.26 \pm0.2800.0904±0.006350.0904 \pm0.00635
0.6DNS1.68±0.02481.68 \pm0.02481.50±0.03001.50 \pm0.03000.351±0.02830.351 \pm0.02830.0826±0.01900.0826 \pm0.01901.53±0.08501.53 \pm0.08500.0657±0.005630.0657 \pm0.00563
GenAI1.65±0.06861.65 \pm0.06861.47±0.06761.47 \pm0.06760.324±0.02060.324 \pm0.02060.0765±0.01630.0765 \pm0.01631.70±0.2051.70 \pm0.2050.0616±0.004310.0616 \pm0.00431
0.7DNS1.74±0.02921.74 \pm0.02921.59±0.03491.59 \pm0.03490.330±0.03430.330 \pm0.03430.108±0.02360.108 \pm0.02361.28±0.09371.28 \pm0.09370.0489±0.004920.0489 \pm0.00492
GenAI1.80±0.07251.80 \pm0.07251.65±0.07151.65 \pm0.07150.334±0.02620.334 \pm0.02620.127±0.02590.127 \pm0.02591.58±0.2721.58 \pm0.2720.0460±0.004030.0460 \pm0.00403
0.8DNS1.61±0.02741.61 \pm0.02741.48±0.03421.48 \pm0.03420.306±0.02890.306 \pm0.02890.122±0.02200.122 \pm0.02201.09±0.1001.09 \pm0.1000.0355±0.005150.0355 \pm0.00515
GenAI1.60±0.06341.60 \pm0.06341.47±0.06301.47 \pm0.06300.294±0.02280.294 \pm0.02280.121±0.02220.121 \pm0.02221.21±0.1671.21 \pm0.1670.0352±0.002670.0352 \pm0.00267
0.9DNS1.49±0.01661.49 \pm0.01661.37±0.01971.37 \pm0.01970.277±0.02940.277 \pm0.02940.108±0.02540.108 \pm0.02540.996±0.06330.996 \pm0.06330.0300±0.002880.0300 \pm0.00288
GenAI1.47±0.06961.47 \pm0.06961.35±0.06941.35 \pm0.06940.276±0.02250.276 \pm0.02250.121±0.02250.121 \pm0.02251.09±0.1461.09 \pm0.1460.0279±0.002300.0279 \pm0.00230
1.0DNS1.05±0.02801.05 \pm0.02800.964±0.03060.964 \pm0.03060.200±0.02210.200 \pm0.02210.0741±0.01420.0741 \pm0.01420.849±0.05990.849 \pm0.05990.0212±0.002220.0212 \pm0.00222
GenAI1.16±0.05061.16 \pm0.05061.08±0.05041.08 \pm0.05040.194±0.01710.194 \pm0.01710.0832±0.01640.0832 \pm0.01640.861±0.09860.861 \pm0.09860.0186±0.001730.0186 \pm0.00173

Table 1. Statistical quantities of the DNS reference and the generative model across α=0.1\alpha= 0.1–1.01.0: kinetic energy EkE_k, zonal kinetic energy EkzE_{kz}, internal energy EnE_n, zonal internal energy EnzE_{nz}, enstrophy WW, and particle flux Γn\Gamma_n, domain-averaged and reported as mean ±\pm standard deviation over 300 DNS frames and 300 generated samples per case.

The potential field at α=0.8\alpha= 0.8 (Figure 7(b)) is a notable special case in which all reconstructions, including the bicubic baseline, closely match the reference with uniformly small errors; the only conspicuous bicubic artifact is a columnar error along the domain edge at ×8\times8, where non-periodic interpolation is inconsistent with the doubly periodic topology that the learned prior respects automatically. In the near-adiabatic regime ϕ\phi is dominated by large-scale zonal structures, so nearly all of its energy resides in modes that survive even ×8\times8 decimation. Super-resolution of ϕ\phi is therefore intrinsically easier than that of the density field, whose small-scale content carries a larger share of the energy.

The total energy density spectra in Figure 8 highlight the distinction between bicubic interpolation and conditional generation quantitatively. The DPS reconstructions follow the reference up to k≈2k \approx2–33 at both factors, beyond which the same high-wavenumber noise floor as in Section IV A appears, most visibly in E(ky)E(k_y) at α=0.8\alpha= 0.8; bicubic interpolation departs from the reference by one to two orders of magnitude beyond the wavenumber of the coarse grid.

Inpainting from partially observed fields

We next consider inpainting, in which c2c_2 is a partial observation of the field, either a contiguous observation window or randomly placed points, and the model completes the surrounding flow. Figure 9 and Figure 10 show reconstructions of the density and potential fields from a centered square region covering 50% and 10% of the domain at α=0.1\alpha=0.1 and α=0.8\alpha=0.8.

Figure 9. Inpainting contour comparison of nn from a centered observed region covering 50% (top) and 10% (bottom) of the domain, at (a) α=0.1\alpha= 0.1 and (b) α=0.8\alpha= 0.8. Left to right: reference, measurement, two posterior generated samples, and the absolute difference of each posterior sample.

Figure 10. Inpainting contour comparison of ϕ\phi from a centered observed region covering 50% (top) and 10% (bottom) of the domain, at (a) α=0.1\alpha= 0.1 and (b) α=0.8\alpha= 0.8. Left to right: reference, measurement, two posterior generated samples, and the absolute difference of each posterior sample.

Within the observed window the posterior samples reproduce the measurement faithfully, and only small amplitude residuals remain in the absolute-difference panels. These residuals reflect the soft nature of the conditioning in Eq. (14), where measurement consistency is imposed through the gradient of the misfit rather than by exact replacement of the observed pixels, so the observations are matched only up to the tolerance of the guided dynamics.

Outside the window the samples depart substantially from the reference realization, because the turbulence decorrelates within a few structure sizes and the unobserved region admits many valid realizations. Crucially, the generated structures connect to the observed region without visible discontinuity at the window boundary. Each sample is therefore a physically plausible realization consistent with the measurement. Figure 11 extends the analysis to randomly placed point observations and quantifies the posterior uncertainty along a horizontal line cut, with the ensemble mean and a ±3σ\pm3\sigma band

Figure 11. Posterior uncertainty of DPS reconstructions from randomly observed pixels along a horizontal line cut. Each row shows a reference snapshot followed by reconstructions from 5%, 10%, 25%, and 50% randomly observed pixels.

(pixel-wise standard deviation σ\sigma) computed from repeated posterior draws at observation fractions of 5%, 10%, 25%, and 50%. First, the uncertainty band contracts monotonically as the observation fraction increases, for both fields and both regimes, as the posterior concentrates around the true realization. Second, at α=0.8\alpha= 0.8 the uncertainty remains low wherever zonal structures dominate, even at the sparsest observation level. Because these coherent structures possess long correlation lengths, a few observed pixels suffice to pin them across the entire domain, whereas the fine-scale eddies of the hydrodynamic regime remain uncertain between sensors. The right two columns of Figure 8 confirm that reconstructions from 10% and 25% random observations likewise recover the reference energy spectra up to k≈2k \approx2–3, with the same high-wavenumber floor, closing the comparison presented in Section IV C.

Zero-shot predictions on unseen α\alpha

We next examine whether the learned model can generalize to adiabaticity values that are not included during training. We consider α=0.25\alpha= 0.25 and 0.750.75 for interpolation within the training range, and α=1.1\alpha= 1.1 for extrapolation beyond the largest training value. During inference, these values are supplied directly through the continuous α\alpha embedding, without retraining or fine-tuning. Figure 12 shows that prior samples at all three unseen values reproduce the main regime-dependent flow morphology observed in the corresponding DNS. In particular, the model captures the change from more disordered turbulence at α=0.25\alpha= 0.25 to increasingly pronounced zonal organization at α=0.75\alpha= 0.75 and 1.11.1. This indicates that the learned conditioning is not restricted to the discrete α\alpha values encountered during training.

Figure 12. Zero-shot unconditional generation at unseen adiabaticity values α=0.25\alpha= 0.25, 0.750.75, and 1.11.1. The cases α=0.25\alpha= 0.25 and 0.750.75 lie within the training range, while α=1.1\alpha= 1.1 lies outside the training range.

However, the agreement is weaker when the generated ensembles are compared through their total energy spectral density. As shown in Figure 13, the model reproduces the overall spectral shape and the dominant zonal peaks, but noticeable errors remain at the lowest kxk_x modes for all three unseen values. These modes contain the largest-scale structures of the flow and are strongly dependent on α\alpha. Although the training dataset contains many turbulent realizations at each condition, the dependence on α\alpha is sampled at only ten discrete values. The scalar α\alpha label therefore provides relatively insufficient information for identifying the precise statistical distribution at an unseen condition. Interpolation of the conditioning embedding can recover the qualitative regime and dominant structures, but does not determine the correct energy partition among the lowest wavenumbers.

Figure 13. Total energy density spectra E(kx)\mathcal{E}(k_x) (top row) and E(ky)\mathcal{E}(k_y) (bottom row) at unseen adiabaticity values α=0.25\alpha= 0.25, 0.750.75, and 1.11.1. Dashed black lines denote the reference simulation statistics; solid red lines denote the mean over unconditionally generated samples, with shaded bands indicating the ensemble spread.

The situation changes substantially once partial field measurements are introduced through DPS. Figure 14 compares the reconstructed spectra with bicubic interpolation for the same three unseen values of α\alpha. Across both super-resolution and sparse-observation settings, the DPS reconstructions recover the reference spectra more faithfully than the bicubic baseline. Specifically, the improvement is clear beyond the scales directly resolved by the measurements, where bicubic interpolation flattens while the generative reconstruction retains the turbulent spectral decay up to k≈2k \approx2–33, beyond which the high-wavenumber floor noted above sets in.

Figure 14. Total energy density spectra E(kx)\mathcal{E}(k_x) and E(ky)\mathcal{E}(k_y) of DPS reconstructions (red) versus bicubic interpolation (blue) and the reference (black dashed), for ×8\times8 and ×4\times4 uniformly downsampled measurements and 10% and 25% sparse observations at unseen adiabaticity values: (a) α=0.25\alpha= 0.25, (b) α=0.75\alpha= 0.75, and (c) α=1.1\alpha= 1.1.

Notably, small localized spectral spikes are visible in some super-resolution cases, most clearly near ky≈3k_y \approx3 for the α=0.25\alpha= 0.25 case. These features are associated with the discrete measurement constraint rather than with a physical turbulent mode. Uniform decimation constrains the reconstruction only on a regularly spaced sampling lattice, while the unresolved values between measurement points remain inferred from the learned prior. Strong DPS guidance toward exact consistency on this lattice can therefore introduce a weak grid-scale imprint in the reconstructed field, which appears as a narrow spectral excess at intermediate wavenumbers. The artifact is small relative to the broadband spectra and decreases as the observations provide stronger constraints on the unresolved field.

The improvement brought by the measurements highlights the complementary roles of parameter conditioning and physical observations. The scalar α\alpha label identifies the approximate turbulence regime, but by itself does not specify which region of the conditional state distribution should be sampled. The measurements provide realization-specific information and substantially reduce this ambiguity. Therefore, they constrain the posterior toward the part of the learned manifold that is consistent with the actual flow state, even when the supplied α\alpha was not encountered during training. As the observation density increases, the posterior becomes more strongly constrained and the reconstructed spectra approach the DNS reference. This trend is visible when moving from ×8\times8 to ×4\times4 super-resolution and from 10% to 25% spatial observations.

Summary and outlook

We have presented a proof-of-principle study of generative AI applied to magnetized plasma turbulence, in which a single multichannel flow-matching model with a spectral decomposition strategy was trained on 2D modified Hasegawa-Wakatani simulations spanning the full hydrodynamic-to-adiabatic parameter range. The trained model serves a triple role: it unconditionally generates statistically faithful quasi-steady-state snapshots that reproduce regime-dependent energy spectra and zonal-flow morphology, from which the turbulent particle flux and the regime-dependent energy partition are inferred directly; it performs physical-state super-resolution from heavily downsampled fields (4×\times and 8×\times); and it reconstructs the full (n,ϕ)(n,\phi) fields from spatially sparse observations down to ∼10%\sim10\% coverage. The learned conditioning also extends to adiabaticity values not used in training, qualitatively tively for unconditional samples and quantitatively once measurements are supplied. To our knowledge this is the first demonstration that a conditional generative foundation model can simultaneously capture small-scale drift-wave turbulence and the coexisting self-generated zonal flow within a single learned prior, and provide both reconstruction and uncertainty estimates without task-specific retraining.

Several limitations of the present work, and corresponding directions for follow-up, are worth highlighting. First, the present study is restricted to a single 2D fluid model in a small periodic box and to quasi-steady-state snapshots; extension to (a) the original HW model and other reduced models, (b) 3D and gyrofluid systems, and (c) the transient and bursty regimes, e.g., LH-like and ELM-like dynamics, are natural next steps. Second, our reconstruction uses static snapshots; conditioning on temporal context, or jointly modelling the spatio-temporal dynamics, would likely improve the reconstruction of the small-scale turbulence under sparse observations and enable a true forecasting mode of operation. Third, the model is trained on numerical data with known physics; testing on experimental measurements, e.g., 2D imaging diagnostics on tokamaks or stellarators, and comparison against existing reduced-order and operator-learning approaches will be necessary to establish utility for routine plasma diagnostics. Fourth, a particularly attractive target in this direction is cross-field inference. Unlike the PINN-based approach[27], which requires knowledge of the underlying governing equations or an approximation of them, in our study, because the learned prior is joint over (n,ϕ)(n, \phi), observations of the density channel alone, the quantity most readily imaged experimentally, can in principle constrain posterior samples of the unobserved potential, and hence of the E×BE \times B flow and the turbulent flux; quantifying the fidelity of such density-to-potential reconstruction is a natural next experiment within the present framework. Finally, under extreme observational sparsity the fine-scale content remains under-determined between sensors, whereas the long-correlation zonal component is pinned by even a few observations. Recovering this small-scale content in the sparse limit may benefit from temporal context or physics-informed conditioning, for instance through constraints derived from the conservation laws.

Taken together, our results suggest that flow-matching-based generative models offer a flexible, regime-agnostic foundation for plasma-turbulence diagnostics, sparse-data reconstruction, and statistical inference, and constitute a promising step toward generative foundation models for the broader class of self-organizing magnetized plasma systems.

Acknowledgments

This work was supported by the U.S. Department of Energy (DOE) Genesis Mission under DE-SC0026662. This research used resources of the National Energy Research Scientific Computing Center, a DOE Office of Science User Facility supported by the Office of Science of the U.S. DOE under Contract No. DE-AC02-05CH11231 (FES-ERCAP 0036750 and DDR-ERCAP0039129). The authors would also like to acknowledge the support from the NVIDIA Academic Grant Program with the use of NVIDIA RTX PRO 6000 GPUs and NVIDIA CUDA Toolkit.

Data Availability Statement

The data that support the findings of this study are available from the corresponding author upon reasonable request.

Definitions of physical quantities

We summarize here the physical diagnostics used throughout the quantitative evaluation. In Fourier space, the potential, kinetic, and total energy densities are defined as

En(kx,ky)=12∣n^(kx,ky)∣2,(16)\mathcal{E}_n(k_x,k_y)=\frac{1}{2}|\hat{n}(k_x,k_y)|^2, \tag*{(16)}
Ek(kx,ky)=12(kx2+ky2)∣ϕ^(kx,ky)∣2,(17)\mathcal{E}_k(k_x,k_y)=\frac{1}{2}(k_x^2+k_y^2)|\hat{\phi}(k_x,k_y)|^2, \tag*{(17)}
E(kx,ky)=En(kx,ky)+Ek(kx,ky).(18)\mathcal{E}(k_x,k_y)=\mathcal{E}_n(k_x,k_y)+\mathcal{E}_k(k_x,k_y). \tag*{(18)}

The corresponding domain-averaged quantities are

Ek=12LxLy∫∣∇⊥ϕ∣2 dx dy,(19)E_k=\frac{1}{2L_xL_y}\int|\nabla_\perp\phi|^2\,dx\,dy, \tag*{(19)}
Ekz=12LxLy∫(∂x⟨ϕ⟩y)2 dx dy,(20)E_{kz}=\frac{1}{2L_xL_y}\int(\partial_x\langle\phi\rangle_y)^2\,dx\,dy, \tag*{(20)}
En=12LxLy∫n2 dx dy,(21)E_n=\frac{1}{2L_xL_y}\int n^2\,dx\,dy, \tag*{(21)}
Enz=12LxLy∫⟨n⟩y2 dx dy.(22)E_{nz}=\frac{1}{2L_xL_y}\int\langle n\rangle_y^2\,dx\,dy. \tag*{(22)}

where EkzE_{kz} and EnzE_{nz} quantify the kinetic and density energy contained in the zonal components. We further evaluate the generalized enstrophy,

W=12LxLy∫(n−∇⊥2ϕ)2 dx dy,(23)W = \frac{1}{2L_xL_y} \int\left(n - \nabla_{\perp}^{2}\phi\right)^{2}\,dx\,dy, \tag*{(23)}

together with the radial turbulent particle flux defined in Eq. (15). These diagnostics are computed for both DNS and generated ensembles and are used to assess the fidelity of the learned joint distribution beyond point-wise field statistics.

The effectiveness of spectral decomposition

In this section, we evaluate the statistical fidelity of unconditionally generated states and isolate the contribution of the spectral-decomposition strategy introduced in Section III. For each of the ten trained adiabaticity values α=0.1,…,1.0\alpha= 0.1,\ldots,1.0 we compare the spectra following the same protocol as in Section IV A. As shown in Figure 15, both models reproduce the potential energy density spectra En(kx)\mathcal{E}_n(k_x) and En(ky)\mathcal{E}_n(k_y) over the entire resolved range and agree with the reference despite minor deviations after ky≈2k_y \approx2. However, the kinetic spectra Ek\mathcal{E}_k from the baseline model flatten beyond kx,ky≈2k_x,k_y \approx2, whereas the spectral decomposition model shows decent alignment with the reference for both α=0.1\alpha= 0.1 and α=0.8\alpha= 0.8. The improvement is confined to EkE_k because only the potential is split into low- and high-wavenumber channels, and the steep decay of ∣ϕ^∣2|\hat{\phi}|^2 leaves its small scales near the normalization floor where the k2k^2 weighting of Ek\mathcal{E}_k amplifies any residual error.

Network architecture and training details

The flow-matching vector field is parameterized by a U-Net with a base channel width of 128 and channel multipliers [1,1,2,3,4][1,1,2,3,4] across five resolution levels. Each level contains two residual blocks, and multi-head self-attention with eight heads is applied at spatial resolutions 8, 16, and 32. The model uses a noise scale of σ=10−3\sigma= 10^{-3}. Training uses the Adam optimizer with an initial learning rate of 2×10−42 \times10^{-4} and a cosine-annealing schedule over 40 epochs. The batch size is 40, distributed across eight GPUs. At inference, the probability-flow ODE is integrated using 200 forward-Euler steps.

References

References

  1. [1]¹P. H. Diamond, S.-I. Itoh, K. Itoh, and T. S. Hahm, Plasma Phys. Control. Fusion 47, R35 (2005).
  2. [2]²A. Hasegawa and M. Wakatani, Phys. Rev. Lett. 50, 682 (1983).
  3. [3]³R. Numata, R. Ball, and R. L. Dewar, Phys. Plasmas 14, 102312 (2007).
  4. [4]⁴J. Anderson and B. Hnat, Phys. Plasmas 24, 062301 (2017).
  5. [5]⁵J. J. van de Wetering and B. Zhu, Phys. Plasmas 33, 073903 (2026).
  6. [6]⁶C. Ma, B. Zhu, X.-Q. Xu, and W. Wang, Phys. Plasmas 27, 042502 (2020).
  7. [7]⁷R. Maulik, N. A. Garland, J. W. Burby, X.-Z. Tang, and P. Balaprakash, Phys. Plasmas 27, 072106 (2020).
  8. [8]⁸B. Zhu, M. Zhao, X.-Q. Xu, A. Gupta, K. Kwon, X. Ma, and D. Eldon, Phys. Plasmas 32, 062508 (2025).
  9. [9]⁹J. Kates-Harbeck, A. Svyatkovskiy, and W. Tang, Nature 568, 526 (2019).
  10. [10]¹⁰I. Abramovic, E. P. Alves, and M. Greenwald, J. Plasma Phys. 88, 895880604 (2022).
  11. [11]¹¹C. Gahr, I.-G. Farcaș, and F. Jenko, Phys. Plasmas 31, 113904 (2024).
  12. [12]K. Li, Y. Cho, X. Garbet, C. Wan, R. Varennes, K. Lim, V. Grandgirard, and Z. Qu, arXiv preprint (2025), 2509.11576.
  13. [13]J. Castagna, F. Schiavello, L. Zanisi, and J. Williams, Phys. Plasmas 31, 033902 (2024).
  14. [14]B. Clavier, D. Zarzoso, D. del Castillo-Negrete, and E. Frénod, Phys. Rev. E 111, L013202 (2025).
  15. [15]J. Ho, A. Jain, and P. Abbeel, Advances in Neural Information Processing Systems 33, 6840 (2020).
  16. [16]Y. Lipman, R. T. Q. Chen, H. Ben-Hamu, M. Nickel, and M. Le, in International Conference on Learning Representations (ICLR) (2023) 2210.02747.
  17. [17]P. Du, M. H. Parikh, X. Fan, X.-Y. Liu, and J.-X. Wang, Nat. Commun. 15, 10416 (2024).
  18. [18]X. Fan, D. Akhare, and J.-X. Wang, Comput. Methods Appl. Mech. Engrg. 433, 117478 (2025).
  19. [19]V. Oommen, S. Khodakarami, A. Bora, Z. Wang, and G. E. Karniadakis, arXiv preprint (2025), 2509.08752.
  20. [20]M. H. Parikh, X. Fan, and J.-X. Wang, J. Fluid Mech. 1029, A32 (2026).
  21. [21]X. Fan, M. H. Parikh, Y. Liu, X.-Y. Liu, J. Guo, M. Wang, and J.-X. Wang, Physical Review Fluids 11, 084607 (2026).
  22. [22]B. Zhu, M. Francisquez, and B. N. Rogers, Comput. Phys. Commun. 232, 46 (2018).
  23. [23]J. Ho and T. Salimans, arXiv preprint arXiv:2207.12598 (2022).arxiv.org/abs/2207.12598
  24. [24]H. Chung, J. Kim, M. T. Mccann, M. L. Klasky, and J. C. Ye, in International Conference on Learning Representations (ICLR) (2023) 2209.14687.
  25. [25]M. H. Parikh, Y. Chen, and J.-X. Wang, Journal of Computational Physics 567, 115359 (2026).
  26. [26]K. Schwarz, Y. Liao, and A. Geiger, Advances in Neural Information Processing Systems 34, 18126 (2021).
  27. [27]A. Mathews, M. Francisquez, J. W. Hughes, D. R. Hatch, B. Zhu, and B. N. Rogers, Physical Review E 104, 025205 (2021).

Paper details

vlnc:W_87p92xgj
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 1

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents