{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,4,13]],"date-time":"2026-04-13T12:17:42Z","timestamp":1776082662745,"version":"3.50.1"},"reference-count":39,"publisher":"MDPI AG","issue":"12","license":[{"start":{"date-parts":[[2025,12,8]],"date-time":"2025-12-08T00:00:00Z","timestamp":1765152000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Algorithms"],"abstract":"<jats:p>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.<\/jats:p>","DOI":"10.3390\/a18120770","type":"journal-article","created":{"date-parts":[[2025,12,8]],"date-time":"2025-12-08T15:30:07Z","timestamp":1765207807000},"page":"770","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":3,"title":["Graph-Temporal Contrastive Transformer for Financial Fraud Detection Using Transaction Behavior Modeling"],"prefix":"10.3390","volume":"18","author":[{"given":"Julius","family":"Olaniyan","sequence":"first","affiliation":[{"name":"Center for Applied Data Science (CADS), Faculty of Natural and Applied Sciences, Sol Plaatje University, Kimberley 8300, South Africa"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7940-060X","authenticated-orcid":false,"given":"Deborah","family":"Olaniyan","sequence":"additional","affiliation":[{"name":"Department of Computer Science and Informatics, Faculty of Natural and Agricultural Sciences, University of the Free State Qwaqwa Campus, Private Bag X13, Kestell Road, Phuthaditjhaba 9866, South Africa"}]},{"given":"Ibidun. C.","family":"Obagbuwa","sequence":"additional","affiliation":[{"name":"Department of Mathematical Science and Computing, Walter Sisulu University, Mthatha 5117, South Africa"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7805-3968","authenticated-orcid":false,"given":"Madison","family":"Ngafeeson","sequence":"additional","affiliation":[{"name":"Rinker School of Business, Palm Beach Atlantic University, 901 S Flagler Drive, West Palm Beach, FL 33416, USA"}]}],"member":"1968","published-online":{"date-parts":[[2025,12,8]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"96893","DOI":"10.1109\/ACCESS.2024.3426955","article-title":"Deep Learning for Credit Card Fraud Detection: A Review of Algorithms, Challenges, and Solutions","volume":"12","author":"Mienye","year":"2024","journal-title":"IEEE Access"},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"71364","DOI":"10.1109\/ACCESS.2020.2987337","article-title":"Taxonomy of Fraud Detection Metrics for Business Processes","volume":"8","author":"Omair","year":"2020","journal-title":"IEEE Access"},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"559","DOI":"10.1016\/j.dss.2010.08.006","article-title":"The application of data mining techniques in financial fraud detection: A classification framework and an academic review of literature","volume":"50","author":"Ngai","year":"2011","journal-title":"Decis. Support Syst."},{"key":"ref_4","first-page":"44318","article-title":"Deep Learning Advancements in Anomaly Detection: A Comprehensive Survey","volume":"12","author":"Huang","year":"2025","journal-title":"IEEE Internet Things J."},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Ali, A., Razak, S.A., Othman, S.H., Eisa, T.A.E., Al-Dhaqm, A., Nasser, M., Elhassan, T., Elshafie, H., and Saif, A. (2022). Financial Fraud Detection Based on Machine Learning: A Systematic Literature Review. Appl. Sci., 12.","DOI":"10.3390\/app12199637"},{"key":"ref_6","first-page":"4915","article-title":"Learned lessons in credit card fraud detection from a practitioner perspective","volume":"41","author":"Caelen","year":"2015","journal-title":"Expert Syst. Appl."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"e25466","DOI":"10.1016\/j.heliyon.2024.e25466","article-title":"A soft voting ensemble learning approach for credit card fraud detection","volume":"10","author":"Mim","year":"2024","journal-title":"Heliyon"},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"1166","DOI":"10.1109\/OJCS.2025.3587001","article-title":"DriftShield: Autonomous Fraud Detection via Actor-Critic Reinforcement Learning with Dynamic Feature Reweighting","volume":"6","author":"Cao","year":"2025","journal-title":"IEEE Open J. Comput. Soc."},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Zheng, M., Zhou, C., Wu, J., Pan, S., Shi, J., and Guo, L. (2018, January 8\u201313). FraudNE: A Joint Embedding Approach for Fraud Detection. Proceedings of the 2018 International Joint Conference on Neural Networks (IJCNN), Rio de Janeiro, Brazil.","DOI":"10.1109\/IJCNN.2018.8489585"},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Ribeiro, M.T., Singh, S., and Guestrin, C. (2016, January 13\u201317). \u201cWhy should I trust you?\u201d Explaining the predictions of any classifier. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA.","DOI":"10.1145\/2939672.2939778"},{"key":"ref_11","unstructured":"Tian, Y., Liu, G., Wang, J., and Zhou, M. (2023). Transaction fraud detection via an adaptive graph neural network. arXiv."},{"key":"ref_12","first-page":"5363","article-title":"EvolveGCN: Evolving Graph Convolutional Networks for Dynamic Graphs","volume":"34","author":"Pareja","year":"2020","journal-title":"Proc. AAAI Conf. Artif. Intell."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1007\/s11704-024-3853-2","article-title":"A survey of dynamic graph neural networks","volume":"19","author":"Zheng","year":"2025","journal-title":"Front. Comput. Sci."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"10297","DOI":"10.1109\/TPAMI.2024.3445463","article-title":"A Survey on Graph Neural Networks and Graph Transformers in Computer Vision: A Task-Oriented Perspective","volume":"46","author":"Chen","year":"2024","journal-title":"IEEE Trans. Pattern Anal. Mach. Intell."},{"key":"ref_15","unstructured":"Dai, Z., Yang, Z., Yang, Y., Carbonell, J., Le, Q., and Salakhutdinov, R. (August, January 28). Transformer-XL: Attentive Language Models beyond a Fixed-Length Context. Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, Florence, Italy."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Cheng, D., Zou, Y., Xiang, S., and Jiang, C. (2025). Graph neural networks for financial fraud detection: A review. Front. Comput. Sci., 19.","DOI":"10.1007\/s11704-024-40474-y"},{"key":"ref_17","unstructured":"Zheng, Z., Zhou, B., and Song, Y. (2025). Temporal-Aware Graph Attention Network for Cryptocurrency Transaction Fraud Detection. arXiv."},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Salda\u00f1a-Ulloa, D., Luna, G.D.I., and Marcial-Romero, J.R. (2024). A Temporal Graph Network Algorithm for Detecting Fraudulent Transactions on Online Payment Platforms. Algorithms, 17.","DOI":"10.3390\/a17120552"},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"102003","DOI":"10.1016\/j.jksuci.2024.102003","article-title":"Encoder\u2013decoder graph neural network for credit card fraud detection","volume":"36","author":"Cherif","year":"2024","journal-title":"J. King Saud Univ. Comput. Inf. Sci."},{"key":"ref_20","first-page":"13115","article-title":"Dynamic Neighborhood Modeling via Node-Subgraph Contrastive Learning for Graph-Based Fraud Detection","volume":"39","author":"Yu","year":"2025","journal-title":"Proc. AAAI Conf. Artif. Intell."},{"key":"ref_21","first-page":"1","article-title":"Credit Card Fraud Detection via Intelligent Sampling and Self-supervised Learning","volume":"15","author":"Chen","year":"2024","journal-title":"ACM Trans. Intell. Syst. Technol."},{"key":"ref_22","unstructured":"Wang, L., Chang, X., Li, S., Chu, Y., Li, H., Zhang, W., He, X., Song, L., Zhou, J., and Yang, H. (2021). Tcl: Transformer-based dynamic graph modelling via contrastive learning. arXiv."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"9399","DOI":"10.1109\/TIFS.2025.3607231","article-title":"Multi-Temporal Partitioned Graph Attention Networks for Financial Fraud Detection","volume":"20","author":"Guang","year":"2025","journal-title":"IEEE Trans. Inf. Forensics Secur."},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Mubalaike, A.M., and Adali, E. (2018, January 20\u201323). Deep Learning Approach for Intelligent Financial Fraud Detection System. Proceedings of the 2018 3rd International Conference on Computer Science and Engineering (UBMK), Sarajevo, Bosnia and Herzegovina.","DOI":"10.1109\/UBMK.2018.8566574"},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"108313","DOI":"10.1016\/j.cie.2022.108313","article-title":"UzADL: Anomaly detection and localization using graph Laplacian matrix-based unsupervised learning method","volume":"171","author":"Olimov","year":"2022","journal-title":"Comput. Ind. Eng."},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"3800","DOI":"10.1109\/TKDE.2020.3025588","article-title":"Graph Neural Network for Fraud Detection via Spatial-Temporal Attention","volume":"34","author":"Cheng","year":"2020","journal-title":"IEEE Trans. Knowl. Data Eng."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1186\/s12911-023-02152-0","article-title":"Health insurance fraud detection by using an attributed heterogeneous information network with a hierarchical attention mechanism","volume":"23","author":"Lu","year":"2023","journal-title":"BMC Med. Inform. Decis. Mak."},{"key":"ref_28","first-page":"8","article-title":"Research on Financial Credit Fraud Detection Methods Based on Temporal Behavioral Features and Transaction Network Topology","volume":"5","author":"Luo","year":"2024","journal-title":"Artif. Intell. Mach. Learn. Rev."},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"14824","DOI":"10.1007\/s11227-024-06030-y","article-title":"An intelligent sequential fraud detection model based on deep learning","volume":"80","author":"Zioviris","year":"2024","journal-title":"J. Supercomput."},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"3848","DOI":"10.1109\/TITS.2019.2935152","article-title":"T-GCN: A Temporal Graph Convolutional Network for Traffic Prediction","volume":"21","author":"Zhao","year":"2019","journal-title":"IEEE Trans. Intell. Transp. Syst."},{"key":"ref_31","first-page":"11106","article-title":"Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting","volume":"35","author":"Zhou","year":"2021","journal-title":"Proc. AAAI Conf. Artif. Intell."},{"key":"ref_32","doi-asserted-by":"crossref","unstructured":"Deng, T., Bi, S., and Xiao, J. (2024, January 13\u201315). Transformer-Based Financial Fraud Detection with Cloud-Optimized Real-Time Streaming. Proceedings of the BDEIM 2024: 2024 5th International Conference on Big Data Economy and Information Management, Zhengzhou, China.","DOI":"10.1145\/3724154.3724271"},{"key":"ref_33","first-page":"5812","article-title":"Graph contrastive learning with augmentations","volume":"33","author":"You","year":"2020","journal-title":"Adv. Neural Inf. Process. Syst."},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"7931","DOI":"10.1109\/TNNLS.2024.3414326","article-title":"Federated Graph Anomaly Detection via Contrastive Self-Supervised Learning","volume":"36","author":"Kong","year":"2024","journal-title":"IEEE Trans. Neural Netw. Learn. Syst."},{"key":"ref_35","doi-asserted-by":"crossref","unstructured":"Darban, Z.Z., Webb, G.I., Pan, S., Aggarwal, C.C., and Salehi, M. (2025). CARLA: Self-supervised contrastive representation learning for time series anomaly detection. Pattern Recognit., 157.","DOI":"10.1016\/j.patcog.2024.110874"},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"12181","DOI":"10.1109\/JIOT.2024.3520362","article-title":"Multivariate Time-Series Anomaly Detection Based on Dynamic Graph Neural Networks and Self-Distillation in Industrial Internet of Things","volume":"12","author":"Zhao","year":"2024","journal-title":"IEEE Internet Things J."},{"key":"ref_37","doi-asserted-by":"crossref","first-page":"145754","DOI":"10.1109\/ACCESS.2025.3599787","article-title":"Temporal Heterogeneous Graph Contrastive Learning for Fraud Detection in Credit Card Transactions","volume":"13","author":"Wang","year":"2025","journal-title":"IEEE Access"},{"key":"ref_38","doi-asserted-by":"crossref","unstructured":"Zheng, J., Qiu, W., and Huang, S. (2025). Interpretable Contrastive Learning for Robust and Explainable Anomaly Detection in Financial and Organizational Data. Int. J. Pattern Recognit. Artif. Intell.","DOI":"10.1142\/S0218001425510292"},{"key":"ref_39","unstructured":"Sudhanshu 3112 (2025, October 01). Online Transaction Fraud Detection Datasets. Kaggle. Available online: https:\/\/www.kaggle.com\/datasets\/sudhanshu3112\/online-transaction-fraud-detection-datasets."}],"container-title":["Algorithms"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1999-4893\/18\/12\/770\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,12,8]],"date-time":"2025-12-08T15:39:18Z","timestamp":1765208358000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1999-4893\/18\/12\/770"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,12,8]]},"references-count":39,"journal-issue":{"issue":"12","published-online":{"date-parts":[[2025,12]]}},"alternative-id":["a18120770"],"URL":"https:\/\/doi.org\/10.3390\/a18120770","relation":{},"ISSN":["1999-4893"],"issn-type":[{"value":"1999-4893","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,12,8]]}}}