arXiv:2608.23217physics.plasm-phAug 2026

Manuscript Offprint

arXiv:2608.23217

AI Surrogate Modeling for Real-Time Tokamak Equilibrium Prediction: Benchmarking Neural Architectures and Validation on EXL-50U

Guoyang Shi, Zitong Zhang, Siqi Ding, Jianguo Chen, Yapeng Zhang, Jiayi Zhi, Hanyue Zhao, Tianyuan Liu

Guoyang Shi 1,2,3^{1,2,3}, Zitong Zhang 4,5^{4,5}, Siqi Ding 1,2,3^{1,2,3}, Jianguo Chen 1,2,3^{1,2,3}, Yapeng Zhang 1,2,3^{1,2,3}, Jiayi Zhi 6^{6}, Hanyue Zhao 1,2,3^{1,2,3}, Tianyuan Liu 1,2,3∗^{1,2,3*}

1 Beijing ENN Fusion Energy Science and Technology Co., Ltd., Beijing 101111, China

2 Beijing Key Laboratory of High Magnetic Field Spherical Torus Fusion Energy, Beijing 101111, China

3 Hebei Key Laboratory of Compact Fusion, Langfang 065000, China

4 College of Mechanical Engineering, Xi'an University of Science and Technology, Xi'an 710054, China;

5 MOE Key Laboratory of Thermo-Fluid Science and Engineering, School of Energy and Power Engineering, Xi'an Jiaotong University, Xi'an 710049, China)

6 Institute of Robotics and Automatic Information System, Nankai University, Tianjin 300350, China

*Corresponding author: liutianyuan@enn.cn

Abstract: Fast and reliable plasma equilibrium prediction is essential for real-time tokamak operation, control, and fusion applications. However, conventional numerical solutions of the Grad-Shafranov (GS) equation are often too computationally expensive for real-time deployment. To address this challenge, we develop an AI surrogate framework and systematically evaluate five representative architectures (MLP, CNN, FNO, Transformer, and KAN) using a numerically generated GS equilibrium database comprising 100,000 IID samples and 10,000 OOD samples. Under a unified protocol, we assess prediction accuracy, inference efficiency, model scaling, and robustness under both Independent and Identically Distributed (IID) and Out-of-Distribution (OOD) conditions. We further establish a device-level validation chain on the EXL-50U tokamak by linking GS numerical solutions, surrogate predictions, and the standard Shape Editor solver reference, thereby explicitly evaluating simulation-to-device consistency. The surrogate models achieve errors of 10−3∼10−210^{-3} \sim 10^{-2} relative to GS solutions, while the discrepancy between GS solutions and the device reference remains at the 10−310^{-3} level. Transformer achieves the highest IID accuracy, whereas CNN provides a favorable balance between prediction accuracy, robustness, and inference efficiency, with a TensorRT latency of 0.7 ms. OOD experiments across unseen plasma geometries and parameter regimes reveal substantial architecture-dependent differences: CNN and FNO maintain superior extrapolation stability (relative L2L_{2} error = 4%–5%), while architectures with weaker inductive biases exhibit greater performance degradation. Scaling experiments further show that increasing dataset size and model capacity consistently improves interpolation accuracy but does not necessarily enhance extrapolation, indicating a trade-off between model capacity and OOD generalization. Overall, this work establishes a systematic benchmarking and device-consistent validation framework for AI-based GS equilibrium prediction. The results demonstrate the potential of data-driven surrogates for real-time tokamak operation and provide practical guidance for selecting reliable architectures for future plasma control and fusion applications.

Keywords: Grad-Shafranov equation; Surrogate model; Plasma equilibrium prediction; Extrapolative generalization

1. Introduction

Driven by global sustainability goals, magnetic confinement fusion, exemplified by tokamaks, has long been regarded as a leading pathway toward clean and virtually inexhaustible energy [1]^{[1]}. Recent studies increasingly indicate that artificial intelligence (AI) can play a transformative role in accelerating progress in magnetic confinement fusion. Representative applications include early warning of disruptive instabilities, real-time estimation of disruption proximity, and cross-device generalization through transfer learning, thereby casting disruption forecasting as a quantitative risk-prediction problem [2]^{[2]}. Control-oriented approaches can further estimate disruption proximity in real time, including the probability of occurrence and time to disruption, providing a deployable basis for disruption avoidance and mitigation in next-generation devices [3]^{[3]}. In addition, transfer-learning frameworks have demonstrated cross-device and cross-configuration disruption prediction, helping alleviate data scarcity when developing models for new machines [4]^{[4]}. Conversely, fusion research also provides a highly demanding testbed for scientific machine learning because of its multiphysics coupling, stiff nonlinear dynamics, sparse and noisy diagnostics, and strict safety constraints. These characteristics continue to drive advances in uncertainty quantification, interpretable modeling, and safe decision-making [5]^{[5]} [5]. Reflecting this bidirectional synergy, the AI-Fusion Digital Convergence Platform has been identified as a strategic priority in the U.S. Department of Energy’s 2025 Fusion Science and Technology Roadmap and as a key initiative supporting progress toward the commercialization of fusion energy.

