7
0

Rethinking Contrastive Learning in Graph Anomaly Detection: A Clean-View Perspective

Abstract

Graph anomaly detection aims to identify unusual patterns in graph-based data, with wide applications in fields such as web security and financial fraud detection. Existing methods typically rely on contrastive learning, assuming that a lower similarity between a node and its local subgraph indicates abnormality. However, these approaches overlook a crucial limitation: the presence of interfering edges invalidates this assumption, since it introduces disruptive noise that compromises the contrastive learning process. Consequently, this limitation impairs the ability to effectively learn meaningful representations of normal patterns, leading to suboptimal detection performance. To address this issue, we propose a Clean-View Enhanced Graph Anomaly Detection framework (CVGAD), which includes a multi-scale anomaly awareness module to identify key sources of interference in the contrastive learning process. Moreover, to mitigate bias from the one-step edge removal process, we introduce a novel progressive purification module. This module incrementally refines the graph by iteratively identifying and removing interfering edges, thereby enhancing model performance. Extensive experiments on five benchmark datasets validate the effectiveness of our approach.

View on arXiv
@article{jin2025_2505.18002,
  title={ Rethinking Contrastive Learning in Graph Anomaly Detection: A Clean-View Perspective },
  author={ Di Jin and Jingyi Cao and Xiaobao Wang and Bingdao Feng and Dongxiao He and Longbiao Wang and Jianwu Dang },
  journal={arXiv preprint arXiv:2505.18002},
  year={ 2025 }
}
Comments on this paper