Structural Temporal Graph Neural Networks for Anomaly Detection in Dynamic Graphs

Lei Cai, Zhengzhang Chen, Chen Luo, Jiaping Gui, Jingchao Ni +2 more
5/15/2020
cs.LGcs.SIstat.ML
gnn

Official code: KnowledgeDiscovery/StrGNN (26 stars, Python, last commit 2024-06-08).

Abstract

Detecting anomalies in dynamic graphs is a vital task, with numerous practical applications in areas such as security, finance, and social media. Previous network embedding based methods have been mostly focusing on learning good node representations, whereas largely ignoring the subgraph structural changes related to the target nodes in dynamic graphs.

Show full abstract

In this paper, we propose StrGNN, an end-to-end structural temporal Graph Neural Network model for detecting anomalous edges in dynamic graphs. In particular, we first extract the $h$-hop enclosing subgraph centered on the target edge and propose the node labeling function to identify the role of each node in the subgraph. Then, we leverage graph convolution operation and Sortpooling layer to extract the fixed-size feature from each snapshot/timestamp. Based on the extracted features, we utilize Gated recurrent units (GRUs) to capture the temporal information for anomaly detection. Extensive experiments on six benchmark datasets and a real enterprise security system demonstrate the effectiveness of StrGNN.

View on arXivView PDF

Code Implementations(1)

Code for structural temporal graph neural networks for anomaly detection in dynamic graphs

267Python, C++Jul 5, 20222 years agoNOASSERTION
anomaly-detectiondynamic-graph-algorithmgraph-neural-networksstructural-patterns

Similar Papers

Cite this paper

@article{cai2020structural,
  title  = {Structural Temporal Graph Neural Networks for Anomaly Detection in Dynamic Graphs},
  author = {Lei Cai and Zhengzhang Chen and Chen Luo and Jiaping Gui and Jingchao Ni and Ding Li and Haifeng Chen},
  year   = {2020},
  eprint = {2005.07427},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.07427}
}

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

Discussion