SOTAVerified

Explainable Time Series Anomaly Detection using Masked Latent Generative Modeling

2023-11-21Code Available1· sign in to hype

Daesoo Lee, Sara Malacarne, Erlend Aune

Code Available — Be the first to reproduce this paper.

Reproduce

Code

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.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
UCR Anomaly ArchiveTimeVQVAE-ADaccuracy0.71Unverified
UCR Anomaly ArchiveMatrix Profile STUMPYaccuracy0.51Unverified
UCR Anomaly ArchiveMDIaccuracy0.47Unverified
UCR Anomaly ArchiveMatrix Profile SCRIMPaccuracy0.42Unverified
UCR Anomaly ArchiveRCFaccuracy0.39Unverified
UCR Anomaly ArchiveIFaccuracy0.38Unverified
UCR Anomaly ArchiveConvolutional AEaccuracy0.35Unverified
UCR Anomaly ArchiveSR-CNNaccuracy0.3Unverified
UCR Anomaly ArchiveUSADaccuracy0.28Unverified
UCR Anomaly ArchiveAEaccuracy0.24Unverified
UCR Anomaly ArchiveLSTM-VAEaccuracy0.2Unverified
UCR Anomaly ArchiveTranADaccuracy0.19Unverified
UCR Anomaly ArchiveOC-SVMaccuracy0.09Unverified
UCR Anomaly ArchiveDeep SVDDaccuracy0.08Unverified
UCR Anomaly ArchiveDAGMMaccuracy0.06Unverified
UCR Anomaly ArchiveTS-TCC-ADaccuracy0.01Unverified

Reproductions