Abstract
Pre-training Graph Neural Networks (GNNs) on unlabeled data has emerged as a powerful technique for enhancing performance on downstream tasks. However, existing methods often struggle with cross-graph heterogeneity and the sub-optimal weighting of proxy signals, which can lead to negative transfer. This paper introduces MentorGNN, a novel end-to-end framework that addresses these challenges through a multi-scale encoder-decoder architecture and an automated curriculum learning paradigm. By hierarchically mapping graphs at multiple granularities and dynamically weighting proxy signals via a teacher-student setup, MentorGNN effectively transfers knowledge between disparate domains without manual hyperparameter tuning. Experimental results on citation and social network benchmarks demonstrate that MentorGNN consistently outperforms state-of-the-art baselines, providing a robust solution for domain-adaptive graph pre-training.
Introduction
The efficacy of GNNs is often limited by the availability of labeled data. Pre-training strategies mitigate this by learning structural representations from large-scale unlabeled graphs using proxy signals such as masked node attributes, relations, or subgraphs. Despite their success, two significant hurdles persist: cross-graph heterogeneity and graph-signal heterogeneity. Source and target graphs frequently possess distinct structures and feature spaces, making direct knowledge transfer difficult. Furthermore, not all proxy signals are equally beneficial for a given target task; improper weighting can introduce human bias and result in negative transfer, where irrelevant source information degrades target performance.
Methodology
MentorGNN tackles these challenges through two primary modules designed to handle structural diversity and optimize signal selection.
Multi-Scale Encoder-Decoder
To handle different graph structures, MentorGNN avoids direct node-to-node mapping. Instead, it employs a hierarchical approach that recursively "pools" nodes into coarser "supernodes" across multiple levels of granularity. This allows the model to learn translation functions at higher semantic levels, capturing shared organizational patterns—such as community structures—that persist even across heterogeneous domains (e.g., transitioning from book review networks to movie review networks).
Curriculum Learning Paradigm
To solve the weighting problem, MentorGNN adopts a teacher-student training setup. The student GNN learns to represent the graph by predicting proxy signals, while the teacher model automatically calculates an "attention weight" for each signal. The training follows a curriculum that starts with "easy" concepts—signals that align well with the target domain—and gradually introduces "harder" ones. This ensures the model focuses on the most relevant information first, preventing noisy or irrelevant data from causing negative transfer. This approach is theoretically supported by a new, tighter generalization bound for domain-adaptive graph pre-training derived by the authors.
Experiments and Results
The model was evaluated using several benchmarks, including citation networks (Cora, CiteSeer, PubMed) as source graphs and social networks (Reddit) as target graphs.
- Accuracy Boost: In the Cora -> Reddit2 transfer task, MentorGNN achieved 98.15% accuracy, significantly higher than the best baseline (GPT-GNN at 96.14%).
- Multi-Source Strength: When pre-trained on Cora, CiteSeer, and PubMed simultaneously, the model's performance on Reddit1 improved by 0.72% compared to using a single source, demonstrating its ability to aggregate diverse knowledge.
- Temporal Modeling: In a case study using the DPPIN-Breitkreutz dynamic protein-protein interaction graph, MentorGNN successfully reconstructed future network states, showing it can capture complex temporal patterns.
Conclusion
MentorGNN provides a robust framework for pre-training GNNs across disparate domains by automating curriculum derivation and leveraging hierarchical graph mapping. By mitigating negative transfer and eliminating the need for manual hyperparameter tuning, it sets a new standard for domain-adaptive graph learning. Future work will address scalability for web-scale graphs and explore fully unsupervised curriculum derivation to further reduce dependency on labeled target data.
Summary updated