Financial Transactional Fraud Detection using a Hybrid BiLSTM with Attention-Based Autoencoder

Authors

  • Sudharson K Department of AIML, R.M.D. Engineering College, Chennai, Tamil Nadu, India. Author https://orcid.org/0000-0002-2923-8990
  • Varsha S Department of AIML, R.M.D. Engineering College, Chennai, Tamil Nadu, India. Author https://orcid.org/0009-0005-5030-0532
  • Rajalakshmi S Department of Computer Science (Cyber Security), Velammal Engineering College, Tamil Nadu, India. Author https://orcid.org/0000-0002-2963-9057
  • Rajalakshmi D Department of Computer Science and Engineering, R.M.D. Engineering College, Chennai, Tamil Nadu, India Author
  • Santhiya R Department of Computer Science and Engineering, Saveetha Engineering College, Chennai, Tamil Nadu, India Author

DOI:

https://doi.org/10.54392/irjmt25211

Keywords:

Convolutional Autoencoder, Attention Mechanism, Fraudulent Transactions, Anomaly Detection, Feature Extraction

Abstract

In this study, we propose an original hybrid model that consists of a Bidirectional LSTM (BiLSTM) and an Attention-Based Convolutional Autoencoder (CAE) designed for fraud detection in financial transactions. The structure of the model is constructed with three Conv1D layers on the CAE and a dense layer that functions as a bottleneck for effectively squeezing relevant information from the transaction data. The importance of certain http transactions can be highlighted using an attention mechanism which helps the model to concentrate on the important features. These features are further fed into the BiLSTM, where the BiLSTM learns to model the context from both past and future sequences of transactions, thus providing a more complete picture of the transactions. To this extent, the model evaluates the reconstruction losses to label the types of fraudulent transaction activity. The performance of this model is found to be very good as it achieved an accuracy of 97% and a high Area Under the Curve in ROC analysis out of the total 100 percent showcasing the model's ability to correctly classify the non-fraudulent and fraudulent transactions.

References

J. Nwoke, Digital Transformation in Financial Services and FinTech: Trends, Innovations and Emerging Technologies. International Journal of Finance, 9(6), (2024) 1–24. https://doi.org/10.47941/ijf.2224

E. Pan, Machine learning in Financial Transaction Fraud Detection and Prevention. Transactions on Economics Business and Management Research, 5, (2024) 243–249. https://doi.org/10.62051/16r3aa10

V.R. Shetty, R. Pooja, R.L. Malghan, Safeguarding against Cyber Threats: Machine Learning-Based Approaches for Real-Time Fraud Detection and Prevention. Engineering Proceedings. 59(1), (2023) 111. https://doi.org/10.3390/engproc2023059111

O.A. Bello, K. Olufemi, Artificial intelligence in fraud prevention: Exploring techniques and applications challenges and opportunities. Computer science & IT research journal, 5(6), (2024) 1505-1520. https://doi.org/10.51594/csitrj.v5i6.1252

L. Hernandez Aros, L.X. Bustamante Molano, F. Gutierrez-Portela, J.J. Moreno Hernandez, M.S. Rodríguez Barrero, Financial fraud detection through the application of machine learning techniques: a literature review. Humanities and Social Sciences Communications, 11(1), (2024) 1-22. https://doi.org/10.1057/s41599-024-03606-0

N.B.O. Adelakun, N.E.R. Onwubuariri, N.G A. Adeniran, N.A. Ntiakoh, Enhancing fraud detection in accounting through AI: Techniques and case studies. Finance and Accounting Research Journal, 6(6), (2024) 978–999. https://doi.org/10.51594/farj.v6i6.1232

G. Zioviris, K. Kolomvatsos, G. Stamoulis, An intelligent sequential fraud detection model based on deep learning. The Journal of Supercomputing, 80, (2024) 14824–14847. https://doi.org/10.1007/s11227-024-06030-y

M.N. Alatawi, Detection of fraud in IoT based credit card collected dataset using machine learning. Machine Learning With Applications, 19, (2025) 100603. https://doi.org/10.1016/j.mlwa.2024.100603

T. Ghrib, Y. Khaldi, P.S. Pandey, Y.A. Abusal, Advanced Fraud Detection In Card-Based Financial Systems Using A Bidirectional Lstm-Gru Ensemble Model. Applied Computer Science, 20(3), (2024) 51–66. https://doi.org/10.35784/acs-2024-28

