Parameter Hub: High Performance Parameter Servers for Efficient Distributed Deep Neural Network Training

Liang Luo, Jacob Nelson, Luis Ceze, Amar Phanishayee, Arvind KrishnamurthyarXiv 2018

Abstract

Distributed deep neural network (DDNN) training is a critical workload in cloud computing. While much research has focused on accelerating inference, training remains a time-consuming process that limits developer iteration. As GPUs have become significantly faster, the primary bottleneck in training has shifted from computation to communication. This paper introduces PBox, a balanced hardware architecture for parameter servers, and PHub, an optimized software stack. Together, they address the inefficiencies in existing frameworks, achieving up to a 3.8x speedup in typical cloud environments.

Introduction: The Communication Bottleneck

In distributed deep learning, data parallelism is the dominant paradigm. Multiple worker nodes process data batches in parallel and synchronize updates through a centralized Parameter Server (PS). Historically, this process was compute-bound. However, over the last decade, GPU throughput has increased by approximately 35x, while network bandwidth in standard cloud environments has not kept pace. This disparity has transformed DDNN training into a communication-bound problem.

Motivation: Increasing GPU performance (left) leads to a widening gap between GPU active time and total iteration time (right), highlighting the communication bottleneck in distributed training.

Profiling existing frameworks like MXNet reveals that current parameter server software is often inefficient, failing to fully utilize available bandwidth due to overheads in data copying, gradient aggregation, and memory management.

System Design: PHub and PBox

To overcome these limitations, we propose a co-designed software and hardware solution.

PHub (Software Optimization)

PHub is a high-performance software design that streamlines the gradient processing pipeline through several key techniques:

  • Optimized Network Stack: Leverages InfiniBand with zero-copy mechanisms and minimized metadata to maximize payload throughput.
  • Fine-Grained Chunking: Divides parameter keys into 32KB chunks, allowing for better overlap between network transfers and CPU-based gradient processing.
  • NUMA-Awareness: Maps key chunks and network interfaces to specific processor cores, eliminating cross-NUMA synchronization and locking overhead.

PBox (Hardware Architecture)

Standard servers often lack the I/O balance required for a high-performance central parameter server. PBox is a custom architecture designed to provide massive network I/O. Our prototype utilizes ten 56Gbps network interfaces distributed across NUMA domains, effectively creating "micro-shards" within a single physical machine to prevent single-interface bottlenecks.

Evaluation and Results

We evaluated our system using the ImageNet dataset across a variety of standard computer vision models, including AlexNet, VGG-19, and various ResNet variants.

In a simulated 10Gbps cloud environment, the combination of PHub and PBox achieved up to a 3.8x speedup over a sharded MXNet baseline. On higher-bandwidth 56Gbps links, speedups ranged from 2x to 7x depending on the model architecture.

Speedup results for various DNN models using PHub software and PBox hardware, showing up to 3.8x improvement over state-of-the-art baselines.

The system demonstrated near-perfect linear scaling in an 8-worker cluster. Theoretical analysis suggests that a single PBox could support up to 120 workers for ResNet-50 training before reaching PCIe or memory bandwidth limits.

Discussion and Future Directions

While PBox offers significant scaling potential, extremely large global batch sizes (e.g., 15,000+) can negatively impact model generalization. Future research must address the statistical efficiency of such large-scale training.

Additionally, we are exploring In-Network Aggregation by integrating PBox functionality into programmable Top-of-Rack (ToR) switches. This would allow gradient aggregation to occur within the network fabric itself, further reducing bandwidth consumption and localizing data movement.

Summary updated

BibTeX
@misc{luo2018parameter,
  author = {Liang Luo and Jacob Nelson and Luis Ceze and Amar Phanishayee and Arvind Krishnamurthy},
  title = {{Parameter Hub: High Performance Parameter Servers for Efficient Distributed Deep Neural Network Training}},
  year = {2018},
  eprint = {1801.09805},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1801.09805},
}
Figure