HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Is it worth it? Comparing six deep and classical methods for unsupervised anomaly detection in time series

Ferdinand Rewicki Joachim Denzler Julia Niebling

Is it worth it? Comparing six deep and classical methods for unsupervised anomaly detection in time series

Abstract

Detecting anomalies in time series data is important in a variety of fields, including system monitoring, healthcare, and cybersecurity. While the abundance of available methods makes it difficult to choose the most appropriate method for a given application, each method has its strengths in detecting certain types of anomalies. In this study, we compare six unsupervised anomaly detection methods of varying complexity to determine whether more complex methods generally perform better and if certain methods are better suited to certain types of anomalies. We evaluated the methods using the UCR anomaly archive, a recent benchmark dataset for anomaly detection. We analyzed the results on a dataset and anomaly type level after adjusting the necessary hyperparameters for each method. Additionally, we assessed the ability of each method to incorporate prior knowledge about anomalies and examined the differences between point-wise and sequence-wise features. Our experiments show that classical machine learning methods generally outperform deep learning methods across a range of anomaly types.

Benchmarks

BenchmarkMethodologyMetrics
anomaly-detection-on-ucr-anomaly-archiveAutoencoder (AE)
AUC ROC : 0.58 ±0.01
Average F1: 0.16 ± 0.013
anomaly-detection-on-ucr-anomaly-archiveRobust Random Cut Forest (RRCF)
AUC ROC : 0.56 ± 0.0019
Average F1: 0.07 ±0.011
anomaly-detection-on-ucr-anomaly-archiveGraph Augmented Normalizing Flows (GANF)
AUC ROC : 0.63 ±0.009
Average F1: 0.23 ±0.021
anomaly-detection-on-ucr-anomaly-archiveMERLIN
AUC ROC : 0.51 ± 0.0
Average F1: 0.27 ±0.0
anomaly-detection-on-ucr-anomaly-archiveMaximally Divergent Intervals (MDI)
AUC ROC : 0.66 ± 0.0
Average F1: 0.25 ±0.0
anomaly-detection-on-ucr-anomaly-archiveTransformer Network for Anomaly Detection (TranAD)
AUC ROC : 0.56 ±0.003
Average F1: 0.18 ±0.003

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Is it worth it? Comparing six deep and classical methods for unsupervised anomaly detection in time series | Papers | HyperAI