Unsupervised Graph Anomaly Detection via Multi-Hypersphere Heterophilic Graph Learning

Hang Ni, Jindong Han, Nengjun Zhu, Hao Liu
3/15/2025
cs.LGcs.AI

Official code: KennyNH/MHetGL (6 stars, last commit 2023-10-13).

Abstract

Graph Anomaly Detection (GAD) plays a vital role in various data mining applications such as e-commerce fraud prevention and malicious user detection. Recently, Graph Neural Network (GNN) based approach has demonstrated great effectiveness in GAD by first encoding graph data into low-dimensional representations and then identifying anomalies under the guidance of supervised or unsupervised signals. However, existing GNN-based approaches implicitly follow the homophily principle (i.e., the "like attracts like" phenomenon) and fail to learn discriminative embedding for anomalies that connect vast normal nodes. Moreover, such approaches identify anomalies in a unified global perspective but overlook diversified abnormal patterns conditioned on local graph context, leading to suboptimal performance. To overcome the aforementioned limitations, in this paper, we propose a Multi-hypersphere Heterophilic Graph Learning (MHetGL) framework for unsupervised GAD. Specifically, we first devise a Heterophilic Graph Encoding (HGE) module to learn distinguishable representations for potential anomalies by purifying and augmenting their neighborhood in a fully unsupervised manner. Then, we propose a Multi-Hypersphere Learning (MHL) module to enhance the detection capability for context-dependent anomalies by jointly incorporating critical patterns from both global and local perspectives. Extensive experiments on ten real-world datasets show that MHetGL outperforms 14 baselines. Our code is publicly available at https://github.com/KennyNH/MHetGL.

View on arXivView PDF

Code Implementations(1)

KennyNH/MHetGLOfficial100%
60PythonOct 9, 20233 years ago

Similar Papers

Cite this paper

@article{ni2025unsupervised,
  title  = {Unsupervised Graph Anomaly Detection via Multi-Hypersphere Heterophilic Graph Learning},
  author = {Hang Ni and Jindong Han and Nengjun Zhu and Hao Liu},
  year   = {2025},
  eprint = {2503.12037},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.12037v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.12037.svg)](https://codeofpaper.com/paper/2503.12037)

Discussion