F. Khaled Alarfaj, S. Shahzadi, Enhancing Fraud Detection in Banking with Deep Learning: Graph Neural Networks and Autoencoders for Real-Time Credit Card Fraud Prevention, IEEE Access, 13, (2025) 20633-20646. https://doi.org/10.1109/ACCESS.2024.3466288

A.J. Keya, H.H. Shajeeb, M.S. Rahman, M.F. Mridha, FakeStack: Hierarchical Tri-BERT-CNN-LSTM Stacked Model for Effective Fake News Detection. PLoS One, 18(12), (2023) e0294701. https://doi.org/10.1371/journal.pone.0294701

G.R.Jainish, A. Alwin Infant, Attention Layer Integrated BiLSTM for Financial Fraud Prediction. Multimedia Tools and Applications, 83, (2024) 80613–80629. https://doi.org/10.1007/s11042-024-18764-1

H. Du, L. Lv, A. Guo, H. Wang, AutoEncoder and LightGBM for credit card fraud detection problems. Symmetry, 15(4), (2023) 870. https://doi.org/10.3390/sym15040870

T.H. Lin, J.R. Jiang, Credit card fraud detection with autoencoder and probabilistic random forest. Mathematics, 9(21), (2021) 2683. https://doi.org/10.3390/math9212683

D. Cheng, S. Xiang, C. Shang, Y. Zhang, F. Yang, L. Zhang, Spatio-Temporal Attention-Based Neural Network for Credit Card Fraud Detection. Proceedings of the AAAI Conference on Artificial Intelligence, 34(1), (2020) 362-369. https://doi.org/10.1609/aaai.v34i01.5371

J. Rubio, P. Barucca, G. Gage, J. Arroyo, R. Morales-Resendiz, Classifying payment patterns with artificial neural networks: An autoencoder approach. Latin American Journal of Central Banking, 1(1-4), (2020) 100013. https://doi.org/10.1016/j.latcb.2020.100013

W. Hilal, S.A. Gadsden, J. Yawney, Financial Fraud: A Review of Anomaly Detection Techniques and Recent Advances. Expert Systems with Applications, 193, (2022) 116429. https://doi.org/10.1016/j.eswa.2021.116429

J.K. Afriyie, K. Tawiah, W.A. Pels, S. Addai-Henne, H.A. Dwamena, E.O. Owiredu, J. Eshun, A Supervised Machine Learning Algorithm for Detecting and Predicting Fraud in Credit Card Transactions. Decision Analytics Journal, 6, (2023) 100163. https://doi.org/10.1016/j.dajour.2023.100163

M. Thilagavathi, R. Saranyadevi, N. Vijayakumar, K. Selvi, L. Anitha, K. Sudharson, (2024) AI-Driven Fraud Detection in Financial Transactions with Graph Neural Networks and Anomaly Detection. 2024 International Conference on Science Technology Engineering and Management (ICSTEM), IEEE, India. https://doi.org/10.1109/ICSTEM61137.2024.10560838

S.C. Dubey, K.S. Mundhe, A.A. Kadam, (2020) Credit Card Fraud Detection Using Artificial Neural Network and Back Propagation. 4th International Conference on Intelligent Computing and Control Systems (ICICCS), IEEE, India. https://doi.org/10.1109/ICICCS48265.2020.9120957

G. Sahoo, S.S. Sahoo, Accounting Fraud Detection Using K-Means Clustering Technique. Machine Learning and Information Processing. Intelligent Systems and Computing, 1311 (2021) 247-259. https://doi.org/10.1007/978-981-33-4859-2_17

A. Dal Pozzolo, G. Boracchi, O. Caelen, C. Alippi, G. Bontempi, Credit Card Fraud Detection: A Realistic Modeling and a Novel Learning Strategy. IEEE Transactions on Neural Networks and Learning Systems, 29(8), (2018) 3784-3797. https://doi.org/10.1109/TNNLS.2017.2736643

Q. Fan, J. Yang, A Denoising Autoencoder Approach for Credit Risk Analysis. ICCAI '18: Proceedings of the 2018 International Conference on Computing and Artificial Intelligence, (2018) 62-65. https://doi.org/10.1145/3194452.3194456

F.A. Almarshad, G.A. Gashgari, A.I.A. Alzahrani, Generative Adversarial Networks-Based Novel Approach for Fraud Detection for the European Cardholders 2013 Dataset. IEEE Access, 11 (2023) 107348-107368. https://doi.org/10.1109/ACCESS.2023.3320072

