Correcting False Alarms from Unseen: Adapting Graph Anomaly Detectors at Test Time

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Pan, Junjun, Liu, Yixin, Zhou, Chuan, Xiong, Fei, Liew, Alan Wee-Chung, Pan, Shirui
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918193754275840
author Pan, Junjun
Liu, Yixin
Zhou, Chuan
Xiong, Fei
Liew, Alan Wee-Chung
Pan, Shirui
author_facet Pan, Junjun
Liu, Yixin
Zhou, Chuan
Xiong, Fei
Liew, Alan Wee-Chung
Pan, Shirui
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2511_07023
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Correcting False Alarms from Unseen: Adapting Graph Anomaly Detectors at Test Time
Pan, Junjun
Liu, Yixin
Zhou, Chuan
Xiong, Fei
Liew, Alan Wee-Chung
Pan, Shirui
Machine Learning
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.
title Correcting False Alarms from Unseen: Adapting Graph Anomaly Detectors at Test Time
topic Machine Learning
url https://arxiv.org/abs/2511.07023