Towards Anomaly-Aware Pre-Training and Fine-Tuning for Graph Anomaly Detection

Yunhui Liu, Jiashun Cheng, Yiqing Lin, Qizhuo Xie, Jia Li +5 more
4/19/2025
cs.LG

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

Graph anomaly detection (GAD) has garnered increasing attention in recent years, yet remains challenging due to two key factors: (1) label scarcity stemming from the high cost of annotations and (2) homophily disparity at node and class levels. In this paper, we introduce Anomaly-Aware Pre-Training and Fine-Tuning (APF), a targeted and effective framework to mitigate the above challenges in GAD. In the pre-training stage, APF incorporates node-specific subgraphs selected via the Rayleigh Quotient, a label-free anomaly metric, into the learning objective to enhance anomaly awareness. It further introduces two learnable spectral polynomial filters to jointly learn dual representations that capture both general semantics and subtle anomaly cues. During fine-tuning, a gated fusion mechanism adaptively integrates pre-trained representations across nodes and dimensions, while an anomaly-aware regularization loss encourages abnormal nodes to preserve more anomaly-relevant information. Furthermore, we theoretically show that APF tends to achieve linear separability under mild conditions. Comprehensive experiments on 10 benchmark datasets validate the superior performance of APF in comparison to state-of-the-art baselines.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 5 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{liu2025towards,
  title  = {Towards Anomaly-Aware Pre-Training and Fine-Tuning for Graph Anomaly Detection},
  author = {Yunhui Liu and Jiashun Cheng and Yiqing Lin and Qizhuo Xie and Jia Li and Fugee Tsung and Hongzhi Yin and Tao Zheng and Jianhua Zhao and Tieke He},
  year   = {2025},
  eprint = {2504.14250},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.14250v3}
}

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

Discussion