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

Di Jin, Jingyi Cao, Xiaobao Wang, Bingdao Feng, Dongxiao He +2 more
5/23/2025
cs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

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 arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{jin2025rethinking,
  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},
  year   = {2025},
  eprint = {2505.18002},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.18002v1}
}

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/2505.18002.svg)](https://codeofpaper.com/paper/2505.18002)

Discussion