TL;DR
This paper demonstrates the first successful deployment of an offline reinforcement learning (RL) policy to control the full plasma rotation profile on a live tokamak (DIII-D). By training a standard RL policy inside a bootstrapped ensemble of probabilistic dynamics models learned purely from historical data, the authors bypassed the need for high-fidelity simulators and achieved real-time, multi-actuator control in a physical fusion environment.
What Problem Does This Paper Address?
Achieving practical nuclear fusion requires stabilizing superheated plasma confined by magnetic fields inside a donut-shaped device called a tokamak. A key factor influencing plasma stability, confinement, and transport is the rotation profile—how fast the plasma rotates at various points from its core to its outer edge.
Controlling this profile is an incredibly difficult multi-input multi-output (MIMO) problem. The underlying plasma physics are highly non-linear, and the actuators (like neutral beam injectors and gas puffing) exhibit strong radial coupling, meaning an adjustment intended for one area impacts the entire profile. Traditional controllers struggle with this complexity, and standard "on-policy" RL is out of the question because live tokamak experiments are far too expensive and risky for trial-and-error learning. Furthermore, physics-based simulators are currently not accurate enough to reliably train rotation controllers.
To bridge this gap, the authors look to offline RL, aiming to learn effective control policies using nothing but historical data from past tokamak runs.
Methods
The authors developed a model-based offline RL framework divided into two main phases:
- Dynamics Model Learning (The World Model): They trained an ensemble of 25 Recurrent Probabilistic Neural Networks (RPNNs) on historical data to act as a data-driven simulator. To handle high-dimensional profile data, they used Principal Component Analysis (PCA) to compress the 33-dimensional profile space into just a few principal components. The RPNNs predict the mean and log-variance of the next state, capturing both aleatoric uncertainty (inherent randomness in the plasma) and epistemic uncertainty (model disagreement).
- Policy Learning: Instead of using specialized offline RL algorithms that often suffer from extreme over-conservatism, the authors trained a standard model-free algorithm—Proximal Policy Optimization (PPO)—directly inside their learned RPNN ensemble.
During training, the policy generates trajectories by autoregressively sampling from a randomly selected RPNN model each rollout. This variance forces the policy to find robust strategies that succeed across all plausible plasma dynamics. For deployment, the policy was compiled into C code and integrated directly into the DIII-D Plasma Control System (PCS), operating at 20 ms timesteps.
Datasets
The models were trained using a massive dataset of roughly 18,000 historical plasma shots from the DIII-D tokamak.
- Training Profiles: Derived from "Zipfit" reconstructions, which provide smooth, physically constrained, high-quality offline estimates of plasma metrics.
- Deployment Profiles: Real-time deployment must rely on "RTCAKENN" predictions—a neural network that estimates profiles live during a shot. This discrepancy creates a distinct "sim2real" gap, as RTCAKENN signals are significantly noisier than Zipfit data.
Key Insights and Ideas
- Ensembles as Natural Regularizers: Standard PPO trained on the probabilistic ensemble outperformed specialized offline RL algorithms (like CQL or MOPO). The ensemble's natural variance in uncertain regions inherently penalized the policy, preventing it from exploiting model inaccuracies without needing explicit, heavy-handed mathematical penalties that cause over-cautious behavior.
- The Sim2Real Gap is a Diagnostic Mismatch: The primary barrier to transferring the policy from simulation to the real world wasn't just unmodeled physics, but a shift in data characteristics. Training on clean, offline-calculated profiles (Zipfit) vs. deploying on noisy, high-frequency real-time estimates (RTCAKENN) introduced a consistent tracking offset.
- Hysteresis and Transient Awareness: The RL policy demonstrated an intuitive grasp of non-linear transients. In real-world tests, it recognized when a brief actuator burst successfully "locked" the plasma into a desired state, allowing it to back off the actuators and maintain the profile efficiently.
Key Results
In simulated benchmarks against 12 other behavior cloning and offline RL methods, the ensemble-trained PPO approach achieved the lowest Root Mean Squared Error (RMSE) of 29.50, noticeably beating out competitive offline model-based methods like MOBILE (32.99) and RAMBO (40.05).
When deployed live on the DIII-D tokamak (Shot 203022), the policy successfully responded to mid-shot target changes. It intelligently coordinated Neutral Beam power, Neutral Beam torque, and Gas Puffing voltages to manipulate the real-world plasma rotation profile in a physically meaningful direction.
Limitations and Future Work
Despite the successful deployment, several key challenges remain:
- Steady-State Tracking Errors: The policy exhibited a persistent tracking offset in real-world tests, primarily driven by the noise mismatch between Zipfit and RTCAKENN profiles.
- Actuator Vulnerability: Tokamak hardware (like gyrotrons) is prone to partial failures or dropouts. The current policy assumes all actuators behave perfectly.
- Non-Stationary Machine Dynamics: Because the dataset spans over a decade, the physical DIII-D tokamak underwent multiple hardware upgrades, causing the underlying system dynamics to drift over time.
Future work will focus on training RL policies with privileged information (training on rich offline states but adapting to limited real-time observations), building fault-tolerant architectures to handle actuator dropouts, and utilizing latent context variables to account for historical machine drift.
Summary updated