ICLR2026

Dynamic Multi-sample Mixup with Gradient Exploration for Open-set Graph Anomaly Detection

Caiyang Yu, Wei Ju, Haixin Wang, Yifan Wang, Ziyue Qiao

Abstract

This paper studies the problem of open-set graph anomaly detection, which aims to generalize a graph neural network (GNN) trained with a small number of both normal and abnormal nodes to detect unseen anomalies different from training anomalies during inference. This problem is highly challenging due to both the data scarcity of unseen anomalies and the label scarcity for training nodes. Towards this end, we propose a novel approach named Dynamic Multi-sample Mixup with Gradient Exploration (DEMO DEMO) for open-set graph anomaly detection. The core of our proposed DEMO DEMO is to leverage a dynamic framework to adapt the optimization procedure with high generalizability. In particular, our DEMO DEMO first adaptively fuses multiple seen nodes to simulate the unseen anomalies, which expands the decision boundary for the detection model with enhanced generalizability. Moreover, we dynamically adjust sample weights based on their energy gradients to prioritize uncertain and informative nodes, ensuring a robust optimization procedure. To further address both label scarcity and severe class imbalance, we maintain a memory bank of historical records to guide the pseudo-labeling process of unlabeled nodes. Extensive experiments on various benchmark datasets validate the superiority of the proposed DEMO DEMO in comparison to various baselines. Code is available at https://github.com/yucy324/DEMO .