TSI-GAN: Unsupervised Time Series Anomaly Detection using Convolutional Cycle-Consistent Generative Adversarial Networks


Anomaly Detection is Widely Used in Network Intrusion Detection, Autonomous Driving, Medical Diagnosis, Credit Card Frauds, Etc. However, Several Key Challenges Remain Open, Such as Lack of Ground Truth Labels, Presence of Complex Temporal Patterns, and Generalizing over Different Datasets. This Paper Proposes TSI-GAN, an Unsupervised Anomaly Detection Model for Time-Series that Can Learn Complex Temporal Patterns Automatically and Generalize Well, I.e., No Need for Choosing Dataset-Specific Parameters, Making Statistical Assumptions About Underlying Data, or Changing Model Architectures. to Achieve These Goals, We Convert Each Input Time-Series into a Sequence of 2D Images using Two Encoding Techniques with the Intent of Capturing Temporal Patterns and Various Types of Deviance. Moreover, We Design a Reconstructive GAN that Uses Convolutional Layers in an Encoder-Decoder Network and Employs Cycle-Consistency Loss during Training to Ensure that Inverse Mappings Are Accurate as Well. in Addition, We Also Instrument a Hodrick-Prescott Filter in Post-Processing to Mitigate False Positives. We Evaluate TSI-GAN using 250 Well-Curated and Harder-Than-Usual Datasets and Compare with 8 State-Of-The-Art Baseline Methods. the Results Demonstrate the Superiority of TSI-GAN to All the Baselines, Offering an overall Performance Improvement of 13% and 31% over the Second-Best Performer MERLIN and the Third-Best Performer LSTM-AE, Respectively.


Computer Science

Keywords and Phrases

Anomaly detection; generative adversarial networks; time series; unsupervised learning

International Standard Book Number (ISBN)


International Standard Serial Number (ISSN)

1611-3349; 0302-9743

Document Type

Article - Conference proceedings

Document Version


File Type





© 2023 Springer, All rights reserved.

Publication Date

01 Jan 2023