Bayesian Graph Convolutional Neural Networks using Node Copying

Soumyasundar Pal, Florence Regol, Mark CoatesarXiv 2019

Abstract

Graph convolutional neural networks (GCNN) have numerous applications in different graph-based learning tasks. Although these techniques obtain impressive results, they often fall short in accounting for the uncertainty associated with the underlying graph structure. In the recently proposed Bayesian GCNN (BGCN) framework, this issue is tackled by viewing the observed graph as a sample from a parametric random graph model and targeting joint inference of the graph and the GCNN weights. In this paper, we introduce an alternative generative model for graphs based on copying nodes and incorporate it within the BGCN framework. Our approach has the benefit that it uses information provided by the node features and training labels in the graph topology inference. Experiments show that the proposed algorithm compares favorably to the state-of-the-art in benchmark node classification tasks.

Introduction

Most Graph Convolutional Neural Networks (GCNNs) treat the input graph as a fixed "ground truth." However, real-world graphs are frequently noisy, incomplete, or constructed based on inaccurate assumptions. Flaws in the graph structure—such as spurious edges between unrelated nodes or missing edges between similar ones—can significantly degrade GCNN performance.

While previous Bayesian frameworks have attempted to treat the graph as a random variable, they often relied on complex parametric models that focused solely on topology, ignoring the rich information in node features and training labels. Furthermore, these methods were often computationally expensive, typically exhibiting $O(N^2)$ complexity.

Methodology

We propose a Bayesian GCNN using Node Copying, which introduces a computationally efficient generative model for graphs that scales linearly ($O(N)$) with the number of nodes. The process follows four key steps:

  1. Base Classification: A standard GCNN is trained to provide initial label predictions for all nodes.
  2. Node Grouping: Nodes are partitioned into sets based on these predicted labels.
  3. Node Copying: To generate a sampled graph, the algorithm examines each node. With a high probability, it retains the node's original edges. However, with a small probability ($\epsilon$), it replaces those edges with the edges of another randomly selected node sharing the same predicted label.
  4. Joint Inference: The framework performs joint inference over the graph structure and network weights using Monte Carlo sampling. Monte Carlo Dropout is employed to sample neural network weights, treating the model as a Bayesian ensemble.

This approach leverages the intuition that nodes with similar features and labels should exhibit similar connectivity patterns, allowing the model to "fill in" missing links or ignore spurious ones.

Experimental Results

The proposed BGCN was evaluated on three standard citation network benchmarks: Cora, CiteSeer, and Pubmed. We focused specifically on scenarios with label scarcity (5, 10, and 20 labels per class) using both fixed and random splits.

Performance and Label Scarcity

The proposed method consistently outperformed ChebyNet, standard GCNNs, Graph Attention Networks (GAT), and previous Bayesian GCN approaches. The performance boost was most significant when training data was extremely limited. For instance, on the Pubmed dataset with only 5 labels per class, the proposed method achieved 71.0% accuracy, compared to 69.7% for a standard GCNN.

Classification accuracy on random splits with varying label counts (5, 10, and 20 labels per class).

Error Correction and Node Degree

A key insight from our analysis is that the node-copying mechanism specifically aids nodes with low degrees. These nodes typically have fewer connections and are the most difficult for standard GCNNs to classify correctly. By exploring a distribution of possible graphs, the BGCN effectively "corrects" errors made by the base classifier for these poorly connected nodes.

Analysis of errors fixed vs. introduced by BGCN, categorized by node degree ($\le$ or $>$ threshold). (a) Cora, (b) CiteSeer.

Conclusion

By moving from heavy parametric random graph models to a simple node-copying heuristic, we achieved state-of-the-art results with lower computational overhead. The Bayesian approach acts as a powerful regularizer, making GCNNs more robust to noisy graph structures and label scarcity. Future work will explore applying this framework to other tasks such as link prediction and graph classification.

Summary updated

BibTeX
@misc{pal2019bayesian,
  author = {Soumyasundar Pal and Florence Regol and Mark Coates},
  title = {{Bayesian Graph Convolutional Neural Networks using Node Copying}},
  year = {2019},
  eprint = {1911.04965},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.04965},
}
Figure