Skip to main navigation Skip to search Skip to main content

Predicting resistive wall mode stability in NSTX through balanced random forests and counterfactual explanations

Research output: Contribution to journalArticlepeer-review

Abstract

Recent progress in the disruption event characterization and forecasting framework has shown that machine learning guided by physics theory can be easily implemented as a supporting tool for fast computations of ideal stability properties of spherical tokamak plasmas. In order to extend that idea, a customized random forest (RF) classifier that takes into account imbalances in the training data is hereby employed to predict resistive wall mode (RWM) stability for a set of high beta discharges from the NSTX spherical tokamak. More specifically, with this approach each tree in the forest is trained on samples that are balanced via a user-defined over/under-sampler. The proposed approach outperforms classical cost-sensitive methods for the problem at hand, in particular when used in conjunction with a random under-sampler, while also resulting in a threefold reduction in the training time. In order to further understand the model's decisions, a diverse set of counterfactual explanations based on determinantal point processes (DPP) is generated and evaluated. Via the use of DPP, the underlying RF model infers that the presence of hypothetical magnetohydrodynamic activity would have prevented the RWM from concurrently going unstable, which is a counterfactual that is indeed expected by prior physics knowledge. Given that this result emerges from the data-driven RF classifier and the use of counterfactuals without hand-crafted embedding of prior physics intuition, it motivates the usage of counterfactuals to simulate real-time control by generating the β N levels that would have kept the RWM stable for a set of unstable discharges.

Original languageEnglish (US)
Article number036002
JournalNuclear Fusion
Volume62
Issue number3
DOIs
StatePublished - Mar 2022
Externally publishedYes

All Science Journal Classification (ASJC) codes

  • Nuclear and High Energy Physics
  • Condensed Matter Physics

Keywords

  • counterfactuals
  • machine learning
  • random forest
  • resistive wall mode

Fingerprint

Dive into the research topics of 'Predicting resistive wall mode stability in NSTX through balanced random forests and counterfactual explanations'. Together they form a unique fingerprint.

Cite this