ConceptioArchivearXiv CS
arXiv CSopen access

Temporal Motif-aware Graph Test-time Adaptation for OOD Blockchain Anomaly Detection

Unknown · 2026 · arxiv_cs
arXiv CS · Papers · License: Open Access · 2026
Open Source ↗Direct PDF ↓
cryptography, security, privacy, cybersecurity

Temporal Motif-aware Graph Test-time Adaptation for OOD Blockchain Anomaly Detection

arXiv:2605.29526v1 [cs.CR] 28 May 2026

Runang He3 , Tongya Zheng1,2,4 , Huiling Peng5 , Yuanyu Wan1,3,4 , Bingde Hu1∗ , Jiawei Chen1,4 , Canghong Jin1,2,4 , Mingli Song1,2,3,4 , Can Wang1,2,4 , 1 State Key Laboratory of Blockchain and Data Security, Zhejiang University 2 Zhejiang Provincial Engineering Research Center for Real-Time SmartTech in Urban Security Governance, Hangzhou City University 3 School of Software Technology, Zhejiang University 4 Hangzhou High-Tech Zone (Binjiang) Institute of Blockchain and Data Security 5 Polytechnic Institute, Zhejiang University [email protected], {doujiang zheng,phlnku}@163.com, {wanyy,tonyhu,sleepyhunt}@zju.edu.cn, [email protected], {brooksong,wcan}@zju.edu.cn Abstract Ever-evolving transaction patterns have significantly hindered anomaly detection on emerging cryptocurrency blockchains due to the vast number of addresses and diverse anomalous behaviors. Recently, advanced Graph Anomaly Detection (GAD) approaches applied to blockchains have faced two critical challenges: adversarial pattern evolution by malicious actors and the outof-distribution (OOD) problem caused by varied transaction semantics on blockchains. To address these challenges, we propose a novel framework termed TEmporal Motif-aware Graph Test-Time Adaptation (TEMG-TTA). First, we comprehensively capture the 3-node temporal motif distribution of each active address using an efficient computational mechanism, enabling downstream temporal motif-aware graph learning. Second, we design a simple yet effective test-time adaptation strategy to facilitate the sharing of common patterns between training and testing graphs. Extensive experiments on 5 real-world datasets demonstrate that our proposed TEMG-TTA outperforms state-of-the-art GAD approaches by an average of 54.88%. A further case study on interpretable motif patterns reveals that TEMG-TTA explicitly characterizes the complex transaction patterns of anomalous addresses, thereby verifying the effectiveness of our technical designs. Our code will be made publicly available1 .

1

Introduction

Blockchain transaction networks consist of large-scale, directed, and temporally ordered interactions, where anomalous ∗ 1

Corresponding Author https://github.com/LuoXishuang0712/TEMG-TTA/

10

Anomaly Nodes

Benign Nodes

10

5 15 0.4 0.00.2

0.60.8

20

25

30

(a) AlphaHomora

5 15

1.0 0 35

0.4 0.00.2

0.60.8

1.0

20

25

0 35

30

(b) Our Private Dataset

Figure 1: Radar maps of two types of blockchain transactions w.r.t. 36 types of 3-node temporal motifs.

behaviors continuously evolve. This dynamic nature makes blockchain anomaly detection particularly challenging under distribution shifts and limited supervision. Cryptocurrencies on decentralized blockchains, such as Bitcoin and Ethereum, are widely used and support millions of transactions daily2 . Although blockchain transparency enables public verification, it also allows illicit activities to hide within legitimate transaction flows, especially in programmable environments enabled by smart contracts [Chen et al., 2020]. From a modeling perspective, blockchain transactions can be represented as directed temporal multi-graphs, motivating graph-based Blockchain Anomaly Detection (BAD) methods for asset flow analysis and anomalous group discovery [Qi et al., 2023; Luo, 2024]. However, anomalous behaviors on blockchains are non-stationary and evolve with emerging cryptocurrency techniques and attack strategies [Yao et al., 2024]. Thus, models trained on historical data often suffer from severe out-of-distribution (OOD) issues in real-world deployment. Early detection efforts relied on hand-crafted features and traditional machine learning models to detect Ponzi schemes [Chen et al., 2018], trace cryptocurrency 2

https://etherscan.io/txs

scams [Phillips and Wilder, 2020], and identify phishing transactions [Yuan et al., 2020]. With the development of deep graph learning, recent studies have shifted toward end-to-end representation learning for money laundering detection [Weber et al., 2019] and account de-anonymization on Ethereum [Zhou et al., 2022]. More generally, Graph Anomaly Detection (GAD) methods have addressed challenges such as heterophily and label imbalance, as exemplified by DGAGNN [Duan et al., 2024] and SpaceGNN [Dong et al., 2025]. Despite these advances, most existing methods rely on supervised learning and remain sensitive to distribution shifts in blockchain data. Our closer inspection of transaction behaviors suggests that many complex patterns can be decomposed into fine-grained temporal motifs. As shown in Figure 1, anomalous and benign nodes exhibit distinct temporal motif patterns on both the AlphaHomora dataset and a real-world money-laundering dataset. Moreover, we find that improved detection performance is often accompanied by adaptive changes in adversarial behaviors, further exacerbating distribution shifts. These observations reveal two unresolved challenges: (i) existing GAD methods rarely model temporal motifs explicitly, limiting their ability to capture evolving adversarial patterns; (ii) supervised learning approaches struggle to adapt to structural changes under OOD settings. In this work, we collaborate with Zhejiang Provincial Public Security Department, which provides reliable onchain anomaly labels and cases, to detect OOD anomalies on blockchains using public transaction records and provided labels. Specifically, we propose a TEmporal Motifaware Graph Test-Time Adaptation (TEMG-TTA) framework to enable explicit temporal motif perception for OOD blockchain anomaly detection. First, we design an efficient motif matching algorithm that reduces the time complexity from O(M 3 ) to O(M · k 2 ), where M is the number of transactions and k is the maximum number of edges within a constrained time window. Next, we construct a comprehensive temporal motif representation for each active node by incorporating shared motif prototype embeddings, role representations, and positional encodings. Finally, we introduce a trustable node selection mask and a teacher-student regularization mechanism to facilitate graph TTA on blockchains and mitigate disruptive deviation. Extensive experiments on four public datasets and one private dataset demonstrate that TEMG-TTA significantly outperforms state-of-the-art GAD approaches by an average of 54.88%. Our main contributions are summarized as follows: • We collaborate with a Provincial Public Security Department to detect suspicious Ethereum transactions in real time and report anomalous addresses with specified patterns, such as anomalous exchangers. • We propose TEMG-TTA, a temporal motif-aware graph test-time adaptation framework that improves structural expressiveness and robustness to temporal distribution shifts for blockchain anomaly detection. • Extensive experiments on multiple real-world blockchain datasets show that our method consistently outperforms state-of-the-art baselines and remains

robust under temporal distribution drift. In-depth motif analysis and ablation studies further demonstrate the effectiveness of different components.

2

Related Works

