Armada: Memory-Efficient Distributed Training of Large-Scale Graph Neural Networks

Roger Waleffe, Devesh Sarda, Jason Mohoney, Emmanouil-Vasileios Vlatakis-Gkaragkounis, Theodoros Rekatsinas, Shivaram VenkataramanarXiv 2025 · DOI

Introduction

Training Graph Neural Networks (GNNs) on billion-scale graphs presents a massive logistical challenge. Standard distributed training workflows often hit severe bottlenecks during graph partitioning and data preparation. Armada is a new end-to-end system designed to solve these issues. By introducing a novel, memory-efficient partitioning algorithm (GREM) and a disaggregated architecture that separates sampling from computation, Armada achieves near-linear scaling and up to a 3.1× reduction in training costs compared to state-of-the-art systems.

The Bottlenecks of Large-Scale GNN Training

Training GNNs on massive graphs requires partitioning the graph into chunks so each machine handles a piece. To keep communication low, systems aim for a "min-edge-cut," minimizing the number of edges crossing between machines. This process faces two primary hurdles:

  1. The Partitioning Bottleneck: Standard tools like METIS produce high-quality partitions but are incredibly resource-heavy. For a large benchmark like OGBN-Papers100M, METIS requires specialized hardware with over 600GB of RAM and takes hours to complete.
  2. The Training Bottleneck: GNN training is inherently "data-bound." Preparing a mini-batch—sampling neighbors and loading features—is often 10× slower than the actual math happening on the GPU. In traditional monolithic systems, the fixed number of CPUs attached to a GPU machine cannot keep up, leaving expensive GPUs idle.

GREM: Memory-Efficient Graph Partitioning

To address the partitioning bottleneck, the authors introduced GREM (Greedy plus Refinement for Edge-cut Minimization). Unlike "offline" methods that require the entire graph in memory, GREM is a streaming partitioning algorithm that processes edges in chunks.

Memory efficiency of GREM vs METIS across increasing graph sizes

Traditional streaming algorithms often make noisy "greedy" choices for node assignments. GREM improves upon this by adding a refinement step, using lightweight running statistics to continuously re-evaluate node assignments as more of the graph is processed. This allows GREM to match the partition quality of METIS while using a fraction of the memory. As shown in the figure above, GREM maintains a near-flat memory footprint even as the number of edges grows into the billions.

Armada’s Disaggregated Architecture

Armada moves away from monolithic setups by splitting the training pipeline into four distinct layers. This disaggregation allows each component to scale independently based on its specific resource needs.

Armada's disaggregated system architecture showing the separation of storage, preparation, and compute layers
  • Storage Layer: Utilizes cost-effective disk-based storage (e.g., AWS S3 or EBS).
  • Mini-Batch Preparation Layer: A fleet of CPU-only instances handles the heavy lifting of neighborhood sampling.
  • Compute Layer: High-end GPU instances focus solely on model training, receiving pre-sampled batches from the preparation layer.
  • Partitioning Layer: Implements GREM to prepare the graph for distributed processing.

By decoupling these layers, users can scale the number of CPU samplers independently of the GPUs, ensuring that expensive compute resources are always saturated with work.

Key Results and Performance

The researchers evaluated Armada on several massive benchmarks, including OGBN-Papers100M (1.6B edges) and Hyperlink-2012 (128B edges). The results demonstrate significant improvements over existing state-of-the-art (SOTA) systems like DGL and Salient++:

  • Partitioning Performance: GREM is 8–46× faster and uses 8–65× less memory than METIS while maintaining comparable partition quality.
  • Training Speed and Scalability: Armada is up to 4.5× faster than existing SOTA systems. While other systems often show sublinear scaling, Armada achieves near-perfect linear scaling (e.g., a 7.5× speedup on 8 GPUs) because it can dynamically add more CPU workers to feed the GPUs.
  • Cost Savings: By maximizing GPU utilization and utilizing cheaper CPU instances for sampling, Armada reduces total cloud training costs by up to 3.1×.

Conclusion

Armada and GREM represent a significant step forward in making billion-node GNN training accessible and cost-effective. By rethinking the training pipeline as a disaggregated system and optimizing the memory footprint of graph partitioning, Armada enables researchers to scale to massive datasets that were previously unscalable on standard cloud infrastructure.

Summary updated

BibTeX
@misc{waleffe2025armada,
  author = {Roger Waleffe and Devesh Sarda and Jason Mohoney and Emmanouil-Vasileios Vlatakis-Gkaragkounis and Theodoros Rekatsinas and Shivaram Venkataraman},
  title = {{Armada: Memory-Efficient Distributed Training of Large-Scale Graph Neural Networks}},
  year = {2025},
  eprint = {2502.17846},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.17846},
}
Figure