Bayesian Graph Convolutional Neural Networks for Semi-Supervised Classification

Yingxue Zhang, Soumyasundar Pal, Mark Coates, Deniz Üstebay

Introduction

Graph Convolutional Neural Networks (GCNNs) have emerged as a powerful paradigm for semi-supervised learning on graph-structured data. However, a significant limitation of standard GCNN architectures is their reliance on the input adjacency matrix as a fixed, ground-truth representation of the data topology. In real-world scenarios, graphs are often derived from noisy sensors, incomplete logs, or heuristic modeling assumptions, leading to spurious or missing edges. This structural uncertainty makes standard GCNNs brittle, often resulting in overconfident predictions and poor robustness to noise or adversarial perturbations.

This paper introduces a Bayesian GCNN framework that addresses these challenges by treating the graph structure as a random variable. By integrating over a family of possible graphs, the model accounts for structural uncertainty, providing more robust classification and better performance, particularly when training labels are scarce.

Methodology

The proposed framework shifts from a deterministic view of the graph to a probabilistic one. Instead of training on a single observed graph $G_{obs}$, the authors target the joint posterior distribution of the graph parameters ($\lambda$), the latent "true" graph structure ($G$), and the neural network weights ($W$).

The Generative Model

To model the graph structure, the authors employ an Assortative Mixed-Membership Stochastic Block Model (aMMSBM). This choice assumes that nodes belong to various communities and are more likely to form connections if they share community memberships. This prior encourages the model to learn a "denoised" version of the graph that emphasizes community structure.

Joint Inference and Approximation

Since exact Bayesian inference is computationally intractable for this model, the authors utilize a Monte Carlo approximation strategy:

  1. Community Learning: The model first learns the underlying community structure of the observed graph.
  2. Graph Sampling: Multiple candidate graphs are sampled from the learned stochastic block model.
  3. Ensemble Prediction: A GCNN is executed over these sampled graphs. To further account for model uncertainty, Monte Carlo Dropout is applied to the neural network weights.

By averaging predictions across both different sampled topologies and different dropout masks, the framework effectively marginalizes out the uncertainty in both the graph structure and the model weights.

Experimental Results

The Bayesian GCNN was evaluated on three standard citation network benchmarks: Cora, CiteSeer, and Pubmed. In these datasets, nodes represent documents, features are word counts, and edges denote citations.

Performance with Scarce Labels

A key finding is that the Bayesian approach significantly outperforms standard GCNNs and Graph Attention Networks (GATs) when training labels are extremely limited. For instance, on the Cora dataset with only 5 labels per class, the Bayesian GCN achieved 74.6% accuracy, compared to 70.0% for a standard GCNN.

Performance comparison across different label counts and split types.

As shown in the table above, the Bayesian GCN consistently maintains a performance lead across various label counts (5, 10, and 20 labels per class) and split types, demonstrating its ability to extract a stronger structural signal from limited data.

Robustness and Denoising

The Bayesian framework acts as a natural denoiser. By sampling from a community-based model, it tends to ignore inter-community edges that are likely to be noise and reinforces intra-community edges that may be missing. This leads to significantly higher robustness against graph perturbations.

Classification margins for GCNN and Bayesian GCNN before and after graph perturbations.

In adversarial scenarios where edges were randomly deleted or added, the standard GCNN's accuracy on Cora dropped from 85.5% to 55.5%. In contrast, the Bayesian GCN proved much more resilient, maintaining an accuracy of 69.5%. The classification margins illustrated in the figure above highlight how the Bayesian approach preserves a more distinct separation between classes even after the graph structure is compromised.

Discussion and Limitations

While the Bayesian GCNN offers superior robustness, it comes with increased computational costs due to the sampling process and multiple forward passes. Furthermore, the model's effectiveness is partially dependent on the choice of the underlying random graph model. For example, the model performed slightly worse on the Pubmed dataset, which features a heavy-tailed degree distribution that the aMMSBM does not fit perfectly. Future work may involve exploring more flexible graph priors, such as degree-corrected models, to broaden the framework's applicability to diverse graph topologies.

Summary updated

BibTeX
@inproceedings{zhang2019bayesian,
  author = {Yingxue Zhang and Soumyasundar Pal and Mark Coates and Deniz Üstebay},
  title = {{Bayesian Graph Convolutional Neural Networks for Semi-Supervised Classification}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33015829},
}
Figure