ATM - GAD: Adaptive Temporal Motif Graph Anomaly Detection for Financial Transaction Networks

Zeyue Zhang, Lin Song, Erkang Bao, Xiaoling Lu, Xinyue Wang · 2025

Read ATM - GAD: Adaptive Temporal Motif Graph Anomaly Detection for Financial Transaction Networks by Zeyue Zhang, Lin Song, Erkang Bao, Xiaoling Lu, Xinyue Wang (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2508-20829.txt.

Introduction

Zeyue Zhang and four co-authors build ATM-GAD, a network that spots fraud in money flows by the small time-stamped shapes those flows make. Their paper is from two thousand twenty-five.

Fraud costs vast sums, and its webs of linked accounts beat plain tools. Graph tools help, but they miss two time marks of fraud. One is the set shapes that recur as a scheme unfolds. The next is that each account's bad span is short and its own. The new net pulls the most telling shapes from each account's past. Twin focus blocks then read within and across those shapes. The aim is to catch fraud as it moves.

Catalog record

CREATORZeyue Zhang, Lin Song, Erkang Bao, Xiaoling Lu, Xinyue Wang
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE37 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2508-20829

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

ATM - GAD: Adaptive Temporal Motif Graph Anomaly Detection for Financial Transaction Networks Zeyue Zhang, Lin Song, Erkang Bao, Xiaoling Lu, Xinyue Wang Abstract Financial fraud detection is essential to safeguard billions of dollars, yet the intertwined entities and fast-changing transaction behaviors in modern financial systems routinely defeat conventional machine learning models. Recent graph-based detectors make headway by representing transactions as networks, but they still overlook two fraud hallmarks rooted in time: (1) temporal motifs—recurring, telltale subgraphs that reveal suspicious money flows as they unfold—and (2) account-specific intervals of anomalous activity, when fraud surfaces only in short bursts unique to each entity. To exploit both signals, we introduce ATM-GAD , an adaptive graph neural network that leverages temporal motifs for financial anomaly detection. A Temporal Motif Extractor condenses each account’s transaction history into the most informative motifs, preserving both topology and temporal patterns. These motifs are then analyzed by dual-attention blocks: IntraA reasons over interactions within a single motif, while InterA aggregates evidence across motifs to expose multi-step fraud schemes. In parallel, a differentiable Adaptive Time-Window Learner tailors the observation window for every node, allowing the model to focus precisely on the most revealing time slices. Experiments on four real-world datasets show that ATM-GAD consistently outperforms seven strong anomaly-detection baselines, uncovering fraud patterns missed by earlier methods. 1 Introduction Financial fraud has escalated alongside the growth of digital finance, causing hundreds of billions of dollars loss each year—more than $400 billion in the United States alone bhattacharyya2011data ; kirkos2007data . The sheer volume and velocity of modern transactions make manual auditing infeasible, so automated fraud-detection systems have become indispensable for financial institutions and regulators. Early detection efforts primarily relied on traditional machine learning models such as Random Forests breiman2001random and XGBoost chen2016xgboost . These models treat each transaction independently and therefore overlook the entity relationships. Recent work remedies this by casting transactions as graphs and analyzing higher-order connectivity patterns. Of particular interest are triadic motifs—directed 3-node, 3-edge subgraphs—which naturally encode the canonical “payer–mule–beneficiary” chains observed in money-laundering schemes egressy2024provably ; paranjape2017motifs ; raphtory2025 . Moreover, triads offer an attractive tradeoff between expressiveness and tractability. As the number of candidate motifs grows exponentially with motif size paranjape2017motifs , searching for 4–6-node patterns quickly becomes infeasible on large-scale transaction graphs (more analysis in Appendix ). Despite their success, current motif-centric approaches overlook two temporal factors that are critical in practice. First, they treat motifs as static. In reality, financial networks are dynamic, and the precise timing of edges often reveals suspicious money flows (Appendix Figure ). Second, they impose a single global observation window—typically the full lifespan of the dataset—on every account, ignoring the fact that different entities operate on different timescales (Appendix Figure ). Both simplifications blur short-lived yet high-impact fraud signals. Figure 1 : Transactions of fraudulent account v_{0} over time from the Ethereum dataset xblockEthereum . During its early stage (dashed box), the account initiates a burst of large transfers; afterwards activity recedes to occasional low-value transactions. Even within the burst, the flow evolves from small transfers to a sudden spike of high-value ones and back again. Using the entire time span as a window dilutes the anomalous burst with benign tail activity, while an overly narrow window risks missing the shape of the burst itself. Static triads are likewise insufficient. The very timing and ordering of edges is what distinguishes this laundering episode from legitimate accounts. Motivated by these limitations and the illustrative example 1 1 1 Account number 0x44a7ff01f7d38c73530c279e19d31527bdcf8c78 from the Ethereum dataset xblockEthereum . shown in Figure 1 , we extend the static motif approach to temporal motifs . Our approach aims to couple structural and time-sensitive information within a GNN to effectively capture the complex fraudulent behaviors. This new setting introduces two challenges. First, unlike static motifs, extracting temporal motifs hinges on the choice of time window. Rather than a single fixed hyper-parameter, the window length must be adapted individually for each node. Second, in the financial transaction networks, each account associates with a unique mix of motif types, and the number of candidate motifs grows rapidly with both window length and graph size, complicating the identification of informative patterns. To address the challenges, we propose ATM-GAD , an adaptive graph neural network for financial fraud detection. Our solution integrates three novel components: (1) a Temporal Motif Extractor that identifies time-sensitive subgraph patterns critical for fraud detection; (2) dual attention mechanisms ( IntraA and InterA ) that process structural information at different granularities; and (3) an Adaptive Time Window Learner that optimizes entity-specific observation periods through a differentiable framework. This design enables effective capture of both evolving network structures and account-specific anomalous activities. The key contributions of our work are as follows: • We develop a novel approach that extracts time-sensitive motifs within learned node-specific time windows, capturing recurring subgraphs that reveal suspicious money flows while adapting to the short bursts of anomalous activity unique to each entity. • Our framework introduces a dual-level attention mechanism— IntraA for reasoning within motifs and InterA for aggregating across motif types—that identify complex fraud schemes spanning multiple transaction patterns. • Experiments on four real-world datasets demonstrate ATM-GAD consistently outperforms seven SOTA detection baselines, uncovering previously missed fraud patterns. 2 Related Work Local structure-based graph anomaly detection. In financial networks, fraudulent users often exhibit distinctive local structural patterns, particularly in collaborative fraud scenarios. Existing methods primarily leverage subgraphs to capture these patterns. ARISE duan2023arise targets high-density substructures associated with illegal activities using random walks. Similarly, GRADATE duan2023graph and SAMCL hu2023samcl employ random-walk-based subgraph sampling with contrastive learning. While these approaches capture certain structural information, they are computationally expensive for large networks and neglect time-varying patterns. In contrast, our ATM-GAD incorporates temporal motifs and adapts to local temporal dynamics, enabling efficient detection of anomalies arising from evolving collaborative fraud patterns. Motif-based graph anomaly detection. Motif-based methods have attracted great attention due to their ability to capture higher-order structural patterns, which are critical for detecting subtle anomalies. For example, MotifCAR xiao2024motif uses counterfactual analysis based on static motifs to infer causal relationships, while HO-GAT huang2021hybrid combines graph attention mechanisms with motif-based learning to detect anomalies at both the node and subgraph levels. Additionally, MotifGNN wang2023financial and MCoGCN xiang2024mcogcn integrate motif structures into GNNs, improving the detection of global structural anomalies. However, these approaches treat motifs as static entities and do not account for temporal variations or node-specific motif distributions. Our proposed ATM-GAD addresses these limitations by incorporating a Temporal Motif Extractor that dynamically captures time-sensitive motif patterns for each node, and by introducing novel Intra-Attention and Inter-Attention mechanisms that refine both local and cross-motif interactions. Temporal motif in networks. Temporal motifs extend static motifs by incorporating time dimensions, revealing network dynamics. While efficient counting algorithms exist gao2022scalable ; paranjape2017motifs , they use time windows as fixed hyperparameters. Recent applications include: COFD hu2023collaborative using second-order relationships; SLADE lee2024slade and approaches by sarpe2024scalable demonstrating effectiveness for evolving interactions; and MTM liu2023using showing how motif transitions preserve structural information. However, these methods generally employ fixed time windows for extraction, ignoring varying temporal behaviors across nodes. ATM-GAD addresses this limitation through an adaptive window learning mechanism that automatically adjusts each node’s extraction window based on

Read the complete text