4.6 Article

TGAN-AD: Transformer-Based GAN for Anomaly Detection of Time Series Data

Journal

APPLIED SCIENCES-BASEL
Volume 12, Issue 16, Pages -

Publisher

MDPI
DOI: 10.3390/app12168085

Keywords

anomaly detection; transformer; generative adversarial network; time series data

Funding

  1. State Key Laboratory of Smart Grid Protection and Control [SGNR0000KJJS2007626]
  2. Research Foundation for Advanced Talents of Nanjing University of Posts and Telecommunications [NY218118, NY219104]
  3. Jiangsu Project of Social Development [BE2020713]

Ask authors/readers for more resources

This paper proposes a new method, Transformer-based GAN for Anomaly Detection of Time Series Data (TGAN-AD), which calculates anomaly scores through the generator and discriminator. Comprehensive experiments on three public datasets demonstrate that TGAN-AD outperforms existing techniques in anomaly detection, achieving the highest Recall and F1 values. The experiments also confirm the high efficiency of the model and the feasibility of optimizing hyperparameters.
Anomaly detection on time series data has been successfully used in power grid operation and maintenance, flow detection, fault diagnosis, and other applications. However, anomalies in time series often lack strict definitions and labels, and existing methods often suffer from the need for rigid hypotheses, the inability to handle high-dimensional data, and highly time-consuming calculation costs. Generative Adversarial Networks (GANs) can learn the distribution pattern of normal data, detecting anomalies by comparing the reconstructed normal data with the original data. However, it is difficult for GANs to extract contextual information from time series data. In this paper, we propose a new method, Transformer-based GAN for Anomaly Detection of Time Series Data (TGAN-AD), The transformer-based generators of TGAN-AD can extract contextual features of time series data to prompt the performance. TGAN-AD's discriminator can also assist in determining abnormal data. Anomaly scores are calculated through both the generator and the discriminator. We have conducted comprehensive experiments on three public datasets. Experimental results show that our TGAN-AD has better performance in anomaly detection than the state-of-the-art anomaly detection techniques, with the highest Recall and F1 values on all datasets. Our experiments also demonstrate the high efficiency of the model and the optimal choice of hyperparameters.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.6
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available