arXiv:2611.08153cs.AINov 2026

Manuscript Offprint

arXiv:2611.08153

A Generative Foundation Model for Multimodal Tokamak Tasks

Yingshuai Ji, Haodong Feng, Guohong Deng, Gelin Bian, Yue Wang

ABSTRACT

Tokamak experiments record diverse measurements, including waveforms, profiles, fields, and scalars, which are used to reconstruct the plasma, forecast its evolution, recover associated control signals, and estimate disruption risk. Most models are built separately for one task and a fixed set of inputs and outputs, and each relies on a prescribed subset of diagnostics rather than structuring the full multimodal observation set to extract global, cross-signal information about the discharge. These limitations motivate a reusable foundation model that adapts to each task's input–output schema and models heterogeneous target signals jointly, rather than retraining a separate model for every configuration. In this work, we extend the TokaMark benchmark with two groups of tasks for actuator action inversion and disruption prediction, yielding 20 MAST tasks in six groups with explicit schemas and evaluation protocols. Then, we introduce GenToka, a generative tokamak foundation model that jointly generates schema-selected targets through a shared conditional diffusion Transformer, with signal-specific codecs preserving native time series, profiles, fields, and scalars; foundation pretraining and task-specific adaptation transfer cross-signal structure across all six groups. Evaluation on MAST measurements shows that GenToka reduces macro-average normalized root mean squared error relative to TokaMind by 4.7% on Groups 1–4 and by 17.7% on Group 5, and improves macro-average window-level F1 on Group 6 by 8.4% at a common validation-selected threshold. GenToka provides a reusable, generative, and multimodal pathway for experimental tokamaks, linking plasma-state reconstruction, actuator inference, and disruption warning from shared measurements to support more integrated, data-driven fusion plasma prediction and control research.

1 INTRODUCTION

Controlled nuclear fusion offers a potential source of sustainable energy, and magnetic confinement in tokamaks is a promising route toward this goal (Degrave et al., 2022). Reliable models of tokamak dynamics are needed to reconstruct plasma states, anticipate their evolution, and inform the control of stability, confinement, and magnetic configuration (Walker et al., 2020). These modeling tasks are challenging because the plasma is only partially observed: diagnostic measurements differ in physical meaning, sampling rate, spatial structure, and availability, while plasma evolution also depends on actuator histories and operating conditions. Resolving the coupled processes with physics-based simulations is high computational load, motivating surrogate models that connect these heterogeneous observations to the quantities needed for a particular operational task (Humphreys et al., 2020; Rousseau et al., 2026).

Learning tokamak dynamics from experimental measurements provides a complementary way to model these relationships. Data-driven methods have shown strong results in equilibrium reconstruction, kinetic-profile estimation, disruption prediction, and magnetic control (Joung et al., 2023; Shousha et al., 2024; Kates-Harbeck et al., 2019; Degrave et al., 2022). However, many systems are developed for a fixed signal set, output structure, and prediction horizon, which limits reuse as diagnostic availability and task requirements change. FAIR-MAST and TokaMark have improved access to experimental data and standardized evaluation across forward modeling tasks (Jackson et al., 2024; 2025; Rousseau et al., 2026), while TokaMind demonstrates the value of reusable multimodal representations (Boschi et al., 2026). Two needs remain: a broader benchmark that also covers disruption risk and inverse actuator inversion, and modeling that can characterize joint uncertainty over heterogeneous diagnostics. Supervised learning is well suited to estimating a conditional mean under a fixed input–output contract, but it returns one point prediction and often factorizes each output channel into a separate regression. Conditional generative models are more expressive in this setting, as they can represent the model dependencies jointly by different tasks. Recent work on fluid systems shows that one conditional diffusion model can span diverse tasks within a physical domain (Feng et al., 2026), suggesting a parallel generative perspective for heterogeneous tokamak objectives.

XINZHUAI 新烛时代

In this work, we introduce GenToka, a Generative Tokamak Foundation Model for heterogeneous plasma measurements. Each task is specified by a schema: the input and output signals, their physical roles, and their temporal support. GenToka encodes the available diagnostic and actuator measurements as context tokens and represents each complete requested output—a time-series window, profile, field, or scalar—by one noisy target token. This gives heterogeneous outputs a common interface for joint generation, while signal-specific heads restore their native structures after shared conditional diffusion Transformer denoising (Peebles & Xie, 2023; Ma et al., 2025).

GenToka is trained in two stages. Foundation pretraining learns cross-signal relationships through co-temporal reconstruction with randomly masked context, exposing the model to incomplete observations. Downstream fine-tuning then adapts the pretrained backbone and task-specific interfaces to the required inputs and outputs. We evaluate the predictive accuracy of individual generated outputs on MAST measurements across twenty tasks divided into six groups: equilibrium reconstruction (Group 1), magnetic dynamics (Group 2), profile and diagnostic dynamics (Group 3), long-horizon magnetohydrodynamic (MHD) dynamics (Group 4), actuator action inversion (Group 5), and disruption prediction (Group 6). Their schemas and evaluation protocols are given in Section 3 and Section 5.1.

Our contributions are:

  1. Comprehensive benchmark for tokamak tasks. We define 20 tasks in six groups that connect prediction of plasma responses, actuator action inversion, and disruption prediction from historical measurements. Explicit input–output and temporal definitions enable reproducible evaluation of these complementary capabilities, providing a common basis for assessing the breadth of tokamak foundation models.

  2. Generative tokamak foundation model. GenToka uses a shared diffusion Transformer to model relationships among heterogeneous output signals conditioned on the available measurements. Signal-specific interfaces preserve the native structures of time series, profiles, fields, and scalars while making them accessible to a common generative backbone. This design supports different input–output configurations through one conditional generation framework, allowing cross-signal representations learned during foundation pretraining to be reused across all six task groups.

  3. Evaluation on 20 tasks using MAST measurements. Compared with the existing TokaMind model, GenToka reduces macro-average NRMSE by 4.7% across Groups 1–4 and by 17.7% across Group 5. Across Group 6, macro-average window-level F1 improves by 8.4% at a common validation-selected threshold. Paired comparisons with the same GenToka architecture initialized from scratch show additional gains from foundation pretraining. Together, these results demonstrate both competitive accuracy relative to TokaMind and the benefit of pretraining over scratch initialization across all six task groups.

References (39)