NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Consistency Training with Learnable Data Augmentation for Graph Anomaly Detection with Limited Supervision

Nan Chen, Zemin Liu, Bryan Hooi, Bingsheng He, Rizal Fathony, Jun Hu, Jia Chen

TL;DR

ConsisGAD is a new framework for Graph Anomaly Detection (GAD) that thrives in "low-data" regimes where labeled examples are scarce. It introduces a learnable data augmentation strategy that creates smarter "noise" for consistency training, and it uses a specialized GNN backbone that exploits the unique connectivity patterns (homophily) of anomalous nodes.

What Problem Does This Paper Address?

Detecting anomalies in graphs—like fraudulent accounts in a social network or fake reviews on an e-commerce site—is a classic "needle in a haystack" problem. Two major hurdles make this difficult:

  1. Limited Supervision: Labeling anomalies is expensive and time-consuming, meaning models often have very few "known bad" examples to learn from.
  2. Class Imbalance: Anomalies are, by definition, rare. Standard models often get overwhelmed by the "normal" majority.

Existing methods often rely on random data augmentation (like randomly dropping edges) to help the model generalize. However, random noise is a blunt instrument: it might change the data so much that an anomaly starts looking like a normal node, or so little that the model doesn't learn anything new.

Methods

The authors propose ConsisGAD, which tackles these issues through two main innovations:

1. Learnable Data Augmentation

Instead of random flipping or dropping, ConsisGAD uses an attention-based module to "mask" node features. This module is trained to find the "sweet spot" of augmentation using two competing goals:

  • Label Consistency: The augmented node should still be predicted as the same class as the original.
  • Distribution Diversity: The augmented node's representation should be as different as possible from the original.

By balancing these, the model generates "hard" examples that push the boundaries of what the model understands, making it more robust.

2. Homophily-Aware GNN Backbone

The researchers observed a fundamental pattern: normal nodes tend to hang out with other normal nodes (high homophily), while anomalous nodes are often surrounded by normal nodes (low homophily).

Homophily distribution of normal vs. anomalous nodes.

They designed a simplified GNN backbone that explicitly calculates "edge-level homophily" before aggregating information. This allows the model to distinguish nodes based on their neighborhood "vibe" rather than just their raw features.

The overall architecture, showing how labeled and unlabeled nodes flow through the consistency training and learnable augmentation loops, is shown below:

Overall framework of ConsisGAD.

Datasets

The model was evaluated on four popular GAD benchmarks and one massive real-world dataset:

  • Amazon & YelpChi: E-commerce and review networks used to find fraudulent users/reviews.
  • T-Finance & T-Social: Transaction and social networks for anomaly detection.
  • Industrial Graph: A proprietary, large-scale transaction graph from Grab (a major Southeast Asian "superapp") containing over a million nodes.

Key Insights and Ideas

  • Neighborhoods Matter More Than Features: In many GAD tasks, the way a node connects to its neighbors is a stronger "tell" than the node's own attributes. The homophily-aware backbone captures this structural signal directly.
  • Smart Noise > Random Noise: Randomly dropping 20% of edges might destroy the very structure that makes an anomaly detectable. By making the augmentation learnable, the model discovers which features are "safe" to perturb.
  • Consistency Training is a Force Multiplier: By effectively using the mountain of unlabeled data available in graph datasets, ConsisGAD can achieve high performance even when only 1% (or less) of the nodes are labeled.

Key Results

ConsisGAD consistently outperformed state-of-the-art (SOTA) baselines across all datasets, particularly when labels were extremely limited.

  • Superiority in Limited Supervision: On the YelpChi dataset with only a 1% training ratio, ConsisGAD achieved an AUROC of 83.36%, significantly higher than the next best baseline (~78.9%).
  • Robustness: ConsisGAD maintains a strong performance lead even as the training ratio increases, though the gap naturally narrows as more labeled data becomes available.
  • Real-World Impact: On the Grab industrial dataset, the model achieved a staggering 99.77% AUROC, proving its readiness for production environments.

Limitations and Future Work

The authors note that their backbone relies on the assumption that normal and anomalous nodes have distinct neighborhood homophily patterns. While this holds true for most GAD tasks, it might struggle on "heterophilic" graphs where even normal nodes have very diverse neighborhoods (e.g., certain citation or web link networks).

Future work could involve making the GNN backbone even more flexible to handle these complex graph structures or exploring how to make the iterative training of the augmentation module more computationally efficient for even larger graphs.

Summary updated

BibTeX
@inproceedings{chen2024consistency,
  author = {Nan Chen and Zemin Liu and Bryan Hooi and Bingsheng He and Rizal Fathony and Jun Hu and Jia Chen},
  title = {{Consistency Training with Learnable Data Augmentation for Graph Anomaly Detection with Limited Supervision}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=elMKXvhhQ9},
}
Figure