Graph Anomaly Detection. Graph neural networks (GNNs) have shown strong effectiveness in graph anomaly detection (GAD) [Qiao et al., 2025b]. Recent studies address heterophily and imbalance in GAD, such as H2 GCN [Zhu et al., 2020], PMP [Zhuo et al., 2024], and ConsisGAD [Chen et al., 2024]. Graph foundation models (GFMs), including UNPrompt [Niu et al., 2024], ARC [Liu et al., 2024], and AnomalyGFM [Qiao et al., 2025a], further aim to improve generalization to complex abnormal patterns. However, these methods generally assume stationary distributions and struggle with continuously evolving blockchain transaction patterns. Dynamic and Spatiotemporal Graph Modeling. Dynamic and spatiotemporal graph modeling has been widely studied for evolving behavioral patterns. Representative studies model temporal aggregation and propagation for dynamic graph representation [Zheng et al., 2023], incorporate spatiotemporal graph structures for human mobility simulation [Wang et al., 2024b], and use Transformer-based transfer learning for cross-city trajectory generation [Wang et al., 2024a]. These methods highlight the importance of temporal evolution and transferable behavioral patterns, but mainly target mobility or general dynamic representation learning rather than label-scarce anomaly detection on rapidly evolving cryptocurrency transaction graphs. Motif in Graph. Traditional GNNs aggregate pairwise connections and are limited by the expressive power of the 1-WL test [Lee et al., 2019]. Graph motifs, as recurring higher-order subgraphs, have been used to enhance structural expressiveness, including motif-based attention [Lee et al., 2019], motif-augmented attributed networks [Huang et al., 2021], and motif-based GNNs [Monti et al., 2018]. Nevertheless, most motif-based methods ignore temporal and directional information or require explicit graph augmentation, limiting their scalability on large dynamic transaction graphs. Graph Test-time Adaptation. Test-time adaptation (TTA) adapts pre-trained models to distribution shifts during inference without labeled data. Existing graph TTA methods rely on min-max optimization for test-domain adaptation [Chen et al., 2022], graph structure editing [Jin et al., 2022], regularized prototype supervision [Zhao et al., 2025], edgeimportance-based graph augmentation [Zhang et al., 2024], or homophily-based pseudo-label denoising [Zheng et al., 2025]. However, they mainly handle global distribution shifts and may overlook fine-grained transactional patterns crucial for cryptocurrency fraud detection. Summary of Differences. Overall, existing studies provide valuable foundations but remain insufficient for blockchain fraud detection. GAD and graph foundation models mainly rely on static representations, motif-based GNNs often suffer from temporal or scalability limitations, and graph TTA methods usually overlook fine-grained higherorder transaction structures. Moreover, real-time intelligent

Algorithm 1 Motif Matching Input: Transaction set R Parameter: Maximum time window tw , edge limit k, aggregation range ∆t Output: Motif count matrix C 1: Sort transactions in R by timestamp 2: Initialize motif counts C 3: if time aggregation is enabled then 4: Aggregate same-direction transactions within [ti − ∆t, ti ] into R̃ 5: else 6: R̃ = R 7: end if 8: for each transaction ri ∈ R do 9: Sample at most k historical transactions from R̃ within [ti − tw , ti ] as Si 10: for each pair (rj , rm ) in Si with tj < tm < ti do 11: if {rj , rm , ri } forms a 3-node temporal motif then 12: Update the corresponding motif-role count in C 13: end if 14: end for 15: end for 16: return C big data processing emphasizes scalable analysis over continuously generated large-scale streams [Zheng et al., 2019], which is important for practical blockchain monitoring. Different from these works, our approach jointly integrates motif-aware modeling with label-free test-time adaptation, enabling efficient adaptation to evolving higher-order transaction patterns in dynamic blockchain systems.

3

Method

3.1

Blockchain Transaction Graph

Given a cryptocurrency transaction set R = {r1 , . . . , rM }, each transaction is denoted as ri = (si , ei , ti , ci ), where si , ei , ti , and ci denote the sender, receiver, timestamp, and amount, respectively. We formulate R as a directed temporal multi-graph G = (V, E, X), where V = {si } ∪ {ei } is the address set with |V | = N , E = {ri }M i=1 is the transaction set, and X ∈ RN ×d denotes node features. Our goal is to learn a GNN-based classifier ŷi = GNNθ (vi |G) to distinguish benign and anomalous addresses.

3.2

Temporal Motif-aware Graph Representation

Temporal Motif Computation. Existing GAD methods mainly rely on multi-hop graph aggregation and node-level classifiers, making it difficult to capture fine-grained intraand inter-anomaly transaction patterns. We therefore introduce temporal motifs to characterize higher-order transaction behaviors and enhance node representations. Motifs are recurring subgraph patterns. In this work, we focus on 3-node and 3-edge temporal motifs, which capture interactions beyond pairwise connections while remaining computationally tractable [Paranjape et al., 2017], as shown in Figure 3. Two-node patterns can be captured by ordinary GNN aggregation, whereas four-node motifs are much more

expensive and harder to represent compactly. Algorithm 1 shows our motif matching procedure. With edge limitation and time aggregation, the complexity is reduced from O(M 3 ) to O(M · k 2 ). The resulting motif-role counts are stored in C ∈ RN ×(3×36) . Temporal Motif Representation. Given 36 temporal motif types, we learn a shared motif prototype matrix M = [m1 , . . . , m36 ]. For each motif type mk and each node role q, we construct a role-aware motif embedding using the motif prototype, a learnable role embedding rk,q , and a positional encoding pk,q . For a motif mk = (V ′ , E ′ ), where dst E ′ = {ej }3j=1 and ej = (esrc j , ej , tj ), the positional encoding of node vq is defined as X 1(vq ∈ ej ) · (T (tj ) + E(vq , ej )) , (1) pk,q = ej ∈E ′

where T (tj ) = sin(ωtj + θ) encodes temporal order, and dst E(vq , ej ) = MLP([1(vq = esrc j ), 1(vq = ej )]) encodes edge-level source/destination roles. The motif-role embedding is then obtained by hm k,q = mk + rk,q + pk,q .

(2)

We collect all motif-role embeddings into Hm ∈ R(3×36)×dh and compute node-level motif features as Xmotif = CHm .

(3)

Temporal Motif-enhanced Node Representation. We fuse original node features with motif features by X = MLP (Wf Xorig + Xmotif + b) ,

(4)

where Wf and b are learnable parameters, and X denotes the fused node features.

3.3

Graph Pre-training

We divide learning into graph pre-training and test-time adaptation. In pre-training, the motif-enhanced graph is fed into a GNN backbone, which can be GCN [Kipf, 2016], GraphSAGE [Hamilton et al., 2017], SpaceGNN [Dong et al., 2025], or DGAGNN [Duan et al., 2024]. The general GNN pipeline is written as    ŷi = MLP UpdateL {zL−1 | vj ∈ {vi } ∪ N (vi )} , vj (5) where UpdateL is the L-th layer update function, zL vi is the representation of vi , and z0vi = xi ∈ X. The model is optimized with binary cross-entropy: N

Ltr = −

1 X [yi log(ŷi ) + (1 − yi ) log(1 − ŷi )] . N i=1

(6)

We optimize θ by back-propagation and apply early stopping based on validation AUC-PRC with tolerance τtolerance .

3.4

Graph Test-time Adaptation for Blockchain

