AC2L-GAD: Active Counterfactual Contrastive Learning for Graph Anomaly Detection

Kamal Berahmand, Saman Forouzandeh, Mehrnoush Mohammadi, Parham Moradi, Mahdi Jalili
1/29/2026
cs.LGcs.AI
contrastive-ssl

No confident code implementation found for this paper.

Abstract

Graph anomaly detection aims to identify abnormal patterns in networks, but faces significant challenges from label scarcity and extreme class imbalance. While graph contrastive learning offers a promising unsupervised solution, existing methods suffer from two critical limitations: random augmentations break semantic consistency in positive pairs, while naive negative sampling produces trivial, uninformative contrasts.

Show full abstract

We propose AC2L-GAD, an Active Counterfactual Contrastive Learning framework that addresses both limitations through principled counterfactual reasoning. By combining information-theoretic active selection with counterfactual generation, our approach identifies structurally complex nodes and generates anomaly-preserving positive augmentations alongside normal negative counterparts that provide hard contrasts, while restricting expensive counterfactual generation to a strategically selected subset. This design reduces computational overhead by approximately 65% compared to full-graph counterfactual generation while maintaining detection quality. Experiments on nine benchmark datasets, including real-world financial transaction graphs from GADBench, show that AC2L-GAD achieves competitive or superior performance compared to state-of-the-art baselines, with notable gains in datasets where anomalies exhibit complex attribute-structure interactions.

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. Any repos shown below are weak matches — 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{berahmand2026aclgad,
  title  = {AC2L-GAD: Active Counterfactual Contrastive Learning for Graph Anomaly Detection},
  author = {Kamal Berahmand and Saman Forouzandeh and Mehrnoush Mohammadi and Parham Moradi and Mahdi Jalili},
  year   = {2026},
  eprint = {2601.21171},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.21171v1}
}

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

Discussion