TL;DR
This paper provides a comprehensive survey of deep learning techniques for time series anomaly detection (TSAD). It offers a novel taxonomy of TSAD models, reviews current state-of-the-art methods, and discusses practical guidelines for practitioners, aiming to guide future research in this critical area.
What Problem Does This Paper Address?
Time series anomaly detection (TSAD) is crucial across many fields, from finance to healthcare, as anomalies can signal critical events like system failures or fraud. Traditional methods struggle with the increasing volume and complexity of time series data. While deep learning has shown promise, the field is rapidly evolving with numerous models and approaches, making it difficult for researchers and practitioners to navigate. This survey aims to provide a structured overview, taxonomy, and practical guidance to address this challenge and identify future research directions.
Methods
The paper categorizes deep learning models for TSAD into four main approaches:
- Forecasting-based: Models predict future time steps, and anomalies are detected based on prediction errors.
- Reconstruction-based: Models learn to reconstruct normal data patterns, and anomalies are identified by high reconstruction errors.
- Representation-based: Models learn rich latent representations of time series data, which are then used for anomaly detection.
- Hybrid models: These combine strengths from multiple approaches.
The survey also discusses various deep learning architectures used, including RNNs, LSTMs, GRUs, CNNs, GNNs, Transformers, AEs, VAEs, and GANs, and analyzes them based on features like temporal/spatial capabilities, learning schemes (supervised, unsupervised, etc.), input types, interpretability, and stochasticity.
Datasets
The paper lists numerous public datasets used for TSAD, including:
- Multivariate Time Series (MTS) datasets: MSL, SMAP, SMD, SWaT, CalIt2, CAP, CICIDS2017, DMDS, Exathlon, GECCO IoT, Genesis, GHL, IOnsphere, KDDCUP99, Kitsune, MBD, Metro, MIT-BIH Arrhythmia (ECG), MIT-BIH-SVDB, MMS, MSL, NAB-realAdExchange, NAB-realAWSCloudwatch, NASA Shuttle Valve Data, OPPORTUNITY, Pooled Server Metrics (PSM), PUMP, SMAP, SMD, SWAN-SF, SWaT, WADI, NYC Bike, NYC Taxi, UCR.
- Univariate Time Series (UTS) datasets: Dodgers Loop Sensor Dataset, KPI AIOPΣ, MGAB, MIT-BIH-LTDB, NAB-artificialNoAnomaly, NAB-artificialWithAnomaly, NAB-realKnownCause, NAB-realTraffic, NAB-realTweets, NeurIPS-TS, NormA, Power Demand Dataset, SensoreScope, Space Shuttle Dataset, Yahoo.
The paper also points to a GitHub repository for a benchmark of datasets: https://github.com/zamanzadeh/ts-anomaly-benchmark.
Key Insights and Ideas
- Taxonomy is Crucial: The paper introduces a novel taxonomy that categorizes TSAD models based on their core approach (forecasting, reconstruction, representation, hybrid) and deep learning architecture. This provides a much-needed structured way to understand the landscape.
- Performance Trends: Newer models, particularly those leveraging Transformers and advanced hybrid architectures, generally show improved performance (higher F1 and F1PA scores) compared to older models, indicating significant progress in the field.
- MTS Challenges: Detecting anomalies in high-dimensional multivariate time series data remains a significant challenge due to data sparsity and the need to consider both temporal and inter-dimensional dependencies simultaneously.
- Unsupervised Dominance: Due to the scarcity of labeled anomaly data in real-world scenarios, unsupervised, semi-supervised, and self-supervised approaches are dominant and essential for TSAD.
- Interpretability Gap: While anomaly detection models are becoming more accurate, interpretability (understanding why an anomaly is detected) is still a major research gap, hindering diagnostic applications.
Key Results
The paper presents experimental results comparing 15 state-of-the-art TSAD models on four MTS datasets (MSL, SMAP, SMD, SWaT).
- DACAD (2024) generally outperformed other models, especially on MSL, SMAP, and SMD datasets.
- CARLA (2023) and TimesNet (2023) also demonstrated strong performance.
- Older models like DAGMM (2018), LSTM-VAE (2018), and OmniAnomaly (2018) showed lower scores.
- The results highlight a clear performance improvement trend with newer models.
Limitations and Future Work
- Data Dynamics: Real-world time series are often non-stationary and have changing distributions, necessitating online or incremental training approaches for deep learning models to adapt and detect anomalies in real-time.
- High-Dimensionality: Detecting anomalies in high-dimensional MTS is challenging due to data sparsity, requiring models to simultaneously consider temporal and inter-dimensional dependencies.
- False Positives: In unsupervised settings, a significant challenge is minimizing false positives and improving recall rates, as normal instances can be misidentified as anomalies.
- Noise Sensitivity: Models can be vulnerable to noise in the input data, which can be irregularly distributed, compromising their performance.
- Interpretability: Anomaly detection research primarily focuses on detection precision, neglecting the crucial aspect of interpretability, which is vital for diagnostic purposes.
- Periodic Anomalies: Detecting periodic subsequence anomalies, which repeat over time, is more challenging than point anomaly detection and requires specialized techniques.
Future work suggested includes developing models that can handle non-stationary data, address high-dimensional sparsity, improve interpretability, and better detect periodic anomalies. The paper also highlights the lack of research in self-prediction-based self-supervised approaches for TSAD.
Summary updated