Research Article

An improved BiGAN model for anomaly detection in finance

Guanda Chen*
University of Warwick

* Corresponding author: [email protected]

Abstract

Financial systems play a pivotal role in shaping contemporary society, and the detection of financial anomalies holds immense significance in mitigating the adverse repercussions of market uncertainties on the global economy. In this context, this study presents an innovative LSTM-GANs model, specifically crafted to enhance the detection of anomalies in financial stock markets. The model introduces an "Anomaly Score" as a pivotal metric, which is computed through a combination of factors such as Reconstruction Loss, Latent Space Distance, and Discriminator Score. This composite score provides a quantitative assessment of the anomaly level within the financial data. By applying a predefined threshold to this Anomaly Score, the model efficiently identifies and flags anomalies. In a world where financial markets are increasingly complex and prone to unexpected events, the ability to detect and respond to anomalies swiftly is paramount. This novel LSTM-GANs model offers a promising approach to bolster the accuracy and effectiveness of financial anomaly detection, thereby contributing to the stability and resilience of global financial systems.

Keywords: GAN; Anomaly detection; Quantitative finance
Published: March 28, 2024
DOI: 10.54254/2755-2721/53/20241281
Volume: ACE Vol.53
pp. 90-95
Download PDF

References

  1. Eskin E 2000 Anomaly detection over noisy data using learned probability distributions
  2. Blázquez-García A et al 2021 A review on outlier/anomaly detection in time series data. ACM Computing Surveys (CSUR) 54(3) 1-33
  3. Goodfellow I 2014 Generative adversarial networks Advances in neural information processing systems
  4. Eckerli F 2021 Generative Adversarial Networks in finance: an overview arXiv preprint arXiv:2106.06364.
  5. Mattia F D 2019 A Survey on GANs for Anomaly Detection arXiv preprint arXiv:1906.11632.
  6. Bashar M A 2023 ALGAN: Time Series Anomaly Detection with Adjusted-LSTM GAN. arXiv preprint arXiv:2308.06663
  7. Zenati H Foo C S Lecouat B Manek G and Chandrasekhar V R 2018 EFFICIENT GAN-BASED ANOMALY DETECTION. ICLR.
  8. Yu Y et al 2019 A review of recurrent neural networks: LSTM cells and network architectures. Neural computation 31(7) 1235-1270
  9. Staudemeyer R C and Morris E R 2019 Understanding LSTM--a tutorial into long short-term memory recurrent neural networks arXiv preprint arXiv:1909.09586
  10. Srivastava A et al 2017 Veegan: Reducing mode collapse in gans using implicit variational learning. Advances in neural information processing systems 30