P. Papadimitroulas, L. Brocki, N.C. Chung, W. Marchadour, F. Vermet, L. Gaubert, V. Eleftheriadis, D. Plachouris, D. Visvikise, G.C. Kagadis, Artificial Intelligence: Deep Learning in Oncological Radiomics and Challenges of Interpretability and Data Harmonization. European Journal of Medical Physics, 83, (2021) 108-121. https://doi.org/10.1016/j.ejmp.2021.03.009

P. Subrahmanyan, B. Jayachitra, S. Nandi, K. Selvi, V. Ramu, K. Sudharson, AI-Enhanced Consumer Behavior Analysis in Digital Environments with BERT Optimization. International Conference on Science Technology Engineering and Management (ICSTEM), IEEE, India. https://doi.org/10.1109/ICSTEM61137.2024.10560773

I. Azuri, I. Rosenhek-Goldian, N. Regev-Rudzki, G. Fantner, S.R. Cohen, The Role of Convolutional Neural Networks in Scanning Probe Microscopy: A Review. Beilstein Journal of Nanotechnology, 12 (2021) 878-901. https://doi.org/10.3762/bjnano.12.66

S. Saad, I. Nadher, S.M. Hameed, Credit Card Fraud Detection Challenges and Solutions: A Review. Iraqi Journal of Science, 65(4), (2024) 2287-2303. https://doi.org/10.24996/ijs.2024.65.4.42

A. Alourani, F. Ashfaq, N.Z. Jhanjhi, N.A. Khan, BiLSTM- and GNN-Based Spatiotemporal Traffic Flow Forecasting with Correlated Weather Data. Journal of Advanced Transportation, (2023) 1-17. https://doi.org/10.1155/2023/8962283

N.H.O. Bello, N.C. Idemudia, N.T.V. Iyelolu, Implementing Machine Learning Algorithms to Detect and Prevent Financial Fraud in Real-Time. Computer Science and IT Research Journal, 5(7), (2024) 1539-1564. https://doi.org/10.51594/csitrj.v5i7.1274

H. An, R. Ma, Y. Yan, T. Chen, Y. Zhao, P. Li, J. Li, X. Wang, D. Fan, C. Lv, Finsformer: A Novel Approach to Detecting Financial Attacks Using Transformer and Cluster-Attention. Applied Science, 14(460), (2024) 460. https://doi.org/10.3390/app14010460

K. Sudharson, G. Babu, R. Santhiya, C. Anita, Enhanced privacy-preserving federated convivial learning for internet of medical things (IoMT) through blockchain-enabled trust Q-learning. Journal of the National Science Foundation of Sri Lanka, 52(4), (2025) 501–514. https://doi.org/10.4038/jnsfsr.v52i4.11923

D. Breskuvienė, G. Dzemyda, Enhancing credit card fraud detection: highly imbalanced data case. Journal of Big Data, 11, (2024) 182. https://doi.org/10.1186/s40537-024-01059-5

M.A. Al‐Khasawneh, M. Faheem, D.M. Alsekait, A. Abubakar, G.F. Issa, Hybrid neural network methods for the detection of credit card fraud. Security and Privacy, 8(1), (2025). https://doi.org/10.1002/spy2.500

S. Misra, S. Thakur, M. Ghosh, S.K. Saha, An Autoencoder Based Model for Detecting Fraudulent Credit Card Transaction. Procedia Computer Science, 167, (2020) 254-262. https://doi.org/10.1016/j.procs.2020.03.219

I. Benchaji, S. Douzi, B. El Ouahidi, J. Jaafari, Enhanced Credit Card Fraud Detection Based on Attention Mechanism and LSTM Deep Model. Journal of Big Data, 8(151), (2021). https://doi.org/10.1186/s40537-021-00541-8

I.Y. Hafez, A.Y. Hafez, A. Saleh, A.A. Abd El-Mageed, A.A. Abohany, A systematic review of AI-enhanced techniques in credit card fraud detection. Journal of Big Data, 12, (2025) 6. https://doi.org/10.1186/s40537-024-01048-8

Downloads

Published

2025-03-25

How to Cite

1.
K S, S V, S R, D R, R S. Financial Transactional Fraud Detection using a Hybrid BiLSTM with Attention-Based Autoencoder. Int. Res. J. multidiscip. Technovation [Internet]. 2025 Mar. 25 [cited 2025 Oct. 3];7(2):135-47. Available from: https://asianrepo.org/index.php/irjmt/article/view/128