From Few-Shot to Zero-Shot: Towards Generalist Graph Anomaly Detection
Not on the map. Why?
Abstract (arXiv)
Graph anomaly detection (GAD) is critical for identifying abnormal nodes in graph-structured data from diverse domains, including cybersecurity and social networks. The existing GAD methods often focus on the learning paradigms of "one-model-for-one-dataset", requiring dataset-specific training for each dataset to achieve optimal performance. However, this paradigm suffers from significant limitations, such as high computational and data costs, limited generalization and transferability to new datasets, and challenges in privacy-sensitive scenarios where access to full datasets or sufficient labels is restricted. To address these limitations, we propose a novel generalist GAD paradigm that aims to develop a unified model capable of detecting anomalies on multiple unseen datasets without extensive retraining/fine-tuning or dataset-specific customization. To this end, we propose ARC, a few-shot generalist GAD method that leverages in-context learning and requires only a few labeled normal samples at inference time. Specifically, ARC consists of three core modules: a feature Alignment module to unify and align features across datasets, a Residual GNN encoder to capture dataset-agnostic anomaly representations, and a cross-attentive in-Context learning module to score anomalies using few-shot normal context. Building on ARC, we further introduce ARC_zero for the zero-shot generalist GAD setting, which selects representative pseudo-normal nodes via a pseudo-context mechanism and thus enables fully label-free inference on unseen datasets. Extensive experiments on 17 real-world graph datasets demonstrate that both ARC and ARC_zero effectively detect anomalies, exhibit strong generalization ability, and perform efficiently under few-shot and zero-shot settings.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 49 of its 75 references that are in the map. First posted on arXiv 21 Feb 2026.
Builds on
49 of 75 references.
References · 49
- 2017Attention Is All You Needcited by 59,932
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2017Graph Attention Networkscited by 8,854
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
- 2019Simplifying Graph Convolutional Networkscited by 1,470
- 2018Pitfalls of Graph Neural Network Evaluationcited by 994
- 2021Towards Total Recall in Industrial Anomaly Detectioncited by 772
- 2020PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localizationcited by 591
- 2019Predicting Dynamic Embedding Trajectory in Temporal Interaction Networkscited by 443
- 2023A critical look at the evaluation of GNNs under heterophily: Are we really making progress?cited by 332
- 2023WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentationcited by 311
37 more
- 2023AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detectioncited by 270
- 2021SSD: A Unified Framework for Self-Supervised Outlier Detectioncited by 264
- 2020Enhancing Graph Neural Network-based Fraud Detectors against Camouflaged Fraudsterscited by 248
- 2022Visual Prompting via Image Inpaintingcited by 248
- 2023One for All: Towards Training One Graph Model for All Classification Taskscited by 239
- 2021A Comprehensive Survey on Graph Anomaly Detection with Deep Learningcited by 230
- 2021BernNet: Learning Arbitrary Graph Spectral Filters via Bernstein Approximationcited by 195
- 2022Rethinking Graph Neural Networks for Anomaly Detectioncited by 185
- 2021Anomaly Detection on Attributed Networks via Contrastive Self-Supervised Learningcited by 175
- 2022Graph Neural Networks for Graphs with Heterophily: A Surveycited by 175
- 2019Anti-Money Laundering in Bitcoin: Experimenting with Graph Convolutional Networks for Financial Forensicscited by 158
- 2013From Amateurs to Connoisseurs: Modeling the Evolution of User Expertise through Online Reviewscited by 107
- 2023PRODIGY: Enabling In-context Learning Over Graphscited by 97
- 2024Toward Generalist Anomaly Detection via In-context Residual Learning with Few-shot Sample Promptscited by 88
- 2024All in One and One for All: A Simple yet Effective Method towards Cross-domain Graph Pretrainingcited by 84
- 2020AnomalyDAE: Dual autoencoder for anomaly detection on attributed networkscited by 81
- 2023GADBench: Revisiting and Benchmarking Supervised Graph Anomaly Detectioncited by 57
- 2020On Using Classification Datasets to Evaluate Graph-Level Outlier Detection: Peculiar Observations and New Insightscited by 53
- 2024Large Language Models for Forecasting and Anomaly Detection: A Systematic Literature Reviewcited by 50
- 2024ARC: A Generalist Graph Anomaly Detector with In-Context Learningcited by 46
- 2021AdaGNN: Graph Neural Networks with Adaptive Frequency Response Filtercited by 43
- 2023Truncated Affinity Maximization: One-class Homophily Modeling for Graph Anomaly Detectioncited by 43
- 2021Boost then Convolve: Gradient Boosting Meets Graph Neural Networkscited by 42
- 2024Deep Graph Anomaly Detection: A Survey and New Perspectivescited by 40
- 2025BlindGuard: Safeguarding LLM-based Multi-Agent Systems under Unknown Attackscited by 37
- 2021Hop-Count Based Self-Supervised Anomaly Detection on Attributed Networkscited by 31
- 2022Cross-Domain Graph Anomaly Detection via Anomaly-aware Contrastive Alignmentcited by 31
- 2023PREM: A Simple Yet Effective Approach for Node-Level Graph Anomaly Detectioncited by 25
- 2024Zero-shot Generalist Graph Anomaly Detection with Unified Neighborhood Promptscited by 24
- 2025AnomalyGFM: Graph Foundation Model for Zero/Few-shot Anomaly Detectioncited by 22
- 2024Exploiting Structural Consistency of Chest Anatomy for Unsupervised Anomaly Detection in Radiography Imagescited by 13
- 2025A Survey of Generalization of Graph Anomaly Detection: From Transfer Learning to Foundation Modelscited by 13
- 2024Universal Link Predictor By In-Context Learning on Graphscited by 12
- 2025Correcting False Alarms from Unseen: Adapting Graph Anomaly Detectors at Test Timecited by 12
- 2020Graph Regularized Autoencoder and its Application in Unsupervised Anomaly Detectioncited by 11
- 2021Supervised Anomaly Detection via Conditional Generative Adversarial Network and Ensemble Active Learningcited by 11
- 2025FreeGAD: A Training-Free yet Effective Approach for Graph Anomaly Detectioncited by 10
Built on by
Citing papers per year: 2026: 8.
8 papers.
- 2026FedCIGAR: A Personalized Reconstruction Approach for Federated Graph-level Anomaly Detectioncited by 6
- 2026Towards One-for-All Anomaly Detection for Tabular Datacited by 5
- 2026Towards Anomaly Detection on Relational Datacited by 4
- 2026CAMERA: Adapting to Semantic Camouflage in Unsupervised Text-Attributed Graph Fraud Detectioncited by 3
- 2026PaSta: Noisy Node Classification with Partial Label Learningcited by 0
- 2026SIM: Subspace Interaction-based Method for Token-Level Text Anomaly Detectioncited by 0
- 2026HOPE: Heterophily-Aware Open-Set Node Classification with Pseudo-Extrapolationcited by 0
- 2026DiFA: Dual Evidence Fusion and Aggregation for Token-Level Text Anomaly Detectioncited by 0
- 2026HOPE: Heterophily-Aware Open-Set Node Classification with Pseudo-Extrapolation8 Sep 2026
- 2026SIM: Subspace Interaction-based Method for Token-Level Text Anomaly Detection8 Sep 2026
- 2026PaSta: Noisy Node Classification with Partial Label Learning26 Aug 2026
- 2026DiFA: Dual Evidence Fusion and Aggregation for Token-Level Text Anomaly Detection24 Aug 2026
- 2026Towards Anomaly Detection on Relational Data17 Jun 2026
- 2026CAMERA: Adapting to Semantic Camouflage in Unsupervised Text-Attributed Graph Fraud Detection19 May 2026
- 2026FedCIGAR: A Personalized Reconstruction Approach for Federated Graph-level Anomaly Detection10 May 2026
- 2026Towards One-for-All Anomaly Detection for Tabular Data15 Mar 2026