In test-time adaptation (TTA), we adapt the pre-trained model to an unlabeled test graph Gtest whose distribution differs from the training graph. We initialize two identical GNNs

1

2 3

4

0

0x0...1

1

0x0...2

2

0x0...3

3

0x0...4

...

...

Edge set

Predict label

Classifier

Train feature

Address Lookup

0

GNN Layers GNN Layers GNN Layers

Source Tx Graph

Freezed params.

GT label

Graph Pre-training

Transactions

...

0x0...3 -> 0x0...4

t=3

...

0x0...3 -> 0x0...5

t=4

...

0x0...5 -> 0x0...4

t=5

...

...

...

...

Time Windows (

Train Graph

Test Graph

Address Lookup

0

1

2 3

4

0

0x1...1

1

0x1...2

2

0x1...3

3

0x1...4

...

...

t=5)

t=0

...

0x1...1 -> 0x1...3

t=1

...

0x1...3 -> 0x1...4

t=2

...

0x1...4 -> 0x1...5

t=3

...

0x1...5 -> 0x1...3

t=4

...

0x1...1 -> 0x1...2

t=5

...

...

...

...

@(0,2,1)

0

1

2

3

4

0

1

2

0

1

2

3

4

0

1

2 @(2,4,3)

0

1

2

3

4

0

1

2

0

1

2

3

4

0

Transactions

0x1...2 -> 0x1...3

Matched Motifs

1

Test Test edge feature set

2

@(1,3,2)

@(1,3,2), ... (1,4,2)

2 2

Featuer Extractor & Aggregrator

2 Related Txs 3 4

2

2

1

1

Tx feature

Feature Fusion

...

t=2

🔥prototype &

❄️position emb.

motifs count

fused feature

Graph Representation

Teacher GNN

...

t=1

0x0...2 -> 0x0...3

2

Trusted nodes mask

Graph TTA

Student GNN

t=0

0x0...1 -> 0x0...2

Freezed GNN

0x0...1 -> 0x0...2

1

Final params.

Figure 2: Overall framework of our proposed TEMG-TTA.

2

1

2

1

1

0 2

1

2

2

2

1

2

0

1,3

0 1

2 1,3

0 1

0

2

0

1,2,3

0

0

0 1 2

1

1

1,2

0

2

0

2

3

1 1,2

0

0

3

1

2

2

3 1

1 3

1

2

3

2

3

1

0 1

2

2

2

1

1

2

0 3

1

2

1

2

3

1

3

1

0

2

1,2

1,2

0

0

0

To improve robustness to unstable blockchain patterns, we further adopt an InfoNCE loss [Oord et al., 2018]: 1 X sim(hi , h+ i ) LInf o = − log P + − , |B| − sim(h , h ) + i i hk ∈Ni− sim(hi , hk ) i∈B (10) where sim(h, h′ ) = exp(cos(h, h′ )/τ ). For each node vi , positives are sampled from nodes with similar motif features, i.e., cos(xmi , xmj ) > γ, while the remaining sampled nodes are treated as negatives Ni− . The final TTA objective is

1

0

0

0

2

i∈B

1

0 1

3

2

3

1,2

2 3

2

2

1

1 1

0 1

1

1

2

2

3

2,3 1

0

3

0

2

2 1

3

2,3

1

1

0 2

0 2

2

1

1

2,3

0

2,3

3

1

1

2,3

2

1,2

2 1

3

2

where G̃test is obtained by random edge dropping to produce a semantic-preserving perturbation. We regularize the student by matching teacher and student embeddings:  1 X 1 − cos(hTi , hSi ) . (9) Lsim = |B|

1

3 1

0

2

3

0 1

2

0 1

2

1

1

2 1

2

1

2

2 2

2

2

3

2

3

2

1 3

0 1

1

3 1

0

2 1

2

0

1

2

0 1

2

2

1

3

1

3

0 1

2

2

2

0

0 1

0

1

1 1,3

0 2

2

2

2

0 2

2

0

2 1

1

1 3

1

2 1

1

2

2

1

2

3

0 1

1

2

2

2

3

0

3 1

1,3

2

1

0

2

0 1

1

1

1

2

0

2 1

1

1,3

2

1 3

0

1

2

2

1,3

LT T A = Lsim + βLInf o , Figure 3: All possible directed motifs with 3 nodes and 3 edges.

from the pre-trained model: a student GNNSθ for adaptation and a teacher GNNTθ for stable supervision. To avoid over-confident pseudo supervision [Wu et al., 2020], we select reliable but non-trivial nodes using a confidence mask: Bi = 1(τlow < pi ≤ τhigh ),

(7)

(11)

where β controls the contrastive regularization strength. We update the student parameters θS by back-propagation and update the teacher by exponential moving average: θT = αθT + (1 − α)θS .

(12)

With α ∈ [0.9, 0.999], the teacher preserves source-domain knowledge while gradually tracking the adapted student, reducing catastrophic forgetting during TTA. During each training progress, α is fixed.

where pi = max softmax(ŷiT ) is the teacher confidence, and B = {i | Bi = 1}. At each adaptation step, we compute

4

Experiments

4.1

Experiment Setting

(ŶT , HT ) = GNNTθ (Gtest ),

Datasets. We conduct experiments on five real-world blockchain anomaly detection datasets, as shown in Table 1.

(ŶS , HS ) = GNNSθ (G̃test ), (8)

Dataset

#Nodes

#Edges

%Anomaly

Description

Alpha Crypto Plus Upbit Trace

115,488 222,761 38,327 577,994 1,698,331

897,308 835,302 93,493 1,213,049 2,969,691

8.07 4.38 80.34 3.24 0.16

Exploitation Hacker Attack Ponzi Scheme Hacker Attack Money Laundering

2

1 1,3

2

0

TS**Qo

Table 1: Statistics of blockchain anomaly detection datasets.

AlphaHomora (Alpha), CryptopiaHacker (Crypto), PlusTokenPonzi (Plus), and UpbitHack (Upbit) are from [Lin et al., 2024], while our private dataset Trace is collected through collaboration with our real-world partner. Baselines. We evaluate TEMG-TTA with several GNN backbones, including Graph Convolutional Network (GCN) [Kipf, 2016], GraphSAGE (SAGE) [Hamilton et al., 2017], SpaceGNN (SGNN) [Dong et al., 2025], and DGAGNN (DGA) [Duan et al., 2024]. We use GADBench [Tang et al., 2023] implementations for the first three models and the official implementation for DGAGNN. We also attempted temporal GNN baselines such as DyGFormer [Yu et al., 2023] and SALoM [Liu et al., 2026], but their training cost is prohibitive on blockchain transaction graphs, with several runs exceeding 24 hours on public datasets and becoming harder on Trace. Following prior GAD studies, we therefore use representative GNN-based anomaly detection backbones for the main comparison and focus on the consistent gains brought by TEMG-TTA. Evaluation protocol. To prevent data leakage, we record the activation time of each anomalous node and split the training, validation, and test sets chronologically with a ratio of 6:2:2. Due to severe class imbalance, we do not use accuracy. Instead, we evaluate anomaly detection performance using Area Under the Precision-Recall Curve (AUC-PRC), Recall@k (Rec@k), and F1-score. AUC-PRC measures the overall ranking quality under imbalance, Rec@k evaluates the coverage of high-risk nodes in practical top-k inspection, and F1-score reflects the balance between precision and recall under a decision threshold of 0.5. We set k as the number of anomalous nodes in the test set. Implementation details. We train each model for 200 epochs with early stopping based on validation AUC-PRC and run 10 epochs for TTA. Unless otherwise specified, motif extraction uses k = 100 and ∆t = 3600. Since TTA requires hidden embeddings on the test graph, we modify all backbones to output the hidden embeddings before the classifier. For DGAGNN, we disable its source graph oriented super mask during TTA. All experiments are conducted on 2 Intel Xeon Platinum 8260L CPUs, 256 GiB RAM, and an NVIDIA GeForce RTX 4090 GPU with 24 GiB VRAM.

