arXiv:2611.04819cs.AINov 2026

Manuscript Offprint

arXiv:2611.04819

Reconstructing Fraudulent Strategies in Online Payments via Interpretable Inverse Reinforcement Learning

Huilin He, Weiyu Han, Linbo Shao, Ruobing Zuo, Xiao Tan, Shuai Chen, Dawei Cheng

Abstract

Payment fraud causes financial losses and undermines users' trust in web payment services. Although fraud detection is a critical defense for payment security, complex and diverse fraudulent behaviors can still evade detection. Generating fraud samples for data augmentation can broaden detectors' coverage of different fraud patterns. However, existing methods matching the distribution of transaction attributes alone do not ensure that generated sequences preserve the sequential relationships among transaction choices, payment feedback, and subsequent behavioral adjustments. To this end, we propose PaySeqGen, an interpretable inverse reinforcement learning framework that reconstructs fraud behavior policies from fraudsters' observed payment trajectories. We design a mechanism for constructing candidate actions to support plausible payment sequence generation while enabling exploration. The framework also learns interpretable behavioral rewards that capture fraudsters' preferences across different transaction contexts. By alternating between reward learning and policy optimization, the framework reconstructs policies that generate new fraud sequences for detector augmentation and learns interpretable rewards supporting sequential fraud-pattern analysis in real trajectories. Experiments in real-world payment scenarios at Ant International, a leading global digital payment provider, show that PaySeqGen outperforms state-of-the-art generative augmentation methods. Reward-based trajectory analysis also identifies fraud patterns of practical value, helping analyst locating suspicious segments and examine multistep fraud tactics. Evaluation in the deployed system of online payment further confirms its effectiveness.

1 Introduction

Online payment systems underpin e-commerce and digital services, making their security a critical concern for users and merchants [2]. Payment fraud causes financial losses for users, merchants, and payment providers, raises risk management and dispute resolution costs, damages platform reputations, and undermines trust in online payment services [8, 22]. Fraud detection therefore serves as a key line of defense [5]. However, fraudulent behavior takes diverse forms across different payment contexts, and limited training data may not adequately capture complex fraud patterns and their variations. This limited coverage constrains detectors' ability to learn and reliably recognize such patterns in practice [7, 30].

Generating additional payment sequences from observed fraudulent behavior provides a way to expand this coverage by introducing

Figure

Figure 1: An illustrative online fraud payment sequence and its decision context shaped by feedback.

behavioral variations into detector training. Existing sequence generation methods typically model transaction attribute distributions and temporal dependencies [26, 46, 48, 49]. However, matching observed sequences alone does not necessarily ensure that generated decisions remain coherent as the history evolves and new feedback becomes available. In web payment settings, each payment attempt updates the transaction history, and its outcome can influence subsequent decisions about payment amounts, intervals, and card and device use, as illustrated in Figure 1. Fraud sequence generation therefore calls for explicit modeling of this interaction process: selecting the next payment action based on the current history, incorporating the resulting payment feedback into that history, and making subsequent decisions that reflect adaptive fraud strategies while respecting payment constraints.

Such feedback-driven sequential decision-making is naturally modeled using reinforcement learning (RL), which learns policies by maximizing expected cumulative reward and has also been applied to sequence generation [20, 47]. In our setting, however, the reward is unknown. Handcrafting rewards requires specifying in advance which payment behaviors should be encouraged. These predefined preferences may not align with those reflected in real demonstrations and can bias the learned policy. Inverse reinforcement learning (IRL) [9, 11, 50] offers an alternative by inferring rewards that explain demonstrated behavior. In our setting, observed payment trajectories can serve as demonstrations for learning a behavioral reward and reconstructing a policy that generates new payment sequences. A decomposable reward representation further exposes the scoring contributions of individual behavioral factors, providing interpretable evidence for analyzing sequential fraud patterns. Prior work on rumor detection has used IRL to reconstruct graph-structure attack policies [21], providing a methodological precedent for this approach. However, using interpretable IRL to reconstruct fraudulent strategies in online payments remains underexplored.

  • Corresponding Author. † Work done during internships at Ant International.

Applying this approach to web payments presents two challenges. First, candidate action construction must balance behavioral coherence and exploration. Decisions to reuse or switch cards and devices must account for transaction history and payment feedback, as must decisions about payment amounts, intervals, and other attributes. Generating these fields independently can disrupt behavioral coherence [20]. Meanwhile, the combinatorial space of payment actions is too large to enumerate. The challenge is therefore to cover historically supported behavioral combinations with a finite candidate set while allowing exploration beyond combinations observed in demonstrations. Second, rewards must capture context-dependent behavioral preferences [15]. The same action, such as switching cards or increasing a payment amount, may reflect different behavioral patterns depending on preceding transactions and payment outcomes. Scoring action attributes in isolation makes it difficult to distinguish context-dependent preferences.

To address these challenges, we propose PaySeqGen, an interpretable inverse reinforcement learning framework for reconstructing payment fraud policies from observed trajectories. At each step, the state summarizes payment history and feedback, and the action specifies the next payment. To balance behavioral coherence and exploration within a finite action set, we combine history-guided sampling with exploratory sampling. History-guided sampling draws joint changes from historical transitions matching contexts and feedback, adapting them to current history. Exploratory sampling recombines payment components under resource and time constraints. To capture context-dependent behavioral preferences, we learn a linear behavioral reward over base features and feedback-action interactions, allowing action scores to vary with preceding payment feedback. We alternate reward learning with policy optimization to reconstruct payment fraud strategies, using a fixed payment feedback interface adapted from the platform's risk-control system to provide outcomes for generated payments. After training, the reconstructed policy generates fraud payment sequences to augment detector training. The learned interpretable reward helps characterize sequential fraud patterns in observed trajectories.

Our contributions are summarized as follows:

  • We propose PaySeqGen, an interpretable IRL framework for reconstructing fraudulent payment strategies from observed trajectories, supporting both sequence generation for detector augmentation and reward-guided analysis of sequential fraud patterns.
  • We design a candidate construction mechanism that combines history-guided and exploratory sampling to balance behavioral coherence and exploration, and a decomposable linear reward with feedback-action interactions to capture context-dependent behavioral preferences.
  • We evaluate PaySeqGen on large-scale data from a real-world online payment system operated by Ant International¹, a leading global digital payment and financial technology provider. Offline evaluations and online A/B tests demonstrate PaySeqGen's augmentation benefits. Reward-guided analysis also provides traceable evidence for fraud investigation. These results demonstrate PaySeqGen's practical value in strengthening web payment security.