Mixture of Weak & Strong Experts on Graphs

Hanqing Zeng, Hanjia Lyu, Diyi Hu, Yinglong Xia, Jiebo Luo · DOI

Abstract

Graph Neural Networks (GNNs) typically apply uniform neighborhood aggregation across all nodes, which can be suboptimal in non-homogeneous graphs containing both homophilous and heterophilous regions. We introduce Mowst (Mixture of weak and strong experts), a novel framework that decouples node features from graph structure. By pairing a lightweight Multi-Layer Perceptron (MLP) as a "weak expert" with a standard GNN as a "strong expert," and employing a confidence-based gating mechanism, Mowst intelligently decides whether to rely on local features or neighborhood context. Experimental results demonstrate that Mowst consistently outperforms state-of-the-art GNNs, achieving gains of up to 22.74% on heterophilous datasets while maintaining computational efficiency.

Introduction

Standard GNNs face a "one-size-fits-all" challenge: they apply the same number of aggregation steps to every node. In homophilous regions, simple feature-based classification is often sufficient, whereas in heterophilous regions, excessive message passing can lead to "oversmoothing" and noise introduction. Additionally, the "neighborhood explosion" in deep GNNs makes them computationally expensive. Mowst addresses these issues by introducing an imbalanced mixture-of-experts (MoE) architecture that selectively invokes the GNN only when necessary.

The Mowst Framework

The core of Mowst is the intentional pairing of two asymmetric experts:

  1. The Weak Expert (MLP): Processes only the target node's features, making it extremely fast.
  2. The Strong Expert (GNN): An off-the-shelf model (e.g., GCN, GraphSAGE) that incorporates both node features and neighborhood structure.

Confidence-Based Gating

Mowst employs a gating mechanism based on the dispersion of the weak expert’s prediction. If the MLP produces a high-confidence ("sharp") prediction, the system accepts it, bypassing the GNN. If the MLP is uncertain (high dispersion), the strong GNN expert is triggered to provide structural context.

Overview of the Mowst framework showing the confidence-based gating between the MLP (weak expert) and GNN (strong expert).

Training and Specialization

To ensure effective specialization, the authors utilize an "in-turn training" strategy, alternating updates between the MLP and GNN. This allows the MLP to "own" nodes where self-features are sufficient, effectively filtering out noise and allowing the GNN to focus on nodes where structural information is vital.

Experimental Results

Mowst was evaluated across six diverse node classification benchmarks, including homophilous graphs (e.g., ogbn-arxiv) and heterophilous graphs (e.g., pokec).

Performance comparison of Mowst against various GNN baselines across six datasets.

As shown in the results, Mowst consistently improves upon its base GNN architectures. Notably, on the heterophilous pokec dataset, Mowst-GIN achieved a staggering 22.74% accuracy improvement over the vanilla GIN baseline. Furthermore, because the GNN is only conditionally activated, the average inference cost remains comparable to a single GNN model despite the increased capacity.

Conclusion and Future Work

Mowst demonstrates that an imbalanced MoE approach can significantly enhance GNN performance and stability. By allowing a simple MLP to handle "easy" nodes, the GNN can specialize in complex structural patterns. Future research may explore applying this "weak-strong" paradigm to other domains like computer vision or natural language processing, where data samples vary significantly in complexity.

Summary updated

BibTeX
@inproceedings{zeng2024mixture,
  author = {Hanqing Zeng and Hanjia Lyu and Diyi Hu and Yinglong Xia and Jiebo Luo},
  title = {{Mixture of Weak \& Strong Experts on Graphs}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=wYvuY60SdD},
}
Figure