Skip to main content
QUICK REVIEW

[Paper Review] Autoregressive Transformers for Disruption Prediction in Nuclear Fusion Plasmas

Lucas Spangher, William A. Arnold|arXiv (Cornell University)|Dec 29, 2023
Topic ModelingComputer Science5 citations
TL;DR

This paper proposes autoregressive Transformers for predicting disruptions in nuclear fusion tokamaks, achieving a 5% average AUC improvement over the prior state-of-the-art HDL model. By leveraging long-context attention and data augmentation, the model captures long-term plasma memory, demonstrating superior performance and physical interpretability on data from three major tokamaks including DIII-D and Alcator C-Mod.

ABSTRACT

The physical sciences require models tailored to specific nuances of different dynamics. In this work, we study outcome predictions in nuclear fusion tokamaks, where a major challenge are extit{disruptions}, or the loss of plasma stability with damaging implications for the tokamak. Although disruptions are difficult to model using physical simulations, machine learning (ML) models have shown promise in predicting these phenomena. Here, we first study several variations on masked autoregressive transformers, achieving an average of 5\% increase in Area Under the Receiving Operating Characteristic metric above existing methods. We then compare transformer models to limited context neural networks in order to shed light on the ``memory'' of plasma effected by tokamaks controls. With these model comparisons, we argue for the persistence of a memory throughout the plasma extit{in the context of tokamaks} that our model exploits.

Motivation & Objective

  • To develop a machine learning model that improves disruption prediction accuracy in nuclear fusion tokamaks beyond existing state-of-the-art methods.
  • To investigate whether Transformers can effectively model long-term temporal dependencies in plasma dynamics, suggesting the presence of persistent plasma memory.
  • To evaluate the impact of data augmentation, curriculum learning, and pretraining on model performance and interpretability.
  • To assess whether the model's attention mechanisms align with known physical indicators of plasma instability.
  • To provide a foundation for deploying robust, generalizable disruption prediction systems in future commercial-scale fusion reactors.

Proposed method

  • Adapts a GPT-like autoregressive Transformer architecture to sequence-to-label classification for disruption prediction using global plasma state variables.
  • Applies data augmentation by randomly sampling subwindows from full shots and re-labeling based on a tokamak-specific disruption onset threshold (τ_r_i).
  • Employs curriculum learning, training the model starting from the final 10ms of shots and progressively extending the context window to improve generalization.
  • Uses state pretraining on plasma state variables to improve representation learning and model generalization.
  • Utilizes global attention maps to interpret model attention patterns and correlate them with known physical phenomena such as loop voltage spikes and β_p changes.
  • Normalizes and discretizes multi-tokamak data at 5ms intervals via forward-fill interpolation to enable cross-machine generalization.
Figure 1: Sequence to Label classification task using GPT2-like transformers.
Figure 1: Sequence to Label classification task using GPT2-like transformers.

Experimental results

Research questions

  • RQ1Can autoregressive Transformers outperform existing deep learning baselines like the Hybrid Deep Learner (HDL) in disruption prediction across diverse tokamak configurations?
  • RQ2Does the model’s performance depend on long-context temporal modeling, indicating the presence of persistent plasma memory?
  • RQ3To what extent do data augmentation and curriculum learning improve model generalization and robustness on unseen tokamak data?
  • RQ4Can attention mechanisms in the Transformer model be interpreted as detecting known physical precursors to disruptions, such as loop voltage spikes or β_p variations?
  • RQ5How does pretraining on plasma state variables affect the model’s ability to learn meaningful representations for disruption prediction?

Key findings

  • The proposed Aug-GPT model achieves an average 5% improvement in Area Under the ROC Curve (AUC) over the HDL baseline, with a mean AUC of 0.814 compared to HDL’s 0.76.
  • The vanilla GPT model outperforms the HDL baseline by 4.7% AUC, indicating that autoregressive Transformers are better suited for capturing long-term dependencies in plasma dynamics.
  • Performance degrades significantly when context is reduced from 480ms to 80ms, suggesting the model relies on long-range temporal context for accurate predictions.
  • Global attention maps show sustained attention across the entire shot duration, even in later time steps, indicating that the model does not lose focus on early plasma behavior.
  • Attention maps correlate with known physical indicators: spikes in loop voltage and changes in β_p and Li are consistently highlighted, confirming alignment with physical instability signatures.
  • State pretraining improves model performance across all settings, and the model also acts as an effective state predictor, suggesting broader utility beyond disruption prediction.
Figure 2: Exploration of transformer behavior. Here, we ablate on limiting data context to test whether performance is directly effected by physical memory.
Figure 2: Exploration of transformer behavior. Here, we ablate on limiting data context to test whether performance is directly effected by physical memory.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.