Graph-Temporal Contrastive Transformer for Financial Fraud Detection Using Transaction Behavior Modeling

Графово-временной контрастивный трансформер для выявления финансового мошенничества на основе моделирования поведения при совершении транзакций
Julius Olaniyan, Deborah Olaniyan, Ibidun. C. Obagbuwa, Madison Ngafeeson
2025-12-08

Graph-Temporal Contrastive Transformercontrastive learningfinancial fraud detectiontemporal transaction dynamicstransaction behavior modeling
Detection of financial fraud remains a constant challenge due to the dynamic and highly imbalanced nature of transaction data. This paper proposes the Graph-Temporal Contrastive Transformer (GTCT) framework for modeling both structural dependencies between accounts and temporal evolution in transactional behaviors. We propose a model that combines three components: a graph encoder for modeling relationships between accounts, a temporal encoder for learning sequential patterns in transactions, and a contrastive learning objective that enhances the robustness of representations when supervision is limited. To assess the contribution of each component individually, we systematically remove one module at a time. As shown, an exclusion of the contrastive loss resulted in reduced recall and AUC from 0.867 and 0.982 to 0.805 and 0.948, respectively, indicating the importance of self-supervised learning of representations in fraud detection. Similarly, removing the graph encoder decreased the F1-score from 0.876 to 0.786, which confirmed that modeling transaction structures between accounts is crucial for the identification of complex fraud rings. The exclusion of the temporal encoder led to a more drastic drop in recall (0.743) and AUC (0.905), indicating that capturing the temporal dynamics of transactions is relevant. By comparing all variants, the full GTCT model attained the highest accuracy (0.975) and AUC (0.982), thus showing superior robustness in the detection of sophisticated and evolving financial fraud patterns.
1
Removing contrastive learning reduced recall from 0.867 to 0.805 and AUC from 0.982 to 0.948, demonstrating its value under limited supervision.
2
Removing the graph encoder decreased F1-score from 0.876 to 0.786, confirming the importance of modeling account relationships for detecting fraud rings.
3
Removing the temporal encoder reduced recall to 0.743 and AUC to 0.905, highlighting the importance of transaction-behavior evolution.
4
The GTCT framework integrates graph encoding, temporal sequence modeling, and contrastive learning to detect dynamic, structurally complex financial fraud.
5
The full GTCT model achieved the highest reported accuracy of 0.975 and AUC of 0.982 across evaluated variants.

Financial transaction data involving accounts and their evolving transactional behavior

Detection of sophisticated and evolving fraud patterns through modeling account relationships, temporal transaction dynamics, and robust representations under class imbalance and limited supervision

Publication Details
Publication Date
2025-12-08
Journal
Publisher
ISSN
Cited by
7
Access Type
Author Information
Authors
Julius Olaniyan
Deborah Olaniyan
Ibidun. C. Obagbuwa
Madison Ngafeeson
Explore further
Open the scid.ai AI chat with a ready-made request: it will find papers on a similar topic and help build a literature review.
Find similar papers in the chat
Make a presentation
100%