Generative Semi-supervised Graph Anomaly Detection

Hezhe Qiao, Qingsong Wen, Xiaoli Li, Ee-Peng Lim, Guansong Pang
2/3/2026

No official code found. Best implementation: mala-lab/GGAD (66 stars, last commit 2025-08-13).

Abstract

This work considers a practical semi-supervised graph anomaly detection (GAD) scenario, where part of the nodes in a graph are known to be normal, contrasting to the extensively explored unsupervised setting with a fully unlabeled graph. We reveal that having access to the normal nodes, even just a small percentage of normal nodes, helps enhance the detection performance of existing unsupervised GAD methods when they are adapted to the semi-supervised setting. However, their utilization of these normal nodes is limited. In this paper, we propose a novel Generative GAD approach (namely GGAD) for the semi-supervised scenario to better exploit the normal nodes. The key idea is to generate pseudo anomaly nodes, referred to as 'outlier nodes', for providing effective negative node samples in training a discriminative one-class classifier. The main challenge here lies in the lack of ground truth information about real anomaly nodes. To address this challenge, GGAD is designed to leverage two important priors about the anomaly nodes -- asymmetric local affinity and egocentric closeness -- to generate reliable outlier nodes that assimilate anomaly nodes in both graph structure and feature representations. Comprehensive experiments on six real-world GAD datasets are performed to establish a benchmark for semi-supervised GAD and show that GGAD substantially outperforms state-of-the-art unsupervised and semi-supervised GAD methods with varying numbers of training normal nodes. Code will be made available at https://github.com/mala-lab/GGAD.

View on arXivView PDF

Code Implementations(1)

mala-lab/GGADCommunity77%

Official implementation for NeurIPS'24 paper "Generative Semi-supervised Graph Anomaly Detection"

665PythonFeb 19, 20241 years ago
anomaly-detectiongraph-anomaly-detectiongraph-neural-networkssemi-supervised-anomaly-detectionsemi-supervised-methods

Similar Papers

Cite this paper

@article{qiao2026generative,
  title  = {Generative Semi-supervised Graph Anomaly Detection},
  author = {Hezhe Qiao and Qingsong Wen and Xiaoli Li and Ee-Peng Lim and Guansong Pang},
  year   = {2026},
  eprint = {2402.11887},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2402.11887},
  url    = {https://arxiv.org/abs/2402.11887},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.11887.svg)](https://codeofpaper.com/paper/2402.11887)

Discussion