Manuscript Offprint
arXiv:2610.32264Tokamak-SI: Interpreting Tokamak Discharges with Labeled Catalogs
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Finding which phenomena occur in a tokamak discharge, and when, is often a manual task. Previous efforts at labeling events have been task-specific, each with its own corpus of data. We introduce Tokamak-SI, which combines the labels and labeling methods of many earlier studies into a single scalable, time-aligned, and categorical dataset covering observations from confinement, detachment, Alfvén eigenmodes (AEs), edge-localized modes (ELMs), sawtooth, tearing modes (TMs) and resistive wall modes (RWMs) in DIII-D National Fusion Facility (DIII-D). Models based on this, which can extend the labels to new shots, match or beat earlier detectors on its labels, including for AE, ELM, and TM detection. Tokamak-SI is intended to enable task-specific benchmarking, physics-searchable archives, and direct identification of key events during an experiment.
1. Introduction
A tokamak discharge, or shot, can record many diagnostic measurements which scientists inspect or pass to custom algorithms to characterize the physics of interest. As a result, fusion databases are often specialized to one purpose, such as equilibrium regression (Nakkina et al., 2026; Shousha et al., 2023) or event prediction (Zamkovska et al., 2024; Seo et al., 2024). This makes analysis across disciplines disjointed, and makes it hard to search for events or to evaluate algorithms. Additionally, datasets that combine several events often add their own heuristics, and different diagnostics or heuristics applied to the same shot can give different ground truths, a problem for machine-learning workflows.
Department of Mechanical and Aerospace Engineering, Princeton University, NJ, USA Oak Ridge Institute for Science and Education, Oak Ridge, TN, USA Princeton Plasma Physics Laboratory, NJ, USA. Correspondence to: Nathaniel Chen nathaniel@princeton.edu, Egemen Kolemen ekolemen@princeton.edu.
Preprint. Work in progress; this version reports the catalog of October 2026. Copyright 2026 by the author(s).
Here we attempt to invert this workflow by combining established labeling methods into one large, time-aligned dataset, with automated labels guiding expert review. The dataset makes archives of thousands of shots searchable by physics, and gives foundation models for tokamak data (Boschi et al., 2026; Steiner et al., 2026) and language-model agents labeled targets (Steiner et al., 2026).
A lack of aligned or standardized labels. Interpreting a shot requires labels aligned across phenomena. Tables of Alfvén eigenmodes (Jalalvand et al., 2021; Garcia et al., 2023), tearing modes (Seo et al., 2024), ELMs and confinement were each compiled for individual studies. Two separate sources for ELMs were found during this search, one made for the purpose of characterizing ELM-y periods (O'Shea et al., 2022) and the other for marking highly damaging breakthrough ELMs (Butt et al., 2025). Benchmarks such as TokaMark (Rousseau et al., 2026) mostly target physics-informed regression, with fixed diagnostics and time windows that make new sensors hard to add. Labeling tools and standard dataset schemas have also recently been proposed and are at various stages of development (Michoski et al., 2025; Jackson et al., 2026; Sharma et al., 2025).
Tokamak-SI. Tokamak-SI, or tokamak shot interpreter, combines uniform labels for confinement regimes, detachment, AEs, ELMs, sawtooth, TMs and RWMs with a scheme for using them in analysis. Labels can be viewed on their diagnostics (Figure 1), and TokEye (Chen et al., 2026a) is used to assign labels to coherent and transient modes in spectrograms.
-
A benchmark protocol and benchmarks on prior models: For each phenomenon, trivial baselines, detectors from earlier studies, and our models are scored on a consistent set of labels and, where original labels exist, those too (Figure 2).
-
Automatic review of tokamak discharges: Known activity is displayed directly on diagnostic views (Figure 1).
2. Related Work
Large labeled datasets and label quality. Large labeled datasets, primarily ImageNet (Deng et al., 2009) and COCO (Lin et al., 2015), demonstrate that common formats for training and evaluating on large datasets can be categorical.
Subsequent work shows that labels can go beyond the classes that are present, with absent and uncertain events labeled explicitly. LVIS (Gupta et al., 2019) and Open Images (Kuznetsova et al., 2020) store verified negatives, and CheXpert's uncertain labels (Irvin et al., 2019), PTB-XL's validation flags (Wagner et al., 2020) and GWTC's duty cycles (LIGO Scientific Collaboration et al., 2026) mark what was undecided or unobserved, as our four states and tiers do.
If an initial labeling process produces errors, especially in localization, multiple passes can be used to align datasets (Northcutt et al., 2021; Beyer et al., 2020; Recht et al., 2019). This and AudioSet's temporally strong relabeling (Gemmeke et al., 2017) of its weak clip labels demonstrate recursive label improvement. Time-axis event scoring metrics additionally benefit datasets that heavily depend on forecasting or time-series classification (Mesaros et al., 2016; Tatbul et al., 2019).
Fusion data and event labels. Community databases usually record targeted entries, such as confinement time slices (Verdoolaege et al., 2021) or L–H transitions (Delabie et al., 2026). Open datasets and benchmarks (FAIR-MAST, Jackson et al., 2024; TokaMark, Rousseau et al., 2026; the Fusion Equilibrium Challenge, Nakkina et al., 2026) usually contain established continuous physics values or simple targets. Detectors exist for AEs (Jalalvand et al., 2021; Garcia et al., 2023), ELMs (ELM-O, a multi-diagnostic rule; O'Shea et al., 2022), the confinement regime (from beam emission spectroscopy (BES); Gill et al., 2023), tearing onset (Seo et al., 2023), sawtooth on HL-3 (OuYang et al., 2025) and event chains (Sabbagh et al., 2023). We re-score most of these detectors on DIII-D data with our available labels, and on their original labels where available (Section 5). On MAST, Sharma et al. (2025) give baselines for disruption, spectrogram magnetohydrodynamic (MHD), confinement and ELM tasks, each on its own small label set. Spectrograms have been segmented automatically (Zapata-Cornejo et al., 2024; Chen et al., 2026a). Human-in-the-loop and software-accelerated workflows have also been proposed or provided (Michoski et al., 2025; Jackson et al., 2026).
3. The Tokamak-SI Dataset
Currently, Tokamak-SI covers seven phenomena: AEs, ELMs, confinement, tearing modes, sawtooth, RWMs and divertor detachment.
3.1. Shots, tiers and alignment
Population and cohort. The population is the 4,872 DIII-D shots numbered 185601–204999 (2021–2025) that pass five rules on plasma current, duration, heating and available data (Section A). A cohort of 500 shots is set aside for expert review and split before any labeling into 400 train, 50 validation and 50 blind test shots.
Provenance tiers. Every label records its source. Gold labels are expert-labeled data of the test split. Silver labels are expert reviews of larger output drafts, such as an original table or a model's output. Bronze labels are a model's output over the population, released only if the model passes a test on gold: precision and recall of at least 0.75, and a paired interval above the best trivial baseline. Labeled datasets up to bronze can be iteratively refined. While we keep original labels as tables from earlier studies, all of the standardized sets share one schema and one time axis per shot, so any two sources or phenomena compare bin by bin.
3.2. Label sets
Besides the task-specific categories, each label set also contains an option for uncertain observations and no observations as they can provide potentially weighted options during training. Each set also contains an option for whether the label spans a time or is an instance within a time. This covers the presence of individually identifiable events and clusters of events, which can occur in many named fusion phenomena.
Alfvén eigenmodes. Original label sets come from Jalalvand et al. (2021) and Garcia et al. (2023): an expert annotation of 180 shots, with sparse samples over 0–2 s (Section B.1). These shots are updated to cover full discharges so that every 10 ms frame is marked. Dense labels also cover 13 shots of the electron cyclotron emission (ECE)-based set (Jalalvand et al., 2021) and two cohort shots, 195 shots in all.
Edge localized modes. Original label sets come from O'Shea et al. (2022) and a list of ELM onset times (Butt et al., 2025). Experts reviewed 119 cohort shots, starting from an automated ELM detector. Each present span is either a single ELM or a span of an ELMing period whose individual ELMs are not separated (Section B.2).
(a)

(b)
(c)
(d)
(e)
(f)
Figure 1. Shot interpretation on DIII-D shot #199597 (0.1–6.2 s). (a) Raw CO₂ interferometer cross-power spectrogram (chords R0×V1). (b) Automatically labeled CO₂ spectrogram combining TokEye’s output with toroidal mode number n from the Mirnov array and labels from Tokamak-SI. (c) Dα with the automatically labeled ELM intervals (coral boxes) and confinement regimes. (d) Neutral beam power. (e) Normalized beta βN. (f) Automatic labels: AE, TM, confinement regimes, ELM, sawtooth; color present, gray absent, hatched uncertain, blank unassessed.
Confinement. Each time bin is L-mode, H-mode, quiescent H-mode (QH) or wide-pedestal quiescent H-mode (WPQH). Original label sets come from the confinement-mode database of Gill et al. (2023) and a second database (Butt et al., 2025) that covers WPQH more fully.
Tearing modes. Original label sets come from Seo et al. (2024) and the onsets used to train a tearing survival model (Farre-Kaga et al., 2026). However, these are non-specific n=1 tearing modes. So here we attempt to narrow these down as either 2/1 or 3/2 modes by checking poloidal phase.
Sawtooth. We did not have an immediate sawtooth dataset or machine-learning dataset on hand. So we first applied a criterion based on heuristics from ECE measurements: we would classify a sawtooth if an inversion occurs on core ECE and edge ECE channels (Muscatello et al., 2012). It labels 13,319 of the 16,909 shots we hold. For larger sets of sawteeth, a train of at least three crashes with an inversion, 20–250 ms apart is used as the criterion for an initial set (Muscatello et al., 2012).
Resistive wall modes. Original label sets come from Hanson et al. (2017) and Hanson et al. (2024), which analyze onsets within discharges in 2014 and 2018.

Labeled data per set

Figure 2. F1 on original and Tokamak-SI labels. Dashes: trivial baselines. Row 3: shots with present or absent time (numbers) and hours of that time (bars).
Detachment. No discrete database of detachment labels exists, so we attempt to combine methods from Chen et al. (2026b), Eldon et al. (2019), Eldon et al. (2021) and Byun et al. (2026) into one rule that classifies each time bin as attached, detached, or Multifaceted Asymmetric Radiation From the Edge (MARFE) (Lipschultz et al., 1984; Section B.7).
4. Benchmark Protocol and Baselines
Gold labels are not scored on all categories yet, so every score below is exploratory and no model output is yet released as bronze.
Baselines. Every comparison includes an always present baseline, which can show the effects of prevalence on prediction. Non-ML signal-processing methods are also used as simpler baselines for comparison: an ELM peak finder, which finds ELMs as bursts; tm-rule, the rule behind the tearing-mode labels in previous control literature (Seo et al., 2023; 2024); and saw-derivative, a derivative crash picker. Earlier papers’ detectors are re-run, retrained or re-implemented (Section C): ae-lstm and ae-rcn for AEs (Garcia et al., 2023); confine-cnn, a 3-D CNN on BES, for confinement (Gill et al., 2023); the rule-based elm-elmo (O’Shea et al., 2022) and elm-dsm-detect, adapted from an ELM survival model (Butt et al., 2025), for ELMs; the onset CNN tm-cnn (Seo et al., 2023) and the survival model tm-dsm (Farre-Kaga et al., 2026) for tearing modes; saw-hl3 (OuYang et al., 2025) for sawtooth; and rwm-brf, a balanced random forest (Piccione et al., 2022), for RWMs. Our models end in -ours (Section C).
Test sets and statistics. AEs are tested on the 19 benchmark shots, those of ae-ours's 60 validation shots that no detector trained on, using the predictions the older detectors saved. ae-ours used its validation shots for early stopping and run selection, and their AE prevalence (0.70) differs from that of its training shots (0.41), so its scores are optimistic. All other learned scores come from cross-validation on development shots. Intervals are 95% shot-bootstrap percentiles, and differences are paired.
5. Benchmark Results
Table 1 scores earlier papers’ models and ours. These can also be visually compared in Figure 2 (F1) and Figure 5 (AUROC and AUPRC).
5.1. Alfvén eigenmodes
Against the dense labels ae-ours leads on every metric (F1 0.944 against 0.774 and 0.715; Table 6). With 68% of frames present, neither older detector beats always present (F1 0.812) at its own threshold, and even thresholds tuned on the scored frames give them F1 of 0.82–0.87.
5.2. Confinement
Pooled over five random by-shot splits (142 shots), confine-cnn reaches macro-F1 0.703 [0.59, 0.79], against 0.94 in its paper on 44 test shots. No protocol factor we tested moves the score by more than 0.05, so the gap is unexplained (Table 7). confine-ours, a 1-D U-Net over slow signals without BES, reaches 0.909 [0.79, 0.96] on the same windows (paired difference +0.207 [+0.09, +0.31]) and 0.910 [0.882, 0.936] on 416 shots in run-day folds. It is experimental, since its labels were set from the traces it reads.
5.3. Edge localized modes
On the hand-labeled windows of O'Shea et al. (2022), elm-elmo reproduces its published precision and recall (0.997 and 0.986, against 0.995 and 0.976); the windows were selected around known ELMs, so these scores hold only on them. Our labels pose a different task, ELMy-period detection. On the 73 reviewed shots with BES, elm-ours, a 1-D U-Net over Dα and density without BES, reaches F1 0.845 against elm-elmo's 0.842 (difference +0.002 [-0.052, +0.058]; Table 8), and it also runs on shots without BES (F1 0.830 on all 119 reviewed cohort shots; Figure 6).
5.4. Other label sets
Tearing modes. Against their original targets, the published forecasters tm-cnn and tm-dsm reach F1 0.611 (training overlap unknown) and 0.177. Retrained to detect a mode at the current time (Section C), they reach F1 0.844 and 0.799 on our labels, on the shots with their inputs. tm-ours reaches F1 0.960 and AUROC 0.999 on 450 shots (Table 9 and Figure 7).
Sawtooth. A sawtooth needs a surface, so the benchmark also scores observable time with no surface as absent (Section B.5). Out of fold on 386 training shots, saw-ours leads on presence F1, AUROC and crash F1 within 2 ms (0.958, 0.984 and 0.891, against 0.729, 0.870 and 0.657 for saw-derivative; Table 4). saw-hl3's F1 (0.483) is not clearly above always present (0.411), though on its paper's three-class window task it beats the majority class (window accuracy 0.715 against 0.522).
Resistive wall modes. Both models are balanced random forests (Piccione et al., 2022) that classify each 10 ms bin of the listed shots, scored against mode durations derived from the onsets (Section B.6). rwm-brf reads equilibrium scalars, the n=1 and n=2 magnetic RMS and rotation, and reaches F1 0.034, against 0.013 for always present. rwm-ours adds the n=1 of the midplane poloidal-field probes, I-coil activity and rotation at q=2, and reaches F1 0.529 [0.432, 0.609] and AUROC 0.967 (Table 5).
Detachment. With no independent reference, we report checks. The divertor tangential camera label ranks divertor Thomson with AUROC 0.95 [0.91, 0.98] on 23 shots (0.94 without the calibration shot), measured before the L-mode correction (Section B.7, Figure 4). Trained on the labels with shot-grouped folds, detach-ours reaches macro-F1 0.722 [0.55, 0.87] (majority class 0.34), which measures consistency rather than accuracy.
6. Limitations and Roadmap
Limitations. The AE labels started from the annotation, use only present and absent, predate the population and lie only on AE shots, so false alarms on AE-free shots and expert agreement are unmeasured. Confinement, RWM, tearing-mode and detachment shot are in the process of full review.
Roadmap. Next come a second AE reader, gold labels on the consistent 50 blind shots across all categories, cohort review in random order to give population base rates, rescoring every method on gold, and a comparison of fully labeled against single-phenomenon training at equal expert cost. We will release labels, splits, code and weights (Section F).
Acknowledgements
We thank Jeremy Hanson for datasets on the DIII-D RWM, Hiro Kaga-Farre and Kei Yasoda for guidance on TM analysis methods, Kouroche Bouchiat, Sangkyeun Kim, Jayson Barr and Minseok Kim for their help and datasets, and Lawrence Livermore National Laboratory for the divertor tangential camera (TangTV) access. The authors gratefully acknowledge the collaboration of the DIII-D Team.
This material is based upon work supported by the U.S. Department of Energy (DOE), Office of Science, Office of Fusion Energy Sciences, using the DIII-D National Fu-
Table 1. Model scores per label set. Bold: best per metric among models scored on the same bins.
| Model | AUROC | AUPRC | F1 |
|---|---|---|---|
| Alfvén eigenmodes | |||
| ae-ours (ours) | 0.982 | 0.992 | 0.944 |
| ae-rcn (Garcia et al., 2023) | 0.836 | 0.918 | 0.774 |
| ae-lstm (Garcia et al., 2023) | 0.714 | 0.842 | 0.715 |
| Confinement Regimes | |||
| confine-cnn (Gill et al., 2023) | 0.889 | 0.713 | 0.703 |
| confine-cnn, as published | - | 0.94 | |
| confine-ours (ours) | 0.987 | 0.939 | 0.909 |
| Edge Localized Modes | |||
| elm-ours (ours) | 0.941 | 0.875 | 0.845 |
| elm-elmo (O’Shea et al., 2022) | 0.918 | 0.833 | 0.842 |
| elm-dsm-detect | 0.840 | 0.731 | 0.783 |
| Tearing Modes | |||
| tm-ours (ours) | 0.999 (0.948) | 0.994 (0.512) | 0.960 (0.363) |
| tm-rule | 0.998 (0.963) | 0.986 (0.632) | 0.940 (0.447) |
| tm-cnn (Seo et al., 2023) | 0.982 (0.903) | 0.953 (0.444) | 0.844 (0.435) |
| tm-dsm | 0.963 (0.839) | 0.871 (0.297) | 0.799 (0.356) |
| Sawtooth | |||
| saw-ours (ours) | 0.984 | 0.974 | 0.958 |
| saw-hl3 (OuYang et al., 2025) | 0.752 | 0.489 | 0.483 |
| saw-derivative | 0.870 | 0.573 | 0.729 |
| Resistive Wall Modes | |||
| rwm-ours (ours) | 0.967 | 0.523 | 0.529 |
| rwm-brf (Piccione et al., 2022) | 0.711 | 0.014 | 0.034 |
| rwm-brf, as published | 0.918 | - | - |
sion Facility, a DOE Office of Science user facility, under Award Nos. DE-FC02-04ER54698, DE-SC0014664, DE-AC02-09CH11466, DE-SC0024527, DE-SC0026429 and DE-AC52-07NA27344. Additional support was provided by the Princeton Laboratory for Artificial Intelligence under Award No. 2025-97.
Disclaimer. This report was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor any agency thereof, nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial product, process, or service by trade name, trademark, manufacturer, or otherwise does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States Government or any agency thereof. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or any agency thereof.
Impact Statement
This work aims to make fusion experiments machine-interpretable, to speed a candidate source of low-carbon energy. The dataset holds plasma physics data and no personal information. Operator logbook text is used only through a lexicon, and annotator identities will be pseudonymized in the release. The main risk is over-trust: if people or language models read model outputs as facts, detector errors could reach scientific conclusions. So outputs that fail their bar ship as suggestions, never as labels; every label carries its source and coverage; and the language interface separates observations from text mentions and forecasts (Section E).
References
Adavanne, S., Politis, A., Nikunen, J., and Virtanen, T. Sound Event Localization and Detection of Overlapping Sources Using Convolutional Recurrent Neural Networks. IEEE Journal of Selected Topics in Signal Processing, 13(1):34–48, March 2019. ISSN 1932-4553, 1941-0484. doi: 10.1109/JSTSP.2018.2885636. URL https://ieeexplore.ieee.org/document/8567942/.
Beyer, L., Hénaff, O. J., Kolesnikov, A., Zhai, X., and Oord, A. v. d. Are we done with ImageNet?, June 2020. URL http://arxiv.org/abs/2006.
- arXiv:2006.07159 [cs.CV].
Boschi, T., Loreti, A., Amorisco, N. C., Ordonez-Hurtado, R. H., Rousseau, C., Holt, G. K., Székely, E., Whittle, A., Jackson, S., Agnello, A., Pamela, S., Pascale, A., Akers, R., Moreno, J. B., Alexandrov, V., and Zayats, M. Toka-Mind: A Multi-Modal Transformer Foundation Model for Tokamak Plasma Dynamics, June 2026. URL http://arxiv.org/abs/2602.15084. arXiv:2602.15084 [physics.plasm-ph].
Butt, J., Hu, Q., Osborne, T. H., Wilks, T. M., Kim, S., Yang, S., Bortolon, A., and Kolemen, E. Wide-window ELM suppression on DIII-D: predicting the SVR operational space for optimized edge plasma response and experimental validation. In 67th Annual Meeting of the APS Division of Plasma Physics, November 2025. URL https://meetings-archive.aps.org/dpp/2025/to05/10/.
Byun, C., Oh, S., Kim, S., Kim, B., Han, Y., Hahn, S., Lee, H., Jalalvand, A., Lee, Y., Hwang, J., Shousha, R., Park, J.-S., and Kolemen, E. Radiation-front position control with scenario adjustments during the first tungsten divertor operation on KSTAR. Nuclear Fusion, 66(4):046021, March 2026. ISSN 0029-5515. doi: 10.1088/1741-4326/ae4d24. URL https://doi.org/10.1088/1741-4326/ae4d24.
Chen, N., Bouchiat, K., Steiner, P., Rothstein, A., Smith, D., Austin, M., van Zeeland, M., Jalalvand, A., and Kolemen, E. TokEye: Fast Signal Extraction for Fluctuating Time Series via Offline Self-Supervised Learning From Fusion Diagnostics to Bioacoustics, February 2026a. URL https://arxiv.org/abs/2602.20317v2.
Chen, N., Byun, C., Jalalvand, A., Kim, S., Rothstein, A., Scotti, F., Allen, S., Eldon, D., Erickson, K., and Kolemen, E. Regulation compliant AI for fusion: explainable image-based feedback control of divertor detachment in DIII-D tokamak. Nuclear Fusion, 66(3): 036014, February 2026b. ISSN 0029-5515. doi: 10.1088/1741-4326/ae3972. URL https://doi.org/10.1088/1741-4326/ae3972.
Delabie, E., Solano, E., Hughes, J., Maggi, C., Rytter, F., Birkenmeier, G., Carvalho, P., Cavedon, M., Chernyshova, M., David, P., Hillesheim, J., Plank, U., Team, t. E. T. E., Team, t. A. U., and Contributors, J. E. T. Empirical scaling of the L–H threshold power for metal wall tokamaks using a multi-device database. Nuclear Fusion, 66(3):036016, February 2026. ISSN 0029-5515. doi: 10.1088/1741-4326/ae39f2. URL https://doi.org/10.1088/1741-4326/ae39f2.
Deng, J., Dong, W., Socher, R., Li, L.-J., Li, K., and Fei-Fei, L. ImageNet: A large-scale hierarchical image database.
In 2009 IEEE Conference on Computer Vision and Pattern Recognition, pp. 248–255, June 2009. doi: 10.1109/CVPR.2009.5206848. URL https://ieeexplore.ieee.org/document/5206848. ISSN: 1063-6919.
Eldon, D., Wang, H. Q., Wang, L., Barr, J., Ding, S., Garofalo, A., Gong, X. Z., Guo, H. Y., Järvinen, A. E., Li, K. D., McClenaghan, J., McLean, A. G., Samuell, C. M., Watkins, J. G., Weisberg, D., and Yuan, Q. P. An analysis of controlled detachment by seeding various impurity species in high performance scenarios on DIII-D and EAST. Nuclear Materials and Energy, 27:100963, June 2021. ISSN 2352-1791. doi: 10.1016/j.nme.2021.100963. URL https://www.sciencedirect.com/science/article/pii/S235217912100048X.
Eldon, D. et al. Advances in radiated power control at DIII-D. Nuclear Materials and Energy, 18:285–290, 2019. doi: 10.1016/j.nme.2019.01.010.
Farre-Kaga, H. J., Rothstein, A., Sonker, R., Kim, S., Shousha, R., Kim, M., Erickson, K., Schneider, J., and Kolemen, E. Interpreting AI for fusion: An application to plasma profile analysis for tearing mode stability. Physics of Plasmas, 33(3):032502, March 2026. ISSN 1070-664X. doi: 10.1063/5.0311201.
Garcia, A. V., Jalalvand, A., Steiner, P., Rothstein, A., Van Zeeland, M., Heidbrink, W. W., and Kolemen, E. Comparison of machine learning systems trained to detect Alfvén eigenmodes using the CO2 interferometer on DIII-D. Nuclear Fusion, 63(12):126039, October 2023. ISSN 0029-5515. doi: 10.1088/1741-4326/acfe8b. URL https://doi.org/10.1088/1741-4326/acfe8b.
Gemmeke, J. F., Ellis, D. P. W., Freedman, D., Jansen, A., Lawrence, W., Moore, R. C., Plakal, M., and Ritter, M. Audio Set: An ontology and human-labeled dataset for audio events. In 2017 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 776–780, March 2017. doi: 10.1109/ICASSP.2017.7952261. URL https://ieeexplore.ieee.org/document/7952261. ISSN: 2379-190X.
Gill, K., Smith, D., Joung, S., Geiger, B., McKee, G., Zimmerman, J., Coffee, R., Jalalvand, A., and Kolemen, E. Real-time plasma confinement mode classification with deep neural networks and high-bandwidth edge fluctuation measurements in DIII-D. In APS Division of Plasma Physics Meeting Abstracts, volume 2023, pp. UP11–098, 2023.
Gupta, A., Dollár, P., and Girshick, R. LVIS: A Dataset for Large Vocabulary Instance Segmentation. In 2019 IEEE/CVF Conference on Com-puter Vision and Pattern Recognition (CVPR), pp. 5351–5359, June 2019. doi: 10.1109/CVPR.2019.00550. URL https://ieeexplore.ieee.org/document/8954457. ISSN: 2575-7075.
Hanson, J., Berkery, J., Bialek, J., Clement, M., Ferron, J., Garofalo, A., Holcomb, C., La Haye, R., Lanctot, M., Luce, T., Navratil, G., Olofsson, K., Strait, E., Turco, F., and Turnbull, A. Stability of DIII-D high-performance, negative central shear discharges. Nuclear Fusion, 57(5):056009, March 2017. ISSN 0029-5515. doi: 10.1088/1741-4326/aa6266. URL https://doi.org/10.1088/1741-4326/aa6266.
Hanson, J. M., Clement, M., Garofalo, A. M., and Strait, E. J. Variable-spectrum mode control of high poloidal beta discharges. Nuclear Fusion, 64(8):086024, June 2024. ISSN 0029-5515. doi: 10.1088/1741-4326/ad56a4. URL https://doi.org/10.1088/1741-4326/ad56a4.
Heidbrink, W. W. Basic physics of Alfvén instabilities driven by energetic particles in toroidally confined plasmas. Physics of Plasmas, 15(5):055501, 2008. doi:10.1063/1.2838239.
Irvin, J., Rajpurkar, P., Ko, M., Yu, Y., Ciurea-Ilcus, S., Chute, C., Marklund, H., Haghgoo, B., Ball, R., Shpanskaya, K., Seekins, J., Mong, D. A., Halabi, S. S., Sandberg, J. K., Jones, R., Larson, D. B., Langlotz, C. P., Patel, B. N., Lungren, M. P., and Ng, A. Y. CheXpert: A Large Chest Radiograph Dataset with Uncertainty Labels and Expert Comparison, January 2019. URL http://arxiv.org/abs/1901.07031. arXiv:1901.07031 [cs.CV].
Jackson, S., Khan, S., Cummings, N., Hodson, J., de Witt, S., Pamela, S., Akers, R., and Thiyagalingam, J. FAIR-MAST: A fusion device data management system. SoftwareX, 27:101869, September 2024. ISSN 2352-7110. doi: 10.1016/j.softx.2024.101869. URL https://www.sciencedirect.com/science/article/pii/S2352711024002395.
Jackson, S., Field, M., Blake, J., Saleem, A., Bhatia, N., Costa, R., Cummings, N., Khan, S., Sharma, P., Pamela, S., and Gonzalez-Beltran, A. TokTagger: An open source tool for labelling and tagging tokamak data, 2026. URL https://github.com/ukaea/toktagger. Version 0.3.1.
Jalalvand, A., Kaptanoglu, A. A., Garcia, A. V., Nelson, A. O., Abbate, J., Austin, M. E., Verdoolaege, G., Brunton, S. L., Heidbrink, W. W., and Kolemen, E. Alfvén eigenmode classification based on ECE diagnostics at DIII-D using deep recurrent neural networks. Nuclear
Fusion, 62(2):026007, December 2021. ISSN 0029-5515. doi: 10.1088/1741-4326/ac3be7. URL https://doi.org/10.1088/1741-4326/ac3be7.
Kuznetsova, A., Rom, H., Alldrin, N., Uijlings, J., Krasin, I., Pont-Tuset, J., Kamali, S., Popov, S., Malloci, M., Kolesnikov, A., Duerig, T., and Ferrari, V. The Open Images Dataset V4: Unified image classification, object detection, and visual relationship detection at scale. International Journal of Computer Vision, 128(7):1956–1981, July 2020. ISSN 0920-5691, 1573-1405. doi:10.1007/s11263-020-01316-z. URL http://arxiv.org/abs/1811.00982. arXiv:1811.00982 [cs.CV].
LIGO Scientific Collaboration, Virgo Collaboration, and KAGRA Collaboration. GWTC-5.0: Methods for Identifying and Characterizing Gravitational-wave Transients, June 2026. URL http://arxiv.org/abs/2605.27224. arXiv:2605.27224 [gr-qc].
Lin, T.-Y., Maire, M., Belongie, S., Bourdev, L., Girshick, R., Hays, J., Perona, P., Ramanan, D., Zitnick, C. L., and Dollár, P. Microsoft COCO: Common Objects in Context, February 2015. URL http://arxiv.org/abs/1405.0312. arXiv:1405.0312 [cs.CV].
Lipschultz, B., LaBombard, B., Marmar, E., Pickrell, M., Terry, J., Watterson, R., and Wolfe, S. Marfe: an edge plasma phenomenon. Nuclear Fusion, 24(8): 977, August 1984. ISSN 0029-5515. doi: 10.1088/0029-5515/24/8/002. URL https://doi.org/10.1088/0029-5515/24/8/002.
Mesaros, A., Heittola, T., and Virtanen, T. Metrics for Polyphonic Sound Event Detection. Applied Sciences, 6(6):162, June 2016. ISSN 2076-3417. doi: 10.3390/app6060162. URL https://www.mdpi.com/2076-3417/6/6/162.
Michoski, C., Waller, M., Sammuli, B., Li, Z., Nakkina, T. G., Nazikian, R., Smith, S., Orozco, D., Kuang, D., Foltin, M., Olofsson, E., Fredrickson, M., Louis-Jeune, J., Hatch, D. R., Oliver, T. A., Clark, M., and Louis, S.-Y. The Data Fusion Labeler (dFL): Challenges and Solutions to Data Harmonization, Labeling, and Provenance in Fusion Energy, November 2025. URL https://arxiv.org/abs/2511.09725v1.
Muscatello, C. M., Heidbrink, W. W., Kolesnichenko, Y. I., Lutsenko, V. V., Van Zeeland, M. A., and Yakovenko, Y. V. Velocity-space studies of fast-ion transport at a sawtooth crash in neutral-beam heated plasmas. Plasma Physics and Controlled Fusion, 54(2):025006, January 2012. ISSN 0741-3335. doi: 10.1088/0741-3335/54/2/025006. URL https://doi.org/10.1088/0741-3335/54/2/025006.
Nakkina, T. G., Waller, M., Michoski, C., Sammuli, B., Hatch, D. R., Boyes, W., Clark, M., Nazikian, R., and Smith, S. The Fusion Equilibrium Challenge: Inferring Magnetic Geometry Without Magnetic Diagnostics, September 2026. URL http://arxiv.org/abs/2609.01750. arXiv:2609.01750 [physics.plasm-ph].
Northcutt, C. G., Athalye, A., and Mueller, J. Pervasive Label Errors in Test Sets Destabilize Machine Learning Benchmarks, November 2021. URL http://arxiv.org/abs/2103.14749. arXiv:2103.14749 [stat.ML].
O'Shea, F. H., Joung, S., Smith, D. R., and Coffee, R. Automatic Identification of Edge Localized Modes in the DIII-D Tokamak, 2022. arXiv:2212.08745.
OuYang, H. J., Shi, Z. B., Dong, Y. B., Yang, Z. Y., and Xu, S. Real-time identification of sawtooth on HL-3 using a deep learning framework. Plasma Physics and Controlled Fusion, 67(10):105004, October 2025. ISSN 0741-3335, 1361-6587. doi: 10.1088/1361-6587/ae0786. URL https://iopscience.iop.org/article/10.1088/1361-6587/ae0786.
Piccione, A., Berkery, J., Sabbagh, S., and Andreopoulos, Y. Predicting resistive wall mode stability in NSTX through balanced random forests and counterfactual explanations. Nuclear Fusion, 62(3):036002, January 2022. ISSN 0029-5515. doi: 10.1088/1741-4326/ac44af. URL https://doi.org/10.1088/1741-4326/ac44af.
Recht, B., Roelofs, R., Schmidt, L., and Shankar, V. Do ImageNet Classifiers Generalize to ImageNet? In Proceedings of the 36th International Conference on Machine Learning, pp. 5389–5400. PMLR, May 2019. URL https://proceedings.mlr.press/v97/recht19a.html.
Rousseau, C., Jackson, S., Ordonez-Hurtado, R. H., Amorisco, N. C., Boschi, T., Holt, G. K., Loreti, A., Székely, E., Whittle, A., Agnello, A., Pamela, S., Pascale, A., Akers, R., Moreno, J. B., Thorne, S., and Zayats, M. TokaMark: A Comprehensive Benchmark for MAST Tokamak Plasma Models, February 2026. URL https://arxiv.org/abs/2602.10132v2.
Sabbagh, S. A., Berkery, J. W., Park, Y. S., Butt, J., Riquezes, J. D., Bak, J. G., Bell, R. E., Delgado-Aparicio, L., Gerhardt, S. P., Ham, C. J., Hollocombe, J., Lee, J. W., Kim, J., Kirk, A., Ko, J., Ko, W. H., Kogan, L., LeBlanc, B. P., Lee, J. H., Thornton, A., and Yoon, S. W. Disruption event characterization and forecasting in tokamaks. Physics of Plasmas, 30(3):032506, March 2023. ISSN 1070-664X. doi: 10.1063/5.0133825. URL https://doi.org/10.1063/5.0133825.
Seo, J., Conlin, R., Rothstein, A., Kim, S., Abbate, J., Jalalvand, A., and Kolemen, E. Multimodal Prediction of Tearing Instabilities in a Tokamak. In 2023 International Joint Conference on Neural Networks (IJCNN), pp. 1–8, Gold Coast, Australia, June 2023. IEEE. ISBN 978-1-6654-8867-9. doi: 10.1109/IJCNN54540.2023.10191359. URL https://ieeexplore.ieee.org/document/10191359/.
Seo, J., Kim, S., Jalalvand, A., Conlin, R., Rothstein, A., Abbate, J., Erickson, K., Wai, J., Shousha, R., and Kolemen, E. Avoiding fusion plasma tearing instability with deep reinforcement learning. Nature, 626(8000):746–751, February 2024. ISSN 1476-4687. doi: 10.1038/s41586-024-07024-9. URL https://www.nature.com/articles/s41586-024-07024-9.
Sharma, P., Jackson, S., Cummings, N., Ham, C. J., Hodson, J., Kirk, A., Lawal, K., Ryan, D., Pamela, S., and Zapata-Cornejo, E. D. D. DEVELOPING OPEN MACHINE LEARNING BENCHMARKS FOR TOKAMAK EVENT PREDICTION FROM MAST. In IAEA Fusion Energy Conference (FEC 2025), 2025. URL https://conferences.iaea.org/event/392/papers/36328/files/14034-Final.pdf.
Shousha, R., Seo, J., Erickson, K., Xing, Z., Kim, S., Abbate, J., and Kolemen, E. Machine learning-based real-time kinetic profile reconstruction in DIII-D. Nuclear Fusion, 64(2):026006, December 2023. ISSN 0029-5515. doi: 10.1088/1741-4326/ad142f. URL https://doi.org/10.1088/1741-4326/ad142f.
Steiner, P., Jalalvand, A., Chen, N., Bouchiat, K., Shousha, R., Kim, S., and Kolemen, E. IGNITE Tokamak World Model Architecture, October 2026. URL https://arxiv.org/abs/2610.02515v1.
Tatbul, N., Lee, T. J., Zdonik, S., Alam, M., and Gottschlich, J. Precision and Recall for Time Series, January 2019. URL http://arxiv.org/abs/1803.03639. arXiv:1803.03639 [cs.LG].
Verdoolaege, G., Kaye, S., Angioni, C., Kardaun, O., Maslov, M., Romanelli, M., Ryter, F., Thomsen, K., ASDEX Upgrade Team, t., EUROfusion MST1 Team, t., and Contributors, J. The updated ITPA global H-mode confinement database: description and analysis. Nuclear Fusion, 61(7):076006, May 2021. ISSN 0029-5515. doi: 10.1088/1741-4326/abdb91. URL https://doi.org/10.1088/1741-4326/abdb91.
Victor, B. S. and Scotti, F. Identifying divertor detachment using a machine learning model trained on divertor camera images from DIII-D. Review of Scientific Instruments, 95(8):083503, August 2024. ISSN
0034-6748. doi: 10.1063/5.0218724. URL https://doi.org/10.1063/5.0218724.
Wagner, P., Strodthoff, N., Bousseljot, R.-D., Kreiseler, D., Lunze, F. I., Samek, W., and Schaeffter, T. PTB-XL, a large publicly available electrocardiography dataset. Scientific Data, 7(1):154, May 2020. ISSN 2052-4463. doi: 10.1038/s41597-020-0495-6. URL https://www.nature.com/articles/s41597-020-0495-6.
Zamkovska, V., Sabbagh, S., Tobin, M., Berkery, J., Riquezes, J., Park, Y., Erickson, K., Butt, J., Bak, J., Kim, J., Lee, K., Ko, J., Yoon, S., Ham, C., Kogan, L., and Team, t. M. U. DECAF cross-device characterization of tokamak disruptions indicated by abnormalities in plasma vertical position and current. Nuclear Fusion, 64(6):066030, May 2024. ISSN 0029-5515. doi: 10.1088/1741-4326/ad3fca. URL https://doi.org/10.1088/1741-4326/ad3fca.
Zapata-Cornejo, E. d. D., Zarzoso, D., Pinches, S. D., Sharapov, S. E., and Fitzgerald, M. Segmentation of MHD modes using Fourier transform, wavelets and computer vision algorithms. Plasma Physics and Controlled Fusion, 66(9):095016, 2024. doi: 10.1088/1361-6587/ad6a84.
Zhu, W. and Beroza, G. C. PhaseNet: a deep-neural-network-based seismic arrival-time picking method. Geophysical Journal International, 216(1):261–273, January 2019. ISSN 0956-540X. doi: 10.1093/gji/ggy423. URL https://doi.org/10.1093/gji/ggy423.
A. Catalog Details
Population rules. A shot enters the population if it (1) is a plasma shot with MA, a pulse of at least 2 s and peak beam power of at least 1 MW or any ECH power; (2) is not machine time (no start-up or power-system-test logbook title); (3) has magnetics, ECE and filterscope data each spanning at least 2 s; (4) has a flat-top of at least 1 s inside the assessed window with at least 0.8 of its plateau (the window ends if the current falls below 30% of the plateau and then rises above 60%); and (5) is not a runaway-electron plateau (13 shots removed).
Cohort. All 145 shots linked to a paper, 100 of the 583 shots in an original table and 255 of the other 4,144, drawn at random within each year (2021–2025) and source group , with weights (population over cohort count).
Schema. Intervals are shot, category, t_start, t_end, confidence[, attrs], times in ms, category 0/1/2/3 for absent/present/uncertain/not observable; time with no row is not assessed. Each row records its tier and source, and each phenomenon is also exported on a 50 ms grid.
Table 2. Labels in Tokamak-SI. “Labeled” counts the AE dense labels and, otherwise, every shot of the original, rule or detector source. Confinement has no absent class, so the last two columns do not apply. RWM onsets are points. Detachment counts detached bins as present.
| Phenomenon | Labeled | Expert-reviewed | Positive | Present (s) |
|---|---|---|---|---|
| AE | 195 | 195 | 194 | 350.2 |
| Tearing mode | 28,521 | 0 | 4,820 | 2902.3 |
| Confinement (4 classes, merged) | 448 | 0 | - | - |
| ELMing | 676 | 120 | 517 | 440.3 |
| Sawtooth | 13,319 | 3 | 5,639 | 5229.4 |
| RWM (onsets) | 33 | 0 | 33 | - |
| Detachment | 23 | 0 | 12 | 18.4 |
B. How Each Label Is Made
Table 3 summarizes each label. Original tables are converted as published: a bin is present where a positive sample or interval overlaps it and absent only where the source gives zeros. Reviewers mark time on fixed panels; unmarked time is not assessed.
Table 3. Definition summary. “Not observable” is set when the deciding diagnostics are missing.
| Phenomenon | Present means | Review panels | Not observable when |
|---|---|---|---|
| AE | Coherent Alfvénic modes (TAE, RSAE, EAE, BAE, low-frequency) | cross-power; else magnetics and ECE spectrograms | neither nor magnetics and ECE |
| ELMing | ELMing intervals; absent inside H-mode is ELM-free | with transient activity | no filterscopes |
| Confinement | One class per bin: L, H, QH, WPQH, or uncertain | , line-averaged density, | no filterscopes |
| Tearing mode | A rotating or mode: magnetic RMS above 12 G () or 6 G () for 50 ms with a rotating line | and magnetic RMS and frequency; Mirnov spectrogram and fit; radial field for locks | gaps in the magnetic RMS |
| Sawtooth | A train of core ECE crashes with inversion, 20–250 ms apart; absent only where valid core ECE shows no crashes | ECE profile and channels, | ECE cut off, invalid or missing |
| RWM | From each listed onset until the falls back below threshold (10–300 ms); uncertain 20 ms before it | no probe data | |
| Detachment | Attached, detached or MARFE by the height of the C-III emission front on the divertor tangential camera (TangTV) | TangTV with EFIT, Afrac, divertor radiation, divertor Thomson | no valid TangTV call |

Figure 3. Annotation and dense labels on two benchmark shots, 0–2 s. Top: CO₂ R0 spectrogram (80–250 kHz); dashed lines bound the annotation’s marked stretch. Below: the annotation (blank: not marked) and the dense labels (gray: absent). The annotation marks 12% of each shot, the dense labels 90% and 51%. A detector that follows the activity is scored a false positive outside the marked stretch.
B.1. Alfvén eigenmodes
The annotation covers 180 shots (170659–178879) in five AE classes (Heidbrink, 2008) without timestamps: its samples spread evenly over 0–2 s, and a 10 ms frame is present when at least half its samples carry TAE, RSAE, EAE or BAE. The dense labels mark every 10 ms frame of 0–2 s and, on many shots, the rest of the shot; two experts checked them (silver). Figure 3 shows why the two differ.
B.2. Edge localized modes
A 50 ms bin holding an onset from Butt et al. (2025) is present. Review starts from a peak finder on TokEye’s transient mask of the eight Dα filterscopes: peaks of prominence 0.03 at least 3 ms apart, without bursts wider than 5 ms such as gas puffs; fewer than five peaks per second is ELM-free. Experts then marked spans in all four states (silver). As with crowds in COCO (Lin et al., 2015), a present span is one ELM or a crowd of unseparated ones (97% of present bins). About half the crowd edges stay within 1 ms of the finder’s, which favors models that read Dα.
B.3. Confinement
QH (with an edge harmonic oscillation) and WPQH (near-zero torque, wide pedestal) are ELM-free H-modes. The label is the union of the two databases' intervals; their one H–L conflict is uncertain, and time neither flags is not assessed. Review starts from these intervals on the 401 shots that have them and Dα, and elsewhere from a Dα H-mode detector; confine-ours labels the rest, unreviewed.
B.4. Tearing modes
Our rule labels a mode when the n=1 magnetic RMS exceeds 12 G (Seo et al., 2023) or the n=2 RMS exceeds 6 G for 50 ms with a stable rotating line of the same n; an n=2 mode below 0.57 of the n=1 RMS is a harmonic and is dropped. Unsupported crossings, chirping bursts, weaker lines and time after a lock are uncertain (34.0% of observable time). The archive of Seo et al. (2024) marks a phase rather than the mode's lifetime; within 100 ms, the rule recovers 12/26 of its onsets and 16/67 of the survival model's, starting a median 130 ms earlier. Labels cover 450 development and 4,798 population shots in 10 ms bins.
B.5. Sawtooth
A crash is a drop on adjacent core ECE channels next to a rise on outer ones (10 kHz, above the noise), and present is a train of at least three crashes 20–250 ms apart (Muscatello et al., 2012); on 4,392 shots, 92.3% of the inversion points lie within 0.15 m of the EFIT radius. Absent needs valid core channels () with no periodic drop above 2% over ms, which is rare (3.9% of observable cohort time), so the benchmark also counts observable time with no surface ( for 100 ms) as absent. 13,319 of 16,909 shots carry labels, 5,639 with present time. On published reference shots (Muscatello et al., 2012), a calibration step between channels makes the rule mark the profile invalid. 3 shots were reviewed (silver).
Table 4. Sawtooth benchmark, out of fold on 2 ms bins of the 386 training shots (three shot-grouped folds), against the rule with time that has no surface counted absent, so it measures agreement, not accuracy. Crash F1 counts picks within 2 ms of a rule crash; saw-hl3 has no crash output, so its row gates the derivative picker by its presence output. Last two columns: AUROC on the reviewed span of 189324, and the share of 190637's reviewed ELM span called present.
| Model | AUPRC | AUROC | Presence F1 | Crash F1 | 189324 | 190637 |
|---|---|---|---|---|---|---|
| saw-ours | 0.974 [0.958, 0.984] | 0.984 [0.976, 0.991] | 0.958 [0.941, 0.970] | 0.891 [0.872, 0.907] | 0.871 | 0% |
| saw-hl3 | 0.489 [0.403, 0.593] | 0.752 [0.703, 0.799] | 0.483 [0.427, 0.537] | 0.679 [0.611, 0.746] | 0.897 | 5% |
| saw-derivative | 0.573 [0.500, 0.646] | 0.870 [0.853, 0.889] | 0.729 [0.667, 0.785] | 0.657 [0.584, 0.727] | 0.654 | 13% |
| always present | 0.259 [0.218, 0.302] | 0.500 | 0.411 [0.358, 0.464] | - | - | 100% |
B.6. Resistive wall modes
Two onset lists (Hanson et al., 2017; 2024) hold 56 onsets on 33 shots from 2014 and 2018 (48 and 6 events). Each mode's duration is measured on the of midplane poloidal-field probes apart: each probe difference loses its 100 ms running median and its I-coil and C-coil pickup, and is fitted across the probes. From an onset the mode is present until falls back below the larger of the shot's median plus 6 MADs and 5 G, falls by 40%, the current ends or 300 ms pass, for at least 10 ms; onsets end on the RMS. and other runs above the threshold at high are uncertain, since alone cannot tell an RWM from a locked tearing mode. The rest of a listed shot's high-current window is negative, which assumes the lists are complete.
Table 5. RWM presence on 10 ms bins of the listed shots, against the durations of Section B.6: 93 present and 14,082 assumed-negative bins, one run day held out at a time. rwm-ours adds the , I-coil activity and rotation to rwm-brf's inputs; the durations end on the same .
| RWM presence, DIII-D (assumed negatives) | |||
|---|---|---|---|
| Model | AUROC | AUPRC | F1 |
| rwm-ours | 0.967[0.946, 0.986] | 0.523[0.403, 0.644] | 0.529[0.432, 0.609] |
| rwm-brf | 0.711[0.661, 0.760] | 0.014[0.009, 0.021] | 0.034[0.014, 0.060] |
| rwm-ours minus | +0.257 | +0.509 | +0.495 |
| rwm-brf | [+0.200, +0.315] | [+0.392, +0.625] | [+0.403, +0.577] |
| always present | 0.500 | 0.007 | 0.013 |
B.7. Detachment
On TangTV's C-III emission, the front height places the emission front between the outer strike point and the X-point : attached below 0.35, detached from 0.5 to 1.2 and MARFE above, with cutoffs from one H-mode shot, 201081 (Chen et al., 2026b). A bin takes this call when the strike point lies at m, and is uncertain where it lies further in, where the target probes' Afrac disagrees, or where a detached call falls in an L-mode phase. 821 50 ms bins on 23 shots are labeled, none reviewed. All 6 of the label's calls on published points agree (Chen et al., 2026b; Eldon et al., 2021). With five shot-grouped folds, detach-ours (0-D signals) and detach-frames (raw TangTV frames; Victor & Scotti, 2024) reach macro-F1 0.722 [0.55, 0.87] (majority class 0.34) and 0.54 [0.25, 0.75] (majority class 0.45), which measures consistency, not accuracy.


shot (at least 10 assessed bins), ordered by the share where TangTV and Afrac agree
...... example shot
attached, TangTV and Afrac agree
attached, TangTV only
detached, TangTV and Afrac agree
detached, TangTV only
uncertain, detached in L-mode
uncertain, other
Figure 4. Detachment on shot 201081 and per shot. Top: the label, the Afrac and TangTV states (green attached, coral detached, gray uncertain or none), the lower divertor’s radiated fraction over its baseline, front height DZ with its cutoffs, and divertor Thomson . a–c: attached (2000–2400 ms), detached (2550–4550 ms) and attached (4600–5500 ms) intervals; dotted: published drops at 2650 and 4450 ms. Bottom: share of each assessed shot’s bins by label and source.
C. Benchmark Models
Alfvén eigenmodes. ae-ours (ours), a SELDnet-style detector (Adavanne et al., 2019), gives per-frame activity from the four CO₂ chord spectrograms (80–250 kHz) with three 2-D convolution blocks and two bidirectional GRUs; it is trained on 120 annotated shots and validated on the other 60. ae-lstm and ae-rcn (Garcia et al., 2023) are an LSTM and an echo-state network on one chord’s spectrogram or a chord pair’s cross-power (20–250 kHz), trained on the annotation; AE activity is their largest output other than low-frequency modes, at thresholds 0.15 and 0.10. In Table 6, “each” rows score every chord or pair as a sample, as their evaluation does; “averaged” rows average a shot’s inputs first.
Confinement. confine-cnn rebuilds the BES CNN of Gill et al. (2023) from the paper, since its code and weights were not found: log spectra of 1.02 ms blocks from a 6×8 patch of pedestal channels, a grouped 3-D convolution and an MLP, with the paper’s windows, beam conditions, optimizer and by-shot splits. 401 of 444 fetched shots have usable BES geometry, and the paper’s test shots are unknown. confine-ours (ours, experimental) is an untuned 1-D U-Net on Dα, line density, βN, stored energy and beam power, in run-day folds; its labels were set from the traces it reads, so its score is circular.
Edge localized modes. elm-ours (ours) is a 1-D U-Net over three Dα filterscopes and two fast density chords, with checkpoint and threshold picked on inner validation in five shot-grouped folds. elm-dsm-detect is a detection head on the architecture of an ELM survival model (Butt et al., 2025), refitted on our labels with 60 of its 124 inputs. elm-elmo reimplements ELM-O (O'Shea et al., 2022), matched sample for sample to the public code: an ELM needs an interferometer chord, two of three filterscopes and BES to fire, so the 46 reviewed shots without usable BES are not scored.
Tearing modes. tm-ours (ours) is a dilated 1-D CNN on 33 Mirnov features per 10 ms bin (band powers, n=1, 2, 3 line amplitudes, and the strongest line’s frequency and n) with ±140 ms of centered context; it does not read the RMS the labels come from. tm-cnn (Seo et al., 2023) and tm-dsm (Farre-Kaga et al., 2026) are forecasters retrained with published hyperparameters to detect a mode at the current time, on about 324 shots per fold. tm-rule scores max(RMS /12 G, RMS /6 G).
Sawtooth. saw-ours (ours) is a PhaseNet-style picker (Zhu & Beroza, 2019) over 48 ECE channels and the derivative picker's two scores, with 400 ms of context; a second head says whether a train is present. saw-hl3 (OuYang et al., 2025) is a CNN with a bidirectional LSTM, refitted on our labels and folds; its inputs are the paper's offline set: a core and an edge soft X-ray chord, EFIT-axis core ECE , line density, , Mirnov, stored energy, and total beam and ECH power, with the core and edge chords picked from the data since their geometry is unknown. saw-derivative marks crashes as steep drops in one core channel's time derivative, and a bin present within ms of one.
Resistive wall modes. rwm-brf and rwm-ours are balanced random forests (Piccione et al., 2022) of 300 trees of depth 8 on a 10 ms grid. rwm-brf reads equilibrium scalars ( , , , , , , ), the and magnetic RMS and toroidal rotation, none of which senses the RWM directly; rwm-ours adds the of Section B.6, I-coil activity and rotation at . Both train only on listed shots, and folds hold out one of three run days.
D. Additional Results
Brackets are 95% shot-bootstrap intervals throughout.
E. Language Interface Example
A get events call on shot 189042 returns 302 events from seven sources, one text mention and no forecasts. A caveat explains the mention:
1 row(s) are in 'text_mentions', not in 'events': a text row is a LEXICON HIT in the operator logbook -- somebody wrote a word -- and is not an assertion that the phenomenon occurred ...
A phenomenon locate query for “tearing” ranks hits by evidence class, with logbook caveats such as “operator log says NOT Tearing mode”. Each event records its source and coverage, so a label source can be replaced as a unit.
Table 6. AE benchmark in full on the 3,800 frames of the 19 benchmark shots. Precision, recall and F1 at each detector's own threshold; best F1 over all thresholds is optimistic. Each panel's last row: ae-ours on all 60 validation shots.
| Method | Frames | AUROC | AUPRC | Precision | Recall | F1 | Best F1 |
|---|---|---|---|---|---|---|---|
| against the dense labels | |||||||
| ae-ours | 3,800 | 0.982 [0.96, 0.99] | 0.992 | 0.982 | 0.908 | 0.944 [0.90, 0.98] | 0.948 |
| ae-rcn, chord spectrogram, each chord | 15,200 | 0.836 [0.79, 0.88] | 0.918 | 0.893 | 0.682 | 0.774 [0.73, 0.81] | 0.849 |
| ae-rcn, chord spectrogram, 4 chords averaged | 3,800 | 0.862 [0.81, 0.91] | 0.930 | 0.908 | 0.699 | 0.790 [0.74, 0.84] | 0.871 |
| ae-rcn, chord-pair cross-power, each pair | 38,000 | 0.767 [0.72, 0.82] | 0.886 | 0.859 | 0.628 | 0.725 [0.68, 0.77] | 0.816 |
| ae-rcn, chord-pair cross-power, 10 pairs averaged | 3,800 | 0.778 [0.73, 0.84] | 0.896 | 0.857 | 0.660 | 0.746 [0.69, 0.80] | 0.827 |
| ae-lstm, chord spectrogram, each chord | 15,200 | 0.714 [0.65, 0.77] | 0.842 | 0.785 | 0.656 | 0.715 [0.68, 0.75] | 0.838 |
| ae-lstm, chord spectrogram, 4 chords averaged | 3,800 | 0.736 [0.66, 0.80] | 0.855 | 0.798 | 0.686 | 0.738 [0.69, 0.79] | 0.851 |
| ae-lstm, chord-pair cross-power, each pair | 38,000 | 0.699 [0.61, 0.77] | 0.825 | 0.793 | 0.626 | 0.700 [0.65, 0.74] | 0.829 |
| ae-lstm, chord-pair cross-power, 10 pairs averaged | 3,800 | 0.714 [0.61, 0.80] | 0.841 | 0.772 | 0.629 | 0.693 [0.65, 0.74] | 0.841 |
| always present | 3,800 | 0.500 | 0.683 | 0.683 | 1.000 | 0.812 | 0.812 |
| ae-ours on all 60 validation shots (reference) | 12,000 | 0.980 | 0.992 | 0.974 | 0.928 | 0.951 | 0.954 |
| against the annotation | |||||||
| ae-ours | 3,800 | 0.680 [0.54, 0.80] | 0.351 | 0.297 | 0.894 | 0.445 [0.34, 0.57] | 0.448 |
| ae-rcn, chord spectrogram, each chord | 15,200 | 0.896 [0.86, 0.93] | 0.667 | 0.391 | 0.975 | 0.559 [0.46, 0.65] | 0.651 |
| ae-rcn, chord spectrogram, 4 chords averaged | 3,800 | 0.911 [0.87, 0.94] | 0.691 | 0.399 | 1.000 | 0.570 [0.47, 0.66] | 0.676 |
| ae-rcn, chord-pair cross-power, each pair | 38,000 | 0.867 [0.82, 0.91] | 0.585 | 0.393 | 0.935 | 0.553 [0.45, 0.64] | 0.614 |
| ae-rcn, chord-pair cross-power, 10 pairs averaged | 3,800 | 0.886 [0.83, 0.93] | 0.616 | 0.388 | 0.974 | 0.554 [0.45, 0.65] | 0.645 |
| ae-lstm, chord spectrogram, each chord | 15,200 | 0.857 [0.81, 0.89] | 0.598 | 0.347 | 0.946 | 0.508 [0.43, 0.58] | 0.599 |
| ae-lstm, chord spectrogram, 4 chords averaged | 3,800 | 0.898 [0.85, 0.93] | 0.668 | 0.354 | 0.992 | 0.522 [0.44, 0.59] | 0.647 |
| ae-lstm, chord-pair cross-power, each pair | 38,000 | 0.867 [0.83, 0.89] | 0.558 | 0.376 | 0.968 | 0.541 [0.46, 0.62] | 0.608 |
| ae-lstm, chord-pair cross-power, 10 pairs averaged | 3,800 | 0.892 [0.86, 0.92] | 0.607 | 0.374 | 0.995 | 0.544 [0.45, 0.62] | 0.654 |
| always present | 3,800 | 0.500 | 0.209 | 0.209 | 1.000 | 0.346 | 0.346 |
| ae-ours on all 60 validation shots (reference) | 12,000 | 0.625 | 0.275 | 0.260 | 0.882 | 0.402 | 0.407 |
F. Datasheet Summary
Motivation. Dense, coverage-aware labels and a benchmark for shot interpretation. Composition. Four-state interval labels for seven phenomena in the tiers of Section 3.1, on 4,872 rule-selected DIII-D shots and a 500-shot weighted cohort, plus literature links and model suggestions. Collection. Expert review on fixed panels (blind for the test split), credited original tables, and detector suggestions. Uses. Training and evaluating event detectors and interpreters; auditing references. Suggestions are not ground truth. Distribution. Labels with provenance, shot lists, selection rules, scoring code, weights and the scripts behind every number; raw signals stay under the DIII-D data policy. Maintenance. Numbered releases, each stating what changed and re-scoring every model once on gold.
Table 7. Confinement benchmark in full. Top: confine-cnn under its paper's protocol, pooled over five random by-shot splits (one split scores ); last column: its paper's scores. WPQH rests on 7 test shots. Bottom: confine-ours, experimental and circular. On confine-cnn's test windows, confine-ours minus confine-cnn is +0.207 [, ].
| Regime | Windows (test shots) | Precision | Recall | F1 | AUROC | AUPRC | Paper F1 (P / R) |
|---|---|---|---|---|---|---|---|
| confine-cnn: five random by-shot splits under the paper's protocol, pooled (142 distinct shots, 200 shot-tests) | |||||||
| L-mode | 23,693 (40) | 0.847 | 0.750 | 0.795 [0.64, 0.89] | 0.937 | 0.808 | 0.94 (0.98 / 0.90) |
| H-mode | 79,557 (69) | 0.841 | 0.875 | 0.858 [0.78, 0.91] | 0.925 | 0.940 | 0.97 (0.95 / 0.98) |
| QH-mode | 44,061 (59) | 0.744 | 0.790 | 0.766 [0.66, 0.85] | 0.912 | 0.781 | 0.94 (0.92 / 0.96) |
| WPQH-mode | 5,552 (7) | 0.658 | 0.278 | 0.39 [0.00, 0.69] | 0.785 | 0.324 | 0.90 (0.95 / 0.86) |
| Macro | 152,863 (142) | 0.773 | 0.673 | 0.703 [0.59, 0.79] | 0.889 [0.81, 0.95] | 0.713 | 0.94 (0.95 / 0.93) |
| confine-ours: 1 ms bins, 5-fold cross-validation holding out experiment days (416 shots) | |||||||
| L-mode | 113,862 (113) | 0.924 [0.87, 0.96] | 0.965 | 0.942 | |||
| H-mode | 408,762 (166) | 0.968 [0.95, 0.98] | 0.994 | 0.991 | |||
| QH-mode | 221,977 (186) | 0.914 [0.88, 0.94] | 0.984 | 0.951 | |||
| WPQH-mode | 95,416 (71) | 0.836 [0.76, 0.90] | 0.976 | 0.907 | |||
| Macro | 840,017 (416) | 0.910 [0.882, 0.936] | 0.980 | 0.948 | |||
Table 8. ELM benchmark, cross-validated on 50 ms bins wholly inside one reviewed span. On the BES shots, elm-ours minus elm-elmo is AUROC +0.023 [-0.014, +0.067] and F1 +0.002 [-0.052, +0.058]. Alarm: share of absent spans a detection touches, also with 25 ms trimmed from each edge. The peak finder seeded the review; the last block keeps spans whose edges the experts moved by more than 1 ms. Recall 0.99.
| Method | AUROC | AUPRC | F1 | Absent-bin FPR | Absent-span alarm | Alarm, trimmed |
|---|---|---|---|---|---|---|
| All reviewed: 119 shots/12,409 bins | ||||||
| elm-ours | 0.941 [0.906, 0.967] | 0.877 [0.774, 0.949] | 0.830 [0.778, 0.871] | 0.113 [0.075, 0.152] | 0.596 [0.478, 0.689] | 0.427 [0.343, 0.495] |
| elm-peaks | - | - | 0.757 [0.680, 0.827] | 0.063 [0.032, 0.100] | 0.105 [0.063, 0.168] | 0.096 [0.056, 0.154] |
| always-present | 0.500 [0.500, 0.500] | 0.376 [0.322, 0.430] | 0.546 [0.487, 0.601] | 1.000 [1.000, 1.000] | 1.000 [1.000, 1.000] | 0.915 [0.845, 0.976] |
| BES subset: 73 shots/6,843 bins | ||||||
| elm-ours | 0.941 [0.898, 0.972] | 0.875 [0.751, 0.961] | 0.845 [0.786, 0.896] | 0.123 [0.071, 0.184] | 0.610 [0.452, 0.742] | 0.436 [0.351, 0.511] |
| elm-elmo | 0.918 [0.877, 0.951] | 0.833 [0.753, 0.890] | 0.842 [0.789, 0.885] | 0.108 [0.068, 0.156] | 0.440 [0.301, 0.623] | 0.307 [0.200, 0.444] |
| elm-peaks | - | - | 0.708 [0.602, 0.800] | 0.091 [0.039, 0.146] | 0.110 [0.053, 0.188] | 0.106 [0.051, 0.182] |
| always-present | 0.500 [0.500, 0.500] | 0.402 [0.325, 0.479] | 0.573 [0.491, 0.648] | 1.000 [1.000, 1.000] | 1.000 [1.000, 1.000] | 0.890 [0.788, 0.982] |
| BES subset, edges moved > 1 ms from the peak finder's: 43 present and 117 absent spans/4,125 bins | ||||||
| elm-ours | 0.938 [0.875, 0.980] | 0.836 [0.629, 0.972] | 0.837 [0.738, 0.910] | 0.096 [0.043, 0.168] | - | - |
| elm-elmo | 0.934 [0.894, 0.965] | 0.816 [0.688, 0.909] | 0.822 [0.730, 0.884] | 0.098 [0.048, 0.163] | - | - |
| elm-peaks | - | - | 0.516 [0.297, 0.682] | 0.136 [0.061, 0.225] | - | - |
Table 9. Tearing-mode benchmark: recovery of the magnetic rule. F1 uses inner-validation thresholds except the CNN rows marked thr. 0.5 (its card's); the saved DSM has no published threshold. Segmental F1 matches segments at IoU 0.5. Top: original targets. Middle and bottom: uncertain time excluded or scored as negative. “Published” rows are the saved forecasters, “retrained” rows the same architectures retrained for detection. Training overlap unknown.
| Model | Shots / bins | AUROC [CI] | AUPRC [CI] | F1 [CI] | Segmental F1 [CI] |
|---|---|---|---|---|---|
| Original targets: CNN at its card's threshold, DSM at its inner-validation threshold | |||||
| tm-cnn-published (thr. 0.5)† | 79 / 5.6k | .897 [.832,.952] | .601 [.385,.799] | .611 [.437,.750] | - |
| tm-dsm-500ms-published | 80 / 8.4k | .721 [.614,.828] | .294 [.179,.442] | .177 [.107,.266] | - |
| Tokamak-SI labels, uncertain time excluded | |||||
| tm-cnn-published† | 278 / 31.0k | .974 [.959,.987] | .903 [.838,.948] | .779 [.689,.848] | .615 [.504,.713] |
| tm-cnn-published (thr. 0.5)† | 278 / 31.0k | .974 [.959,.987] | .903 [.838,.948] | .708 [.582,.808] | .588 [.416,.746] |
| tm-dsm-500ms-published | 247 / 43.7k | .779 [.691,.852] | .405 [.285,.528] | .442 [.327,.534] | .279 [.157,.403] |
| tm-cnn-retrained | 278 / 31.2k | .982 [.968,.993] | .953 [.916,.976] | .844 [.758,.906] | .683 [.538,.785] |
| tm-dsm-retrained | 336 / 58.1k | .963 [.940,.981] | .871 [.810,.916] | .799 [.728,.844] | .657 [.545,.745] |
| tm-rule | 450 / 162.8k | .998 [.998,.999] | .986 [.980,.990] | .940 [.926,.953] | .629 [.538,.717] |
| tm-ours | 450 / 162.8k | .999 [.997,1.000] | .994 [.989,.997] | .960 [.930,.980] | .843 [.778,.901] |
| Tokamak-SI labels, uncertain time scored as negative | |||||
| tm-cnn-published† | 286 / 59.1k | .900 [.864,.932] | .412 [.281,.571] | .406 [.306,.497] | .288 [.191,.374] |
| tm-cnn-published (thr. 0.5)† | 286 / 59.1k | .900 [.864,.932] | .412 [.281,.571] | .516 [.396,.625] | .394 [.240,.535] |
| tm-dsm-500ms-published | 252 / 81.9k | .712 [.622,.795] | .157 [.098,.228] | .252 [.166,.330] | .167 [.071,.271] |
| tm-cnn-retrained | 286 / 59.3k | .903 [.873,.932] | .444 [.292,.599] | .435 [.331,.528] | .313 [.202,.417] |
| tm-dsm-retrained | 341 / 112.2k | .839 [.791,.880] | .297 [.204,.411] | .356 [.278,.427] | .262 [.175,.347] |
| tm-rule | 450 / 246.8k | .963 [.954,.971] | .632 [.559,.700] | .447 [.372,.519] | .191 [.152,.235] |
| tm-ours | 450 / 246.8k | .948 [.935,.960] | .512 [.394,.623] | .363 [.290,.431] | .229 [.182,.281] |
original Tokamak-SI --- trivial baseline
AUROC: area under the ROC curve



Tearing Modes

Sawtooth
Resistive Wall Modes
Detachment
AUPRC: area under the precision-recall curve
Alfvén Eigenmodes

Confinement
Edge Localized Modes

Tearing Modes

Sawtooth

Resistive Wall Modes
Detachment
AUPRC
AUPRC
Figure 5. AUROC (rows 1–2) and AUPRC (rows 3–4) in the settings of Figure 2. The confinement REPORTED bar is its paper’s bound of at least 0.99 per class; the RWM REPORTED bar is the NSTX forest’s forecast AUROC on NSTX. Dashes: trivial baselines.
G. Examples
(a) shot 195111

(b) shot 200427
reviewed: crowd
reviewed: single ELM
reviewed: absent
elm-ours probability --- fold threshold elm-elmo detections (ticks) peak-finder spans
Figure 6. ELM labels and detectors on shots 195111 (a) and 200427 (b), at the 75th and 25th percentiles of elm-ours F1. Top: Dα. Shading: reviewed crowd, single-ELM and absent spans. Bottom: elm-ours probability and threshold, elm-elmo detections and the peak finder's spans. In (b), the single-ELM span at 2689–2765 ms lies in a high-recycling phase, so ELM identity there is ambiguous.


Figure 7. Tearing-mode labels on shots 189514 (a mode that decays) and 191672 (an mode, then an mode that locks): the label bar (onsets as triangles, uncertain time gray, a confirmed lock hatched), a Mirnov spectrogram, and the and magnetic RMS.