4.2

Overall Comparison

Tables 2 and 3 compare the performance of “Original” models without TTA and “Ours” with TEMG-TTA. Here, “-” denotes out-of-memory (OOM) errors, “tr.” and “te.” denote “train on” and “test on”, respectively. Overall, TEMGTTA preserves the anomaly detection ability learned from the source dataset while adapting the model to shifted test distributions.

2

1 1

2,3

0

TD**pD

2

1 1,2

3

0

2

2 1,3

0

1

2

1 2,3

1

0

2

1

3 1,2

0

TQ**kc

TA**HD

TL**Cp

TY**1a

TC**VV

TF**Gs

TQ**kc

Figure 4: Common temporal motif patterns in real-world blockchain datasets.

Following Table 1, we use the anomaly ratio of each test dataset as the random AUC-PRC baseline. When the original model performs poorly, such as transferring from CryptopiaHacker to PlusTokenPonzi, the source and target datasets exhibit clear distribution shifts, and TEMG-TTA consistently improves performance through test-time adaptation. When the original model already performs well, such as transferring from AlphaHomora to CryptopiaHacker, TEMG-TTA still maintains or further improves the performance, indicating that the adaptation process does not severely damage sourcedomain knowledge. The OOM cases mainly occur when combining the large Trace dataset with SpaceGNN. During TTA, maintaining both teacher and student models further increases memory consumption, making SpaceGNN infeasible on Trace under our hardware setup.

4.3

Case Study on Temporal Motif Patterns

To verify whether temporal motifs can capture meaningful anomalous behaviors, we analyze common motif patterns in our private dataset. As shown in Figure 4, we group motifs by their basic structures and present representative cases verified by our partner. Group (a) shows a distribution pattern from node-0. In our cases, the most common receiver in this pattern is a private exchange service frequently used in fraud cases, while the other receiver is the suspicious node labeled as fraud. Although such distribution patterns are common on blockchains, they become strong fraud signals within a short time window because malicious actors often avoid using the same account for a long period. Group (b) shows aggregation patterns, where assets are collected into one account before payment. Due to temporalorder constraints, only motif (r6 , c3 ) clearly indicates this behavior. In the first case, the middle node aggregates assets from an exchange service and sends them to the fraud-related target node. In the second case, the aggregation node itself is suspicious, corresponding to a cash-out pattern according to our partner. This indicates that fraud-related addresses may repeatedly receive assets from upstream addresses and forward them downstream, forming distinctive temporal aggregation motifs.

GNN

Metric

TTA

AUC-PRC

Tr. Te.

Origin Ours

GCN

Rec@k

Origin Ours Origin

F1

Ours AUC-PRC

Origin Ours

SAGE

Rec@k

Origin Ours Origin

F1

Ours AUC-PRC

Origin Ours

DGA

Rec@k

Origin Ours Origin

F1

Ours AUC-PRC

Origin Ours

SGNN

Rec@k

Origin Ours Origin

F1

Ours

Alpha

Crypto

Plus

Crypto

Plus

Upbit

Trace

Alpha

Plus

Upbit

Trace

Alpha

Crypto

Upbit

Trace

0.2292 0.3636

0.6241 0.7647

0.1752 0.4457

0.0047 0.0399

0.5552 0.6439

0.6333 0.8159

0.1101 0.3037

0.0022 0.0060

0.1490 0.1673

0.0562 0.0613

0.0974 0.1013

0.0012 0.0012

±0.0008 ∗∗

±0.0128 ∗

±0.0016 ∗∗

±0.0002 ∗∗

±0.0006 ∗∗

±0.0169 ∗

±0.0007 ∗∗

±0.0000 ∗∗

±0.0005 ∗∗

±0.0001 ∗∗

±0.0001 ∗∗

±0.0000 ∗∗

0.2838 0.3466

0.7562 0.7680

0.1961 0.4705

0.0000 0.1044

0.4978 0.5833

0.7576 0.7624

0.2323 0.4319

0.0000 0.0000

0.3246 0.0000

0.2274 0.0000

0.3049 0.0000

0.0007 0.0018

±0.0011 ∗∗

±0.0000 ∗∗

±0.0005 ∗∗

±0.0002 ∗∗

±0.0001 ∗∗

±0.0001 ∗∗

±0.0002 ∗∗

±0.0000

±0.0001

±0.0000

±0.0000

±0.0000 ∗∗

0.3062 0.3787

0.8910 0.8910

0.4183 0.5004

0.0106 0.1461

0.5354 0.5964

0.8910 0.8911

0.2929 0.4422

0.0044 0.0567

0.2516 0.2855

0.1154 0.1260

0.1844 0.1922

0.0032 0.0034

±0.0010 ∗∗

±0.0000

±0.0004 ∗∗

±0.0004 ∗∗

±0.0004 ∗∗

±0.0000 ∗∗

±0.0009 ∗∗

±0.0002 ∗∗

±0.0008 ∗∗

±0.0000 ∗∗

±0.0001 ∗∗

±0.0000 ∗∗

0.0017 0.0017

0.1946 0.2080

0.8278 0.9985

0.0664 0.2429

0.0021 0.0023

0.3541 0.4880

0.6145 0.9907

0.1047 0.0832

0.0024 0.0015

0.1093 0.1195

0.0456 0.0557

0.0503 0.0777

±0.0007 ∗

±0.0000 ∗∗

±0.0011 ∗∗

±0.0000 ∗∗

±0.0016 ∗∗

±0.0000 ∗∗

±0.0007

±0.0000

±0.0000 ∗∗

±0.0000 ∗∗

±0.0000 ∗∗

±0.0000

0.2269 0.2847

0.9396 0.9926

0.0000 0.3843

0.0018 0.0111

0.4567 0.5400

0.7690 0.9855

0.0616 0.0145

0.0089 0.0000

0.0000 0.0001

0.0000 0.0000

0.0000 0.0000

0.0000 0.0000

±0.0057 ∗

±0.0002 ∗∗

±0.0007 ∗∗

±0.0000 ∗∗

±0.0029 ∗∗

±0.0000 ∗∗

±0.0034

±0.0000

±0.0000 ∗∗

±0.0000

±0.0000

±0.0000

0.4004 0.4138

0.9924 0.9940

0.3588 0.3975

0.0050 0.0147

0.4734 0.5518

0.8970 0.9925

0.1654 0.1808

0.0032 0.0037

0.2119 0.2139

0.1119 0.1117

0.1354 0.1460

0.0036 0.0039

