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

Relational Deep Learning: A Deep Latent Variable Model for Link Prediction

Hao Wang, Xingjian Shi, Dit-Yan Yeung

Introduction

Link prediction is a fundamental task in network analysis, with applications ranging from citation recommendation to social network discovery. While traditional methods have relied on either graph structure or node attributes, hybrid approaches that combine both have shown the most promise. However, existing hybrid models often rely on "shallow" generative processes, such as the Relational Topic Model (RTM), which struggle to capture complex, high-dimensional patterns in node content.

This paper introduces Relational Deep Learning (RDL), a hierarchical Bayesian framework that brings the power of deep latent variable models to link prediction. By jointly learning deep representations of node attributes and network structures, RDL significantly outperforms traditional topic-model-based approaches.

Methodology

The core of RDL is the integration of a probabilistic Stacked Denoising Autoencoder (pSDAE) within a relational framework. Unlike standard deep learning models that assume independent and identically distributed (i.i.d.) data, RDL treats links as primary signals that influence the feature extraction process.

Model Architecture

The model consists of multiple layers of latent variables. The lower layers function as an encoder for high-dimensional node attributes (e.g., bag-of-words text from document abstracts), while the top layer generates the features used for link prediction. This hierarchical structure allows the model to extract increasingly abstract features that are optimized for the relational task.

Figure 1: Graphical representation of the RDL model, showing the hierarchical structure and joint modeling of node attributes (x) and links (l).

Generalized Variational Inference (GVI)

Inference in RDL is challenging due to the non-linear transformations across multiple layers. To address this, the authors propose a Generalized Variational Inference (GVI) algorithm utilizing a Product of Gaussians (PoG) structure. This approach fuses information from two sources:

  1. Content-based Gaussian: Captures information from the node's own attributes.
  2. Relational Gaussian: Captures information from the node's neighborhood in the graph.

By multiplying these distributions, the model derives a refined relational representation that balances local content with global network structure.

Experimental Results

RDL was evaluated on three citation datasets: citeulike-a, citeulike-t, and arXiv. The model was compared against several strong baselines, including Collective Matrix Factorization (CMF), RTM, and the discriminative gRTM.

Performance Metrics

The primary metrics used for evaluation were Link Rank (where lower is better) and AUC (Area Under Curve). Across all datasets and various latent dimensions ($K$), RDL consistently outperformed the baselines.

Figure 3: Performance comparison on the citeulike-a dataset. RDL significantly outperforms baselines in both Link Rank (left) and AUC (right) as the number of latent dimensions (K) increases.

As shown in Figure 3, RDL achieves a significantly lower Link Rank and higher AUC compared to gRTM and CMF. For instance, on the citeulike-a dataset with $K=50$, RDL reached a Link Rank of 495, a substantial improvement over gRTM's 744. Similar gains were observed on the dense arXiv dataset, where RDL achieved an AUC of 90.52%, compared to 86.78% for gRTM.

Discussion and Key Insights

The success of RDL highlights several critical points in relational modeling:

  • Depth is Beneficial: Multi-layer architectures (2-3 layers) consistently outperformed single-layer versions, confirming that hierarchical feature extraction is vital for complex relational data.
  • Bayesian Robustness: The use of a full Bayesian treatment via GVI provided a ~5% performance boost over point-estimate methods by better accounting for uncertainty in latent features.
  • Effective Information Fusion: The PoG mechanism provides a mathematically principled way to integrate attribute and link information, leading to more coherent latent spaces.

Conclusion

Relational Deep Learning successfully bridges the gap between deep feature extraction and relational modeling. By moving beyond shallow generative processes, RDL provides a robust framework for link prediction in large-scale networks. Future work may explore extending this GVI framework to other architectures, such as Graph Convolutional Networks (GCNs), or applying it to multi-relational datasets.

Summary updated

BibTeX
@inproceedings{wang2017relational,
  author = {Hao Wang and Xingjian Shi and Dit-Yan Yeung},
  title = {{Relational Deep Learning: A Deep Latent Variable Model for Link Prediction}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.1609/aaai.v31i1.10805},
}
Figure