A Model for Anomaly Detection in Financial Institutions Using Deep Learning
Abstract
The growing sophistication of cyber threats such as data breaches, insider attacks, and fraudulent financial transactions necessitates advanced anomaly detection systems that go beyond the limitations of traditional rule-based and statistical approaches. This research presents the development and evaluation of a deep learning-based anomaly detection model tailored to financial institutions, with a focus on addressing three critical challenges: inadequacy of traditional methods in detecting novel attacks, the impact of severe data imbalance, and the computational demands of deep models in real-time environments. An LSTM autoencoder was implemented within an agile Dynamic Systems Development Method (DSDM) framework, enabling iterative design, stakeholder engagement, and adaptive refinement. The model was trained and tested on financial transaction data, with performance assessed using accuracy, precision, recall, F1-score, and error-based metrics (MAE, RMSE, R²). Results indicate an overall accuracy of 94%, but only moderate anomaly detection capability, with precision, recall, and F1-score all at 0.40. Daily error metrics remained stable (MAE ≈ 6.2, RMSE ≈ 13.0), though explanatory power was limited (R² ≈ 0.03). Compared to traditional threshold-based systems, the model demonstrated superior adaptability to temporal transaction patterns and provided richer interpretability through visualization of reconstruction errors and anomaly trends. However, the relatively high false-negative rate underscores the need for hybrid approaches integrating supervised techniques and domain knowledge. This study contributes to bridging knowledge gaps in imbalance handling, explainability, and real-time deployment, offering a foundation for more scalable and privacy-preserving anomaly detection frameworks in financial cybersecurity.
Downloads
References
Aggarwal, C. C. (2015). Outlier analysis. Springer.
Ahmed, M., Mahmood, A. N., & Hu, J. (2016). A survey of network anomaly detection techniques. Journal of Network and Computer Applications, 60, 19–31.
Armbrust, M., Fox, A., Griffith, R., Joseph, A. D., Katz, R. H., Konwinski, A., ... & Zaharia, M. (2010). A view of cloud computing. Communications of the ACM, 53(4), 50–58.
Bansal, S., Gupta, G., & Sharma, M. (2018). Payment card industry data security standards compliance using blockchain. International Journal of Advanced Research in Computer Science, 9(1), 77–84.
Bonawitz, K., Eichner, H., Grieskamp, W., Huba, D., Ingerman, V., Ivanov, V., ... & van Overveldt, T. (2019). Towards federated learning at scale: System design. In Proceedings of Machine Learning and Systems 2019.
Buczak, A. L., & Guven, E. (2017). A survey of data mining and machine learning methods for cybersecurity intrusion detection. IEEE Communications Surveys & Tutorials, 18(2), 1153–1176.
Buda, M., Maki, A., & Mazurowski, M. A. (2018). A systematic study of the class imbalance problem in convolutional neural networks. Neural Networks, 106, 249–259.
Chandola, V., Banerjee, A., & Kumar, V. (2009). Anomaly detection: A survey. ACM Computing Surveys (CSUR), 41(3), 1–58.
Dal Pozzolo, A., Boracchi, G., Caelen, O., Alippi, C., & Bontempi, G. (2018). Credit card fraud detection: A realistic modeling and a novel learning strategy. IEEE Transactions on Neural Networks and Learning Systems, 29(8), 3784–3797.
Doshi-Velez, F., & Kim, B. (2017). Towards a rigorous science of interpretable machine learning. arXiv preprint arXiv:1702.08608.
Figueiredo, F., Silva, T., & Gonçalves, M. (2020). Financial transaction fraud detection: Techniques and challenges. Journal of Financial Crime, 27(3), 715–731.
Gentry, C. (2009). Fully homomorphic encryption using ideal lattices. In Proceedings of the 41st annual ACM Symposium on Theory of Computing (pp. 169–178).
Goodfellow, I., Bengio, Y., & Courville, A. (2016). Deep learning. MIT Press.
Hodge, V. J., & Austin, J. (2004). A survey of outlier detection methodologies. Artificial Intelligence Review, 22(2), 85–126.
Jurgovsky, J., Granitzer, M., Ziegler, K., Calabretto, S., Portier, P.-E., He-Guelton, L., & Caelen, O. (2018). Sequence classification for credit-card fraud detection. Expert Systems with Applications, 100, 234–245.
LeCun, Y., Bengio, Y., & Hinton, G. (2015). Deep learning. Nature, 521(7553), 436–444.
Lin, T.-H., & Jiang, J.-R. (2021). Credit card fraud detection with autoencoder and probabilistic random forest. Mathematics, 9(21), 2683.
Liu, F., Zhou, H., & Zhao, J. (2020). Real-time anomaly detection in financial systems using deep learning. Journal of Financial Analytics, 9(4), 321–338.
Maleki, S., Maleki, S., & Jennings, N. R. (2021). Unsupervised anomaly detection with LSTM autoencoders using statistical data-filtering. Applied Soft Computing, 108, 107443.
Mehrabi, N., Morstatter, F., Saxena, N., Lerman, K., & Galstyan, A. (2021). A survey on bias and fairness in machine learning. ACM Computing Surveys (CSUR), 54(6), 1–35.
Nguyen, T., Luo, Z., & Zhu, W. (2023). Edge computing for real-time anomaly detection. IEEE Transactions on Cloud Computing, 11(1), 123–136.
Nguyen, T. T., Tahir, H., Abdelrazek, M., & Babar, A. (2020). Deep learning methods for credit card fraud detection. arXiv preprint arXiv:2012.03754.
Schreyer, M., Sattarov, T., Borth, D., Dengel, A., & Reimer, B. (2017). Detection of anomalies in large-scale accounting data using deep autoencoder networks. arXiv preprint arXiv:1709.05254.
Tan, X., Zhang, W., & Xu, Y. (2020). Data augmentation techniques for addressing class imbalance in fraud detection. IEEE Transactions on Knowledge and Data Engineering, 32(6), 1225–1237.
Voigt, P., & Von dem Bussche, A. (2017). The EU General Data Protection Regulation (GDPR): A practical guide. Springer.
Zhou, Y., Deng, Z., & Luo, X. (2019). Challenges and opportunities in cybersecurity anomaly detection using deep learning. Cybersecurity Journal, 14(2), 150–172.
The authors and co-authors warrant that the article is their original work, does not infringe any copyright, and has not been published elsewhere. By submitting the article to GPH-International Journal of Computer Science and Engineering (GPH-IJCSE), the authors agree that the journal has the right to retract or remove the article in case of proven ethical misconduct.