Bayesian Link Prediction with Deep Graph Convolutional Gaussian Processes

Felix L. Opolka, Pietro LiòAISTATS 2022

Abstract

Link prediction aims to reveal missing edges in a graph. We introduce a deep graph convolutional Gaussian process model for this task, which addresses recent challenges in graph machine learning with oversmoothing and overfitting. Using simplified graph convolutions, we transform a Gaussian process to leverage the topological information of the graph domain. To scale the Gaussian process model to larger graphs, we introduce a variational inducing point method that places pseudo-inputs on a graph-structured domain. Multiple Gaussian processes are assembled into a hierarchy whose structure allows skipping convolutions and thus counteracting oversmoothing. The proposed model represents the first Gaussian process for link prediction that makes use of both node features and topological information. We evaluate our model on multiple graph data sets with up to thousands of nodes and report consistent improvements over competitive link prediction approaches.

Introduction

Link prediction—the task of identifying missing connections between nodes in a network—is a fundamental problem in graph machine learning. Its applications range from social network recommendations to the discovery of novel protein-protein interactions. While Graph Convolutional Networks (GCNs) have become the standard tool for this task, they suffer from two significant limitations: overfitting and oversmoothing.

Overfitting is particularly prevalent in small graphs or those with sparse edge information, where GCNs tend to memorize noise rather than learn underlying structural patterns. Oversmoothing occurs as the depth of the network increases; node representations become increasingly similar, washing out the local signals necessary for accurate link prediction. This paper, presented at AISTATS 2022, introduces Link-DGP, a Bayesian framework that addresses these challenges by combining the principled uncertainty of Deep Gaussian Processes (DGPs) with the structural inductive biases of graph convolutions.

The Link-DGP architecture is constructed through a hierarchical progression that adapts Gaussian Processes (GPs) to the graph domain.

The progression from standard Gaussian Processes to the proposed Deep Graph Convolutional Gaussian Process (Link-DGP).

The foundation of the model is the Node-GP, which transforms a standard GP defined on Euclidean space into a graph-aware model. This is achieved by modifying the kernel using the graph's adjacency matrix through a simplified convolution operation. A key innovation is the introduction of learnable convolution weights ($\lambda$), which allow the model to adaptively determine the optimal degree of smoothing at each layer.

To transition from node-level representations to edge-level predictions, the authors define the Link-GP. This component utilizes a kernel over pairs of nodes, mathematically designed to be invariant to node ordering (ensuring the link between node A and node B is treated identically to the link between B and A).

Deep Hierarchy and Scalability

By stacking multiple Node-GP layers followed by a final Link-GP layer, the model forms a deep hierarchy. To ensure scalability to graphs with thousands of nodes, the authors employ a variational inducing point method. Instead of the standard $O(N^3)$ complexity associated with GPs, they use a smaller "inducing graph" to approximate the posterior, making the model computationally feasible for larger datasets.

Experimental Evaluation

The model was evaluated across six benchmark datasets, including topological-only graphs (USAir, Router, Power, Yeast) and attributed graphs with node features (Cora, Citeseer).

Link-DGP consistently outperformed competitive baselines such as Variational Graph Auto-Encoders (VGAE), SEAL, and Graph2Gauss. For instance, on the Power dataset, Link-DGP achieved an AUC of 97.72%, significantly higher than the 79.23% reported for VGAE.

Robustness and Uncertainty

A major strength of the Bayesian approach is its performance under data scarcity. In experiments where only 20% of edges were known, Link-DGP maintained high performance while GNN-based methods experienced sharp declines. Furthermore, the model provides well-calibrated predictive variance for every link. By filtering out "low-confidence" predictions (those with high variance), the precision of the remaining predictions increases—a critical feature for high-stakes applications like drug discovery where experimental verification is costly.

Discussion and Key Insights

Link-DGP offers several advantages over traditional GNNs:

  • Adaptive Smoothing: Unlike GNNs with fixed convolution layers, Link-DGP learns the degree of smoothing via marginal likelihood maximization. It can effectively "skip" convolutions if they do not improve the model, naturally preventing oversmoothing.
  • No Validation Set Required: Optimized via the Evidence Lower Bound (ELBO), the model does not require a separate validation set for hyperparameter tuning or to prevent overfitting, making it ideal for data-scarce environments.
  • Depth without Decay: Ablation studies confirmed that increasing the depth of the GP hierarchy (up to 4 layers) consistently improved results, demonstrating that the model captures complex patterns without the signal degradation typical of deep GNNs.

While the model handles thousands of nodes efficiently, scaling to millions of nodes remains a challenge due to the inherent computational overhead of Gaussian Processes compared to standard GNNs. Future work may explore more structured inducing graph topologies to further enhance performance and scalability.

Summary updated

BibTeX
@inproceedings{opolka2022bayesian,
  author = {Felix L. Opolka and Pietro Liò},
  title = {{Bayesian Link Prediction with Deep Graph Convolutional Gaussian Processes}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2022},
  url = {https://openreview.net/forum?id=_wNDGoF0rZS},
}
Figure