NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

GNNavigator: Towards Adaptive Training of Graph Neural Networks via Automatic Guideline Exploration

Tong Qiao, Jianlei Yang, Yingjie Qi, Ao Zhou, Chen Bai, Bei Yu, Weisheng Zhao, Chunming Hu

Introduction

Training Graph Neural Networks (GNNs) on large-scale datasets presents a significant challenge due to "neighborhood explosion," where the computational requirements grow exponentially with the number of layers. While various optimization strategies like feature caching and specialized sampling exist, they often lack adaptability across different hardware and datasets. Manually tuning hyperparameters like batch size or cache ratios is labor-intensive and requires deep expertise. GNNavigator addresses these issues by providing an adaptive framework that automates GNN training optimization through a multi-objective search process.

System Architecture

GNNavigator is designed as a meta-layer that sits above existing GNN frameworks. Its architecture is built on four core pillars that transform optimization from a manual task into an automated search problem.

The GNNavigator framework architecture, illustrating the flow from user input through input analysis and automatic guideline generation to the reconfigurable runtime backend.
  1. Unified Abstraction: GNN training is decomposed into four functional categories: sampling, transmission, computation, and model design. This allows diverse optimizations to be represented as a unified set of configurable parameters.
  2. Reconfigurable Runtime Backend: A flexible system capable of mimicking various existing frameworks by simply adjusting these parameters.
  3. "Gray-box" Performance Estimator: This hybrid model combines theoretical analysis with machine learning to accurately predict execution time, memory usage, and accuracy for specific configurations.
  4. Adaptive Guideline Exploration: Utilizing Multi-objective Design Space Exploration (DSE), the system identifies the Pareto front of optimal configurations based on user-defined priorities, such as maximizing speed within a specific memory budget.

Performance Estimation and Insights

A key innovation in GNNavigator is its "gray-box" modeling approach. By analytically formulating the expectation of mini-batch sizes (white-box) and using machine learning to tune penalty functions (black-box), the system achieves high accuracy in performance prediction. This is crucial because "optimal" settings vary significantly depending on the target metric—whether it be time, memory, or accuracy.

Key Results and Trade-offs

Evaluation across industry-standard benchmarks (Ogbn-arxiv, Ogbn-products, Reddit2) and various hardware (RTX 4090, A100) demonstrates GNNavigator's effectiveness. Compared to the PyTorch Geometric (PyG) baseline, it achieves up to a 3.1× speedup and an average of 2.3× acceleration. Peak memory consumption is reduced by up to 44.9%.

Trade-offs in existing frameworks: (a) shows the speedup vs. memory consumption trade-off in PaGraph, while (b) illustrates the epoch time and accuracy trade-off in 2PGraph compared to PaGraph. GNNavigator aims to find superior points on these Pareto fronts.

GNNavigator consistently identifies more efficient trade-offs than specialized frameworks like PaGraph and 2PGraph. By exploring the design space more effectively, it can maintain accuracy within 1-2% of the baseline while significantly improving training efficiency.

Conclusion and Future Work

GNNavigator automates the complex task of GNN optimization, offering significant gains in speed and memory efficiency. While highly effective, future work aims to improve the accuracy of predicting model performance on diverse data distributions and to streamline the integration of new hardware-level primitives into the framework's abstraction layer.

Summary updated

BibTeX
@inproceedings{qiao2024gnnavigator,
  author = {Tong Qiao and Jianlei Yang and Yingjie Qi and Ao Zhou and Chen Bai and Bei Yu and Weisheng Zhao and Chunming Hu},
  title = {{GNNavigator: Towards Adaptive Training of Graph Neural Networks via Automatic Guideline Exploration}},
  booktitle = {DAC},
  year = {2024},
  doi = {10.1145/3649329.3656504},
}
Figure