IoT-GAN: Anomaly Detection for Time Series in IoT Based on Generative Adversarial Networks

Xiaofei Chen,Shuo Zhang,Qiao Jiang,Jiayuan Chen,Hejiao Huang,Chonglin Gu
DOI: https://doi.org/10.1007/978-3-030-95388-1_45
2022-01-01
Abstract:In order to monitor the behaviors of IoT devices, a large amount of time series data are collected by sensors embedded in them. To take timely action further to resolve the underlying issues of IoT devices, it is critical to detect anomalies among the time series. However, anomaly detection for time series in IoT is particularly challenging due to its complex temporal dependence and dynamics. In this paper, we propose an unsupervised anomaly detection method for time series based on generative adversarial networks (GANs), which can learn the normal patterns of time series data, and then use the reconstruction errors to recognize anomalies. To the best of our knowledge, we are the first to incorporate Gated Recurrent Unit with bi-directional generative adversarial network architecture to capture the complex temporal dependence and dynamics of time series in IoT. We also introduce cycle-consistent loss as a deterministic control to further improve the performance of anomaly detection and stabilize GANs training. Based on the trained model, any newly arrived observation can immediately be determined as anomalous or not without requiring an additional inference time. Extensive empirical studies on three real-world datasets demonstrate that the proposed IoT-GAN is effective and efficient in detecting anomalies of time series in IoT.
What problem does this paper attempt to address?