±0.0033 ∗

±0.0002 ∗

±0.0009 ∗∗

±0.0000 ∗∗

±0.0017 ∗∗

±0.0000 ∗∗

±0.0006 ∗∗

±0.0000 ∗∗

±0.0000 ∗∗

±0.0000

±0.0000 ∗∗

±0.0000 ∗∗

0.2181 0.4152

0.7195 0.9931

0.1121 0.4510

0.0020 0.0174

0.3709 0.5100

0.9869 0.9922

0.1331 0.2153

0.0017 0.0184

0.0652 0.0984

0.0705 0.1017

0.0343 0.2802

0.0053 0.0091

±0.0010 ∗∗

±0.0002 ∗∗

±0.0046 ∗∗

±0.0001 ∗∗

±0.0079 ∗

±0.0000 ∗∗

±0.0004 ∗∗

±0.0009 ∗

±0.0035 ∗

±0.0021 ∗

±0.0137 ∗

±0.0001 ∗∗

0.2883 0.4125

0.7564 0.9819

0.2334 0.4313

0.0037 0.0334

0.3840 0.5263

0.9383 0.9852

0.2890 0.3872

0.0000 0.0435

0.0677 0.0813

0.0845 0.1635

0.0384 0.2792

0.0126 0.0479

±0.0029 ∗∗

±0.0017 ∗∗

±0.0022 ∗∗

±0.0002 ∗∗

±0.0071 ∗

±0.0000 ∗∗

±0.0051 ∗

±0.0011 ∗∗

±0.0097

±0.0017 ∗∗

±0.0104 ∗∗

±0.0003 ∗∗

0.3399 0.4413

0.8910 0.9825

0.3962 0.4684

0.0212 0.0568

0.3592 0.5334

0.9897 0.9925

0.2826 0.4141

0.0032 0.0700

0.1530 0.2056

0.0945 0.1888

0.0632 0.3244

0.0056 0.0558

±0.0005 ∗∗

±0.0013 ∗∗

±0.0023 ∗∗

±0.0007 ∗∗

±0.0072 ∗∗

±0.0000 ∗∗

±0.0053 ∗∗

±0.0029 ∗∗

±0.0026 ∗

±0.0009 ∗∗

±0.0165 ∗

±0.0002 ∗∗

0.0256

0.6418 0.6094

0.9895 0.9974

0.7074 0.6972

0.0033

0.0054

±0.0005

±0.0000 ∗∗

±0.0007

0.6374 0.5832

0.9795 0.9875

0.6693 0.6470

0.5077 0.5904

0.9963 0.9956

0.3772 0.7443

±0.0001 ∗∗

±0.0000

±0.0003 ∗∗

0.4915 0.5486

0.9915 0.9937

0.4070 0.6698

±0.0007 ∗∗

±0.0001 ∗∗

±0.0000 ∗∗

0.5747 0.5763

0.9917 0.9942

0.6165 0.6933

±0.0004 ∗

±0.0001 ∗∗

±0.0002 ∗∗

0.0588 -

±0.0006

±0.0000 ∗∗

±0.0007

0.5535 0.5852

0.9440 0.9921

0.5199 0.6561

±0.0004 ∗∗

±0.0000 ∗∗

±0.0005 ∗∗

0.0162 -

-

0.2108 0.2221

0.1065 0.1324

0.2055 0.3398

±0.0000 ∗∗

±0.0000 ∗∗

±0.0002 ∗∗

0.0000 0.0000

0.0000 0.0000

0.0000 0.2857

0.0052 0.0087 -

±0.0000

±0.0000

±0.0554 ∗

0.3842 0.3674

0.2529 0.2397

0.4727 0.5009

±0.0000

±0.0001

±0.0001 ∗∗

0.0044 0.0899 -

Table 2: Overall comparison results. Models are pre-trained on AlphaHomora, CryptopiaHacker, and PlusTokenPonzi. ∗∗ indicates p < 0.001 and ∗ indicates p < 0.1 in the paired t-test compared with the baseline.

GNN

Metric AUC-PRC

TTA Origin Ours

GCN Rec@k

Origin Ours

F1

Origin Ours

AUC-PRC

Origin Ours

SAGE Rec@k

Origin Ours

F1

Origin Ours

AUC-PRC

Origin Ours

DGA Rec@k

Origin Ours

F1

Origin Ours

AUC-PRC

Origin Ours

SGNN Rec@k

Origin Ours

F1

Origin Ours

Tr. Te.

Upbit

Trace

Alpha

Crypto

Plus

Trace

Alpha

Crypto

Plus

Upbit

0.4164 0.5471

0.2628 0.4274

0.8734 0.9874

0.0378 0.0386

0.4211 0.5177

0.3006 0.3265

0.9608 0.9619

0.1222 0.1442

±0.0002 ∗∗

±0.0004 ∗∗

±0.0000 ∗∗

±0.0000 ∗∗

±0.0002 ∗∗

±0.0001 ∗∗

±0.0004 ∗

±0.0002 ∗∗

0.3606 0.5088

0.2285 0.4156

0.7562 0.9768

0.1035 0.1046

0.4018 0.4899

0.3334 0.3486

0.8834 0.8848

0.1142 0.1478

±0.0007 ∗∗

±0.0002 ∗∗

±0.0002 ∗∗

±0.0000 ∗∗

±0.0002 ∗∗

±0.0003 ∗∗

±0.0017

±0.0001 ∗∗

0.4542 0.5220

0.3323 0.4274

0.9563 0.9846

0.0611 0.1572

0.4666 0.5524

0.3722 0.3991

0.8910 0.9049

0.1742 0.2096

±0.0005 ∗∗

±0.0007 ∗∗

±0.0000 ∗∗

±0.0000 ∗∗

±0.0003 ∗∗

±0.0003 ∗∗

±0.0010 ∗

±0.0003 ∗∗

0.1689 0.3908

0.1346 0.1918

0.9214 0.9961

0.0012 0.0042

0.0533 0.0532

0.0359 0.0359

0.9888 0.9876

0.0190 0.0191

±0.0014 ∗∗

±0.0006 ∗∗

±0.0000 ∗∗

±0.0000 ∗∗

±0.0000

±0.0000

±0.0000

±0.0001 ∗

0.2358 0.4049

0.2512 0.3140

0.9380 0.9919

0.0000 0.0288

0.0209 0.0218

0.0207 0.0192

0.9853 0.9856

0.0279 0.0270

±0.0014 ∗∗

±0.0001 ∗∗

±0.0000 ∗∗

±0.0000 ∗∗

±0.0002 ∗

±0.0005

±0.0000 ∗

±0.0002

0.4013 0.4121

0.2206 0.3168

0.9897 0.9959

0.0032 0.0376

0.1529 0.1530

0.0876 0.0873

0.9896 0.9898

0.0628 0.0628

±0.0011 ∗

±0.0001 ∗∗

±0.0000 ∗∗

±0.0002 ∗∗

±0.0000 ∗∗

±0.0000

±0.0001 ∗

±0.0000 ∗∗

0.2203 0.3225

0.1175 0.1469

0.9843 0.9891

0.0016 0.0025

0.1980 0.1636

0.1315 0.1269

0.6466 0.9827

0.1131 0.1793

