Unsupervised Deep Subgraph Anomaly Detection (Extended Abstract)

Zheng Zhang, Liang ZhaoIJCAI 2023

Introduction: The Challenge of Subgraph Anomalies

Detecting anomalous subgraphs is a critical yet notoriously difficult task in graph mining. Unlike node-level or edge-level detection, subgraph anomalies often only emerge when nodes are viewed as a collective group. A single suspicious user might appear normal in isolation, but a cluster of users exhibiting coordinated behavior—such as a sudden spike in shared symptoms or a ring of fraudulent transactions—indicates a systemic threat.

Collective anomalies in a network where individual symptoms might be unremarkable, but a cluster indicates a localized outbreak.

This paper introduces AS-GAE, an unsupervised framework designed to identify these complex, synergistic patterns without requiring labeled training data.

Methodology: The AS-GAE Framework

The authors propose the Anomalous Subgraph Autoencoder (AS-GAE), which addresses the limitations of traditional "shallow" models through two primary innovations:

1. Location-Aware Graph Autoencoder (GAE)

Standard GAEs typically focus on local neighborhoods, often losing track of a node's global position within the network. AS-GAE solves this by sampling a set of "anchor nodes" and calculating the shortest distance from every node to these anchors. By incorporating these distances as features, the model becomes "location-aware," allowing it to recognize that a structure which is considered normal in the graph's center may be anomalous on its periphery.

2. Supermodular Graph Scoring

The core theoretical contribution of this work is the application of supermodularity to anomaly scoring. The authors argue that subgraph anomalies are inherently synergistic: if multiple nodes are individually suspicious, their collective anomaly score should be greater than the sum of their parts if they are connected. AS-GAE utilizes a deep neural network mathematically constrained to be supermodular, ensuring the model favors finding connected clusters of suspicious activity over isolated outliers.

Experimental Results

The model was evaluated using nine real-world attributed network datasets spanning citation networks (Cora, Citeseer, Pubmed, ACM), social networks (Blog, Flickr, Wiki), communication logs (Email), and movie databases (OMDB).

Performance comparison (AUC) of AS-GAE against state-of-the-art benchmarks across nine real-world datasets.

Key Findings

  • Superior Accuracy: AS-GAE consistently outperformed state-of-the-art benchmarks such as DOMINANT and DEEPSVDD. On real-world datasets, AS-GAE improved detection performance by an average of 16.1% over other deep learning approaches.
  • Robustness: The model demonstrated stable performance across diverse background topologies, from scale-free social networks to dense citation graphs.
  • Reconstruction Error as a Filter: By analyzing residuals, the model identifies candidates that the autoencoder cannot effectively reconstruct, marking them as likely anomalies.

Discussion and Future Work

AS-GAE demonstrates that graph topology is not just about local connectivity, but also global positioning and group synergy. However, several challenges remain for future research:

  • Scalability: Calculating shortest paths to anchor nodes can become computationally expensive as graphs scale to billions of nodes.
  • Hyperparameter Sensitivity: Balancing reconstruction loss and anomaly scoring requires careful tuning of parameters ($\beta$ and $\gamma$), which is difficult in a purely unsupervised setting.
  • Dynamic Detection: Extending the framework to detect subgraphs that become anomalous over time (e.g., coordinated bot attacks) is a logical next step for the field.

Conclusion

By combining location-aware embeddings with supermodular scoring, AS-GAE provides a powerful new tool for identifying collective abnormalities in high-dimensional network data, effectively hunting the "white whale" of subgraph-level anomaly detection.

Summary updated

BibTeX
@inproceedings{zhang2023unsupervised,
  author = {Zheng Zhang and Liang Zhao},
  title = {{Unsupervised Deep Subgraph Anomaly Detection (Extended Abstract)}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/730},
}
Figure