Abstract
This paper presents Neural-Parareal, a novel framework designed to accelerate high-fidelity Magnetohydrodynamics (MHD) simulations. By integrating Fourier Neural Operators (FNOs) into the Parareal time-parallelization algorithm, the system creates a self-improving "coarse solver" that learns from high-fidelity data generated in-the-loop. Evaluated using the JOREK code on Reduced-MHD (RMHD) blob convection models, the framework demonstrates significant speedup and accuracy improvements over traditional numerical coarse solvers.
Introduction
Designing next-generation fusion reactors like ITER and STEP requires high-fidelity simulations to predict the behavior of hot plasma. These simulations typically rely on non-linear MHD models which are computationally expensive. While spatial parallelization is well-established, parallelizing across time remains a significant challenge because the state of a system at any given moment is intrinsically dependent on its preceding state.
Historically, the Parareal algorithm has addressed this by using a fast, low-accuracy "coarse solver" to provide initial guesses across a timeline, which are then corrected in parallel by a slow, high-accuracy "fine solver." However, the efficiency of Parareal is limited by the accuracy of the coarse solver; if the guess is poor, the algorithm requires too many iterations to converge. Neural-Parareal solves this "coarse solver bottleneck" by replacing static physics models with dynamic neural operators.
Methodology: The AI-in-the-Loop Framework
The core innovation of Neural-Parareal is its self-improving training loop. Unlike traditional surrogate models that require massive pre-existing datasets, this framework harvests data during the simulation itself.
- The Fine Solver: The framework utilizes JOREK, a state-of-the-art non-linear MHD code, as the ground-truth fine solver.
- The Coarse Solver: A Fourier Neural Operator (FNO) serves as the coarse solver. FNOs are ideal for this task as they learn operators of partial differential equations (PDEs) in the frequency domain, making them resolution-independent and highly efficient.
- Dynamic Training: The process begins with a small initial dataset to train a baseline FNO. As the Parareal algorithm runs, the fine solver generates high-fidelity "correction" data. This data is fed back into the training pipeline, progressively improving the FNO for subsequent simulation batches.
Simulation Setup and Datasets
The framework was tested on two "blob" convection scenarios simulating plasma filaments in a tokamak's edge using the RMHD model (model-ID "model600"). The simulations track several physical variables: electric potential ($u$), toroidal vorticity ($\\omega$), density ($\\rho$), temperature ($T$), poloidal magnetic flux ($\\psi$), and toroidal current ($zj$).
Data was produced on a 2D slab domain. While JOREK utilized a $200 \\times 200$ bi-cubic finite-element grid, the FNO operated on a downsampled $100 \\times 100$ regular grid. This downsampling, combined with the FNO's architecture, allows the coarse solver to run orders of magnitude faster than the full numerical simulation.
Key Results
- Accuracy and Convergence: The neural coarse solver consistently outperformed traditional coarse solvers (such as those using increased diffusion). The authors utilized the Structural Similarity Index Measure (SSIM) to evaluate performance, finding it more robust than Mean Squared Error (MSE) for capturing the physical structure of plasma blobs.
- Self-Improvement: In electromagnetic test cases, the FNO's SSIM improved significantly over four iterations of simulation batches. As the neural solver became more accurate, the number of Parareal iterations required for convergence dropped.
- Efficiency Gains: The study demonstrated that speedup efficiency—the ratio of actual speedup to theoretical maximum—increased from near-zero to over 80% as the model matured. This indicates a potential time-to-solution acceleration of nearly 20x when utilizing 20 time-windows.
Discussion and Future Work
While Neural-Parareal shows immense promise in 2D slab geometries, several challenges remain for full-scale reactor modeling. Moving to 3D toroidal geometries will require more complex architectures, such as Transformers, to handle increased dimensionality. Additionally, optimizing I/O overhead and implementing "Active Learning" to select the most informative training samples could further enhance the framework's efficiency. By turning the simulation process into a "data factory," Neural-Parareal paves the way for real-time, high-fidelity fusion plasma monitoring and control.
Summary updated