通过捕捉时间模式特征,提升区块链异常检测在未知场景下的准确性。
Temporal Motif-aware Graph Test-time Adaptation for OOD Blockchain Anomaly Detection

- 基于3节点时间模式分析每个地址行为特征
- 测试时自适应策略使模型更好识别未知异常
- 适合研究区块链安全与图神经网络的学者
不断演变的交易模式严重阻碍了新兴加密货币区块链上的异常检测,因地址数量庞大且异常行为多样。近期应用于区块链的图异常检测(GAD)方法面临两大挑战:恶意实体引发的对抗性模式演化,以及由交易语义差异导致的分布外(OOD)问题。为此,我们提出新型框架TEMG-TTA,首先通过高效计算机制全面捕获每个活跃地址的三节点时间模式分布,支持下游的时间模式感知图学习;其次设计一种简单而有效的测试时自适应策略,促进训练与测试图间共性模式的共享。在5个真实数据集上的大量实验表明,所提方法平均优于现有最先进GAD方法54.88%。进一步的可解释性案例研究揭示,TEMG-TTA能明确刻画异常地址的复杂交易模式,验证了技术设计的有效性。代码已公开于https://github.com/LuoXishuang0712/TEMG-TTA/。
原文摘要 · Abstract (English)
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: \textit{adversarial pattern evolution by malicious actors} and \textit{the out-of-distribution (OOD) problem caused by varied transaction semantics on blockchains}. To address these challenges, we propose a novel framework termed \textbf{TE}mporal \textbf{M}otif-aware \textbf{G}raph \textbf{T}est-\textbf{T}ime \textbf{A}daptation (\textbf{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 \textbf{TEMG-TTA} outperforms \textit{state-of-the-art} GAD approaches by an average of 54.88\%. A further case study on interpretable motif patterns reveals that \textbf{TEMG-TTA} explicitly characterizes the complex transaction patterns of anomalous addresses, thereby verifying the effectiveness of our technical designs. Our code is publicly available at https://github.com/LuoXishuang0712/TEMG-TTA/.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。