# Accelerating Cavity Fault Prediction Using Deep Learning at Jefferson Laboratory

arXiv: https://arxiv.org/abs/2404.15829 · HTML: https://mlsanity.com/paper/2404.15829/

## Key facts

- Cited by 1 papers in the map (data through 14 Oct 2026).
- Builds on 9 of its 31 references that are in the map.
- First posted on arXiv 24 Apr 2024.

## Builds on (most cited first, 9 of 9)

- [Adam: A Method for Stochastic Optimization](https://mlsanity.com/paper/1412.6980/) (2014)
- [PyTorch: An Imperative Style, High-Performance Deep Learning Library](https://mlsanity.com/paper/1912.01703/) (2019)
- [Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learning](https://mlsanity.com/paper/1506.02142/) (2015)
- [On the Properties of the Softmax Function with Application in Game Theory and Reinforcement Learning](https://mlsanity.com/paper/1704.00805/) (2017)
- [Superconducting radio-frequency cavity fault classification using machine learning at Jefferson Laboratory](https://mlsanity.com/paper/2006.06562/) (2020)
- [Nanosecond machine learning event classification with boosted decision trees in FPGA for high energy physics](https://mlsanity.com/paper/2104.03408/) (2021)
- [A Novel Approach for Classification and Forecasting of Time Series in Particle Accelerators](https://mlsanity.com/paper/2102.00786/) (2021)
- [Explainable Machine Learning for Breakdown Prediction in High Gradient RF Cavities](https://mlsanity.com/paper/2202.05610/) (2022)
- [Review of Time Series Forecasting Methods and Their Applications to Particle Accelerators](https://mlsanity.com/paper/2209.10705/) (2022)

## Built on by (most cited first, 1 of 1)

- [Data-Driven Gradient Optimization for Field Emission Management in a Superconducting Radio-Frequency Linac](https://mlsanity.com/paper/2411.07018/) (2024)

## Abstract (arXiv)

Accelerating cavities are an integral part of the Continuous Electron Beam Accelerator Facility (CEBAF) at Jefferson Laboratory. When any of the over 400 cavities in CEBAF experiences a fault, it disrupts beam delivery to experimental user halls. In this study, we propose the use of a deep learning model to predict slowly developing cavity faults. By utilizing pre-fault signals, we train a LSTM-CNN binary classifier to distinguish between radio-frequency (RF) signals during normal operation and RF signals indicative of impending faults. We optimize the model by adjusting the fault confidence threshold and implementing a multiple consecutive window criterion to identify fault events, ensuring a low false positive rate. Results obtained from analysis of a real dataset collected from the accelerating cavities simulating a deployed scenario demonstrate the model's ability to identify normal signals with 99.99% accuracy and correctly predict 80% of slowly developing faults. Notably, these achievements were achieved in the context of a highly imbalanced dataset, and fault predictions were made several hundred milliseconds before the onset of the fault. Anticipating faults enables preemptive measures to improve operational efficiency by preventing or mitigating their occurrence.
