Temporal Heterogeneous Graph Transformer for Credit Card Fraud Detection

Qinwen Yan
9/7/2026
cs.LGcs.AI
transformer-attentiongnn

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yan2026temporal,
  title  = {Temporal Heterogeneous Graph Transformer for Credit Card Fraud Detection},
  author = {Qinwen Yan},
  year   = {2026},
  eprint = {2609.07100},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.07100v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.07100.svg)](https://codeofpaper.com/paper/2609.07100)

Discussion