• 基于动态图嵌入与对比学习的网络异常行为检测

    Network anomaly behavior detection based on dynamic graph embedding and contrastive learning

    • 随着网络信息规模的迅速增长,网络结构和数据流日益复杂,如何有效识别这些海量数据中的异常行为已成为网络安全领域的重要挑战。目前,基于深度学习的异常行为检测方法主要针对静态网络,并且依赖标注数据,忽略了大量未标记数据的潜在价值。因此,提出一种基于动态图嵌入与对比学习的网络异常行为检测方法(network anomaly behavior detection method based on Dynamic Graph embedding and Contrastive Learning, DGCL)。该方法融合全局空间特征、局部结构特征和时间动态特征,利用Transformer生成高质量的节点表示,结合伪标签和对比学习策略提升检测性能。在Wikipedia、Reddit和Mooc这3个数据集上进行实验验证,结果表明:DGCL分别达到了87.89%、70.38%和70.11%的AUC值,相比其他同类方法,DGCL在动态网络异常检测中表现出更好的性能。

       

      Abstract: Abtract: The rapid expansion of network information has led to increasingly complex network structures and data flows, posing significant challenges in identifying abnormal behaviors within massive data volumes is a key issue in cybersecurity. While current deep learning-based behavior anomaly detection methods predominantly focus on static network detection and rely heavily on labeled data, they overlook the potential value of abundant unlabeled data. Consequently, this study proposes a network anomaly behavior detection method based on Dynamic Graph embedding and Contrastive Learning (DGCL). The method integrates global spatial features, local structural features, and temporal dynamic features, using a Transformer as the encoder to generate high-quality node representations. An anomaly detector then calculates anomaly scores for each node. Subsequently, deviation scores are computed based on the historical statistical distribution of normal nodes, allowing the generation of pseudo-labels for unlabeled data and enabling mixed training with both labeled and pseudo-labeled data. Finally, by constructing positive and negative sample pairs, contrastive learning is applied to further optimize node feature representations, thereby enhancing detection performance. Experimental validation on the Wikipedia, Reddit, and Mooc datasets shows that DGCL achieves AUC values of 87.89%, 70.38%, and 70.11%, respectively, outperforming other similar methods in dynamic network anomaly detection.

       

    /

    返回文章
    返回