TL;DR
Researchers have developed MoE-NP, a "Mixture of Experts" framework that adaptively selects the best Graph Neural Network (GNN) for each individual node in a graph. By analyzing local structural patterns and global context, MoE-NP outperforms state-of-the-art models on both homophilic (similar neighbors) and heterophilic (dissimilar neighbors) datasets.
What Problem Does This Paper Address?
Most Graph Neural Networks are built on the homophily assumption: the idea that nodes are likely to share labels with their neighbors (e.g., a computer science paper usually cites other computer science papers). However, real-world graphs are often heterophilic—think of a dating app where users mostly connect with people of a different gender.
While researchers have built specific models for heterophily, the authors of this paper argue that even a single graph contains a "mixture" of patterns. Some nodes follow the rules of homophily, while others are outliers or have unique connectivity based on their degree (number of connections). A standard GNN applies the same mathematical "filter" to every node, which leads to suboptimal performance. The challenge is: how do we identify which "expert" model should handle which node?
Methods
The authors propose MoE-NP (Mixture of Experts for Node Patterns), which consists of three main components:
- Node Pattern Extractor: Since we don't know the labels of test nodes, the system uses a clever workaround. It performs random walks to sample a node's neighborhood and uses an Edge Discriminator (an MLP) to predict the relationship between a node and its neighbors based on features. It combines this with the node's degree to create a "local pattern" signature.
- Gating Model: This is the "brain" of the system. It takes the local pattern and compares it to the global graph pattern (the average of all local patterns). By looking at both the node and the "big picture," an MLP outputs weights (probabilities) for each expert.
- The Experts: The framework uses five diverse predictors:
- Standard GCN (good for homophily).
- High-pass GNN (good for heterophily).
- MLP (ignores graph structure, focusing only on node attributes).
- Residual versions of the GNNs to prevent "over-smoothing" (loss of distinct information).
The model is trained using a two-stage approach. Interestingly, the authors found that training experts on a smaller subset of data before training the gating network prevents the gating network from "getting lazy" and helps it learn more nuanced selection strategies.
Datasets
The authors evaluated MoE-NP on seven widely-used benchmarks:
- Homophilic Datasets: Cora and PubMed (citation networks).
- Heterophilic Datasets: Texas, Wisconsin, Cornell (webpage links), Chameleon (Wikipedia pages), and Actor (actor co-occurrence).
Key Insights and Ideas
- Pattern Diversity is Real: The paper provides empirical evidence that even in "homophilic" graphs like PubMed, nodes with different degrees prefer different classifiers. A "one-size-fits-all" approach is mathematically destined to fail some nodes.
- Global Context Matters: The gating network performs significantly better when it knows the overall "vibe" of the graph. An ablation study showed that removing the global pattern component led to a noticeable drop in accuracy.
- The "Few-Samples" Trick: If you fully train your experts first, the gating network has a hard time finding room to improve. By training experts on fewer samples initially, the authors created a "gradient space" that allowed the gating network to learn more effective routing.
- Theoretical Grounding: The authors provide a mathematical proof (extending the Contextual Stochastic Block Model) showing that a single linear classifier's loss becomes significantly large when the "sign" of homophily or the degree distribution shifts between training and testing.
Key Results
MoE-NP achieved the highest average rank (1.43) across all tested datasets compared to seven other state-of-the-art baselines.
- PubMed: Improved accuracy by 4.4% over the best baseline.
- Actor: Improved accuracy by 3.4%.
- Consistency: Unlike other models that perform well on homophilic graphs but fail on heterophilic ones (or vice versa), MoE-NP remained a top performer across the board.
Limitations and Future Work
The authors acknowledge that while MoE-NP is highly effective, the gating model sometimes fails to capture the most nuanced interaction patterns in datasets with "mixed" homophily levels.
Future directions include: * Integrating more advanced "expert" models into the framework. * Developing more adaptive training strategies. * Using structured regularization techniques to help the gating network better understand complex graph topologies.
Summary updated