TL;DR
MLPInit is a remarkably simple technique that accelerates Graph Neural Network (GNN) training by up to 33×. By first training a "PeerMLP"—a graph-agnostic version of the GNN—and using its weights as an initialization, researchers can achieve faster convergence and significantly higher prediction accuracy across diverse graph tasks.
What Problem Does This Paper Address?
Graph Neural Networks (GNNs) have become the gold standard for learning on relational data, but they come with a heavy "graph tax." Training GNNs on massive datasets is notoriously slow because every layer requires neighbor aggregation—a process involving expensive sparse matrix multiplications (SpMM) that create significant computational overhead.
While Multi-Layer Perceptrons (MLPs) are much faster because they only look at individual node features, they typically perform poorly on graph tasks because they ignore the structural context. The researchers asked a clever question: Can we use the speed of MLPs to give GNNs a "head start"?
Methods
The authors introduce MLPInit, a three-step training pipeline:
- Derive a PeerMLP: For any message-passing GNN, you can create a "PeerMLP" by simply removing the neighbor aggregation steps. Because the weight matrices in both models have the same dimensions, they share an identical weight space.
- Pre-train the PeerMLP: Train this MLP using only node features and labels until it converges. This is extremely fast because it avoids all graph-related overhead.
- Initialize and Fine-tune: Transfer the converged MLP weights to the target GNN. Then, perform a small number of fine-tuning epochs on the GNN, now allowing it to use the graph structure to refine the representations.
This approach is "embarrassingly simple" because it requires almost no code changes to existing GNN pipelines—just a weight-loading step.
Datasets
The authors validated MLPInit on a wide array of large-scale benchmarks:
- Node Classification: OGB-arxiv, OGB-products, Flickr, Yelp, Reddit, Reddit2, and AmazonProducts.
- Link Prediction: Cora, CiteSeer, PubMed, CoraFull, CS, Physics, A-Photo, and A-Computers. These datasets range from citation networks to massive product co-purchasing graphs, providing a robust test of the method's versatility.
Key Insights and Ideas
- The Shared Weight Space: The most profound insight is that GNNs and MLPs are structurally more similar than we often treat them. A GNN layer is essentially a feature transformation (MLP-like) followed by a neighbor aggregation. MLPInit proves that the "feature transformation" part can be learned independently and transferred.
- GNNs as Refiners: The paper shows that GNNs initialized with MLP weights immediately show lower loss than randomly initialized GNNs. This suggests that the MLP provides a high-quality "base" representation, allowing the GNN to focus its training on the much harder task of structural refinement.
- Loss Landscape Smoothing: Visualization of the loss landscapes reveals that MLPInit leads the GNN into a much larger and flatter "low-loss area." This explains why the models become less sensitive to hyperparameter choices like learning rate or dropout.
- The "Graph Tax" is Front-Loaded: Much of the early training time in a standard GNN is spent learning basic feature correlations that don't actually require the graph structure. Offloading this to an MLP saves massive amounts of compute time.
Key Results
- Massive Speedups: On the
ogbn-productsdataset, MLPInit achieved a 33× speedup for GCN training. Across most datasets, GNNs reached comparable performance in less than half the epochs required by random initialization.
- Accuracy Boosts: Surprisingly, MLPInit doesn't just make training faster; it makes it better. They observed a 7.97% average improvement for GraphSAGE on node classification and up to 17.81% improvement in link prediction (Hits@10).
- Orthogonality: Because it is an initialization method, it can be combined with other acceleration techniques like graph sampling or quantization for even greater efficiency.
Limitations and Future Work
The authors acknowledge that MLPInit relies on a correlation between node features and labels. If the node features are entirely uninformative (e.g., random noise), the PeerMLP will learn nothing useful, and the initialization will fail to provide a benefit. They demonstrated this using synthetic graphs with varying levels of feature-label correlation.
Future work could explore applying this paradigm to more complex GNN architectures (like Graph Transformers) or investigating if this "MLP-first" approach can help mitigate issues like over-smoothing in very deep GNNs.
Summary updated