Graph anomaly detection has rapidly advanced in safeguarding graph applications, such as social networks, finance, and e-commerce. However, existing efforts in graph anomaly detection typically only consider the information in a single scale (view), thus inevitably limiting their capability in capturing anomalous patterns in complex graph data. To address this limitation, in this paper, we propose a novel framework, graph ANomaly dEtection framework with Multi-scale cONtrastive lEarning (ANEMONE in short). By using a graph neural network as a backbone to encode the information from multiple graph scales (i.e., graph views), we learn a better representation for nodes in a graph. In maximizing the agreements between instances at both the patch and context levels concurrently, we estimate the anomaly score of each node with a statistical anomaly estimator according to the degree of agreement from multiple perspectives. To further exploit a handful of few-shot ground-truth anomalies that may be collected in real-world applications, we further propose an extended algorithm, ANEMONE-FS, to integrate valuable information in our method. Extensive experiments under purely unsupervised and few-shot settings demonstrate that our proposed method ANEMONE and its variant ANEMONE-FS consistently outperform state-of-the-art algorithms on six benchmark datasets.



