cs.LGSep 7, 2026

Temporal Heterogeneous Graph Transformer for Credit Card Fraud Detection

Authors: Qinwen Yan

Organizations: University of California, Los Angeles Los Angeles, California, USA

Abstract

Credit card fraud detection typically relies on tabular features, while repeated attributes can also provide useful relational signals. This paper proposes THGT-FD, a Temporal Heterogeneous Graph Transformer for Fraud Detection. Each transaction is represented using one transaction token and six types of relation tokens and incorporates Time2Vec encoding into the transaction representation. A Transformer learns the interactions among these tokens within each individual transaction and then outputs a fraud probability. Experiments were conducted on 150,000 transactions sampled from the IEEE-CIS Fraud Detection dataset and chronologically partitioned according to TransactionDT. On the test set, THGT-FD achieved an AUC-ROC of 0.8536, an average precision of 0.4164, and a Recall@5% of 0.4708. The class-weighted histogram-based gradient-boosting baseline achieved an AUC-ROC of 0.8722. The results indicate that relation tokens provide useful information for fraud-risk ranking, although the current model does not yet incorporate entity-level historical aggregation.

Figures & tables

Explore similar work

CardsList
  1. TMR-GGNN: Credit Card Fraud Detection based on Time-Aware Multi-Relational Guided Graph Neural Network

    Jun 16, 2026Rohit Tewari, Shubhankar Shilpi, Navin Chhibber +3Temporal GNNsHeterogeneous GNNs

  2. Dual-Scale Relational Graph Transformers for Ecosystem-Aware Fraud Detection

    Oct 2, 2026Mohsen Nayebi Kerdabadi, Xinrou Li, Yao Xiao +2Financial Fraud DetectionGraph Transformer