Mutual information based Bayesian graph neural network for few-shot learning

Kaiyu Song, Kun Yue, Liang Duan, Mingze Yang, Angsheng LiUAI 2022

Abstract

In deep neural network-based few-shot learning, limited training data often causes networks to extract ineffective features, leading to inaccurate results. This paper proposes a novel framework, BGSMI (Bayesian Graph Sampling with Mutual Information), which leverages Bayesian Graph Neural Networks (BGNN) and Mutual Information (MI) maximization to enhance performance in few-shot learning on graphs. By treating hidden layers as nodes in a continuous Bayesian Network, the model captures deep feature correlations, significantly boosting accuracy and mitigating the over-smoothing effect common in deep GNNs.

Introduction

Few-shot learning (FSL) represents a significant challenge in artificial intelligence: teaching models to generalize from only a handful of examples. In the context of Graph Neural Networks (GNNs), this is particularly difficult because limited data often leads to over-fitting or the extraction of noisy, non-representative features. While Bayesian Graph Neural Networks (BGNNs) help by modeling uncertainty, they frequently encounter two major hurdles: over-fitting to small training sets and over-smoothing, where node representations become indistinguishable as network depth increases.

To address these issues, the authors propose that quantifying and maximizing the correlation between successive layers can force the model to learn more robust features. By maximizing the Mutual Information (MI) between hidden layers, the network is incentivized to preserve informative signals throughout its forward pass.

The BGSMI Framework

The BGSMI framework integrates several advanced components to achieve robust few-shot learning:

  1. Bayesian Graph Sampling (BGS): The base model utilizes a Bayesian GCN with adaptive connection sampling to handle uncertainty in the underlying graph structure.
  2. MI Approximation via BNCV: Since calculating MI for continuous variables is computationally expensive, the authors construct a Bayesian Network with Continuous Variables (BNCV) over the GNN's hidden layers. They use dropout-generated probability distributions as a proxy for these variables.
  3. Probabilistic Inference: Monte Carlo integration is applied over the BNCV to efficiently approximate the MI between neighboring layers.
  4. MI-Driven Loss Function: The approximated MI is incorporated into the training loss, rewarding the model for maintaining high correlation between layers and ensuring a stable flow of information.
The BGSMI framework architecture, illustrating the interaction between the Bayesian Graph Sampling (BGS) and the Bayesian Network with Continuous Variables (BNCV) for MI approximation.

Experimental Evaluation

The model was evaluated on two standard citation network benchmarks: Cora (2,708 publications, 7 classes) and Citeseer (3,327 papers, 6 classes). Experiments were conducted under various "n-way k-shot" scenarios to test the model's ability to learn from minimal labeled data.

Key Results and Insights

BGSMI consistently outperformed state-of-the-art competitors, including GCN, GAT, MAML, and RALE:

  • Accuracy Gains: On the Cora dataset (1-way 3-shot), BGSMI achieved 77.0% accuracy, a nearly 2% improvement over the next best model. On Citeseer (3-way 5-shot), it reached 85.5% accuracy, outperforming competitors by over 4%.
  • Stability Against Over-smoothing: Unlike standard GNNs that degrade with depth, BGSMI remained stable or improved as depth increased from 2 to 6 layers. The MI term ensures that deeper layers maintain informative correlations with previous ones.
  • Noise Robustness: The model demonstrated remarkable resilience to Gaussian noise added to training data, maintaining performance levels close to noise-free scenarios.
Performance analysis of BGSMI across different network depths and in the presence of noise on Cora and Citeseer datasets.

Conclusion

BGSMI represents a significant advancement in few-shot graph learning by using Mutual Information as a powerful regularizer. This approach prevents the premature discarding of useful features and effectively combats the over-smoothing problem in deep architectures. Future work will focus on active noise filtration during feature extraction and improving the interpretability of the relationship between GNN layers and the BNCV components.

Summary updated

BibTeX
@inproceedings{song2022mutual,
  author = {Kaiyu Song and Kun Yue and Liang Duan and Mingze Yang and Angsheng Li},
  title = {{Mutual information based Bayesian graph neural network for few-shot learning}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2022},
  url = {https://openreview.net/forum?id=eEVT04EbG7},
}
Figure