±0.0242 ∗

±0.0014 ∗

±0.0001 ∗∗

±0.0001 ∗

±0.0043

±0.0058

±0.0001 ∗∗

±0.0007 ∗∗

0.2903 0.3990

0.1501 0.2815

0.9844 0.9904

0.0000 0.0207

0.1814 0.1951

0.1817 0.1874

0.7558 0.9806

0.1652 0.3407

±0.0073 ∗

±0.0034 ∗∗

±0.0000 ∗∗

±0.0000 ∗∗

±0.0026 ∗

±0.0093

±0.0030 ∗∗

±0.0022 ∗∗

0.3795 0.4040

0.2146 0.3040

0.9911 0.9922

0.0032 0.0224

0.1534 0.3094

0.1131 0.2170

0.8910 0.9823

0.0696 0.3414

±0.0046 ∗

±0.0018 ∗∗

±0.0003 ∗

±0.0004 ∗∗

±0.0006 ∗∗

±0.0093 ∗

±0.0020 ∗∗

±0.0014 ∗∗

0.0039

-

-

-

-

-

-

-

-

-

0.0262

-

-

-

-

0.4219 0.5584

0.3523 0.4329

0.9891 0.9980

±0.0001 ∗∗

±0.0002 ∗∗

±0.0000 ∗∗

0.4965 0.5334

0.3842 0.4600

0.9778 0.9970

±0.0002 ∗∗

±0.0001 ∗∗

±0.0000 ∗∗

0.4959 0.5362

0.3651 0.4718

0.9936 0.9982

±0.0002 ∗∗

±0.0000 ∗∗

±0.0000 ∗∗

-

-

-

-

-

0.0085

-

-

-

-

-

-

-

-

-

Table 3: Overall comparison results on the remaining transfer settings. ∗∗ indicates p < 0.001 and ∗ indicates p < 0.1 in the paired t-test compared with the baseline.

Dataset

Metric

GCN

SAGE

DGA

SGNN

Alpha

AUC-PRC w/o motif Rec@k w/o motif

0.7173 0.6034 0.6676 0.5653

0.7368 0.7214 0.6849 0.6758

0.6756 0.6323 0.6224 0.5839

0.7713 0.7753 0.7159 0.7179

Crypto

AUC-PRC w/o motif Rec@k w/o motif

0.5713 0.4869 0.5655 0.4745

0.4611 0.5223 0.5158 0.5164

0.4768 0.4404 0.4526 0.4474

0.7051 0.7061 0.6588 0.6614

Plus

AUC-PRC w/o motif Rec@k w/o motif

0.9960 0.9968 0.9908 0.9869

0.9919 0.9944 0.9736 0.9902

0.9931 0.9955 0.9798 0.9881

0.9987 0.9993 0.9966 0.9968

Upbit

AUC-PRC w/o motif Rec@k w/o motif

0.4346 0.4023 0.4788 0.4783

0.4114 0.5221 0.4482 0.5357

0.3553 0.3480 0.4100 0.4528

0.7329 0.7177 0.7173 0.7063

Table 4: Ablation study on GNNs with motif representation.

4.4

Ablation Study

Temporal Motif. To verify the effectiveness of the proposed motif representation, we conduct ablation experiments on four public datasets with different GNN backbones. As shown in Table 4, motif representation consistently improves anomaly detection performance, especially on AlphaHomora and UpbitHack. GCN obtains the most significant improvement, suggesting that motif features can compensate for its limited structural expressiveness. The minor improvement on PlusTokenPonzi may be due to its high anomaly ratio and nearly saturated prediction performance, leaving limited room for further gains.

4.5

Parameter Analysis

Edge limit k and time aggregation range ∆t. We analyze the impact of k and ∆t on motif representation, with results shown in Table 5. In most settings, a proper edge limit and time aggregation range improve anomaly detection performance. The edge limit focuses motif extraction on temporally relevant transactions, while time aggregation reduces duplicate transaction patterns. We further evaluate the runtime efficiency of motif matching on real-world transaction graphs, as reported in Table 6. The results show that k and ∆t substantially reduce computational cost, demonstrating the practical scalability of our motif extraction method on large-scale blockchain datasets with over 1 million nodes and 2 million edges. In deployment, TEMG-TTA runs on localized k-hop subgraphs around seed accounts instead of the full blockchain graph. Motif matching costs about 0.12 ms per edge, and forward/backward passes take 40.25/169.69 ms, leading to second-level latency under Ethereum-scale throughput and supporting real-time on-chain fraud detection. Teacher model momentum α. The teacher momentum α controls how much information the teacher model receives from the student model. We evaluate different values of α using GCN. As shown in Table 7, a larger α usually weakens TTA performance, such as in the transfer from AlphaHomora to PlusTokenPonzi, because it slows down knowledge adaptation from the student model.

Trustable node selection thresholds τlow and τhigh . The thresholds τlow and τhigh define the confidence range for selecting trustable nodes, as summarized in Table 8. Increasing τhigh or decreasing τlow generally expands the selected node set and helps the model capture more useful adaptation signals. However, this benefit only holds within a proper range: an excessively high τhigh may introduce over-confident predictions, while an overly low τlow may include noisy lowconfidence nodes, both of which degrade TTA performance.

5

Conclusion

In this work, we propose TEMG-TTA, a temporal motifaware graph test-time adaptation framework for blockchain anomaly detection. TEMG-TTA integrates 3-node temporal motif representations with original node features to capture fine-grained higher-order transaction patterns. It further introduces a simple yet effective test-time adaptation strategy to mitigate distribution shifts caused by evolving malicious behaviors and adversarial transaction patterns. Extensive experiments on real-world blockchain datasets demonstrate that TEMG-TTA consistently outperforms classical and state-of-the-art graph anomaly detection models. The case study on temporal motif patterns provides interpretable evidence that our method can characterize meaningful fraud-related transaction structures. Ablation studies further verify the effectiveness of both temporal motif representation and test-time adaptation, showing how different components contribute to the overall performance. Beyond experimental evaluation, TEMG-TTA has also been validated in collaboration with a public security department. In 2025, it was applied to real-world blockchain transaction data and supported the detection of suspicious transactions involving more than 1 million USDT. This practical validation demonstrates the potential of TEMG-TTA for realtime on-chain risk monitoring and provides evidence of its real-world impact in blockchain fraud detection. For future work, it is promising to incorporate large language models (LLMs) into blockchain anomaly detection, given their strong zero-shot inference and natural-language understanding capabilities. LLMs could help integrate heterogeneous information sources, such as smart-contract code, transaction metadata, and off-chain reports, thereby improving detection performance while providing more interpretable explanations for detected anomalies.

Model

GCN ∆t

SAGE

SGNN

dataset

k

None

1800

3600

7200

None

1800

3600

7200

None

1800

3600

7200

Alpha

None 50 100 200

0.4357 0.3952 0.3549

0.6077 0.6406 0.6556 0.6448

0.7172 0.7195 0.7205 0.7111

0.7117 0.7144 0.7145 0.7160

0.3928 0.2397 0.2801

0.5876 0.6606 0.6503 0.6006

0.7310 0.7254 0.7327 0.7338

0.7213 0.7209 0.7268 0.7282

