Command Palette
Search for a command to run...
Is it worth it? Comparing six deep and classical methods for unsupervised anomaly detection in time series
Ferdinand Rewicki Joachim Denzler Julia Niebling

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.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| anomaly-detection-on-ucr-anomaly-archive | Autoencoder (AE) | AUC ROC : 0.58 ±0.01 Average F1: 0.16 ± 0.013 |
| anomaly-detection-on-ucr-anomaly-archive | Robust Random Cut Forest (RRCF) | AUC ROC : 0.56 ± 0.0019 Average F1: 0.07 ±0.011 |
| anomaly-detection-on-ucr-anomaly-archive | Graph Augmented Normalizing Flows (GANF) | AUC ROC : 0.63 ±0.009 Average F1: 0.23 ±0.021 |
| anomaly-detection-on-ucr-anomaly-archive | MERLIN | AUC ROC : 0.51 ± 0.0 Average F1: 0.27 ±0.0 |
| anomaly-detection-on-ucr-anomaly-archive | Maximally Divergent Intervals (MDI) | AUC ROC : 0.66 ± 0.0 Average F1: 0.25 ±0.0 |
| anomaly-detection-on-ucr-anomaly-archive | Transformer 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.