Among the various magnetic confinement concepts, the tokamak remains one of the most technologically mature and is widely regarded as a leading candidate for realizing fusion power. The stable and high-performance operation of a tokamak critically depends on the accurate characterization and control of magnetohydrodynamic (MHD) equilibrium [6]^{[6]}. MHD equilibrium describes the force balance between the plasma pressure gradient and the Lorentz force, providing the theoretical foundation for numerous essential physics analyses, including MHD stability assessment, energy and particle transport modeling, and scenario optimization [7]^{[7]}. It also plays a central role in determining the operational limits of a tokamak. From an operational perspective, accurate real-time reconstruction of plasma equilibrium and control of the plasma position and shape are essential for maintaining stable operation, supporting disruption avoidance, and achieving advanced high-confinement regimes. Under the assumption of axisymmetry, the inherently three-dimensional equilibrium problem reduces to the two-dimensional nonlinear elliptic Grad-Shafranov (GS) equation [8]^{[8]}. Consequently, fast and accurate GS equilibrium computation constitutes a critical link among fusion theory, experimental control, and reactor design, particularly in real-time applications where discrepancies between simulation results and device-relevant conditions can directly affect control performance [9]^{[9]}.

However, the development of GS solvers has long involved a practical trade-off between computational speed and solution accuracy, which becomes especially restrictive when transitioning from offline modeling to real-time experimental applications [10]^{[10]}. On the one hand, equilibrium computation within a real-time plasma control loop must be completed on millisecond or even sub-millisecond timescales to support control frequencies of up to several kilohertz [6]^{[6]}. On the other hand, in integrated modeling platforms that simulate complete plasma discharges, a GS solver may be invoked thousands of times, making its cumulative computational cost a limiting factor in scientific exploration and scenario optimization [11,12]^{[11,12]}. This challenge is expected to become even more pronounced for next-generation fusion devices such as ITER and DEMO, where both real-time control and large-scale integrated modeling impose increasingly stringent requirements on computational efficiency and solution fidelity.

Traditional GS methods address static or quasi-static MHD equilibrium, whereas fully time-dependent plasma evolution requires substantially more expensive simulations that are generally unsuitable for direct use in real-time control [13,14]^{[13,14]}. Analytical equilibrium models provide rapid solutions but typically rely on simplified source terms. In contrast, numerical iterative solvers based on finite-difference or finite-element methods can accommodate nonlinear plasma profiles and therefore remain dominant in current practice [13]^{[13]}. From the perspective of the computational task, GS-related equilibrium calculations include forward equilibrium solving [15]^{[15]} and inverse equilibrium reconstruction from diagnostic measurements [10]^{[10]}. The latter seeks to infer plasma equilibrium from available diagnostic signals, with EFIT serving as a representative framework that incorporates external magnetic measurements under GS equilibrium constraints. Nevertheless, the iterative computational cost and sensitivity of convergence to initialization, profile parameterization, and numerical settings can still hinder high-bandwidth real-time applications and large-scale parameter scans.

In recent years, data-driven deep-learning methods [16]^{[16]} have emerged as a promising paradigm for alleviating efficiency bottlenecks in scientific computing. Their core idea is to use neural networks to learn complex input – output mappings from large-scale datasets generated by high-fidelity numerical solvers, thereby constructing accurate surrogate models capable of rapid inference. In magnetic confinement fusion, this approach has demonstrated substantial potential in disruption prediction [17]^{[17]}, confinement-state identification [18]^{[18]}, and plasma equilibrium reconstruction, indicating its ability to represent the strong nonlinearities inherent in fusion systems. Meanwhile, representative neural architectures, including convolutional neural networks (CNNs) [19−21]^{[19-21]}, Fourier neural operators (FNOs) [22,23]^{[22,23]}, Transformers [24]^{[24]} multilayer perceptrons (MLPs) [25]^{[25]}, and Kolmogorov-Arnold networks (KANs) [26]^{[26]}, have shown strong capabilities in approximating parametric partial differential equation solutions and nonlinear input – output mappings. These developments provide a methodological foundation for constructing fast scientific computing surrogates. Recent studies have further examined their effectiveness across equilibrium-related tasks, ranging from