0.7347 0.7373 0.7312

0.7512 0.7215 0.7494 0.7520

0.7677 0.7742 0.7727 0.7675

0.7699 0.7720 0.7695 0.7673

Crypto

None 50 100 200

0.3136 0.3118 0.2625

0.4214 0.5264 0.3962 0.3664

0.5774 0.5276 0.5749 0.5473

0.5855 0.5610 0.5594 0.5663

0.1302 0.1303 0.1012

0.3050 0.4030 0.2982 0.2064

0.5268 0.4903 0.4830 0.5205

0.4944 0.5666 0.4931 0.5504

0.6734 0.6824 0.6725

0.7013 0.6860 0.6853 0.7105

0.6945 0.6840 0.6986 0.6969

0.6844 0.6812 0.7033 0.6856

Plus

None 50 100 200

0.9957 0.9957 0.9953

0.9972 0.9975 0.9966 0.9977

0.9970 0.9964 0.9964 0.9973

0.9974 0.9962 0.9957 0.9969

0.9930 0.9938 0.9932

0.9909 0.9932 0.9926 0.9934

0.9952 0.9914 0.9920 0.9944

0.9925 0.9930 0.9934 0.9949

0.9987 0.9987 0.9987

0.9983 0.9981 0.9984 0.9983

0.9988 0.9986 0.9987 0.9987

0.9985 0.9987 0.9985 0.9985

Upbit

None 50 100 200

0.1676 0.1553 0.1297

0.2074 0.3889 0.3690 0.3170

0.3719 0.4376 0.4045 0.3972

0.3946 0.4294 0.4132 0.4128

0.1016 0.0407 0.0308

0.3636 0.4120 0.4156 0.3069

0.3288 0.4408 0.4390 0.3248

0.3317 0.4783 0.4398 0.3483

0.7347 0.7317 0.7324

0.7418 0.7379 0.7337 0.7364

0.7406 0.7294 0.7345 0.7343

0.7349 0.7322 0.7375 0.7410

Table 5: Parameter analysis results of motif matching in AUC-PRC.

Acknowledgments Dataset

w/ k (s)

w/ ∆t (s)

w/ k, ∆t (s)

Alpha Crypto Plus Upbit Trace

1,307.01 2,134.01 20.08 462.07 732.01

174.06 129.03 21.02 63.10 3,005.07

176.04 139.08 19.02 61.08 349.05

This work is supported by the Zhejiang Province “JianBingLingYan+X” Research and Development Plan (2025C02020).

References

Table 6: Running time of motif matching.

Alpha

α 0.9 0.99 0.999

Crypto

Crypto

Plus

Upbit

Crypto

Plus

Upbit

0.3850 0.3889 0.3892

0.8501 0.8283 0.8242

0.2564 0.2672 0.2678

0.6253 0.6241 0.6240

0.9713 0.9712 0.9713

0.4108 0.4300 0.4312

Table 7: AUC-PRC results of the momentum coefficient α.

Alpha

Crypto

τlow

τhigh Crypto

Plus

Upbit

Crypto

Plus

Upbit

0.5

0.8 0.9 0.95

0.3309 0.3295 0.3281

0.9471 0.9509 0.9469

0.3030 0.3061 0.3123

0.6359 0.6367 0.6366

0.8290 0.8308 0.8291

0.2983 0.2978 0.2981

0.7

0.8 0.9 0.95

0.3270 0.3288 0.3257

0.9616 0.9438 0.9222

0.3066 0.3034 0.3058

0.6360 0.6357 0.6349

0.8288 0.8245 0.8305

0.2972 0.2977 0.2979

0.9

0.95

0.3255

0.9499

0.2969

0.6363

0.8285

0.2997

Table 8: AUC-PRC results of the trustable node threshold τ .

[Chen et al., 2018] Weili Chen, Zibin Zheng, Jiahui Cui, Edith Ngai, Peilin Zheng, and Yuren Zhou. Detecting ponzi schemes on ethereum: Towards healthier blockchain technology. In Proceedings of the 2018 world wide web conference, pages 1409–1418, 2018. [Chen et al., 2020] Weili Chen, Tuo Zhang, Zhiguang Chen, Zibin Zheng, and Yutong Lu. Traveling the token world: A graph analysis of ethereum erc20 token ecosystem. In Proceedings of The Web Conference 2020, pages 1411– 1421, 2020. [Chen et al., 2022] Guanzi Chen, Jiying Zhang, Xi Xiao, and Yang Li. Graphtta: Test time adaptation on graph neural networks. arXiv preprint arXiv:2208.09126, 2022. [Chen et al., 2024] Nan Chen, Zemin Liu, Bryan Hooi, Bingsheng He, Rizal Fathony, Jun Hu, and Jia Chen. Consistency training with learnable data augmentation for graph anomaly detection with limited supervision. In The twelfth international conference on learning representations, 2024. [Dong et al., 2025] Xiangyu Dong, Xingyi Zhang, Lei Chen, Mingxuan Yuan, and Sibo Wang. Spacegnn: Multi-space graph neural network for node anomaly detection with extremely limited labels. arXiv preprint arXiv:2502.03201, 2025. [Duan et al., 2024] Mingjiang Duan, Tongya Zheng, Yang Gao, Gang Wang, Zunlei Feng, and Xinyu Wang. Dgagnn: Dynamic grouping aggregation gnn for fraud detection. In Proceedings of the AAAI conference on artificial intelligence, volume 38, pages 11820–11828, 2024.

[Hamilton et al., 2017] Will Hamilton, Zhitao Ying, and Jure Leskovec. Inductive representation learning on large graphs. Advances in neural information processing systems, 30, 2017. [Huang et al., 2021] Ling Huang, Ye Zhu, Yuefang Gao, Tuo Liu, Chao Chang, Caixing Liu, Yong Tang, and ChangDong Wang. Hybrid-order anomaly detection on attributed networks. IEEE Transactions on Knowledge and Data Engineering, 35(12):12249–12263, 2021. [Jin et al., 2022] Wei Jin, Tong Zhao, Jiayuan Ding, Yozen Liu, Jiliang Tang, and Neil Shah. Empowering graph representation learning with test-time graph transformation. arXiv preprint arXiv:2210.03561, 2022. [Kipf, 2016] TN Kipf. Semi-supervised classification with graph convolutional networks. arXiv preprint arXiv:1609.02907, 2016. [Lee et al., 2019] John Boaz Lee, Ryan A Rossi, Xiangnan Kong, Sungchul Kim, Eunyee Koh, and Anup Rao. Graph convolutional networks with motif-based attention. In Proceedings of the 28th ACM international conference on information and knowledge management, pages 499–508, 2019. [Lin et al., 2024] Dan Lin, Jiajing Wu, Yunmei Yu, Qishuang Fu, Zibin Zheng, and Changlin Yang. Denseflow: Spotting cryptocurrency money laundering in ethereum transaction graphs. In Proceedings of the ACM Web Conference 2024, pages 4429–4438, 2024. [Liu et al., 2024] Yixin Liu, Shiyuan Li, Yu Zheng, Qingfeng Chen, Chengqi Zhang, and Shirui Pan. Arc: A generalist graph anomaly detector with in-context learning. Advances in Neural Information Processing Systems, 37:50772–50804, 2024. [Liu et al., 2026] Hanwen Liu, Longjiao Zhang, Rui Wang, Tongya Zheng, Sai Wu, Chang Yao, and Mingli Song. Salom: Structure aware temporal graph networks with longshort memory updater. Advances in Neural Information Processing Systems, 38:22843–22871, 2026. [Luo, 2024] Bingqiao Luo. When crypto economics meet graph analytics and learning. In Companion Proceedings of the ACM Web Conference 2024, pages 1186–1189, 2024. [Monti et al., 2018] Federico Monti, Karl Otness, and Michael M Bronstein. Motifnet: a motif-based graph convolutional network for directed graphs. In 2018 IEEE data science workshop (DSW), pages 225–228. IEEE, 2018. [Niu et al., 2024] Chaoxi Niu, Hezhe Qiao, Changlu Chen, Ling Chen, and Guansong Pang. Zero-shot generalist graph anomaly detection with unified neighborhood prompts. arXiv preprint arXiv:2410.14886, 2024. [Oord et al., 2018] Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018. [Paranjape et al., 2017] Ashwin Paranjape, Austin R Benson, and Jure Leskovec. Motifs in temporal networks. In

