IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v11y2023i8p1901-d1125676.html
   My bibliography  Save this article

RaKShA : A Trusted Explainable LSTM Model to Classify Fraud Patterns on Credit Card Transactions

Author

Listed:
  • Jay Raval

    (Department of Computer Science and Engineering, Institute of Technology, Nirma University, Ahmedabad 382481, Gujarat, India)

  • Pronaya Bhattacharya

    (Department of Computer Science and Engineering, Amity School of Engineering and Technology, Research and Innovation Cell, Amity University, Kolkata 700157, West Bengal, India)

  • Nilesh Kumar Jadav

    (Department of Computer Science and Engineering, Institute of Technology, Nirma University, Ahmedabad 382481, Gujarat, India)

  • Sudeep Tanwar

    (Department of Computer Science and Engineering, Institute of Technology, Nirma University, Ahmedabad 382481, Gujarat, India)

  • Gulshan Sharma

    (Department of Electrical Engineering Technology, University of Johannesburg, Johannesburg 2006, South Africa)

  • Pitshou N. Bokoro

    (Department of Electrical Engineering Technology, University of Johannesburg, Johannesburg 2006, South Africa)

  • Mitwalli Elmorsy

    (Private Law Department, Faculty of Law and Political Science, King Saud University, Riyadh 12584, Saudi Arabia)

  • Amr Tolba

    (Computer Science Department, Community College, King Saud University, Riyadh 11437, Saudi Arabia)

  • Maria Simona Raboaca

    (Doctoral School, University Politehnica of Bucharest, Splaiul Independentei Street No. 313, 060042 Bucharest, Romania
    National Research and Development Institute for Cryogenic and Isotopic Technologies—ICSI Rm. Vâlcea, Uzinei Street, No. 4, P.O. Box 7, Râureni, 240050 Râmnicu Vâlcea, Romania)

Abstract

Credit card (CC) fraud has been a persistent problem and has affected financial organizations. Traditional machine learning (ML) algorithms are ineffective owing to the increased attack space, and techniques such as long short-term memory (LSTM) have shown promising results in detecting CC fraud patterns. However, owing to the black box nature of the LSTM model, the decision-making process could be improved. Thus, in this paper, we propose a scheme, RaKShA , which presents explainable artificial intelligence (XAI) to help understand and interpret the behavior of black box models. XAI is formally used to interpret these black box models; however, we used XAI to extract essential features from the CC fraud dataset, consequently improving the performance of the LSTM model. The XAI was integrated with LSTM to form an explainable LSTM (X-LSTM) model. The proposed approach takes preprocessed data and feeds it to the XAI model, which computes the variable importance plot for the dataset, which simplifies the feature selection. Then, the data are presented to the LSTM model, and the output classification is stored in a smart contract (SC), ensuring no tampering with the results. The final data are stored on the blockchain (BC), which forms trusted and chronological ledger entries. We have considered two open-source CC datasets. We obtain an accuracy of 99.8% with our proposed X-LSTM model over 50 epochs compared to 85% without XAI (simple LSTM model). We present the gas fee requirements, IPFS bandwidth, and the fraud detection contract specification in blockchain metrics. The proposed results indicate the practical viability of our scheme in real-financial CC spending and lending setups.

Suggested Citation

  • Jay Raval & Pronaya Bhattacharya & Nilesh Kumar Jadav & Sudeep Tanwar & Gulshan Sharma & Pitshou N. Bokoro & Mitwalli Elmorsy & Amr Tolba & Maria Simona Raboaca, 2023. "RaKShA : A Trusted Explainable LSTM Model to Classify Fraud Patterns on Credit Card Transactions," Mathematics, MDPI, vol. 11(8), pages 1-27, April.
  • Handle: RePEc:gam:jmathe:v:11:y:2023:i:8:p:1901-:d:1125676
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/11/8/1901/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/11/8/1901/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Esraa Faisal Malik & Khai Wah Khaw & Bahari Belaton & Wai Peng Wong & XinYing Chew, 2022. "Credit Card Fraud Detection Using a New Hybrid Machine Learning Architecture," Mathematics, MDPI, vol. 10(9), pages 1-16, April.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Snezhana Gocheva-Ilieva & Atanas Ivanov & Hristina Kulina, 2023. "Special Issue “Statistical Data Modeling and Machine Learning with Applications II”," Mathematics, MDPI, vol. 11(12), pages 1-4, June.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Ludivia Hernandez Aros & Luisa Ximena Bustamante Molano & Fernando Gutierrez-Portela & John Johver Moreno Hernandez & Mario Samuel Rodríguez Barrero, 2024. "Financial fraud detection through the application of machine learning techniques: a literature review," Palgrave Communications, Palgrave Macmillan, vol. 11(1), pages 1-22, December.
    2. Mashael Maashi & Bayan Alabduallah & Fadoua Kouki, 2023. "Sustainable Financial Fraud Detection Using Garra Rufa Fish Optimization Algorithm with Ensemble Deep Learning," Sustainability, MDPI, vol. 15(18), pages 1-16, September.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:11:y:2023:i:8:p:1901-:d:1125676. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.