Ensemble Learning for Graph Neural Networks

Zhen Hao Wong, Ling Yue, Quanming YaoarXiv 2023 · DOI

Introduction

Graph Neural Networks (GNNs) have become the standard for modeling relational data, yet they face a persistent challenge: the trade-off between model complexity and generalization. As GNNs are scaled to capture intricate graph structures, they often become prone to overfitting, where the model memorizes training data rather than learning generalizable patterns. Standard regularization techniques, such as Dropout, frequently prove insufficient for complex tasks like link prediction.

Furthermore, different GNN architectures exhibit distinct inductive biases. Some models prioritize local node features, while others focus on global structural patterns. In complex domains like drug-drug interaction (DDI) prediction, no single architecture is likely to be optimal for every edge in the graph. This paper presents ELGNN (Ensemble Learning for Graph Neural Networks), a framework that addresses these limitations by treating link prediction as a committee-based decision process.

Methods

The ELGNN framework leverages an ensemble of diverse, high-performing "base models" to improve overall prediction accuracy and robustness.

The ELGNN framework pipeline, illustrating the flow from training graph to ensemble prediction.

The methodology consists of three primary components:

  1. Base Model Selection: Instead of using numerous weak learners, ELGNN selects a few "heavy hitters" that have demonstrated strong performance on the Open Graph Benchmark (OGB). The chosen models include AGDN (Adaptive Graph Diffusion Network), which focuses on multi-hop information; GIDN (Graph Inception Diffusion Network), which uses inception-style modules for multi-level abstraction; and PSG (Path-aware Siamese GNN), which captures relay path information.
  2. Weighted Voting: The framework moves beyond simple averaging by employing a weighted combination of prediction scores from the base models.
  3. TPE Optimization: The core innovation is the use of the Tree-Structured Parzen Estimator (TPE) for weight optimization. Typically used for hyperparameter tuning, TPE is repurposed here to find the optimal weight ($\alpha$) for each base model. This Bayesian optimization approach allows the system to adaptively learn which model's "opinion" should be prioritized to maximize the final ensemble score.

Key Results

The ELGNN framework was evaluated on the ogbl-ddi dataset, a homogeneous graph representing drug-drug interactions. The task is link prediction, specifically ranking true interactions higher than non-interacting pairs.

Performance comparison of ELGNN against baseline GNN models on the ogbl-ddi dataset.

ELGNN achieved a new state-of-the-art result on the ogbl-ddi leaderboard with a Hits@20 score of 0.9777 on the test set. This represents a 2.3% improvement over the previous leading model, GIDN (0.9542). Ablation studies confirmed the superiority of the TPE-optimized ensemble, which significantly outperformed a simple averaging baseline (0.9095 vs. 0.8549 on the validation set), demonstrating that intelligent weight allocation is critical to the model's success.

Discussion and Conclusion

The success of ELGNN demonstrates that combining a few highly effective, diverse models is superior to relying on a single monolithic architecture. By ensembling, ELGNN balances models with different structural focuses, preventing the information loss that occurs when a single inductive bias is chosen. Additionally, because base models are trained independently, the framework is highly parallelizable and computationally efficient.

Future work will focus on improving the interpretability of the learned weights and exploring the integration of non-neural heuristic graph algorithms to provide complementary signals. The authors also plan to extend the ELGNN framework to a wider variety of graph datasets to further validate its versatility.

Summary updated

Abstract

Graph Neural Networks (GNNs) have shown success in various fields for learning from graph-structured data. This paper investigates the application of ensemble learning techniques to improve the performance and robustness of Graph Neural Networks (GNNs). By training multiple GNN models with diverse initializations or architectures, we create an ensemble model named ELGNN that captures various aspects of the data and uses the Tree-Structured Parzen Estimator algorithm to determine the ensemble weights. Combining the predictions of these models enhances overall accuracy, reduces bias and variance, and mitigates the impact of noisy data. Our findings demonstrate the efficacy of ensemble learning in enhancing GNN capabilities for analyzing complex graph-structured data. The code is public at https://github.com/wongzhenhao/ELGNN.
BibTeX
@misc{wong2023ensemble,
  author = {Zhen Hao Wong and Ling Yue and Quanming Yao},
  title = {{Ensemble Learning for Graph Neural Networks}},
  year = {2023},
  eprint = {2310.14166},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.14166},
}
Figure