arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2403.09039cs.LGcs.AI
收藏

基于记忆增强正态性的动态图异常检测

Detecting Anomalies in Dynamic Graphs via Memory enhanced Normality

School of Computer Science Northwestern Polytechnical University Xi'an, China;School of Electrical Engineering \& Computer Science University of Electronic Science;School of Electrical Engineering \& Computer Science The University of Queensland Brisbane, Australia

Jie Liu, Xuequn Shang, Xiaolin Han, Kai Zheng, Hongzhi Yin

AI总结:

针对动态图异常检测中现有方法存在的模式定位不准、时空模式未区分、计算成本高的问题,提出时空记忆增强图自编码器STRIPE,通过分离的时空记忆网络捕获正常模式原型,结合互注意力融合特征与图流重建实现检测,在六个基准数据集上取得AUC提升5.8%、训练速度提升4.62倍的效果。

摘要:

动态图中的异常检测因图结构与属性的时序演化特性而面临重大挑战。解决该问题的传统方法通常采用无监督学习框架,在训练阶段仅使用正常数据捕获正态模式,在测试阶段将偏离这些模式的样本识别为异常。然而,这类方法存在关键缺陷:它们要么仅依赖代理任务学习表征,未直接精准定位正常模式,要么未区分空间与时间维度的正态模式。近期采用负采样对比学习的方法还存在计算成本高的问题,限制了其在大规模图上的可扩展性。为应对上述挑战,我们提出了一种新型的时空记忆增强图自编码器STRIPE。首先,STRIPE利用图神经网络(GNNs)和门控时序卷积层提取空间特征与时间特征;随后,STRIPE引入相互独立的空间记忆网络和时间记忆网络,分别捕获并存储正常模式的原型;这些存储的模式会被检索出来,并通过互注意力机制与编码后的图嵌入进行融合;最后,融合后的特征被输入解码器以重建图流,该重建任务作为异常检测的代理任务。这种综合性方法不仅能最小化重建误差,还能强化嵌入向量相对于最近记忆原型的紧凑性与区分度。在六个基准数据集上开展的大量实验验证了STRIPE的有效性与效率:其性能显著优于现有方法,AUC得分提升5.8%,训练速度提升4.62倍。

英文摘要:

Anomaly detection in dynamic graphs presents a significant challenge due to the temporal evolution of graph structures and attributes. The conventional approaches that tackle this problem typically employ an unsupervised learning framework, capturing normality patterns with exclusive normal data during training and identifying deviations as anomalies during testing. However, these methods face critical drawbacks: they either only depend on proxy tasks for representation without directly pinpointing normal patterns, or they neglect to differentiate between spatial and temporal normality patterns. More recent methods that use contrastive learning with negative sampling also face high computational costs, limiting their scalability to large graphs. To address these challenges, we introduce a novel Spatial-Temporal memories-enhanced graph autoencoder (STRIPE). Initially, STRIPE employs Graph Neural Networks (GNNs) and gated temporal convolution layers to extract spatial and temporal features. Then STRIPE incorporates separate spatial and temporal memory networks to capture and store prototypes of normal patterns, respectively. These stored patterns are retrieved and integrated with encoded graph embeddings through a mutual attention mechanism. Finally, the integrated features are fed into the decoder to reconstruct the graph streams which serve as the proxy task for anomaly detection. This comprehensive approach not only minimizes reconstruction errors but also emphasizes the compactness and distinctiveness of the embeddings w.r.t. the nearest memory prototypes. Extensive experiments on six benchmark datasets demonstrate the effectiveness and efficiency of STRIPE, where STRIPE significantly outperforms existing methods with 5.8% improvement in AUC scores and 4.62X faster in training time.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