CNN-based plasma-boundary prediction [27]^{[27]} to magnetic-field and MHD-state prediction using FNOs and physics-informed neural operators (PINOs) [22,28,29]^{[22,28,29]}, as well as the fusion of magnetic diagnostic data using Transformers [4]^{[4]} Collectively, these advances demonstrate the growing potential of learning-based models for addressing computational challenges in plasma equilibrium modeling.

Building on this foundation, increasing attention has been directed toward applying deep learning specifically to tokamak equilibrium computation, including equilibrium prediction and reconstruction, for which computational efficiency and real-time capability are critical. Lu et al. developed a fully connected neural network that uses magnetic measurements from the EAST tokamak to reconstruct the poloidal flux function, producing poloidal-flux estimates at a spatial resolution comparable to that of offline EFIT while satisfying the millisecond-level latency requirements of real-time plasma control. Joung et al. introduced GS-DeepNet, which incorporates the GS equation and external magnetic measurements into a fully connected neural framework. This approach enables unsupervised reconstruction of plasma equilibria formulated as inverse free-boundary problems without relying on EFIT-generated labels. Building on neural-operator methodologies, Bonotto et al. [30]^{[30]} incorporated the GS equation and boundary conditions into a convolutional physics-informed neural operator, demonstrating fast and accurate prediction of plasma equilibria and separatrix geometry. These studies collectively highlight the growing potential of physics-integrated deep-learning methods for efficient GS-related equilibrium computation.

Although previous studies have explored data-driven approaches to GS equilibrium computation, the reliability and practical deployability of these approaches remain insufficiently characterized in several important respects: 1) their ability to represent equilibria with complex and highly nonlinear current profiles; 2) their generalization from independent and identically distributed (IID) test samples to out-of-distribution (OOD) plasma geometries and parameter regimes; and 3) the availability of a unified framework for comprehensive and fair benchmarking across representative neural architectures. As summarized in Table 1, most existing studies focus on individual architectural or methodological advances, whereas systematic cross-architecture comparisons, controlled IID/OOD assessments, and explicit validation against device-relevant equilibrium references remain comparatively limited.

To address these gaps, we present a systematic and controlled comparison of five representative neural architectures—MLP, CNN, FNO, Transformer, and KAN—for approximating the mapping from input plasma parameters and geometric descriptors to GS equilibrium solutions. The main contributions are as follows:

Table 1. Comparison of representative learning-based Grad-Shafranov solvers.

StudyTraining Data SourcesArchitecture ComparisonReal-Device ValidationParameter ExtrapolationSim-to-Real
S. Joung et.alReal magnetic measurements✕✓✕✕
L. L. Lao et.alExperimental reconstruction✕✓✕✕
B. Jang et.alData-free (PDE residual)✕✕✓✕
F. N. Rizqan et.alData-free (PDE residual)✓✕✓✕
C. Zhou et.alData-free (PDE residual)✕✕✕✕
M. Bonotto et.alSimulator-generated✕✕✕✕
Z. Wang et.alSimulator-generated✕✕✕✕
OursSimulator-generated✓✓✓✓

To address these gaps, we present a systematic, controlled comparison of representative deep learning architectures spanning the major network paradigms—fully connected networks (MLP), convolutional networks (CNN), spectral operator networks (FNO), attention-based models (Transformer), and learnable-activation networks (KAN) for solving the Grad-Shafranov equation. The main contributions are as follows:

  1. A systematic AI surrogate framework with comprehensive architecture benchmarking is established for real-time tokamak equilibrium prediction. 2. A simulation-to-device validation pathway is demonstrated for AI-based equilibrium prediction. 3. Scaling behavior and generalization characteristics of AI surrogate models are investigated.

This paper is organized as follows. Section 2 introduces the problem formulation and the construction of the high-fidelity equilibrium dataset. Section 3 describes the surrogate architectures together with the corresponding training strategies and evaluation criteria. Section 4 presents the experimental results, including prediction accuracy comparison, generalization analysis, scaling behavior, and out-of-distribution extrapolation performance. Finally, Section 5 summarizes the main findings and discusses future research directions.