arXiv:2611.01356cs.LGOct 2026

Manuscript Offprint

arXiv:2611.01356

Learned Surrogates of Three-Dimensional Magnetohydrodynamic Turbulence

Semih Kacmaz, E. A. Huerta

Abstract

Three-dimensional magnetohydrodynamic (MHD) turbulence, the flow of astrophysical and fusion plasmas, is costly to simulate. We present, to our knowledge, the first learned surrogates of three-dimensional resistive MHD turbulence, and compare three standard backbones in that role: a convolutional UNet, a shifted-window transformer and a Fourier neural operator. They are trained as autoregressive emulators of decaying MHD turbulence at a resolution of 1283128^3 and Reynolds numbers of 1000, 3000 and 6000, on 500 simulations per Reynolds number, each with one two-stage procedure, single steps and then short rollouts, and stopped by one rule. Over a window of about one large-eddy turnover time, the UNet and the transformer reach relative velocity errors of 0.018 to 0.053 and keep the current sheets, the enstrophy, the current density and the energy spectra of the simulation; which of the two is the more accurate depends on the Reynolds number, the UNet leading at 3000 and 6000 and the transformer at 1000. Applied with the same backbones and training procedure to two public benchmarks, the models reach the lowest error reported to date on the isotropic turbulence set of FactFormer, 39 % below the best published model. On the compressible MHD set of The Well, their rollout errors are a third to a half below those of the best of The Well's baselines. They also match a 1.3 B-parameter pretrained foundation model in its rollout windows, with 20–62 times fewer parameters. The code, the configuration of every model, the evaluation scripts and the data

generator with the seed of every simulation will be released upon publication.

1. Introduction

Three-dimensional magnetohydrodynamic (MHD) turbulence, the turbulent motion of an electrically conducting fluid coupled to a magnetic field, pervades astrophysical plasmas (Biskamp, 2003; Goedbloed & Poedts, 2004; Schekochihin, 2022). It shapes the solar wind and the interstellar gas in which stars form (Cho & Lazarian, 2003; Burkhart et al., 2009), and nonlinear MHD governs the edge of tokamak fusion plasmas (Gopakumar et al., 2024). Few of these flows can be measured directly (Schekochihin, 2022), so numerical simulation is the main way to study them. A simulation must resolve every scale from the largest eddies down to the viscous and resistive scales, where the magnetic field is folded into thin current sheets (Schekochihin, 2022), and its cost grows steeply with the Reynolds number (Pope, 2000, Ch. 9). A learned surrogate is a network, trained on such simulations, that advances the full three-dimensional state step by step and runs in their place at a fraction of their cost. It would make feasible studies that need many simulations and are ruled out today by the solver's cost, such as parameter surveys, design and control iterations (Gopakumar et al., 2024), and inference from observations (Ohana et al., 2024). Figure 1 shows what the surrogates of this paper achieve at their hardest setting. After 25 autoregressive steps through a window of about one large-eddy turnover time at Re = 6000, a convolutional UNet and a shifted-window transformer still reproduce the velocity, the magnetic field and the current sheets of a 1283128^3 simulation.

Such a surrogate is an autoregressive model in which a network predicts the next state from the current one and a rollout feeds each prediction back as the next input. Errors compound along a rollout, and two remedies for this are established: noise on the training inputs (Sanchez-Gonzalez et al., 2020; Stachenfeld et al., 2022) and training the model on its own unrolled predictions (Um et al., 2020; Brandstetter et al., 2022). Both are part of our training procedure. The choice of network is less settled. Much recent work designs transformers for large grids, three-dimensional ones among them (Li et al., 2023; Holzschuh et al., 2026; Du & Krishnapriyan, 2025; Shangguan et al., 2026), or pretrains

¹National Center for Supercomputing Applications, University of Illinois Urbana-Champaign, Urbana, Illinois, USA ²Department of Physics, University of Illinois Urbana-Champaign, Urbana, Illinois, USA ³Data Science and Learning Division, Argonne National Laboratory, Lemont, Illinois, USA ⁴Department of Computer Science, The University of Chicago, Chicago, Illinois, USA ⁵Department of Astronomy, University of Illinois Urbana-Champaign, Urbana, Illinois, USA. Correspondence to: Semih Kacmaz skacmaz2@illinois.edu.

Preprint. November 3, 2026.

Figure

