NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

FraudMemory: Explainable Memory-Enhanced Sequential Neural Networks for Financial Fraud Detection

Kunlin Yang, Wei XuProceedings of the ... Annual Hawaii International Conference on System Sciences/Proceedings of the Annual Hawaii International Conference on System Sciences 2019

Abstract

The rapid development of electronic financial services brings significant convenience to our daily life. However, it also offers criminals the opportunity to exploit financial systems to do fraudulent transactions. Previous studies on fraud detection only deal with single type transactions and cannot adapt well to evolving environment in reality. In addition, their black box models pay less attention on the interpretability of fraud detection results. Here we propose a novel fraud detection algorithm called FraudMemory. It adopts state-of-art feature representation methods to better depict users and logs with multiple types in financial systems. Our model innovatively uses sequential model to capture the sequential patterns of each transaction and leverages memory networks to improve both the performance and interpretability. Also, with the incorporation of memory components, FraudMemory possesses high adaptability to the existence of concept drift. The empirical study proves that our model is a potential tool for financial fraud detection.

Introduction

Financial fraud detection is a high-stakes "cat-and-mouse" game where fraudsters constantly evolve their tactics. Current detection systems face three primary challenges: Concept Drift, where legitimate and fraudulent behaviors change over time; the "Black Box" Problem, where deep learning models fail to explain why a transaction was flagged; and Data Complexity, as financial logs contain a mix of discrete, continuous, and relational data that standard encoding methods struggle to represent.

The FraudMemory Framework

To address these challenges, we propose FraudMemory, a novel deep learning framework that combines Gated Recurrent Units (GRUs) with external memory networks. This architecture allows the system to capture short-term sequential patterns while maintaining a long-term "memory" of user and group behaviors.

The FraudMemory framework architecture, showing the integration of sequential models and memory networks for real-time fraud prediction.

As shown in the architecture above, the model processes new transactions and recent logs through three parallel components: a Sequential Model (GRU), Group Memory, and Individual Memory. This multi-tiered approach ensures that the system can recognize fraud even if a specific user has no prior history of being targeted, by leveraging the collective experience of similar users.

Advanced Feature Representation

A core innovation of FraudMemory is its multi-modal feature representation. Instead of simple one-hot encoding, the model builds a comprehensive profile of users and transactions.

The process of constructing user vectors by embedding Recency, Frequency, and Money (RFM) graphs via TransE.

We utilize the RFM (Recency, Frequency, Money) model to construct three distinct transaction graphs. By applying TransE (a knowledge graph embedding method), these graphs are transformed into latent vectors. These vectors are then concatenated to form a robust representation of user behavior, which is used to cluster users into similar behavioral groups. For transaction logs, we introduce CBOA (Continuous Bag-of-Attributes) to embed multi-attribute data into continuous vectors.

Performance and Explainability

FraudMemory was evaluated on a real-world dataset from a Chinese online banking system, comprising approximately 8.9 million logs. The model achieved a Recall of 0.874 and an AUC of 0.969. Crucially, in practical scenarios where the False Positive Rate (FPR) is capped at 1%, FraudMemory maintained a high Recall of 0.843, significantly outperforming pure GRU (0.709) and Random Forest (0.415) baselines.

Beyond accuracy, FraudMemory provides explainability through an attention mechanism. By assigning weights to specific past memory slots and attributes (such as location or amount), the system can generate a "suspicious degree" for different factors. For example, it can explicitly flag a transaction because the current location contradicts the user's typical geographic patterns stored in memory.

Conclusion

By integrating sequential learning with dynamic external memory, FraudMemory offers a robust solution to concept drift and the interpretability gap in financial fraud detection. Its ability to "learn on the fly" through memory updates ensures stable performance even as fraud patterns shift, making it a powerful tool for modern financial information systems.

Summary updated

BibTeX
@inproceedings{yang2019fraudmemory,
  author = {Kunlin Yang and Wei Xu},
  title = {{FraudMemory: Explainable Memory-Enhanced Sequential Neural Networks for Financial Fraud Detection}},
  booktitle = {Proceedings of the ... Annual Hawaii International Conference on System Sciences/Proceedings of the Annual Hawaii International Conference on System Sciences},
  year = {2019},
  doi = {10.24251/hicss.2019.126},
}
Figure