Abstract
This paper presents a sample-efficient reinforcement learning (RL) framework for the safe termination of fusion plasmas, a critical process known as "ramp-down." By integrating physics-based models with Neural Differential Equations (NDEs) in a GPU-accelerated JAX environment, the authors developed a "trajectory design assistant." This tool generates robust, disruption-avoiding paths for the upcoming SPARC reactor in seconds. The approach achieves high sample efficiency—requiring only hundreds of simulations compared to the millions typically needed for RL—and demonstrates successful transfer between simulation environments.
Introduction
In the pursuit of clean fusion energy, plasma disruptions represent a significant hurdle. These events occur when control over the ultra-hot plasma is lost, potentially damaging the reactor and causing extensive downtime. Avoiding disruptions is particularly critical during the ramp-down phase, where the plasma current is gradually reduced to zero.
The challenge in designing safe ramp-down trajectories is twofold: the inherent physics uncertainty of plasma turbulence and the extreme computational cost of high-fidelity simulations. Traditional methods often rely on simplified linear models that lack robustness against the noise and uncertainty of real-world fusion environments. This work addresses these issues by combining differentiable physics simulations with constraint-conditioned reinforcement learning.
Methodology
PopDownGym: A Hybrid Simulation Environment
The authors introduce PopDownGym, a simulation environment built on three technical pillars:
- Neural Differential Equations (NDEs): Rather than using a pure black-box neural network, the researchers utilize a hybrid approach. They embed well-known 0-D physics equations (power and particle balance) and use neural networks to model complex, unknown dynamics such as voltage changes.
- Differentiable Simulation in JAX: By implementing the simulator in JAX, the model becomes fully differentiable and GPU-compatible. This allows for massive parallelization, achieving speeds of up to 10,000 simulations per second on a single NVIDIA A100 GPU.
- Constraint-Conditioned RL: A policy is trained using Proximal Policy Optimization (PPO). Uniquely, safety limits (e.g., maximum pressure or internal inductance) are treated as inputs to the policy. This allows operators to adjust safety thresholds at runtime without retraining the model.
Data and Training
The study utilized a synthetic dataset generated from RAPTOR, a high-fidelity, control-oriented transport simulator. While standard RL often requires millions of trials, this hybrid approach achieved success using only 481 simulations of the SPARC Primary Reference Discharge (PRD) ramp-down. Of these, 336 were used for training the NDE model, with the remainder reserved for validation.
Key Results and Discussion
Performance and Safety
The RL-trained policy significantly outperformed naive baselines, successfully maintaining the plasma within eight distinct disruptive limits, including the Greenwald fraction and internal inductance. The "trajectory assistant" paradigm allows for rapid iteration, generating optimized paths for varying reactor conditions in seconds—a task that previously required extensive manual optimization.
Sim-to-Sim Transfer
A critical finding was the successful "Sim2Sim" transfer. The policy trained on the ultra-fast PopDownGym successfully controlled the higher-fidelity RAPTOR simulator. This proves that the simplified NDE-based model effectively captured the essential physics required for robust control.
Conclusion and Future Work
By embedding physical laws into the model structure via NDEs, the AI avoids "relearning" thermodynamics, leading to unprecedented sample efficiency. However, limitations remain. The current 0-D model does not account for "profile" effects—spatial variations in temperature and density. Future work will focus on bridging the "Sim-to-Real" gap by incorporating data from operational tokamaks and expanding the model to include spatial dynamics. Additionally, the researchers noted that some constraint violations are likely due to "physically infeasible" states where no control action can satisfy safety requirements, highlighting the need for early-stage trajectory planning.
Summary updated