Figure 1. Three-dimensional turbulent MHD at Re = 6000 after a rollout of about one eddy-turnover time, predicted by three backbones trained with one procedure. Mid-plane slices (z=L/2z = L/2) of the velocity uxu_x, the magnetic field BxB_x, the vorticity magnitude ∣ω∣|\omega| and the current density ∣J∣|J| in the 1283128^3 volume after 25 autoregressive steps from the initial frame (τ=1\tau = 1), for the truth and for the UNet, the transformer and the FNO. Each row shares the truth's colour scale. Errors in Table 2, other Reynolds numbers in App. D.

models across physical systems (McCabe et al., 2024; Herde et al., 2024; McCabe et al., 2026). In two comparisons on three-dimensional turbulence, however, a convolutional network was the most accurate model (Li et al., 2023) or level with the specialized designs in one-step error (Qin et al., 2026). Learned surrogates of incompressible MHD turbulence have been two-dimensional (Kacmaz et al., 2025). In three dimensions, the main source of MHD turbulence for learned models has been one public data set of compressible MHD at a resolution of 64364^3, on which general architectures and foundation models are evaluated (Ohana et al., 2024; Du & Krishnapriyan, 2025; McCabe et al., 2026).

This paper compares standard backbones, the networks inside such a surrogate, on three-dimensional MHD turbulence under one training procedure. We generate three data sets of decaying, incompressible, resistive MHD turbulence at a resolution of 1283128^3 and Reynolds numbers Re = 1000,

3000 and 6000, with 500 simulations each and Taylor-microscale Reynolds numbers Re_λ up to 101 (Section 4.1). On them we train a convolutional UNet (Ronneberger et al., 2015; Çiçek et al., 2016), a shifted-window transformer (Liu et al., 2021) and a Fourier neural operator (FNO; Li et al., 2021). Each network predicts the change of the state from the two most recent frames (Price et al., 2025). It is trained first on single steps with noise on its inputs and then on short rollouts of its own predictions (Um et al., 2020; Dai et al., 2026b), and its training is stopped by one rule, the same for every backbone and Reynolds number (Section 3). We evaluate the rollouts over a window of about one large-eddy turnover time on the velocity, the magnetic field, the vorticity, the current density and the energy spectra (Section 4). We then apply the same backbones and two-stage training, adapted to each benchmark's fields, grid and input length, to two public benchmarks of three-dimensional turbulence

(Section 5). Our contributions are the following.

  • The first learned surrogates of three-dimensional resistive MHD turbulence, to our knowledge, with a regime-dependent ranking of two standard backbones. Trained with one procedure, the UNet and the transformer follow the flow at 1283128^3 for about one large-eddy turnover time. The relative L2L_2 error of the velocity for the better of the two is 0.018 at Re = 1000 and 0.053 at Re = 6000 (Table 2). Their predictions keep the small scales. The current sheets stay in place, and the enstrophy (the mean squared vorticity) and the mean squared current density stay within a few per cent of the truth's. The energy spectra follow the truth's up to the wavenumbers beyond which it holds only 0.1 % of its kinetic energy at Re = 6000. Which backbone is the more accurate depends on the Reynolds number: the UNet leads at Re = 3000 by 41–42 % and at Re = 6000 by 5–12 %, where the transformer trains in 36 GPU-hours against the UNet's 65; the transformer leads at Re = 1000 by 46–62 %. The FNO trails both at every Reynolds number.

  • A controlled comparison. The three backbones are trained on the same simulations with one procedure and one stopping rule, fixed in advance and the same for every backbone and Reynolds number. Every choice is made on validation simulations, and the test split is scored once, with the final models. The benchmark rows follow protocols written before the runs and include models matched in size to the published ones.

  • A data generator and the seed of every simulation, from which the three 1283128^3 data sets can be regenerated, to be released upon publication with the code, the configuration of every model and the evaluation scripts (App. E).

  • Transfer to public benchmarks, and evidence for the training procedure. On the isotropic turbulence benchmark of FactFormer (Li et al., 2023), the UNet reaches the lowest error reported to date, 39 % below the best published model (Shangguan et al., 2026), and remains ahead of every published model at that model's parameter count. The MHD data set of The Well (Ohana et al., 2024) holds forced, compressible and strongly magnetized turbulence. On it our models reach rollout errors a third to a half below the best of The Well's baselines, and comparable to those of Walrus (McCabe et al., 2026), a 1.3 B-parameter foundation model pretrained on 19 data sets including this one. Our models have 20–62 times fewer parameters. One-step training followed by rollout training beats rollout training from random initialization at equal GPU time, by a factor of 1.3 in velocity and 2.2 in current density at Re = 3000 (App. B). On the isotropic benchmark,

where we vary one element of the UNet at a time, the two training stages matter more than any element of the network (Section 5.1).

References (56)