Skip to main content
QUICK REVIEW

[Paper Review] Towards Scalable Distributed Training of Deep Learning on Public Cloud Clusters

Shaohuai Shi, Xianhao Zhou|arXiv (Cornell University)|Oct 20, 2020
Privacy-Preserving Technologies in DataComputer Science33 references25 citations
TL;DR

This paper proposes a communication-efficient top-k sparsification library with GPU-optimized operators and multi-level I/O caching to enable scalable distributed training on public cloud clusters. On a 16-node Tencent Cloud cluster with 128 V100 GPUs, it achieves 25%-40% faster training than state-of-the-art systems and breaks the DAWNBench record by training ResNet-50 to 93% top-5 accuracy in 28 epochs using 25GbE interconnects.

ABSTRACT

Distributed training techniques have been widely deployed in large-scale deep neural networks (DNNs) training on dense-GPU clusters. However, on public cloud clusters, due to the moderate inter-connection bandwidth between instances, traditional state-of-the-art distributed training systems cannot scale well in training large-scale models. In this paper, we propose a new computing and communication efficient top-k sparsification communication library for distributed training. To further improve the system scalability, we optimize I/O by proposing a simple yet efficient multi-level data caching mechanism and optimize the update operation by introducing a novel parallel tensor operator. Experimental results on a 16-node Tencent Cloud cluster (each node with 8 Nvidia Tesla V100 GPUs) show that our system achieves 25%-40% faster than existing state-of-the-art systems on CNNs and Transformer. We finally break the record on DAWNBench on training ResNet-50 to 93% top-5 accuracy on ImageNet.

Motivation & Objective

  • To address the poor scaling efficiency of existing distributed training systems on public cloud clusters with moderate inter-node bandwidth.
  • To reduce communication overhead in large-scale DNN training without sacrificing convergence or accuracy.
  • To optimize I/O bottlenecks caused by networked file systems in public cloud environments.
  • To improve GPU utilization through efficient implementation of top-k sparsification and parallel tensor operations.
  • To achieve state-of-the-art training throughput and scalability on commodity public cloud infrastructure.

Proposed method

  • Designs a GPU-friendly top-k sparsification operator using a novel parallel algorithm to reduce the computational cost of gradient selection.
  • Introduces a hierarchical top-k communication strategy (HiTopKComm) that minimizes redundant data transfer and improves load balancing across nodes.
  • Proposes a multi-level data caching mechanism to reduce I/O latency by caching data at multiple layers: GPU memory, local SSD, and remote NFS.
  • Develops a parallel tensor operator to efficiently handle sparse gradient updates and improve GPU utilization during parameter aggregation.
  • Employs a hybrid training strategy: MSTopK-SGD for early epochs (high communication efficiency), switching to 2DTAR-SGD for later epochs to maintain accuracy.
  • Optimizes the All-Gather phase for sparsified gradients using a novel communication pattern that reduces latency on slow interconnects.

Experimental results

Research questions

  • RQ1Can top-k sparsification be efficiently implemented on GPUs to reduce communication overhead in distributed DNN training?
  • RQ2How can I/O bottlenecks on public cloud clusters with low-bandwidth NFS be mitigated during large-scale training?
  • RQ3What is the optimal trade-off between communication efficiency and model convergence in large-batch distributed training?
  • RQ4Can a hybrid training strategy combining sparsified and dense communication improve both speed and accuracy?
  • RQ5How does the proposed system perform under real-world public cloud conditions with moderate interconnect bandwidth?

Key findings

  • On a 16-node Tencent Cloud cluster with 128 V100 GPUs and 25GbE interconnects, the system achieves 25%-40% faster training than existing state-of-the-art systems on CNNs and Transformers.
  • The system breaks the DAWNBench record by training ResNet-50 to 93% top-5 accuracy on ImageNet in 28 epochs, completing in 151 seconds with 128 V100 GPUs.
  • The hybrid training strategy (MSTopK-SGD followed by 2DTAR-SGD) maintains high accuracy while achieving superior scaling efficiency.
  • The multi-level data caching mechanism significantly reduces I/O latency, improving overall system throughput on networked file systems.
  • The GPU-optimized top-k operator reduces the computational cost of gradient sparsification, enabling high-performance communication on public cloud clusters.
  • The hierarchical top-k communication (HiTopKComm) reduces communication overhead and improves load balancing, especially on slow interconnects.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.