Heterogeneous-Memory Temporal Graph Network Applied to Event-Based Fraud Detection
Preprint
- 9 June 2026
- preprint
- Published by Elsevier in SSRN Electronic Journal
Abstract
Digital fraud poses a critical global challenge, particularly in Latin America, requiring detection systems capable of identifying illicit patterns in highly imbalanced transactional data. Recent work on graph neural networks for temporal heterogeneous data has explored several architectural directions, including type-aware aggregation with universal memory, relation-aware convolutions, memory-free continuous-time methods, and snapshot-based hierarchical state updates. Across these approaches, the persistent state mechanism is either shared across all entity types, absent entirely, or operates between snapshots rather than between events. We identify per-type, event-driven memory as a previously unexplored architectural axis and propose HetMem-TGN (Heterogeneous-Memory Temporal Graph Network), a continuous-time event-based architecture that maintains separate persistent memory modules for each vertex type and each edge type, with its own dimensionality and update dynamics. This allows the model to maintain distinct evolutionary trajectories for entities playing fundamentally different roles in fraudulent activity, rather than collapsing them into a shared memory space. We evaluate HetMem-TGN on real transaction data from a Latin American online payment platform, comprising 2.6 million events across six vertex types and five edge types, with severe class imbalance (0.33\% fraud rate). Across various subsampled distributions, HetMem-TGN consistently maintains high Precision and PR-AUC scores, substantially outperforming static heterogeneous baselines (HGT, HAN, RGCN) and dynamic homogeneous baselines (TGN, JODIE). Our experiments also reveal an inverse relationship between connectivity density and recall, with moderate undersampling outperforming the full dataset, providing actionable guidance for practitioners deploying graph-based fraud detection.Keywords
This publication has 24 references indexed in Scilit:
- Fraudulent Event Detection via Temporal Graph Networks2025
- Graph neural networks for financial fraud detection: a reviewFrontiers of Computer Science, 2025
- The Expressive Power of Graph Neural Networks: A SurveyIEEE Transactions on Knowledge and Data Engineering, 2024
- SiGNN: A spike-induced graph neural network for dynamic graph representation learningPattern Recognition, 2024
- NLA-GNN: Non-local information aggregated graph neural network for heterogeneous graph embeddingPattern Recognition, 2024
- Continuous-Time Temporal Graph Learning on Provenance Graphs2023
- Memory-Enhanced Transformer for Representation Learning on Temporal Heterogeneous GraphsData Science and Engineering, 2023
- LGM-GNN: A Local and Global Aware Memory-Based Graph Neural Network for Fraud DetectionIEEE Transactions on Big Data, 2023
- Graph Neural Network for Fraud Detection via Spatial-Temporal AttentionIEEE Transactions on Knowledge and Data Engineering, 2020
- Dynamic graph convolutional networksPattern Recognition, 2020