NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Deep Generative Models for Relational Data with Side Information

Changwei Hu, Piyush Rai, Lawrence CarinICML 2017

Overview

This paper introduces the Hierarchical Latent Feature Model (HLFM), a deep probabilistic framework designed to discover overlapping communities in networks by learning multiple layers of binary latent features. By integrating node attributes (side information) through a regression model and utilizing a clever "Bernoulli-Poisson" link, the model achieves state-of-the-art link prediction performance while remaining computationally efficient for massive, sparse graphs.

The Challenge with Relational Data

Relational data—essentially graphs representing social networks, biological pathways, or citations—is often complex and highly sparse. Traditional models, such as Stochastic Blockmodels (SBMs), typically use "flat" embeddings, meaning they represent each node with a single vector of latent features.

The authors identify three major gaps in this traditional approach:

  1. Complexity: Real-world networks possess hierarchical structures (communities within communities) that flat models cannot adequately capture.
  2. Sparsity: When very few links are observed, models struggle to learn meaningful representations. Leveraging "side information" (like a user's profile or a paper's abstract) is helpful, but often makes models too complex to scale effectively.
  3. Scalability: Many existing Bayesian models require calculations for every possible pair of nodes ($N^2$), making them unusable for large-scale networks.

The Hierarchical Latent Feature Model (HLFM)

The authors propose HLFM to address these shortcomings. Its architecture is inspired by Deep Sigmoid Belief Networks (DSBNs) but is specifically adapted for relational data.

Graphical representation of the Hierarchical Latent Feature Model (HLFM)
  • Deep Architecture: Instead of a single layer of features, HLFM uses multiple layers. The top layers capture broad "super-groups," while the bottom layers capture specific, granular communities.
  • Incorporating Side Information: The model uses a regression component to map node attributes directly to the first layer of latent features. This is particularly powerful for "cold-start" problems where a new node has no observed links yet.
  • The Bernoulli-Poisson Link: To generate the network, the model assumes links are formed based on latent "counts" derived from node features. This mathematical choice is brilliant because it allows the inference cost to scale with the number of observed edges rather than the number of node pairs. In sparse networks, this provides a massive speedup.
  • Efficient Inference: By using Polya-Gamma augmentation, the authors transform complex logistic-Bernoulli equations into a form that allows for closed-form Gibbs sampling, making the Bayesian learning process much simpler and faster.

Key Insights and Results

The model was evaluated on seven diverse real-world datasets, including protein interactions, co-authorship networks (NIPS, CiteSeer), international disputes (Conflicts), social circles (Facebook), and biological pathways (Metabolic).

AUC performance comparison showing the impact of hierarchy and side information
  • Hierarchy Equals Expressiveness: Moving from a flat model (HLFM-1) to a two-layer model (HLFM-2) significantly boosted link prediction accuracy (AUC), even without side information. This confirms that real networks are inherently hierarchical.
  • Side Info as a Regularizer: In "highly missing" data regimes (where up to 80% of links were hidden), side information acted as a vital guide. The full model (HLFM-2+SideInfo) consistently outperformed baselines that only looked at the graph structure.
  • State-of-the-Art Link Prediction: The two-layer HLFM consistently outperformed competing baselines like HGP-EPM and AGM. For example, on the CiteSeer dataset, HLFM achieved an AUC of 0.919, significantly higher than HGP-EPM's 0.868.
  • Qualitative Discovery: Because the latent features are binary, they are highly interpretable. In the Conflicts dataset, the model discovered "super-groups" in Layer 2 that weren't strictly geographical. For instance, it grouped Iraq with various European countries (like Hungary and Italy) because of their shared involvement in the Gulf War—a relationship defined by interaction rather than just location.
  • Sparsity-Aware Scaling: By focusing computation on observed edges, HLFM's per-iteration time was comparable to the fastest existing models and orders of magnitude faster than other metadata-dependent models, allowing it to handle large-scale networks that would crash traditional SBM-based methods.

Limitations and Future Work

While highly effective, the authors note a few areas for future exploration:

  • Binary Constraints: While binary features aid interpretability, some network relationships might be better modeled with continuous latent values.
  • MCMC Scaling: Although Gibbs sampling is efficient here, for truly "web-scale" graphs with billions of nodes, even edge-based scaling might require moving toward Stochastic Variational Inference (SVI) or online learning.
  • Multi-Relational Data: The current model focuses on a single type of link. Extending this to "multi-relational" data (e.g., a knowledge graph with many different types of predicates) is a promising future direction.

Summary updated

BibTeX
@inproceedings{hu2017deep,
  author = {Changwei Hu and Piyush Rai and Lawrence Carin},
  title = {{Deep Generative Models for Relational Data with Side Information}},
  booktitle = {International Conference on Machine Learning},
  year = {2017},
}
Figure