Litcius/Paper detail

Explainable time series anomaly detection using masked latent generative modeling

Dae-Soo Lee, Sara Malacarne, Erlend Aune

2024Pattern Recognition34 citationsDOIOpen Access PDF

Abstract

We present a novel time series anomaly detection method that achieves excellent detection accuracy while offering a superior level of explainability. Our proposed method, TimeVQVAE-AD , leverages masked generative modeling adapted from the cutting-edge time series generation method known as TimeVQVAE. The prior model is trained on the discrete latent space of a time–frequency domain. Notably, the dimensional semantics of the time–frequency domain are preserved in the latent space, enabling us to compute anomaly scores across different frequency bands, which provides a better insight into the detected anomalies. Additionally, the generative nature of the prior model allows for sampling likely normal states for detected anomalies, enhancing the explainability of the detected anomalies through counterfactuals . Our experimental evaluation on the UCR Time Series Anomaly archive demonstrates that TimeVQVAE-AD significantly surpasses the existing methods in terms of detection accuracy and explainability. We provide our implementation on GitHub: https://github.com/ML4ITS/TimeVQVAE-AnomalyDetection . • Time Series Anomaly Detection (TSAD) via masked generative modeling. • Explainability via factorization of anomalies in terms of frequency bands and counterfactuals. • Ground-breaking anomaly detection accuracy and explainability for TSAD. • Fair and robust evaluation on the UCR Time Series Anomaly (UCR-TSA) archive. • Availability of visualization for predicted anomalies across the UCR-TSA archive for transparency.

Topics & Concepts

Anomaly detectionSeries (stratigraphy)Generative grammarComputer scienceAnomaly (physics)Artificial intelligencePattern recognition (psychology)Generative modelTime seriesMachine learningGeologyCondensed matter physicsPhysicsPaleontologyTime Series Analysis and ForecastingAnomaly Detection Techniques and ApplicationsData Visualization and Analytics