Proceedings of the tenth ACM international conference on web search and data mining, pages 601–610, 2017. [Phillips and Wilder, 2020] Ross Phillips and Heidi Wilder. Tracing cryptocurrency scams: Clustering replicated advance-fee and phishing websites. In 2020 IEEE international conference on blockchain and cryptocurrency (ICBC), pages 1–8. IEEE, 2020. [Qi et al., 2023] Yuxin Qi, Jun Wu, Hansong Xu, and Mohsen Guizani. Blockchain data mining with graph learning: A survey. IEEE Transactions on Pattern Analysis and Machine Intelligence, 46(2):729–748, 2023. [Qiao et al., 2025a] Hezhe Qiao, Chaoxi Niu, Ling Chen, and Guansong Pang. Anomalygfm: Graph foundation model for zero/few-shot anomaly detection. In Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V. 2, pages 2326–2337, 2025. [Qiao et al., 2025b] Hezhe Qiao, Hanghang Tong, Bo An, Irwin King, Charu Aggarwal, and Guansong Pang. Deep graph anomaly detection: A survey and new perspectives. IEEE Transactions on Knowledge and Data Engineering, 2025. [Tang et al., 2023] Jianheng Tang, Fengrui Hua, Ziqi Gao, Peilin Zhao, and Jia Li. Gadbench: Revisiting and benchmarking supervised graph anomaly detection. Advances in Neural Information Processing Systems, 36:29628–29653, 2023. [Wang et al., 2024a] Yu Wang, Tongya Zheng, Yuxuan Liang, Shunyu Liu, and Mingli Song. Cola: Cross-city mobility transformer for human trajectory simulation. In Proceedings of the ACM on Web Conference 2024, pages 3509–3520, 2024. [Wang et al., 2024b] Yu Wang, Tongya Zheng, Shunyu Liu, Zunlei Feng, Kaixuan Chen, Yunzhi Hao, and Mingli Song. Spatiotemporal-augmented graph neural networks for human mobility simulation. IEEE Transactions on Knowledge and Data Engineering, 36(11):7074–7086, 2024. [Weber et al., 2019] Mark Weber, Giacomo Domeniconi, Jie Chen, Daniel Karl I Weidele, Claudio Bellei, Tom Robinson, and Charles E Leiserson. Anti-money laundering in bitcoin: Experimenting with graph convolutional networks for financial forensics. arXiv preprint arXiv:1908.02591, 2019. [Wu et al., 2020] Mike Wu, Milan Mosse, Chengxu Zhuang, Daniel Yamins, and Noah Goodman. Conditional negative sampling for contrastive learning of visual representations. arXiv preprint arXiv:2010.02037, 2020. [Yao et al., 2024] Mingxuan Yao, Runze Zhang, Haichuan Xu, Shih-Huan Chou, Varun Chowdhary Paturi, Amit Kumar Sikder, and Brendan Saltaformaggio. Pulling off the mask: Forensic analysis of the deceptive creator wallets behind smart contract fraud. In 2024 IEEE Symposium on Security and Privacy (SP), pages 2236–2254. IEEE, 2024. [Yu et al., 2023] Le Yu, Leilei Sun, Bowen Du, and Weifeng Lv. Towards better dynamic graph learning: New architec-

ture and unified library. Advances in Neural Information Processing Systems, 36:67686–67700, 2023. [Yuan et al., 2020] Zihao Yuan, Qi Yuan, and Jiajing Wu. Phishing detection on ethereum via learning representation of transaction subgraphs. In International conference on blockchain and trustworthy systems, pages 178–191. Springer, 2020. [Zhang et al., 2024] Jiaxin Zhang, Yiqi Wang, Xihong Yang, and En Zhu. A fully test-time training framework for semi-supervised node classification on out-of-distribution graphs. ACM Transactions on Knowledge Discovery from Data, 18(7):1–19, 2024. [Zhao et al., 2025] Yusheng Zhao, Qixin Zhang, Xiao Luo, Junyu Luo, Wei Ju, Zhiping Xiao, and Ming Zhang. Testtime adaptation on graphs via adaptive subgraph-based selection and regularized prototypes. In Forty-second International Conference on Machine Learning, 2025. [Zheng et al., 2019] Tongya Zheng, Gang Chen, Xinyu Wang, Chun Chen, Xingen Wang, and Sihui Luo. Realtime intelligent big data processing: technology, platform, and applications. Science China Information Sciences, 62(8):82101, 2019. [Zheng et al., 2023] Tongya Zheng, Xinchao Wang, Zunlei Feng, Jie Song, Yunzhi Hao, Mingli Song, Xingen Wang, Xinyu Wang, and Chun Chen. Temporal aggregation and propagation graph neural networks for dynamic representation. IEEE Transactions on Knowledge and Data Engineering, 35(10):10151–10165, 2023. [Zheng et al., 2025] Xin Zheng, Wei Huang, Chuan Zhou, Ming Li, and Shirui Pan. Test-time graph neural dataset search with generative projection. In Forty-second International Conference on Machine Learning, 2025. [Zhou et al., 2022] Jiajun Zhou, Chenkai Hu, Jianlei Chi, Jiajing Wu, Meng Shen, and Qi Xuan. Behavior-aware account de-anonymization on ethereum interaction graph. IEEE Transactions on Information Forensics and Security, 17:3433–3448, 2022. [Zhu et al., 2020] Jiong Zhu, Yujun Yan, Lingxiao Zhao, Mark Heimann, Leman Akoglu, and Danai Koutra. Beyond homophily in graph neural networks: Current limitations and effective designs. Advances in neural information processing systems, 33:7793–7804, 2020. [Zhuo et al., 2024] Wei Zhuo, Zemin Liu, Bryan Hooi, Bingsheng He, Guang Tan, Rizal Fathony, and Jia Chen. Partitioning message passing for graph fraud detection. arXiv preprint arXiv:2412.00020, 2024.

Record · ID 238516 · SHA-256 4d3acfcc2f630fc8
Retrieved via Conceptio — every document is proof-bundled with source, license, and retrieval metadata.