Skip to main content
QUICK REVIEW

[Paper Review] Graph Neural Network Training Systems: A Performance Comparison of Full-Graph and Mini-Batch

Saurabh Bajaj, Son, Hojae|arXiv (Cornell University)|Jun 1, 2024
Advanced Graph Neural NetworksComputer Science3 citations
TL;DR

This paper provides a comprehensive empirical comparison of full-graph and mini-batch training systems for Graph Neural Networks (GNNs), evaluating representative systems across multiple datasets, GNN architectures, and hardware configurations. It finds that mini-batch training consistently converges 2.4× to 15.2× faster than full-graph training while achieving comparable accuracy, highlighting the importance of using time-to-accuracy as a performance metric and separate hyperparameter tuning for each method.

ABSTRACT

Graph Neural Networks (GNNs) have gained significant attention in recent years due to their ability to learn representations of graph-structured data. Two common methods for training GNNs are mini-batch training and full-graph training. Since these two methods require different training pipelines and systems optimizations, two separate classes of GNN training systems emerged, each tailored for one method. Works that introduce systems belonging to a particular category predominantly compare them with other systems within the same category, offering limited or no comparison with systems from the other category. Some prior work also justifies its focus on one specific training method by arguing that it achieves higher accuracy than the alternative. The literature, however, has incomplete and contradictory evidence in this regard. In this paper, we provide a comprehensive empirical comparison of representative full-graph and mini-batch GNN training systems. We find that the mini-batch training systems consistently converge faster than the full-graph training ones across multiple datasets, GNN models, and system configurations. We also find that mini-batch training techniques converge to similar to or often higher accuracy values than full-graph training ones, showing that mini-batch sampling is not necessarily detrimental to accuracy. Our work highlights the importance of comparing systems across different classes, using time-to-accuracy rather than epoch time for performance comparison, and selecting appropriate hyperparameters for each training method separately.

Motivation & Objective

  • To address the lack of consistent empirical comparison between full-graph and mini-batch GNN training systems in the literature.
  • To evaluate the performance trade-offs between full-graph and mini-batch training methods using representative systems across diverse datasets and GNN models.
  • To investigate whether one training method consistently outperforms the other in terms of convergence speed and final accuracy.
  • To assess the sensitivity of each method to hyperparameter choices, particularly model depth and hidden dimension size.
  • To advocate for using time-to-accuracy rather than epoch time as the primary performance metric in future system evaluations.

Proposed method

  • The study evaluates representative full-graph (e.g., PipeGCN) and mini-batch (e.g., DGL) training systems on multiple datasets, including Reddit, Cora, and OGB datasets.
  • It measures convergence using time-to-accuracy, defined as the time required to reach a target validation accuracy threshold, rather than epoch-based metrics.
  • For each training method, separate hyperparameter searches are performed independently to ensure fair comparison, focusing on learning rate, batch size, and model architecture (depth and width).
  • The evaluation includes multiple GNN models: GCN, GraphSAGE, and GAT, across different hardware configurations and graph sizes.
  • The authors analyze the impact of model depth and hidden dimension on accuracy and convergence, particularly examining the over-smoothing problem in deep GNNs.
  • System-level optimizations such as graph partitioning, message passing patterns, and data loading strategies are analyzed to understand performance bottlenecks in each approach.

Experimental results

Research questions

  • RQ1Does mini-batch training consistently converge faster than full-graph training across diverse datasets and GNN models?
  • RQ2Do full-graph and mini-batch training systems achieve similar final accuracy when hyperparameters are tuned separately for each method?
  • RQ3How sensitive are the two training methods to changes in model hyperparameters such as depth and hidden dimension size?
  • RQ4What is the impact of using time-to-accuracy versus epoch time as a performance metric in system comparisons?
  • RQ5Which training method is more robust to hyperparameter variations and less prone to over-smoothing in deep GNNs?

Key findings

  • Mini-batch training systems converge 2.4× to 15.2× faster than full-graph training systems across all evaluated datasets, GNN models, and hardware settings.
  • Both training methods achieve comparable final accuracy when hyperparameters are tuned independently for each method, indicating no inherent accuracy advantage for either approach.
  • Mini-batch training is significantly more robust to hyperparameter variations, especially in model depth and hidden dimension size, compared to full-graph training.
  • Full-graph training exhibits greater sensitivity to hyperparameter choices, with wider variations in accuracy across different configurations.
  • Mini-batch training is less prone to the over-smoothing problem in deep GNNs, with no significant accuracy drop observed up to 8 layers, while full-graph training shows earlier and more severe degradation.
  • The study demonstrates that time-to-accuracy is a more meaningful performance metric than epoch time for comparing GNN training systems, especially when convergence criteria differ.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.