mlsanityData to 7 Oct 2026

AnomalyGFM: Graph Foundation Model for Zero/Few-shot Anomaly Detection

arXiv 2502.09254 ↗First posted 13 Feb 2025cs.LG cs.AIcited by 22

Not on the map. Why?

Abstract (arXiv)

Graph anomaly detection (GAD) aims to identify abnormal nodes that differ from the majority of the nodes in a graph, which has been attracting significant attention in recent years. Existing generalist graph models have achieved remarkable success in different graph tasks but struggle to generalize to the GAD task. This limitation arises from their difficulty in learning generalized knowledge for capturing the inherently infrequent, irregular and heterogeneous abnormality patterns in graphs from different domains. To address this challenge, we propose AnomalyGFM, a GAD-oriented graph foundation model that supports zero-shot inference and few-shot prompt tuning for GAD in diverse graph datasets. One key insight is that graph-agnostic representations for normal and abnormal classes are required to support effective zero/few-shot GAD across different graphs. Motivated by this, AnomalyGFM is pre-trained to align data-independent, learnable normal and abnormal class prototypes with node representation residuals (i.e., representation deviation of a node from its neighbors). The residual features essentially project the node information into a unified feature space where we can effectively measure the abnormality of nodes from different graphs in a consistent way. This provides a driving force for the learning of graph-agnostic, discriminative prototypes for the normal and abnormal classes, which can be used to enable zero-shot GAD on new graphs, including very large-scale graphs. If there are few-shot labeled normal nodes available in the new graphs, AnomalyGFM can further support prompt tuning to leverage these nodes for better adaptation. Comprehensive experiments on 11 widely-used GAD datasets with real anomalies, demonstrate that AnomalyGFM significantly outperforms state-of-the-art competing methods under both zero- and few-shot GAD settings.

Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). Builds on 9 of its 14 references that are in the map. First posted on arXiv 13 Feb 2025.

Builds on

9 of 14 references.

References · 9

  1. 2019Predicting Dynamic Embedding Trajectory in Temporal Interaction Networkscited by 443
  2. 2020Enhancing Graph Neural Network-based Fraud Detectors against Camouflaged Fraudsterscited by 248
  3. 2014Graph-based Anomaly Detection and Description: A Surveycited by 182
  4. 2023GraphPrompt: Unifying Pre-Training and Downstream Tasks for Graph Neural Networkscited by 166
  5. 2023All in One: Multi-task Prompting for Graph Neural Networkscited by 147
  6. 2024All in One and One for All: A Simple yet Effective Method towards Cross-domain Graph Pretrainingcited by 84
  7. 2024ZeroG: Investigating Cross-dataset Zero-shot Transferability in Graphscited by 83
  8. 2023GADBench: Revisiting and Benchmarking Supervised Graph Anomaly Detectioncited by 57
  9. 2023Voucher Abuse Detection with Prompt-based Fine-tuning on Graph Neural Networkscited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 5; 2026: 17.

22 papers.

Sort:

By area:

  1. 2025A Survey of Generalization of Graph Anomaly Detection: From Transfer Learning to Foundation Modelscited by 13
  2. 2026Tabular Foundation Models are Strong Graph Anomaly Detectorscited by 8
  3. 2026From Zero to Hero: Advancing Zero-Shot Foundation Models for Tabular Outlier Detectioncited by 8
  4. 2026From Few-Shot to Zero-Shot: Towards Generalist Graph Anomaly Detectioncited by 8
  5. 2026Towards One-for-All Anomaly Detection for Tabular Datacited by 5
  6. 2025DP-DGAD: A Generalist Dynamic Graph Anomaly Detector with Dynamic Prototypescited by 4
  7. 2025Designing a reliable lateral movement detector using a graph foundation modelcited by 1
  8. 2026OWLEYE: Zero-Shot Learner for Cross-Domain Graph Data Anomaly Detectioncited by 1
  9. 2026PromptDyG: Test-Time Prompt Adaptation on Dynamic Graphscited by 1
  10. 2025Towards Anomaly-Aware Pre-Training and Fine-Tuning for Graph Anomaly Detectioncited by 0
  11. 2025Context-Based Fake News Detection using Graph Based Approach: ACOVID-19 Use-casecited by 0
  12. 2026GFM4GA: Graph Foundation Model for Group Anomaly Detectioncited by 0
10 more
  1. 2026Zero-shot Generalizable Graph Anomaly Detection with Mixture of Riemannian Expertscited by 0
  2. 2026Evolutionary Router Feature Generation for Zero-Shot Graph Anomaly Detection with Mixture-of-Expertscited by 0
  3. 2026TA-GGAD: Testing-time Adaptive Graph Model for Generalist Graph Anomaly Detectioncited by 0
  4. 2026When Normality Shifts: Risk-Aware Test-Time Adaptation for Unsupervised Tabular Anomaly Detectioncited by 0
  5. 2026NeighborDiv: Training-free Zero-shot Generalist Graph Anomaly Detection via Neighbor Diversitycited by 0
  6. 2026Generalist Graph Anomaly Detection via Prototype-Based Distillationcited by 0
  7. 2026Temporal Motif-aware Graph Test-time Adaptation for OOD Blockchain Anomaly Detectioncited by 0
  8. 2026Online Test-Time Adaptation for Generalizable Dynamic Graph Anomaly Detectioncited by 0
  9. 2026GLASS: Graph-Language Alignment with Spherical Scoring for Transferable Graph-Level Anomaly Detectioncited by 0
  10. 2026FoundAna: A GNN-assisted Foundation Model for Graph Anomaly Detectioncited by 0