Skip to main content
QUICK REVIEW

[Paper Review] H-VGRAE: A Hierarchical Stochastic Spatial-Temporal Embedding Method for Robust Anomaly Detection in Dynamic Networks

Chenming Yang, Zhou Liang|arXiv (Cornell University)|Jul 14, 2020
Complex Network Analysis TechniquesPhysics and Astronomy44 references6 citations
TL;DR

H-VGRAE proposes a hierarchical variational graph recurrent autoencoder that learns robust, stochastic node representations by modeling multi-scale spatial-temporal features in dynamic networks. By using variational inference with normalizing flows and predictive priors, it detects anomalies via low reconstruction probabilities, outperforming state-of-the-art methods on four real-world datasets with significant AUC improvements.

ABSTRACT

Detecting anomalous edges and nodes in dynamic networks is critical in various areas, such as social media, computer networks, and so on. Recent approaches leverage network embedding technique to learn how to generate node representations for normal training samples and detect anomalies deviated from normal patterns. However, most existing network embedding approaches learn deterministic node representations, which are sensitive to fluctuations of the topology and attributes due to the high flexibility and stochasticity of dynamic networks. In this paper, a stochastic neural network, named by Hierarchical Variational Graph Recurrent Autoencoder (H-VGRAE), is proposed to detect anomalies in dynamic networks by the learned robust node representations in the form of random variables. H-VGRAE is a semi-supervised model to capture normal patterns in training set by maximizing the likelihood of the adjacency matrix and node attributes via variational inference. Comparing with existing methods, H-VGRAE has three main advantages: 1) H-VGRAE learns robust node representations through stochasticity modeling and the extraction of multi-scale spatial-temporal features; 2) H-VGRAE can be extended to deep structure with the increase of the dynamic network scale; 3) the anomalous edge and node can be located and interpreted from the probabilistic perspective. Extensive experiments on four real-world datasets demonstrate the outperformance of H-VGRAE on anomaly detection in dynamic networks compared with state-of-the-art competitors.

Motivation & Objective

  • Address the challenge of detecting time-varying anomalies in dynamic networks with high topological and attribute stochasticity.
  • Overcome the limitations of deterministic network embedding methods that are sensitive to local fluctuations and short-term changes.
  • Learn robust, multi-scale spatial-temporal representations through a deep hierarchical stochastic architecture.
  • Enable interpretable anomaly detection by assigning probabilistic reconstruction scores to edges and nodes.
  • Develop a semi-supervised model that captures normal patterns from unlabeled training data and detects deviations as anomalies.

Proposed method

  • Employ a hierarchical encoder-decoder structure with multi-layer conditional random variables to model spatial-temporal dependencies across multiple scales.
  • Use variational inference to maximize the likelihood of adjacency matrices and node attributes, learning stochastic latent representations.
  • Integrate normalizing flows to relax the Gaussian posterior assumption and prevent posterior collapse in deep stochastic networks.
  • Apply predictive prior mechanisms to stabilize training and mitigate the posterior collapse problem in deep hierarchical variational models.
  • Leverage information sharing between encoder and decoder layers to improve optimization of deep stochastic hierarchies.
  • Reconstruct edges and node attributes from learned latent variables and flag those with low reconstruction probabilities as anomalous.

Experimental results

Research questions

  • RQ1Can a hierarchical stochastic network embedding model effectively capture complex, multi-scale spatial-temporal patterns in dynamic networks?
  • RQ2How does modeling stochasticity in node representations improve robustness against topological and attribute fluctuations in dynamic networks?
  • RQ3To what extent does the use of normalizing flows and predictive priors enhance the stability and performance of deep variational graph autoencoders?
  • RQ4Can the proposed method detect and localize anomalous edges and nodes with interpretable probabilistic scores in a semi-supervised setting?
  • RQ5How do hyperparameters such as the number of scales and latent dimension affect the anomaly detection performance?

Key findings

  • H-VGRAE achieves significant AUC improvements over state-of-the-art methods on four real-world dynamic network datasets, including UCI Message and Github.
  • The model’s performance peaks at M=2 scales and d=16 latent dimensions, with AUC dropping when M>5 or d>32 due to excessive dilation or noise in latent space.
  • Increasing the training ratio of edges from 10% to 40% leads to a sharp rise in AUC, with performance stabilizing beyond 40%.
  • Visualization shows that anomalous nodes are encoded into latent representations that closely resemble normal nodes, confirming that H-VGRAE learns normal patterns robustly.
  • The reconstruction probability of anomalous edges is consistently low, validating that deviations from normal patterns are effectively detected.
  • The model successfully mitigates the posterior collapse problem through normalizing flows and predictive priors, enabling stable training of deep hierarchical stochastic layers.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.