BOURNE: Bootstrapped Self-Supervised Learning Framework for Unified Graph Anomaly Detection

Jie Liu, Mengting He, Xuequn Shang, Jieming Shi, Bin Cui, Hongzhi Yin

TL;DR

BOURNE is a novel, unified framework for detecting both node and edge anomalies in graphs simultaneously. By leveraging a "bootstrapped" self-supervised learning approach, it eliminates the need for computationally expensive negative sampling while exploiting the natural correlation between suspicious nodes and the suspicious edges they create.

What Problem Does This Paper Address?

Graph Anomaly Detection (GAD) is critical for identifying fraudsters in financial networks, spammers in social media, or malfunctions in traffic systems. Traditionally, researchers have treated Node Anomaly Detection (NAD) and Edge Anomaly Detection (EAD) as two separate problems.

However, in the real world, these anomalies are deeply intertwined: a "fraudster" node is almost always associated with "abnormal" transaction edges. Existing methods fail to use this mutual information. Furthermore, state-of-the-art GAD models often rely on contrastive learning, which requires "negative sampling"—creating fake anomalies to compare against real data. This process is incredibly memory-intensive and slow, making it nearly impossible to scale to massive, real-world graphs with millions of nodes.

Methods

The authors introduce BOURNE (BOotstrapped self-supervised learning framework for Unified gRaph aNomaly dEtection) to solve these issues through three main innovations:

  1. Dual Hypergraph Transformation: To treat nodes and edges equally, the model transforms a standard graph into a "dual hypergraph." In this view, the original edges become nodes, and the original nodes become hyperedges. This allows the model to use the same neural architecture to learn representations for both objects.
  2. Bootstrapped Learning (No Negatives): Inspired by recent breakthroughs in computer vision (like BYOL), BOURNE uses two encoders: an "online" encoder and a "target" encoder. The target encoder is a slowly moving average of the online one. By predicting the target's output from the online's view, the model learns robust features without ever needing to sample "negative" pairs.
  3. Cross-View Mutual Detection: The model extracts a "graph view" (node context) and a "hypergraph view" (edge context). It then "swaps" these contexts during the scoring phase. If a node’s embedding doesn't "agree" with its surrounding edge context (and vice versa), it receives a high anomaly score.

Datasets

The framework was evaluated on six diverse benchmark datasets:

  • Citation Networks: Cora, Pubmed, and ACM.
  • Social Networks: BlogCatalog and Flickr.
  • Financial Network: DGraph, a massive real-world dataset containing over 3.7 million nodes and 4.3 million edges.

For the first five datasets, the authors injected synthetic structural and attributive anomalies to provide ground truth for evaluation.

Key Insights and Ideas

  • The "Aha!" of Mutual Supervision: The core insight is that nodes and edges can supervise each other. By measuring the "agreement" between a node and its associated edges in a shared embedding space, the model captures anomalies that simpler, single-object methods miss.
  • Efficiency is a Feature: By ditching negative sampling, BOURNE isn't just a little faster—it's a different category of efficient. It can process the massive DGraph dataset while previous leaders like CoLA and SL-GAD run out of memory (OOM).
  • Multi-Scale Discrimination: The model doesn't just look at the immediate neighbors (patch-level); it also looks at the broader subgraph. This "global-local" check is vital because some anomalies only look strange when compared to the wider neighborhood.

Key Results

  • Superior Accuracy: BOURNE consistently outperformed all baselines. For node detection, it achieved an AUC of 0.9561 on Pubmed (beating the next best by ~1.3%). For edge detection, it showed even more dramatic gains, often improving AUC by over 10-20% compared to traditional edge-only methods.
  • Massive Speedups: On the ACM dataset, BOURNE was 2.5x to 6x faster than competing deep learning models. On Pubmed, it achieved an 18.8x acceleration in training time compared to SL-GAD.
  • Scalability: BOURNE was the only deep learning-based model in the study capable of handling the 3.7M-node DGraph dataset without crashing the GPU's memory.

Limitations and Future Work

While BOURNE is a leap forward for static graphs, the authors acknowledge a few areas for growth:

  • Dynamic Graphs: Many real-world anomalies are temporal (e.g., a sudden burst of transactions). BOURNE currently treats graphs as static snapshots.
  • Complex Anomalies: The study focuses on node and edge anomalies, but "subgraph anomalies" (where a whole group of nodes acts suspiciously together) remain a separate, difficult challenge.
  • Heterogeneous Graphs: Future iterations could be adapted to handle graphs with multiple types of nodes and edges (e.g., users, products, and credit cards).

Summary updated

BibTeX
@inproceedings{liu2024bourne,
  author = {Jie Liu and Mengting He and Xuequn Shang and Jieming Shi and Bin Cui and Hongzhi Yin},
  title = {{BOURNE: Bootstrapped Self-Supervised Learning Framework for Unified Graph Anomaly Detection}},
  booktitle = {ICDE},
  year = {2024},
  doi = {10.1109/icde60146.2024.00220},
}
Figure