Unsupervised anomaly detection in MeV ultrafast electron diffraction
Mariana A. Fazio, Salvador Sosa Güitron, Marcus Babzien, Mikhail Fedurin, Junjie Li, Mark Palmer, Sandra S. Biedron, Manel Martinez-Ramon
TL;DR
This paper presents an unsupervised anomaly-detection framework for MeV ultrafast electron diffraction (MUED) images using a convolutional autoencoder (CAE) to reconstruct diffraction tiles and a residual-based detector that models reconstruction errors with a two-distribution likelihood. By estimating the posterior probability $p(N|e)$ of an image being normal and automatically deriving a decision threshold, the method provides both detection and uncertainty guidance without requiring labeled training data. The approach demonstrates high detection performance with low false-positive rates on a substantial MUED dataset and remains robust when the anomaly fraction is small. Practically, this enables automated data quality control in MUED experiments, reducing manual inspection and expediting ultrafast materials research, with computation carried out on a high-performance computing platform.
Abstract
This study focus in the construction of an unsupervised anomaly detection methodology to detect faulty images in MUED. We believe that unsupervised techniques are the best choice for our purposes because the data used to train the detector does not need to be manually labeled, and instead, the machine is intended to detect by itself the anomalies in the dataset, which liberates the user of tedious, time-consuming initial image examination. The structure must, additionally, provide the user with some measure of uncertainty in the detection, so the user can take decisions based on this measure.
