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.

This publication has 24 references indexed in Scilit: