arXiv:2605.11749cs.LG2026-05

用合成异常训练图神经网络,提升弱监督异常检测效果。

Learning Feature Encoder with Synthetic Anomalies for Weakly Supervised Graph Anomaly Detection

  • 通过多种方式扰动正常图生成合成异常,增强特征学习
  • 在多个公开数据集上优于现有方法,显著提升检测精度
  • 适合缺乏标注数据的图异常检测场景

弱监督图异常检测旨在仅依赖少量标注异常和大量无标签样本的情况下,识别出行为显著偏离正常的图实例(如节点)。核心挑战在于学习有意义的潜在特征表示,使正常数据内部差异小,同时对异常高度敏感。尽管已有工作采用自监督学习,但其策略未针对图异常检测特性优化。本文提出一种面向图异常的弱监督检测方法,基于多任务学习框架,利用合成异常生成鲁棒特征表示。通过多种方式扰动正常图构造合成异常,并为每种异常类型设置专用检测头,确保特征对模式偏差保持敏感。尽管合成异常不完全对应真实情况,但作为辅助数据有效促进特征学习,类比ImageNet预训练特征在下游任务中的迁移价值。采用两阶段训练:先仅用合成样本进行热启动,再融合真实与合成数据进行完整训练,平衡两类数据影响。大量实验表明,该方法在多个公开数据集上优于现有基线。代码已开源。

原文摘要 · Abstract (English)

Weakly supervised graph anomaly detection aims to unveil unusual graph instances, e.g., nodes, whose behaviors significantly differ from normal ones, given only a limited number of annotated anomalies and abundant unlabeled samples. A major challenge is to learn a meaningful latent feature representation that reduces intra-class variance among normal data while remaining highly sensitive to anomalies. Although recent works have applied self-supervised feature learning for graph anomaly detection, their strategies are not specifically tailored to its unique requirements, motivating our exploration of a more domain-specific approach. In this paper, we introduce a weakly supervised graph anomaly detection method that leverages a feature learning strategy tailored for graph anomalies. Our approach is built upon a multi-task learning scheme that extracts robust feature representations through synthesized anomalies. We generate synthetic anomalies by perturbing the normal graph in various ways and assign a dedicated detection head to each anomaly type, ensuring that learned features are sensitive to potential deviations from normal patterns. Although synthetic anomalies may not perfectly replicate real-world patterns, they provide valuable auxiliary data for effective feature learnin, much like features learned from ImageNet classification transfer to downstream vision tasks. Additionally, we adopt a two-phase learning strategy: an initial warm-up phase using only synthetic samples, followed by a full-training phase integrating both tasks, to balance the influence of synthetic and real data. Extensive experiments on public datasets demonstrate the superior performance of our method over its competitors. Code is available at https://github.com/yj-zhou/SAWGAD.

图异常检测弱监督合成数据多任务学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。