# Anomaly Detection with Generative Adversarial Networks for Multivariate Time Series

arXiv: https://arxiv.org/abs/1809.04758 · HTML: https://mlsanity.com/paper/1809.04758/

## Key facts

- Cited by 55 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 13 Sep 2018.

## Built on by (most cited first, 30 of 55)

- [Learning Graph Structures with Transformer for Multivariate Time Series Anomaly Detection in IoT](https://mlsanity.com/paper/2104.03466/) (2021)
- [Unsupervised Out-of-Distribution Detection with Diffusion Inpainting](https://mlsanity.com/paper/2302.10326/) (2023)
- [Graph-Augmented Normalizing Flows for Anomaly Detection of Multiple Time Series](https://mlsanity.com/paper/2202.07857/) (2022)
- [Unsupervised Deep Anomaly Detection for Multi-Sensor Time-Series Signals](https://mlsanity.com/paper/2107.12626/) (2021)
- [Transformaly -- Two (Feature Spaces) Are Better Than One](https://mlsanity.com/paper/2112.04185/) (2021)
- [At the Dawn of Generative AI Era: A Tutorial-cum-Survey on New Frontiers in 6G Wireless Intelligence](https://mlsanity.com/paper/2402.18587/) (2024)
- [Masked Contrastive Learning for Anomaly Detection](https://mlsanity.com/paper/2105.08793/) (2021)
- [Deep Clustering based Fair Outlier Detection](https://mlsanity.com/paper/2106.05127/) (2021)
- [Deep Generative model with Hierarchical Latent Factors for Time Series Anomaly Detection](https://mlsanity.com/paper/2202.07586/) (2022)
- [MosaiQ: Quantum Generative Adversarial Networks for Image Generation on NISQ Computers](https://mlsanity.com/paper/2308.11096/) (2023)
- [Enhanced Isotropy Maximization Loss: Seamless and High-Performance Out-of-Distribution Detection Simply Replacing the SoftMax Loss](https://mlsanity.com/paper/2105.14399/) (2021)
- [Resilient Machine Learning for Networked Cyber Physical Systems: A Survey for Machine Learning Security to Securing Machine Learning for CPS](https://mlsanity.com/paper/2102.07244/) (2021)
- [Improving Variational Autoencoder based Out-of-Distribution Detection for Embedded Real-time Applications](https://mlsanity.com/paper/2107.11750/) (2021)
- [Enhancing Unsupervised Anomaly Detection with Score-Guided Network](https://mlsanity.com/paper/2109.04684/) (2021)
- [Machine Learning in NextG Networks via Generative Adversarial Networks](https://mlsanity.com/paper/2203.04453/) (2022)
- [Unsupervised Visual Defect Detection with Score-Based Generative Model](https://mlsanity.com/paper/2211.16092/) (2022)
- [CVAD: A generic medical anomaly detector based on Cascade VAE](https://mlsanity.com/paper/2110.15811/) (2021)
- [A Novel Data Augmentation Technique for Out-of-Distribution Sample Detection using Compounded Corruptions](https://mlsanity.com/paper/2207.13916/) (2022)
- [Modern Machine Learning Tools for Monitoring and Control of Industrial Processes: A Survey](https://mlsanity.com/paper/2209.11123/) (2022)
- [Spacecraft Anomaly Detection with Attention Temporal Convolution Network](https://mlsanity.com/paper/2303.06879/) (2023)
- [TabADM: Unsupervised Tabular Anomaly Detection with Diffusion Models](https://mlsanity.com/paper/2307.12336/) (2023)
- [Transparent Anomaly Detection via Concept-based Explanations](https://mlsanity.com/paper/2310.10702/) (2023)
- [InDiD: Instant Disorder Detection via Representation Learning](https://mlsanity.com/paper/2106.02602/) (2021)
- [Spatio-Temporal Anomaly Detection with Graph Networks for Data Quality Monitoring of the Hadron Calorimeter](https://mlsanity.com/paper/2311.04190/) (2023)
- [CBIL: Collective Behavior Imitation Learning for Fish from Real Videos](https://mlsanity.com/paper/2504.00234/) (2025)
- [Learning who is in the market from time series: market participant discovery through adversarial calibration of multi-agent simulators](https://mlsanity.com/paper/2108.00664/) (2021)
- [Multi-Class Anomaly Detection](https://mlsanity.com/paper/2110.15108/) (2021)
- [Policy Gradient Stock GAN for Realistic Discrete Order Data Generation in Financial Markets](https://mlsanity.com/paper/2204.13338/) (2022)
- [k-NNN: Nearest Neighbors of Neighbors for Anomaly Detection](https://mlsanity.com/paper/2305.17695/) (2023)
- [Dual Distillation for Few-Shot Anomaly Detection](https://mlsanity.com/paper/2603.01713/) (2026)

## Abstract (arXiv)

Today's Cyber-Physical Systems (CPSs) are large, complex, and affixed with networked sensors and actuators that are targets for cyber-attacks. Conventional detection techniques are unable to deal with the increasingly dynamic and complex nature of the CPSs. On the other hand, the networked sensors and actuators generate large amounts of data streams that can be continuously monitored for intrusion events. Unsupervised machine learning techniques can be used to model the system behaviour and classify deviant behaviours as possible attacks. In this work, we proposed a novel Generative Adversarial Networks-based Anomaly Detection (GAN-AD) method for such complex networked CPSs. We used LSTM-RNN in our GAN to capture the distribution of the multivariate time series of the sensors and actuators under normal working conditions of a CPS. Instead of treating each sensor's and actuator's time series independently, we model the time series of multiple sensors and actuators in the CPS concurrently to take into account of potential latent interactions between them. To exploit both the generator and the discriminator of our GAN, we deployed the GAN-trained discriminator together with the residuals between generator-reconstructed data and the actual samples to detect possible anomalies in the complex CPS. We used our GAN-AD to distinguish abnormal attacked situations from normal working conditions for a complex six-stage Secure Water Treatment (SWaT) system. Experimental results showed that the proposed strategy is effective in identifying anomalies caused by various attacks with high detection rate and low false positive rate as compared to existing methods.
