ARGO: An Auto-Tuning Runtime System for Scalable GNN Training on Multi-Core Processor

Yi-Chien Lin, Yuyang Chen, Sameh Gobriel, Nilesh Jain, Gopi Krishna Jha, Viktor K. Prasanna · DOI

Introduction

Graph Neural Networks (GNNs) have become essential for modeling complex relational data. While GPUs are the standard for many deep learning tasks, CPUs remain a critical platform for GNNs because massive graphs often exceed the memory capacity of modern GPUs. However, existing GNN frameworks like the Deep Graph Library (DGL) and PyTorch-Geometric (PyG) struggle to scale efficiently on high-core-count multi-core processors. This paper introduces ARGO, an auto-tuning runtime system that bridges the "utilization gap" in GNN training, providing significant speedups without requiring manual configuration from the user.

The Scalability Challenge in GNN Training

The primary bottleneck in scaling GNNs on CPUs is the heterogeneous nature of the workload. GNN training involves two distinct phases:

  1. Graph Sampling: A memory-intensive operation that traverses the graph structure to create mini-batches.
  2. Feature Aggregation and Update: A compute-intensive operation involving tensor algebra and neural network layers.

Standard libraries often use coarse-grained scheduling, leading to resource under-utilization. For instance, CPU cores may sit idle during memory-heavy sampling, or memory bandwidth may be under-utilized during heavy computation. Furthermore, the optimal configuration—balancing the number of processes and the specific core assignments—varies wildly depending on the model, dataset, and hardware architecture. On a 112-core machine, there are over 700 possible configurations, making manual tuning an impractical task for researchers.

The ARGO Runtime System

ARGO acts as a transparent runtime layer between the GNN library and the hardware. It introduces three core innovations to optimize performance:

1. Multi-Process Engine

Instead of a single monolithic training process, ARGO instantiates multiple parallel processes. By using Distributed Data Parallel (DDP) logic, it ensures that the effective batch size remains consistent with the user's original intent. This multi-process approach allows the system to overlap the sampling phase of one process with the computation phase of another, effectively "smoothing" the resource demand across the CPU.

2. Strategic Core-Binding

To prevent resource contention, ARGO implements strict core-binding. It partitions CPU cores within each process, dedicating specific cores to sampling and others to training. This isolation ensures that memory-heavy sampling tasks do not starve compute-heavy training tasks of cache or execution resources, reducing the performance interference common in high-core-count environments.

3. Online Auto-Tuning via Bayesian Optimization

The most significant component of ARGO is its "brain"—an online auto-tuner. Because the performance landscape (epoch time vs. configuration) is relatively continuous, ARGO utilizes Bayesian Optimization (BayesOpt) to find the optimal setup. During the first few epochs of training, the tuner explores a small fraction (5-6%) of the design space, builds a surrogate performance model, and identifies the near-optimal configuration for the specific workload and hardware on the fly.

Experimental Evaluation

The researchers evaluated ARGO across several large-scale datasets, including Flickr, Reddit, ogbn-products, and the massive ogbn-papers100M (containing 1.6 billion edges). Testing was conducted on high-end hardware:

  • Intel Ice Lake: 112 cores (4-socket).
  • Intel Sapphire Rapids: 64 cores.

Key Results

  • Performance Gains: ARGO achieved speedups of up to 5.06× on Ice Lake and 4.54× on Sapphire Rapids compared to baseline DGL/PyG implementations.
  • Scalability: While standard libraries often see performance plateaus or degradation beyond 16 cores, ARGO demonstrated effective scaling up to 112 cores.
  • Efficiency: The auto-tuning overhead is minimal, representing less than 1% of total training time for large datasets. The tuner consistently found configurations within 95% of the theoretical optimum.

Discussion and Future Work

A key insight from the study is the trade-off between hardware utilization and computational redundancy. Increasing the number of processes improves utilization but can increase the total workload because smaller mini-batches share fewer neighbor nodes, leading to redundant calculations. ARGO’s auto-tuner is vital because it identifies the "sweet spot" where utilization gains outweigh this redundancy.

Currently, ARGO faces challenges on multi-socket systems where the Ultra Path Interconnect (UPI) becomes a bottleneck due to non-local memory access. Future iterations of ARGO aim to become NUMA-aware, potentially incorporating sophisticated graph partitioning (e.g., METIS) to ensure data locality, provided the partitioning overhead can be minimized.

Conclusion

ARGO demonstrates that the poor scalability of GNNs on CPUs is not a hardware limitation but a software orchestration issue. By providing an automated, transparent runtime layer, ARGO enables researchers to leverage the full power of multi-core processors for massive-scale graph learning without needing to become systems experts.

Summary updated

BibTeX
@inproceedings{lin2024argo,
  author = {Yi-Chien Lin and Yuyang Chen and Sameh Gobriel and Nilesh Jain and Gopi Krishna Jha and Viktor K. Prasanna},
  title = {{ARGO: An Auto-Tuning Runtime System for Scalable GNN Training on Multi-Core Processor}},
  booktitle = {IPDPS},
  year = {2024},
  url = {https://openreview.net/forum?id=G4gqITbfcg},
}
Figure