Skip to main content
QUICK REVIEW

[Paper Review] RSM-GAN: A Convolutional Recurrent GAN for Anomaly Detection in Contaminated Seasonal Multivariate Time Series

Farzaneh Khoshnevisan, Zhewen Fan|arXiv (Cornell University)|Nov 16, 2019
Anomaly Detection Techniques and ApplicationsComputer Science18 references8 citations
TL;DR

RSM-GAN is a novel convolutional recurrent GAN architecture for multivariate time series anomaly detection that models complex seasonality using a smoothed attention mechanism and handles contaminated training data via an auxiliary encoder. It achieves state-of-the-art performance with 30% higher precision and 16% higher precision on real-world and synthetic data, respectively, while enabling accurate root cause identification through a causal inference framework.

ABSTRACT

Robust anomaly detection is a requirement for monitoring complex modern systems with applications such as cyber-security, fraud prevention, and maintenance. These systems generate multiple correlated time series that are highly seasonal and noisy. This paper presents a novel unsupervised deep learning architecture for multivariate time series anomaly detection, called Robust Seasonal Multivariate Generative Adversarial Network (RSM-GAN). It extends recent advancements in GANs with adoption of convolutional-LSTM layers and an attention mechanism to produce state-of-the-art performance. We conduct extensive experiments to demonstrate the strength of our architecture in adjusting for complex seasonality patterns and handling severe levels of training data contamination. We also propose a novel anomaly score assignment and causal inference framework. We compare RSM-GAN with existing classical and deep-learning based anomaly detection models, and the results show that our architecture is associated with the lowest false positive rate and improves precision by 30% and 16% in real-world and synthetic data, respectively. Furthermore, we report the superiority of RSM-GAN regarding accurate root cause identification and NAB scores in all data settings.

Motivation & Objective

  • To address the challenge of detecting anomalies in multivariate time series with complex, overlapping seasonal patterns.
  • To improve robustness to severe training data contamination, common in real-world systems.
  • To enable accurate root cause identification beyond simple anomaly flagging through a causal inference framework.
  • To extend GAN-based anomaly detection from images to multivariate time series by modeling temporal and spatial dependencies.
  • To achieve high precision and low false positive rates in real-time, complex system monitoring.

Proposed method

  • Convert raw multivariate time series into multi-channel correlation matrices to enable image-like representation for CNN processing.
  • Employ a convolutional-LSTM architecture to jointly model spatial correlations and temporal dependencies in the correlation matrices.
  • Introduce a novel smoothed attention mechanism to explicitly model multiple, overlapping seasonal patterns (e.g., daily, weekly, holiday effects).
  • Use a Wasserstein GAN with gradient penalty for stable training and faster convergence.
  • Integrate an auxiliary encoder to disentangle normal patterns from anomalies in contaminated training data.
  • Propose a scoring and causal inference framework using residual correlation matrices to assign anomaly scores and identify root causes.

Experimental results

Research questions

  • RQ1Can a GAN-based architecture effectively detect anomalies in multivariate time series with complex, overlapping seasonal patterns?
  • RQ2How does RSM-GAN perform under high levels of training data contamination, where anomalies are present in the training set?
  • RQ3Can the proposed attention mechanism accurately model multiple seasonal components (e.g., daily, weekly, holiday effects) in real-world time series?
  • RQ4Does the integration of a causal inference framework improve root cause identification compared to standard anomaly detection models?
  • RQ5How does RSM-GAN compare to state-of-the-art models in terms of precision, F1 score, and NAB score across diverse data settings?

Key findings

  • RSM-GAN achieved a 30% improvement in precision on real-world encryption key data compared to the best baseline (MSCRED).
  • On synthetic data, RSM-GAN improved precision by 16% over the next best model (MSCRED), demonstrating robustness to contamination and seasonality.
  • RSM-GAN achieved the lowest false positive rate (FPR) of 0.0010 on synthetic data with contamination, significantly outperforming Isolation Forest (0.0033) and OC-SVM (0.0038).
  • In the presence of holidays, RSM-GAN correctly accounted for holiday effects, while baseline models like OC-SVM and Isolation Forest falsely flagged holidays as anomalies due to lack of holiday-aware modeling.
  • RSM-GAN achieved a NAB score of 0.8986 on synthetic data and 0.2992 on real-world data, outperforming all baselines, indicating superior anomaly detection quality.
  • The model demonstrated 78.7% root cause recall on synthetic data and 50.93% on real-world data, significantly outperforming MSCRED (66.00% and 47.09%, respectively), showing enhanced diagnostic capability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.