Zero-shot Generalizable Graph Anomaly Detection with Mixture of Riemannian Experts

Xinyu Zhao, Qingyun Sun, Jiayi Luo, Xingcheng Fu, Jianxin Li

Abstract

Graph Anomaly Detection (GAD) aims to identify irregular patterns in graph data. Recent efforts have explored zero-shot generalist GAD to enable generalization to unseen graph datasets. However, existing methods often ignore intrinsic geometric differences across diverse anomaly patterns, limiting cross-domain generalization. We reveal that anomaly detectability depends heavily on underlying geometric properties and that embedding graphs into a single static curvature space can distort structural signatures. We propose GAD-MoRE, a framework using a Mixture of Riemannian Experts architecture. GAD-MoRE employs specialized Riemannian expert networks in distinct curvature spaces, an anomaly-aware multi-curvature feature alignment module, and a memory-based dynamic router. Experiments show GAD-MoRE significantly outperforms state-of-the-art generalist GAD baselines in zero-shot settings.

Introduction

In Graph Anomaly Detection (GAD), identifying "needles in haystacks"—such as fraudulent transaction rings or spam-bot communities—is critical. While deep learning has advanced this field, most models are "specialists" trained and tested on specific domains. Moving a model from a social network to a financial graph often leads to failure. GAD-MoRE addresses this by acting as a "generalist" capable of spotting anomalies in entirely new domains without additional training.

Problem Statement: The Geometry of Anomalies

Most GAD models assume graphs reside in a "flat" Euclidean space. However, real-world graphs exhibit intrinsic geometric heterogeneity:

  • Hierarchical/Tree-like graphs (e.g., organizational charts) are best represented in Hyperbolic space (negative curvature).
  • Dense, clique-heavy graphs (e.g., fraud rings) are better captured in Spherical space (positive curvature).

Forcing a hierarchical graph into Euclidean space causes "embedding distortion," making subtle anomalies—like bridge nodes connecting distant branches—blend in with normal nodes.

Geometric heterogeneity and its impact on anomaly detection performance across different curvature spaces (κ).

Methodology: GAD-MoRE Framework

GAD-MoRE consists of three innovative components:

  1. Anomaly-aware Multi-curvature Feature Alignment (MCFA): Projects raw node features into parallel Riemannian spaces using a two-stage process (PCA and Laplacian Feature Selection) to ensure structural consistency.
  2. Mixture of Riemannian Experts (MoE) Scorer: Employs five specialized experts operating in distinct curvature spaces ($κ \in \{-1.0, -0.5, 0, 0.5, 1.0\}$), allowing the model to analyze graphs through multiple geometric lenses simultaneously.
  3. Memory-based Dynamic Router (MDR): Routes nodes based on reconstruction quality rather than simple feature similarity. Each expert maintains a "memory bank" of patterns it reconstructs well, ensuring nodes are judged by the most compatible geometric expert.

Experimental Setup

The model was evaluated using a rigorous cross-domain protocol:

  • Training Datasets: PubMed, Flickr, Reddit, and YelpChi.
  • Test Datasets (Unseen): ACM, Amazon, BlogCatalog, Citeseer, Cora, Facebook, and Weibo.

Key Results and Insights

  • Superior Zero-Shot Performance: GAD-MoRE achieved an average AUROC of 82.09% and AUPRC of 36.96% across seven unseen test datasets.
  • Outperforming Few-Shot Models: Remarkably, GAD-MoRE (zero-shot) outperformed strong competitors like ARC that were allowed to fine-tune with labeled samples from the target domain.
  • Curvature Preference: Empirical studies confirmed that datasets have clear "curvature preferences." For instance, the Weibo dataset performs best in Euclidean space, while Cora and Citeseer favor Spherical spaces.
  • Ablation Study: Removing the MoE component resulted in the largest performance drop (to 75.32% AUROC), confirming that a single geometric lens is insufficient for generalist detection.

Conclusion

GAD-MoRE demonstrates that accounting for geometric heterogeneity is essential for generalizable graph anomaly detection. By moving beyond "flat" Euclidean assumptions and employing a mixture of Riemannian experts, the framework achieves state-of-the-art results in zero-shot settings. Future work includes extending the model to dynamic graphs and integrating it with emerging Graph Foundation Models.

Summary updated

BibTeX
@misc{zhao2026zero,
  author = {Xinyu Zhao and Qingyun Sun and Jiayi Luo and Xingcheng Fu and Jianxin Li},
  title = {{Zero-shot Generalizable Graph Anomaly Detection with Mixture of Riemannian Experts}},
  year = {2026},
  eprint = {2602.06859},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.06859},
}
Figure