Lune

ICLR2026顶会

Full-Graph vs. Mini-Batch Training: Comprehensive Analysis from a Batch Size and Fan-Out Size Perspective

Mengfan Liu, Da Zheng, Junwei Su, Chuan Wu

摘要

Full-graph and mini-batch Graph Neural Network (GNN) training approaches have distinct system design demands, making it crucial to choose the appropriate approach to develop. A core challenge in comparing these two GNN training approaches lies in characterizing their model performance (i.e., convergence and generalization) and computational efficiency. While a batch size has been an effective lens in analyzing such behaviors in deep neural networks (DNNs), GNNs extend this lens by introducing a fan-out size, as full-graph training can be viewed as mini-batch training with the largest possible batch size and fan-out size. However, the impact of the batch and fan-out size for GNNs remains insufficiently explored. To this end, this paper systematically compares full-graph vs. mini-batch training of GNNs through empirical and theoretical analyses from the view points of the batch size and fan-out size. Our key contributions include: 1) We provide a novel generalization analysis using the Wasserstein distance to study the impact of the graph structure, especially the fan-out size. 2) We uncover the non-isotropic effects of the batch size and the fan-out size in GNN convergence and generalization, providing practical guidance for tuning these hyperparameters under resource constraints. Finally, full-graph training does not always yield better model performance or computational efficiency than well-tuned smaller mini-batch settings. The implementation can be found in the github link: https://github.com/ LIUMENGFAN-gif/GNN_fullgraph_minibatch_training .

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • GNNAutoScale: Scalable and Expressive Graph Neural Networks via Historical Embeddings 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • GNNAutoScale: Scalable and Expressive Graph Neural Networks via Historical Embeddings 引用了 GraphSAINT: Graph Sampling Based Inductive Learning Method
  • Open Graph Benchmark: Datasets for Machine Learning on Graphs 引用了 GraphSAINT: Graph Sampling Based Inductive Learning Method
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper26

  1. Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong 等NeurIPS 2020 · 3,935 次引用
  2. Large Batch Optimization for Deep Learning: Training BERT in 76 minutesYang You, Jing Li, Sashank J. Reddi, Jonathan Hseu 等ICLR 2020 · 1,170 次引用
  3. GraphSAINT: Graph Sampling Based Inductive Learning MethodHanqing Zeng, Hongkuan Zhou, Ajitesh Srivastava, Rajgopal Kannan 等ICLR 2020 · 1,155 次引用
  4. Generalization and Representational Limits of Graph Neural NetworksVikas K. Garg, Stefanie Jegelka, Tommi S. JaakkolaICML 2020 · 363 次引用
  5. GNNAutoScale: Scalable and Expressive Graph Neural Networks via Historical EmbeddingsMatthias Fey, Jan Eric Lenssen, Frank Weichert, Jure LeskovecICML 2021 · 149 次引用

相关 Paper

  1. Graph Neural Network Training Systems: A Performance Comparison of Full-Graph and Mini-BatchSaurabh Bajaj, Hui Guan, Marco Serafini, Juelin Liu 等VLDB 2025 · 19 次引用
  2. Layer-Neighbor Sampling - Defusing Neighborhood Explosion in GNNsMuhammed Fatih Balin, Ümit V. ÇatalyürekNeurIPS 2023 · 37 次引用
  3. Comprehensive Evaluation of GNN Training Systems: A Data Management PerspectiveHao Yuan, Yajiong Liu, Yanfeng Zhang, Xin Ai 等VLDB 2024 · 8 次引用
  4. DistGNN: scalable distributed training for large-scale graph neural networksMd. Vasimuddin, Sanchit Misra, Guixiang Ma, Ramanarayan Mohanty 等SC 2021 · 110 次引用
  5. ParGNN: A Scalable Graph Neural Network Training Framework on multi-GPUsJunyu Gu, Shunde Li, Rongqiang Cao, Jue Wang 等DAC 2025
黄昏的海面,两侧是细线勾勒的悬崖