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

An Experimental Comparison of Partitioning Strategies for Distributed Graph Neural Network Training

Nikolai Merkel, Daniel Stoll, Ruben Mayer, Hans-Arno Jacobsen · DOI

Abstract

Distributed training is the standard approach for scaling Graph Neural Networks (GNNs) to massive, real-world datasets. However, the impact of graph partitioning strategies on the feature-heavy workloads characteristic of GNNs has been under-explored. This paper provides an extensive experimental comparison of 12 partitioning strategies across two major distributed frameworks: DistGNN and DistDGL. We demonstrate that high-quality partitioning can speed up training by over 10x and reduce memory consumption by up to 85%, with the computational overhead of partitioning being recovered within just a few training epochs.

Introduction

Distributed training is essential for scaling GNNs. Before training begins, a critical decision must be made: how to partition the graph across multiple machines. While partitioning is well-understood in classical graph analytics, GNNs present unique challenges due to their heavy-weight neural network operations and high-dimensional feature vectors. This study investigates whether sophisticated partitioning strategies provide a meaningful return on investment compared to simple random assignments.

Problem Statement

Training GNNs on single machines is often precluded by graph size. Distributed training addresses this by partitioning the graph across a cluster. Unlike classical algorithms like PageRank, which involve lightweight messages, GNNs involve complex operations on high-dimensional features. The research gap addressed here is whether the extra time spent on high-quality partitioning pays off in these heavy GNN workloads.

Methodology

The study evaluates two distinct distributed GNN paradigms:

  1. DistGNN (Full-batch training): Employs edge partitioning (vertex-cut), where edges are assigned to machines and vertices are replicated.
  2. DistDGL (Mini-batch training): Employs vertex partitioning (edge-cut), where vertices are assigned to machines and edges are cut.
Comparison of Edge and Vertex Partitioning paradigms used in DistGNN and DistDGL.

Twelve partitioning algorithms were evaluated, ranging from simple stateless streaming (Random, DBH) to sophisticated in-memory partitioners (METIS, KaHIP, HEP100). These were tested against various GNN hyperparameters, including hidden dimensions and layer counts, on both CPU and multi-GPU clusters.

Datasets

Five diverse, medium-to-large scale graphs were utilized to capture different structural properties:

  • Hollywood-2011 (HO): Collaboration graph.
  • Dimacs9-USA (DI): Road network (low density, high diameter).
  • Enwiki-2021 (EN): Wikipedia link graph.
  • Eu-2015-tpd (EU): Web graph.
  • Orkut (OR): Social network.
  • ogbn-papers100M (PA): Massive citation graph (111M vertices) for GPU benchmarks.

Key Insights

The Centrality of the Replication Factor

For full-batch training, the replication factor—the number of times a vertex is copied across machines—is the primary predictor of performance. It shows a near-perfect correlation ($R^2 \geq 0.99$) with network traffic and memory footprint.

Network communication volume as a function of the Replication Factor across different GNN layer configurations.

Memory-Bound Nature of GNNs

GNN memory consumption is dominated by high-dimensional features and intermediate embeddings rather than just graph structure. High-quality partitioning reduces the number of replicated feature vectors, driving memory savings of up to 85%.

Amortization of Partitioning Costs

While complex partitioners like KaHIP or HEP100 are slower, the time investment is typically recovered within 5 to 20 training epochs due to significantly faster per-epoch execution times.

The Scale-out Paradox

In vertex partitioning (DistDGL), partitioning effectiveness decreases as more machines are added because the cut-size grows sharply. Conversely, in edge partitioning (DistGNN), the relative benefit of high-quality partitioning increases with scale.

Experimental Results

  • Speedups: HEP100 achieved speedups up to 10.41x (average 4.36x) over random partitioning in DistGNN. In DistDGL, KaHIP reached up to 3.47x speedup.
  • Memory Efficiency: HEP100 reduced memory footprint by an average of 51.4%, reaching 85.1% in optimal cases. This is critical for training on memory-constrained hardware like GPUs.
  • GPU Validation: High-quality partitioning (Metis/KaHIP) significantly outperformed random assignments on GPU clusters, particularly in communication-heavy scenarios with large feature sizes.

Conclusion and Future Work

Current partitioning algorithms do not account for mini-batch sampling, which can introduce computational imbalances if hub nodes are sampled frequently. Future research should focus on "sampling-aware" partitioning that considers the GNN's traversal patterns. Additionally, while edge partitioning excels in memory efficiency, it requires better algorithmic solutions for managing vertex imbalances.

Summary updated

BibTeX
@inproceedings{merkel2025experimental,
  author = {Nikolai Merkel and Daniel Stoll and Ruben Mayer and Hans-Arno Jacobsen},
  title = {{An Experimental Comparison of Partitioning Strategies for Distributed Graph Neural Network Training}},
  booktitle = {EDBT},
  year = {2025},
  doi = {10.48786/edbt.2025.14},
}
Figure