Correcting False Alarms from Unseen: Adapting Graph Anomaly Detectors at Test Time
Junjun Pan, Yixin Liu, Chuan Zhou, Fei Xiong, Alan Wee-Chung Liew, Shirui Pan
Abstract
Graph anomaly detection (GAD), which aims to detect outliers in graph-structured data, has received increasing research attention recently. However, existing GAD methods assume identical training and testing distributions, which is rarely valid in practice. In real-world scenarios, unseen but normal samples may emerge during deployment, leading to a normality shift that degrades the performance of GAD models trained on the original data. Through empirical analysis, we reveal that the degradation arises from (1) semantic confusion, where unseen normal samples are misinterpreted as anomalies due to their novel patterns, and (2) aggregation contamination, where the representations of seen normal nodes are distorted by unseen normals through message aggregation. While retraining or fine-tuning GAD models could be a potential solution to the above challenges, the high cost of model retraining and the difficulty of obtaining labeled data often render this approach impractical in real-world applications. To bridge the gap, we proposed a lightweight and plug-and-play Test-time adaptation framework for correcting Unseen Normal pattErns (TUNE) in GAD. To address semantic confusion, a graph aligner is employed to align the shifted data to the original one at the graph attribute level. Moreover, we utilize the minimization of representation-level shift as a supervision signal to train the aligner, which leverages the estimated aggregation contamination as a key indicator of normality shift. Extensive experiments on 10 real-world datasets demonstrate that TUNE significantly enhances the generalizability of pre-trained GAD models to both synthetic and real unseen normal patterns.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext f1fb7d9d-bcdf-435b-8f4d-04a8a734c55dCited by top-tier papers3
- Explainable and Fine-Grained Safeguarding of LLM Multi-Agent Systems via Bi-Level Graph Anomaly DetectionJunjun Pan, Yixin Liu, Rui Miao, Kaize Ding et al.ACL 2026 · 6 citations
- Towards One-for-All Anomaly Detection for Tabular DataShiyuan Li, Yixin Liu, Yu Zheng, Xiaofeng Cao et al.ICML 2026 · 3 citations
- OFA-MAS: One-for-All Multi-Agent System Topology Design based on Mixture-of-Experts Graph Generative ModelsShiyuan Li, Yixin Liu, Yu Zheng, Mei Li et al.WWW 2026 · 2 citations
Builds on24
- Rumor Detection on Social Media with Bi-Directional Graph Convolutional NetworksTian Bian, Xi Xiao, Tingyang Xu, Peilin Zhao et al.AAAI 2020 · 773 citations
- Rethinking Graph Neural Networks for Anomaly DetectionJianheng Tang, Jiajin Li, Ziqi Gao, Jia LiICML 2022 · 365 citations
- Addressing Heterophily in Graph Anomaly Detection: A Perspective of Graph SpectrumYuan Gao, Xiang Wang, Xiangnan He, Zhenguang Liu et al.WWW 2023 · 189 citations
- H2-FDetector: A GNN-based Fraud Detector with Homophilic and Heterophilic ConnectionsFengzhao Shi, Yanan Cao, Yanmin Shang, Yuchen Zhou et al.WWW 2022 · 149 citations
- Towards Self-Interpretable Graph-Level Anomaly DetectionYixin Liu, Kaize Ding, Qinghua Lu, Fuyi Li et al.NeurIPS 2023 · 104 citations
Related papers
- A Graph Foundation Model for Unified Anomaly DetectionRenda Han, Xiaobao Wang, Luzhi Wang, Wenxin Zhang et al.WWW 2026 · 1 citation
- Normality Calibration in Semi-supervised Graph Anomaly DetectionGuolei Zeng, Hezhe Qiao, Guoguo Ai, Jinsong Guo et al.ICML 2026 · 1 citation
- Cross-Domain Graph Anomaly Detection via Anomaly-Aware Contrastive AlignmentQizhou Wang, Guansong Pang, Mahsa Salehi, Wray L. Buntine et al.AAAI 2023 · 51 citations
- GOODAT: Towards Test-Time Graph Out-of-Distribution DetectionLuzhi Wang, Dongxiao He, He Zhang, Yixin Liu et al.AAAI 2024 · 27 citations
- AnomalyGFM: Graph Foundation Model for Zero/Few-shot Anomaly DetectionHezhe Qiao, Chaoxi Niu, Ling Chen, Guansong PangKDD 2025 · 8 citations
