Skip to main content
QUICK REVIEW

[Paper Review] Application of Deep Reinforcement Learning to Payment Fraud

Siddharth Vimal, Kanishka Kayathwal|arXiv (Cornell University)|Dec 8, 2021
Imbalanced Data Classification TechniquesComputer Science6 citations
TL;DR

This paper proposes a deep reinforcement learning (DRL) framework for payment fraud detection that formulates fraud decision-making as a sequential utility-maximization problem, using a custom reward function to balance fraud detection and genuine transaction approval. The DQNR agent outperforms traditional classifiers on two public datasets, achieving superior utility metrics while maintaining robustness to class imbalance and distribution shifts.

ABSTRACT

The large variety of digital payment choices available to consumers today has been a key driver of e-commerce transactions in the past decade. Unfortunately, this has also given rise to cybercriminals and fraudsters who are constantly looking for vulnerabilities in these systems by deploying increasingly sophisticated fraud attacks. A typical fraud detection system employs standard supervised learning methods where the focus is on maximizing the fraud recall rate. However, we argue that such a formulation can lead to sub-optimal solutions. The design requirements for these fraud models requires that they are robust to the high-class imbalance in the data, adaptive to changes in fraud patterns, maintain a balance between the fraud rate and the decline rate to maximize revenue, and be amenable to asynchronous feedback since usually there is a significant lag between the transaction and the fraud realization. To achieve this, we formulate fraud detection as a sequential decision-making problem by including the utility maximization within the model in the form of the reward function. The historical decline rate and fraud rate define the state of the system with a binary action space composed of approving or declining the transaction. In this study, we primarily focus on utility maximization and explore different reward functions to this end. The performance of the proposed Reinforcement Learning system has been evaluated for two publicly available fraud datasets using Deep Q-learning and compared with different classifiers. We aim to address the rest of the issues in future work.

Motivation & Objective

  • To address the limitations of traditional supervised fraud detection models that prioritize recall over utility maximization.
  • To formulate fraud detection as a sequential decision-making problem using deep reinforcement learning to optimize long-term financial utility.
  • To evaluate the performance of a DRL agent with a utility-based reward function on real-world fraud datasets, focusing on monetary outcomes and balance between fraud detection and genuine transaction declines.
  • To demonstrate the feasibility of using DRL for adaptive, robust fraud detection in the face of data imbalance and delayed feedback.
  • To provide a foundation for future work on handling non-stationarity, asynchronous feedback, and counterfactuals in real-time fraud systems.

Proposed method

  • The fraud detection problem is modeled as a Markov Decision Process (MDP) with state defined by historical fraud and decline rates, and action space consisting of approve or decline transactions.
  • A deep Q-network (DQN) agent is trained using a custom reward function that incorporates transaction utility, balancing fraud detection and genuine transaction approval.
  • The reward function is defined as a weighted combination of non-fraud approvals, fraud detections, and penalties for excessive declines, with hyperparameters α and β tuning the trade-off between revenue and risk.
  • The DQNR agent is trained on two public datasets—IEEE-CIS and ECD—using episodic training with state representation derived from historical transaction statistics.
  • Hyperparameter tuning is performed to analyze the impact of β on approval rate, non-fraud declines, and fraud declines, enabling risk-adjusted behavior.
  • Performance is evaluated using standard metrics (precision, recall, F1) and monetary metrics (dollar amounts of approvals/declines), with comparisons to XGBoost and other classifiers.

Experimental results

Research questions

  • RQ1Can a deep reinforcement learning agent effectively balance fraud detection and genuine transaction approval to maximize financial utility in payment fraud detection?
  • RQ2How does the design of the reward function influence the agent’s ability to maintain high utility while minimizing declines of legitimate transactions?
  • RQ3How does the DQNR agent perform compared to traditional supervised classifiers like XGBoost in terms of utility, precision, recall, and monetary outcomes on imbalanced fraud datasets?
  • RQ4To what extent can the DRL framework adapt to distribution shifts and maintain stable performance over time, especially in the presence of concept drift?
  • RQ5How do hyperparameters like β influence the agent’s risk appetite and operational behavior in terms of approval and decline rates?

Key findings

  • The DQNR agent achieved the highest utility score on the ECD dataset among all evaluated models, outperforming XGBoost and other classifiers.
  • On the IEEE dataset, the DQNR agent maintained a high approval rate (96.0%) while achieving a fraud recall of 41% and F1 score of 38%, demonstrating strong balance between detection and approval.
  • The DQNR agent showed superior stability in decline rate and fraud detection performance across episodes, particularly outperforming DQNR’ and DQNR” on the IEEE dataset, which exhibited erratic behavior.
  • In monetary metrics, the DQNR agent generated higher dollar amounts from non-fraud approvals and better fraud detection outcomes compared to other models, especially on the ECD dataset.
  • The hyperparameter β provided tunable risk control: lower β values increased approval rates and reduced declines of genuine transactions, while higher β values improved fraud detection at the cost of more declines.
  • The DQNR agent demonstrated robustness to distribution shifts, as evidenced by stable performance across training episodes, suggesting potential for deployment in streaming, real-time environments.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.