Cross-Domain Graph Anomaly Detection via Anomaly-aware Contrastive Alignment

Qizhou Wang, Guansong Pang, Mahsa Salehi, Wray Buntine, Christopher Leckie
12/2/2022
cs.LGcs.SI

Official code: mike-qz-wang/ACT (45 stars, Python, last commit 2022-12-10).

Abstract

Cross-domain graph anomaly detection (CD-GAD) describes the problem of detecting anomalous nodes in an unlabelled target graph using auxiliary, related source graphs with labelled anomalous and normal nodes. Although it presents a promising approach to address the notoriously high false positive issue in anomaly detection, little work has been done in this line of research.

Show full abstract

There are numerous domain adaptation methods in the literature, but it is difficult to adapt them for GAD due to the unknown distributions of the anomalies and the complex node relations embedded in graph data. To this end, we introduce a novel domain adaptation approach, namely Anomaly-aware Contrastive alignmenT (ACT), for GAD. ACT is designed to jointly optimise: (i) unsupervised contrastive learning of normal representations of nodes in the target graph, and (ii) anomaly-aware one-class alignment that aligns these contrastive node representations and the representations of labelled normal nodes in the source graph, while enforcing significant deviation of the representations of the normal nodes from the labelled anomalous nodes in the source graph. In doing so, ACT effectively transfers anomaly-informed knowledge from the source graph to learn the complex node relations of the normal class for GAD on the target graph without any specification of the anomaly distributions. Extensive experiments on eight CD-GAD settings demonstrate that our approach ACT achieves substantially improved detection performance over 10 state-of-the-art GAD methods. Code is available at https://github.com/QZ-WANG/ACT.

View on arXivView PDF

Code Implementations(1)

mike-qz-wang/ACTOfficial100%

The official PyTorch implementation of Cross-Domain Graph Anomaly Detection via Anomaly-aware Contrastive Alignment (AAAI2023, to appear).

456Python, ShellNov 30, 20223 years ago

Similar Papers

Cite this paper

@article{wang2022crossdomain,
  title  = {Cross-Domain Graph Anomaly Detection via Anomaly-aware Contrastive Alignment},
  author = {Qizhou Wang and Guansong Pang and Mahsa Salehi and Wray Buntine and Christopher Leckie},
  year   = {2022},
  eprint = {2212.01096},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.01096}
}

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/2212.01096.svg)](https://codeofpaper.com/paper/2212.01096)

Discussion