Skip to main content
QUICK REVIEW

[Paper Review] Stochastic Blockmodels meet Graph Neural Networks

Nikhil Mehta, Lawrence Carin|arXiv (Cornell University)|May 14, 2019
Advanced Graph Neural NetworksComputer Science17 citations
TL;DR

This paper proposes a deep generative framework, DGLFRM, that unifies overlapping stochastic blockmodels (OSBM) with graph neural networks (GNNs) via a sparse variational autoencoder, enabling interpretable, scalable node embeddings with fast inference. By combining a GNN-based recognition model with a Beta-Bernoulli prior on sparse binary latent features, the method achieves state-of-the-art link prediction and natural community discovery without requiring pre-specified community counts.

ABSTRACT

Stochastic blockmodels (SBM) and their variants, $e.g.$, mixed-membership and overlapping stochastic blockmodels, are latent variable based generative models for graphs. They have proven to be successful for various tasks, such as discovering the community structure and link prediction on graph-structured data. Recently, graph neural networks, $e.g.$, graph convolutional networks, have also emerged as a promising approach to learn powerful representations (embeddings) for the nodes in the graph, by exploiting graph properties such as locality and invariance. In this work, we unify these two directions by developing a \emph{sparse} variational autoencoder for graphs, that retains the interpretability of SBMs, while also enjoying the excellent predictive performance of graph neural nets. Moreover, our framework is accompanied by a fast recognition model that enables fast inference of the node embeddings (which are of independent interest for inference in SBM and its variants). Although we develop this framework for a particular type of SBM, namely the \emph{overlapping} stochastic blockmodel, the proposed framework can be adapted readily for other types of SBMs. Experimental results on several benchmarks demonstrate encouraging results on link prediction while learning an interpretable latent structure that can be used for community discovery.

Motivation & Objective

  • To address the limitations of traditional OSBM, such as limited expressiveness and slow MCMC-based inference, by integrating deep generative modeling with graph neural networks.
  • To enable fast, scalable inference in overlapping stochastic blockmodels using a stochastic gradient variational Bayes (SGVB) recognition model.
  • To retain the interpretability of OSBM while enhancing its modeling capacity through deep, nonlinear link prediction via a neural network decoder.
  • To allow automatic discovery of the number of active communities via a nonparametric stick-breaking prior on latent features.
  • To demonstrate that the learned sparse binary embeddings support both accurate link prediction and meaningful overlapping community detection.

Proposed method

  • Proposes a deep generative model, DGLFRM, based on a sparse variational autoencoder (VAE) with a nonlinear generator/decoder using a deep neural network to model link probabilities from node embeddings.
  • Employs a GNN-based recognition model (encoder) for fast, end-to-end inference of node embeddings using the reparameterization trick for Bernoulli and Beta distributions.
  • Uses a Beta-Bernoulli process prior to model sparse, binary node embeddings, enabling automatic inference of the number of active communities.
  • Applies stochastic gradient variational Bayes (SGVB) inference to bypass conjugacy constraints and enable efficient, scalable training on large graphs.
  • Designs the generator to compute link probabilities as a nonlinear function of the bilinear product of node embeddings, enhancing expressiveness beyond linear OSBM.
  • Supports flexible architecture choices by allowing various GNNs (e.g., GCN) as the encoder and different likelihoods (e.g., Bernoulli-Poisson) for edge types.

Experimental results

Research questions

  • RQ1Can a deep generative model combining OSBM and GNNs achieve better link prediction performance than traditional OSBM or standard GNNs?
  • RQ2Can the proposed sparse VAE framework enable fast, scalable inference in overlapping stochastic blockmodels without relying on MCMC or mean-field variational inference?
  • RQ3Does the model learn interpretable, overlapping community structures that align with ground-truth or domain-specific groupings?
  • RQ4Can the nonparametric prior automatically infer the number of active communities without requiring manual specification?
  • RQ5How does the model’s performance compare to baseline GNNs like VGAE in terms of both link prediction and community discovery?

Key findings

  • DGLFRM achieves state-of-the-art performance on link prediction across multiple benchmarks, outperforming both traditional OSBM and GNN-based models like VGAE.
  • The model learns a sparse, binary latent structure that naturally identifies overlapping communities, with inferred memberships closely matching ground-truth assignments in synthetic data.
  • The recognition model enables fast inference of node embeddings, significantly outperforming traditional MCMC and mean-field variational inference in speed and scalability.
  • The stick-breaking prior allows the model to infer the effective number of communities automatically, with posterior inference turning off inactive columns in the embedding matrix.
  • Qualitative analysis on the NIPS12 dataset shows that learned communities correspond to coherent sub-fields, with authors correctly assigned to multiple communities (e.g., Sejnowski in multiple topics).
  • Unlike VGAE, which produces dense Gaussian embeddings requiring post-hoc clustering (e.g., K-means), DGLFRM’s sparse binary embeddings directly support interpretable, overlapping clustering without additional steps.

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.