GAD-NR: Graph Anomaly Detection via Neighborhood Reconstruction

Amit Roy, Juan Shu, Jia Li, Carl J. Yang, Olivier Elshocht, Jeroen Smeets, Pan Li

Abstract

Graph Anomaly Detection (GAD) is a technique used to identify abnormal nodes within graphs, finding applications in network security, fraud detection, social media spam detection, and various other domains. A common method for GAD is Graph Auto-Encoders (GAEs), which encode graph data into node representations and identify anomalies by assessing the reconstruction quality of the graphs based on these representations. However, existing GAE models are primarily optimized for direct link reconstruction, resulting in nodes connected in the graph being clustered in the latent space. As a result, they excel at detecting cluster-type structural anomalies but struggle with more complex structural anomalies that do not conform to clusters. To address this limitation, we propose a novel solution called \proj, a new variant of GAE that incorporates neighborhood reconstruction for graph anomaly detection. \proj aims to reconstruct the entire neighborhood of a node, encompassing the local structure, self-attributes, and neighbor attributes, based on the corresponding node representation. By comparing the neighborhood reconstruction loss between anomalous nodes and normal nodes, \proj can effectively detect any anomalies. Extensive experimentation conducted on six real-world datasets validates the effectiveness of \proj, showcasing significant improvements (by up to 30%\uparrow in AUC) over state-of-the-art competitors. The \hrefhttps://github.com/anonymoususer437/GAD-NR \textcolorcyan source code for \proj is openly available. Importantly, the comparative analysis reveals that the existing methods perform well only in detecting one or two types of anomalies out of the three types studied. In contrast, GAD-NR excels at detecting all three types of anomalies across the datasets, demonstrating its comprehensive anomaly detection capabilities.
BibTeX
@inproceedings{roy2024gad,
  author = {Amit Roy and Juan Shu and Jia Li and Carl J. Yang and Olivier Elshocht and Jeroen Smeets and Pan Li},
  title = {{GAD-NR: Graph Anomaly Detection via Neighborhood Reconstruction}},
  booktitle = {WSDM},
  year = {2024},
  doi = {10.1145/3616855.3635767},
}

Loading related content...

Figure