Abstract
Graph Neural Networks (GNNs) typically rely on message passing, which assumes homophily and can be computationally expensive. We present Edge-Splitting MLP (ES-MLP), an architecture that handles both homophilic and heterophilic graphs without message passing during inference. By partitioning edges into task-relevant and irrelevant sets during training and employing a neighborhood contrastive loss, ES-MLP achieves state-of-the-art performance. It offers 2–5x faster inference and superior robustness to edge noise compared to traditional GNNs.
Introduction
Standard GNNs leverage message passing to aggregate features from neighboring nodes. This paradigm works well for homophilic graphs where neighbors share labels but often fails on heterophilic graphs where connected nodes are dissimilar. Furthermore, message passing introduces significant computational overhead and vulnerability to structural noise at test time. ES-MLP addresses these challenges by learning to encode graph structure into node embeddings during training, allowing for "graph-less" inference that is as fast as a standard Multi-Layer Perceptron (MLP).
Methods
ES-MLP builds upon the concepts of Graph-MLP and ES-GNN by introducing a dual-channel projection and an edge-splitting mechanism.
The architecture consists of several key technical components:
- Dual-Channel Projection: Node features are projected into two separate subspaces: Task-Relevant ($R$) and Task-Irrelevant ($IR$).
- Edge-Splitting Mechanism: During training, the model learns to partition the graph's edges by calculating splitting coefficients. This determines if a connection provides useful information for classification or constitutes noise.
- Neighborhood Contrastive Loss: Instead of passing messages, the model uses a loss function that pulls "relevant" neighbors closer in the embedding space and pushes "irrelevant" or non-neighbors further away.
- Irrelevant Consistency Regularization (ICR): This loss term ensures the $IR$ channel captures heterophilic patterns or noise, preventing them from polluting the main classification task.
Experiments and Results
The model was evaluated on seven real-world datasets, including homophilic citation networks (Cora, CiteSeer, PubMed) and heterophilic graphs (Actor, Roman-empire, Amazon-ratings).
ES-MLP demonstrates competitive or superior performance across both homophilic and heterophilic benchmarks. Notably, it significantly outperforms Graph-MLP on heterophilic datasets like Amazon-ratings, improving accuracy by up to 11 points.
Key Insights
- The "Graph-less" Advantage: Because ES-MLP does not use edges during inference, it is immune to edge noise introduced after training. While traditional GNNs can lose up to 12.7% accuracy under 20% noise, ES-MLP’s performance remains perfectly stable.
- Efficiency: Inference is 2 to 5 times faster than commonly used message-passing networks like GCN or GraphSAGE.
- Limitations: The model performs poorly on purely structural tasks, such as the "Minesweeper" problem, where node features are uninformative and classification depends entirely on neighbor features.
Conclusion
ES-MLP provides a robust and efficient alternative to message-passing GNNs. By effectively learning which neighborhood patterns are meaningful during training, it achieves high accuracy while maintaining the speed and simplicity of an MLP at test time. Future work will explore extensions to directed graphs and hybrid approaches for purely structural tasks without sacrificing the model's inherent robustness.
Summary updated