Robust Spectral Anomaly Detection in EELS Spectral Images via Three Dimensional Convolutional Variational Autoencoders
Seyfal Sultanov, James P Buban, Robert F Klie
TL;DR
The paper tackles unsupervised detection of spectral anomalies in EELS-SI data by introducing a Three-Dimensional Convolutional Variational Autoencoder (3D-CVAE) that captures both spectral and spatial correlations via 3D convolutions. The learning objective combines a cross-entropy reconstruction term with a KL-divergence regularization, with a beta weight of 1.2 and a latent space of 40 dimensions. Anomalies are benchmarked by injecting Fe L-edge peak shifts of 2.5 eV within the 690-730 eV window, and performance is compared against PCA with 3-5 components; results show clear bimodal separation in reconstruction-based anomaly scores and robust detection across shift magnitudes. Latent-space analyses reveal that paired normal and anomalous sub-images map to nearby regions, and the method maintains high reconstruction fidelity in noisy regions, providing a practical unsupervised framework for spectral anomaly detection in EELS-SI data with potential diffusion-based denoising extensions.
Abstract
We introduce a Three-Dimensional Convolutional Variational Autoencoder (3D-CVAE) for automated anomaly detection in Electron Energy Loss Spectroscopy Spectrum Imaging (EELS-SI) data. Our approach leverages the full three-dimensional structure of EELS-SI data to detect subtle spectral anomalies while preserving both spatial and spectral correlations across the datacube. By employing negative log-likelihood loss and training on bulk spectra, the model learns to reconstruct bulk features characteristic of the defect-free material. In exploring methods for anomaly detection, we evaluated both our 3D-CVAE approach and Principal Component Analysis (PCA), testing their performance using Fe L-edge peak shifts designed to simulate material defects. Our results show that 3D-CVAE achieves superior anomaly detection and maintains consistent performance across various shift magnitudes. The method demonstrates clear bimodal separation between normal and anomalous spectra, enabling reliable classification. Further analysis verifies that lower dimensional representations are robust to anomalies in the data. While performance advantages over PCA diminish with decreasing anomaly concentration, our method maintains high reconstruction quality even in challenging, noise-dominated spectral regions. This approach provides a robust framework for unsupervised automated detection of spectral anomalies in EELS-SI data, particularly valuable for analyzing complex material systems.
