Deep Learning for Time Series Anomaly Detection: A Survey

Zahra Zamanzadeh Darban, Geoffrey I. Webb, Shirui Pan, Charu C. Aggarwal, Mahsa Salehi · DOI

TL;DR

This paper provides a comprehensive, up-to-date survey of deep learning techniques for time series anomaly detection (TSAD), reviewing the field through 2024. It introduces a novel taxonomy that categorizes models into forecasting, reconstruction, representation, and hybrid approaches, while offering practical guidelines for selecting architectures based on specific data characteristics like dimensionality and noise.

What Problem Does This Paper Address?

Detecting "needles in haystacks"—anomalies like production faults, heart palpitations, or cyber-attacks—within massive, complex time series data is a critical challenge across industries. Traditional statistical and distance-based methods often fail to capture the intricate non-linear temporal and spatial (intermetric) dependencies found in modern datasets.

While deep learning has revolutionized this field, the rapid explosion of new models has left researchers and engineers without a clear map of the landscape. This paper fills that gap by providing a structured taxonomy, defining the fundamental principles of different anomaly types, and evaluating the current state-of-the-art.

Methods

The authors categorize deep TSAD models into four primary strategic pillars:

  1. Forecasting-Based Models: These models learn to predict the next time step(s) based on historical data. An anomaly is flagged if the prediction error (the difference between the predicted and actual value) exceeds a certain threshold. Common architectures include LSTMs, GRUs, and Temporal Convolutional Networks (TCNs).
  2. Reconstruction-Based Models: These models (like Autoencoders, VAEs, and GANs) attempt to compress the input into a latent representation and then reconstruct it. The assumption is that the model will learn to reconstruct "normal" patterns well but fail on rare anomalies, leading to high reconstruction errors.
  3. Representation-Based Models: A newer frontier that uses self-supervised or contrastive learning to map time series into a rich embedding space. Anomalies are then detected by identifying points that deviate from the learned "normal" clusters in this latent space.
  4. Hybrid Models: These integrate multiple approaches—for example, combining a Graph Neural Network (GNN) for spatial dependencies with an LSTM for temporal ones—to handle complex, high-dimensional data.

The paper also provides a detailed breakdown of deep learning architectures used in the field, as shown below:

Fig. 2. Deep Learning architectures used in time series anomaly detection

Datasets

The survey compiles a massive list of 48 public datasets and benchmarks. Key highlights include:

  • Multivariate: MSL (Mars Science Laboratory), SMAP (Soil Moisture Active Passive), SMD (Server Machine Dataset), and SWaT (Secure Water Treatment).
  • Univariate: Yahoo S5, KPI AIOps, and the Numenta Anomaly Benchmark (NAB).
  • Domain-Specific: Datasets covering medical (MIT-BIH), aerospace (NASA Shuttle), and urban management (NYC Taxi).

The authors have also provided a GitHub repository to facilitate easy access to these resources.

Key Insights and Ideas

  • Taxonomy of Anomalies: The paper distinguishes between point-based anomalies (Global and Contextual) and subsequence-based anomalies (Seasonal, Trend, and Shapelet). For multivariate data, it highlights the importance of Intermetric anomalies, where the relationship between two variables breaks even if their individual values look normal.
Fig. 1. (a) An overview of different temporal anomalies plotted from the NeurIPS-TS dataset [107]. Global and contextual anomalies occur in a point (coloured in blue). Seasonal, trend and shapelet can occur in a subsequence (coloured in red). (b) Intermetric and temporal-intermetric anomalies in MTS. In this figure, metric 1 is power consumption, and metric 2 is CPU usage.
  • Architectural Strengths:
    • GNNs are superior for capturing "spatial" dependencies between different sensors in an IoT network.
  • Transformers excel at modeling long-range temporal dependencies in large-scale datasets due to their self-attention mechanisms.
  • Autoencoders (AEs/VAEs) are particularly robust against noise in the input data.
  • The Shift to Self-Supervision: There is a clear trend moving away from purely unsupervised methods toward self-supervised contrastive learning, which helps models learn more robust representations without requiring manual labels.

Key Results

The survey includes an experimental comparison of 15 state-of-the-art models across four major multivariate datasets.

  • Top Performers: Newer models like DACAD (2024), CARLA (2023), and TimesNet (2023) consistently outperform older benchmarks like DAGMM or OmniAnomaly.
  • Trend: There is a visible "performance ladder" where newer architectures, particularly those utilizing contrastive learning and advanced attention mechanisms, achieve significantly higher F1 and $F1_{PA}$ (Point Adjusted) scores.

Limitations and Future Work

Despite the progress, several hurdles remain:

  • Interpretability: Most deep models act as "black boxes." In critical fields like healthcare, knowing why a model flagged an anomaly is as important as the detection itself.
  • Non-Stationarity: Real-world data evolves (concept drift). Models need better online and incremental learning capabilities to adapt to changing "normal" behaviors without constant retraining.
  • Noise Robustness: Many models are still vulnerable to irregular noise, which can lead to high false-positive rates.
  • Periodic Anomalies: Detecting anomalies that occur on a periodic basis (e.g., a fraud pattern that repeats every month) remains an under-researched area.

Summary updated

BibTeX
@article{darban2022deep,
  author = {Zahra Zamanzadeh Darban and Geoffrey I. Webb and Shirui Pan and Charu C. Aggarwal and Mahsa Salehi},
  title = {{Deep Learning for Time Series Anomaly Detection: A Survey}},
  journal = {ACM Computing Surveys},
  year = {2022},
  doi = {10.1145/3691338},
}
Figure