Skip to main content
QUICK REVIEW

[Paper Review] A Time Attention based Fraud Transaction Detection Framework

Longfei Li, Ziqi Liu|arXiv (Cornell University)|Dec 26, 2019
Imbalanced Data Classification TechniquesComputer Science27 references9 citations
TL;DR

This paper proposes a time attention-based recurrent neural network framework that models temporal patterns in user transaction sequences by embedding time intervals (e.g., durations, inter-event gaps) alongside user static profiles. The method outperforms state-of-the-art models, especially in recall at top percent (RATP), achieving a 7% improvement over GBDT and setting new SOTA on RATP@0.05 and RATP@0.01 metrics.

ABSTRACT

With online payment platforms being ubiquitous and important, fraud transaction detection has become the key for such platforms, to ensure user account safety and platform security. In this work, we present a novel method for detecting fraud transactions by leveraging patterns from both users' static profiles and users' dynamic behaviors in a unified framework. To address and explore the information of users' behaviors in continuous time spaces, we propose to use \emph{time attention based recurrent layers} to embed the detailed information of the time interval, such as the durations of specific actions, time differences between different actions and sequential behavior patterns,etc., in the same latent space. We further combine the learned embeddings and users' static profiles altogether in a unified framework. Extensive experiments validate the effectiveness of our proposed methods over state-of-the-art methods on various evaluation metrics, especially on \emph{recall at top percent} which is an important metric for measuring the balance between service experiences and risk of potential losses.

Motivation & Objective

  • To improve fraud transaction detection by modeling both static user profiles and dynamic behavioral sequences with temporal granularity.
  • To address the limitation of existing RNNs that ignore detailed time interval information such as inter-event durations and timing regularities.
  • To enhance model performance on recall at top percent (RATP), a critical metric balancing fraud detection sensitivity and user experience.
  • To develop a unified framework that integrates time-aware embeddings with user profile features for end-to-end training.
  • To validate the method’s effectiveness in real-world deployment at Alipay, demonstrating robustness and scalability.

Proposed method

  • Proposes a time attention-based recurrent layer that incorporates time interval information (e.g., durations, gaps) into the hidden state computation of RNNs.
  • Introduces a time gate mechanism that dynamically modulates the cell state based on the temporal distance between sequential transactions.
  • Uses learned time embeddings to represent inter-event time intervals, enabling the model to distinguish between regular and suspicious temporal patterns.
  • Combines user static profiles (e.g., demographics, average spending) with time-aware sequence embeddings in a joint representation space.
  • Employs a multi-head attention mechanism over time-embedded sequences to focus on critical time-dependent behavioral patterns.
  • Trains the end-to-end model using cross-entropy loss with class-imbalance handling, optimizing for high recall at top percent of predictions.

Experimental results

Research questions

  • RQ1Can modeling detailed time intervals (e.g., inter-event durations) improve fraud detection performance compared to standard RNNs?
  • RQ2How does the integration of time-aware attention with user static profiles affect detection recall at top percent (RATP)?
  • RQ3Does the proposed time attention mechanism converge faster and generalize better than existing time-aware RNN variants like PLSTM and TLSTM?
  • RQ4To what extent does the model’s performance depend on hyperparameters such as hidden unit size and time embedding dimension?
  • RQ5Can the framework achieve superior real-world performance in a production-scale payment system like Alipay?

Key findings

  • The proposed method achieves a RATP@0.05 of 0.864, representing a 7% improvement over GBDT, which relies on handcrafted features.
  • GRU and Bi-LSTM with time attention outperform PLSTM and TLSTM, indicating that attention-based time modeling is more effective than internal gating mechanisms.
  • The model converges faster than baseline RNNs, with the fastest convergence observed in the LSTM with time attention variant.
  • Optimal performance is achieved with a time embedding dimension of 32; larger dimensions degrade performance due to feature space sparsity.
  • Increasing hidden units beyond 256 yields diminishing returns, suggesting that 256 is a practical and efficient setting.
  • The method achieves SOTA results on both RATP@0.05 and RATP@0.01, confirming its effectiveness in detecting rare fraud cases with minimal false positives.

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.