Explainable Anomaly Detection using Masked Latent Generative Modeling
Authors:
Preprint
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.Keywords
All Related Versions
This publication has 11 references indexed in Scilit:
- MERLIN++: parameter-free discovery of time series anomaliesData Mining and Knowledge Discovery, 2023
- Counterfactual explanations and how to find them: literature review and benchmarkingData Mining and Knowledge Discovery, 2022
- Current Time Series Anomaly Detection Benchmarks are Flawed and are Creating the Illusion of ProgressIEEE Transactions on Knowledge and Data Engineering, 2021
- Time-Series Representation Learning via Temporal and Contextual Contrasting2021
- Explainable Artificial Intelligence (XAI): Concepts, taxonomies, opportunities and challenges toward responsible AIInformation Fusion, 2020
- STUMPY: A Powerful and Scalable Python Library for Time Series Data MiningJournal of Open Source Software, 2019
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding2019
- Detecting Regions of Maximal Divergence for Spatio-Temporal Anomaly DetectionIEEE Transactions on Pattern Analysis and Machine Intelligence, 2018
- A Multimodal Anomaly Detector for Robot-Assisted Feeding Using an LSTM-Based Variational AutoencoderIEEE Robotics and Automation Letters, 2018
- Unsupervised real-time anomaly detection for streaming dataNeurocomputing, 2017