Abstract
Graph Neural Networks (GNNs) are powerful tools for relational data but face significant challenges regarding inference efficiency and the "confident idiot" problem in semi-supervised settings. We present E2GNN (Efficient Ensemble GNN), a framework that distills the collective knowledge of multiple GNN "teachers" into a single, high-speed Multi-Layer Perceptron (MLP) "student." By employing reinforcement learning to intelligently select which teacher to trust for specific nodes—or to ignore them entirely—E2GNN achieves state-of-the-art accuracy with inference speeds up to 100x faster than traditional ensembles.
Introduction
While GNNs are the gold standard for analyzing relational data, they suffer from two major bottlenecks in production environments. First, inference inefficiency arises from "message passing," where classifying a single node requires fetching data from its neighbors, creating massive data dependencies. Second, the "confident idiot" problem occurs in semi-supervised settings where different GNN architectures often make high-confidence mistakes. Standard ensemble methods like majority voting fail when most models are confidently wrong about a specific node.
E2GNN addresses these issues by creating an ensemble that is both more accurate than its individual components and fast enough for real-time applications.
The E2GNN Framework
The core of E2GNN is a Teacher-Student distillation approach governed by a meta-policy network.
Methodology Components:
- The Teachers: A diverse set of pre-trained GNNs, such as GCN, GAT, and GraphSAGE.
- The Student: A simple Multi-Layer Perceptron (MLP). Because MLPs do not use message passing, they are significantly faster during inference.
- The Meta-Policy: Instead of simple averaging, a policy network uses Reinforcement Learning (RL) to act as a discriminator. It evaluates a node and decides which teacher's prediction is most likely correct.
- The "Null" Action: If the RL agent suspects all teachers are incorrect for a specific node, it triggers a "null" action, instructing the student to rely on its own supervised learning from limited labeled data rather than noisy teacher predictions.
- State Representation: To maintain efficiency, the RL agent uses the hidden representations from the student MLP as its state, avoiding expensive graph convolutions during the selection process.
Experimental Evaluation
The authors evaluated E2GNN on eight benchmark datasets, including citation networks (Cora, CiteSeer, PubMed), social/reference graphs (WikiCS, Coauthor-CS), and the large-scale ogbn-arxiv benchmark. These datasets range from a few thousand to over 160,000 nodes.
Key Results:
- Superior Accuracy: E2GNN consistently outperformed individual GNN teachers and existing ensemble baselines. It improved on the best teacher by 4.56% on WikiCS and 3.28% on CiteSeer.
- Massive Speedups: By distilling knowledge into an MLP, the model eliminates neighbor lookups. On
ogbn-arxiv, E2GNN was 54x faster than GAT and over 100x faster than standard GNN ensembles. - Robustness: The model proved resilient to feature noise and graph structure perturbations, maintaining performance better than standard GNNs.
Analysis of Selective Distillation
A key insight of E2GNN is that different GNN architectures have complementary strengths. As shown in the performance analysis, different models (like GAT vs. GCN) succeed on different nodes.
By acknowledging that teachers are fallible and filtering out "noisy" predictions—roughly 25% of nodes where most GNNs fail—the student model can actually surpass the performance of any individual teacher in the pool.
Limitations and Future Work
While E2GNN is highly effective for node classification, its application to graph-level classification (e.g., molecular property prediction) remains a promising area for future research. Additionally, while inference is extremely fast, the training process involves reinforcement learning, which can be more sensitive to hyperparameter tuning than standard supervised methods. The student's ultimate performance ceiling also remains partially dependent on the diversity and quality of the initial teacher pool.
Summary updated