cs.LGFeb 23, 2026

Learning Discriminative and Generalizable Anomaly Detector for Dynamic Graph with Limited Supervision

Authors: Yuxing Tian, Yiyan Qi, Fengran Mo, Weixu Zhang, Jian Guo, Jian-Yun Nie

Organizations: Universit´e de Montréal · International Digital Economy Academy (IDEA) · McGill University · Mila - Quebec Artificial Intelligence Institute.

Abstract

Dynamic graph anomaly detection is critical for many real-world applications but remains challenging due to the scarcity of labeled anomalies. Existing methods are either unsupervised or semi-supervised: unsupervised methods avoid the need for labeled anomalies but often produce ambiguous boundary, whereas semi-supervised methods can overfit to the limited labeled anomalies and generalize poorly to unseen anomalies. To address this gap, we consider a largely underexplored problem: learning a discriminative boundary from normal/unlabeled data, while leveraging limited labeled anomalies when available without sacrificing generalization to unseen anomalies. In this paper, we propose an effective, generalizable, and model-agnostic framework with three main components: (i) residual representation encoding that capture deviations between current interactions and their historical context, providing anomaly-relevant signals; (ii) a restriction loss that constrain the normal representations within an interval bounded by two co-centered hyperspheres, ensuring consistent scales while keeping anomalies separable; (iii) a bi-boundary optimization strategy that learns a discriminative and robust boundary using the log-likelihood distribution modeled by a normalizing flow. Extensive experiments demonstrate the superiority of our framework across diverse evaluation settings.

Figures & tables

Appendix figures & tables13 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Generalist Graph Anomaly Detection via Prototype-Based Distillation

    May 26, 2026Yiming Xu, Zihan Chen, Zhen Peng +4Unsupervised Anomaly DetectionZero-Shot Anomaly Detection

  2. RagGAD: Rationale-Aware Conditional Gaussian Mixture Normalizing Flow for Unsupervised Graph Anomaly Detection

    Aug 17, 2026Junxin Lu, Jing Zhao, Shiliang SunGraph-Based Anomaly DetectionUnsupervised Anomaly Detection

  3. From Few-Shot to Zero-Shot: Towards Generalist Graph Anomaly Detection

    Feb 21, 2026Yixin Liu, Shiyuan Li, Yu Zheng +4Anomaly DetectionZero-Shot Anomaly Detection