Skip to main content
QUICK REVIEW

[Paper Review] Anomaly Detection in Particle Accelerators using Autoencoders

Edelen, Jonathan P., Cook, Nathan M.|arXiv (Cornell University)|Mar 1, 2021
Particle accelerators and beam dynamicsEngineering9 citations
TL;DR

This paper proposes using autoencoders for unsupervised and semisupervised anomaly detection in the Advanced Photon Source storage ring to predict magnet faults. By training on normal operational data and analyzing reconstruction error, the model detects anomalous machine states hours before faults occur, demonstrating reliable precursor identification without labeled fault data.

ABSTRACT

The application of machine learning techniques for anomaly detection in particle accelerators has gained popularity in recent years. These efforts have ranged from the analysis of quenches in radio frequency cavities and superconducting magnets to anomalous beam position monitors, and even losses in rings. Using machine learning for anomaly detection can be challenging owing to the inherent imbalance in the amount of data collected during normal operations as compared to during faults. Additionally, the data are not always labeled and therefore supervised learning is not possible. Autoencoders, neural networks that form a compressed representation and reconstruction of the input data, are a useful tool for such situations. Here we explore the use of autoencoder reconstruction analysis for the prediction of magnet faults in the Advanced Photon Source (APS) storage ring at Argonne National Laboratory.

Motivation & Objective

  • To detect precursors to magnet failures in the Advanced Photon Source (APS) storage ring using machine learning.
  • To address the challenge of imbalanced, unlabeled data in particle accelerator fault detection by leveraging autoencoders for unsupervised and semisupervised learning.
  • To evaluate whether autoencoders can identify anomalous machine states before actual faults occur, enabling early warning systems.
  • To compare the performance of unsupervised and semisupervised learning strategies using reconstruction error metrics (RMS and squared error).
  • To determine if autoencoders can reliably distinguish between normal and anomalous states without direct sampling of fault conditions.

Proposed method

  • Trained a feedforward autoencoder on 3 years of reference (normal operation) data from 80 sectors of the APS storage ring, using aggregated current values per sector as input.
  • Applied a robust scaler (median and interquartile range) to normalize input data before training to handle non-uniform sampling and outliers.
  • Evaluated model performance using reconstruction error—specifically RMS and squared error—between input and reconstructed outputs.
  • Used a 80/20 split for training and validation on reference data, with test data split by run to preserve temporal integrity for robustness in semisupervised learning.
  • Implemented both unsupervised and semisupervised inference: in the latter, the anomaly threshold was tuned on a subset of test data not used in training.
  • Analyzed reconstruction error trends over time to detect early signs of anomalous behavior prior to magnet failures.

Experimental results

Research questions

  • RQ1Can autoencoders detect anomalous machine states in the APS storage ring prior to magnet failures using only normal operation data?
  • RQ2How effective is unsupervised reconstruction error analysis in identifying fault precursors compared to semisupervised thresholding?
  • RQ3How early can autoencoders detect the onset of anomalous behavior before a magnet fault occurs?
  • RQ4Can the model distinguish between aggregate anomalies and pinpoint individual faulty sectors using reconstruction error?
  • RQ5Why do models fail to predict the exact timing of faults despite detecting anomalous states?

Key findings

  • Autoencoders successfully detect anomalous machine states hours before magnet failures occur, with some precursors identifiable up to 120 minutes in advance.
  • The semisupervised approach achieved a higher true positive rate at the start of fault runs, correctly flagging anomalies earlier than the unsupervised method.
  • For the RMS error metric, anomalies were detected in the majority of fault runs well before the fault, with some cases showing abnormal behavior up to 2 hours prior.
  • The squared error metric showed that all but one fault run had the majority of data flagged as anomalous when using semisupervised thresholds, indicating strong detection capability.
  • Despite strong detection of anomalous states, models failed to predict the exact time-to-fault, likely due to insufficient data on early transition phases from normal to faulty states.
  • The model could reliably distinguish between normal and anomalous states without direct sampling of fault conditions, confirming its utility for early warning systems.

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.