Parallax: Sparsity-aware Data Parallel Training of Deep Neural Networks

Soojeong Kim, Gyeong-In Yu, Hojin Park, Sungwoo Cho, Eunji Jeong +4 more
8/8/2018
cs.DC

Official code: snuspl/parallax (130 stars, Python, Apache-2.0, last commit 2022-02-21).

Abstract

The employment of high-performance servers and GPU accelerators for training deep neural network models have greatly accelerated recent advances in deep learning (DL). DL frameworks, such as TensorFlow, MXNet, and Caffe2, have emerged to assist DL researchers to train their models in a distributed manner.

Show full abstract

Although current DL frameworks scale well for image classification models, there remain opportunities for scalable distributed training on natural language processing (NLP) models. We found that current frameworks show relatively low scalability on training NLP models due to the lack of consideration to the difference in sparsity of model parameters. In this paper, we propose Parallax, a framework that optimizes data parallel training by utilizing the sparsity of model parameters. Parallax introduces a hybrid approach that combines Parameter Server and AllReduce architectures to optimize the amount of data transfer according to the sparsity. Experiments show that Parallax built atop TensorFlow achieves scalable training throughput on both dense and sparse models while requiring little effort from its users. Parallax achieves up to 2.8x, 6.02x speedup for NLP models than TensorFlow and Horovod with 48 GPUs, respectively. The training speed for the image classification models is equal to Horovod and 1.53x faster than TensorFlow.

View on arXivView PDF

Code Implementations(1)

snuspl/parallaxOfficial100%
Apache-2.0

A Tool for Automatic Parallelization of Deep Learning Training in Distributed Multi-GPU Environments.

13034Python, ShellJul 25, 20184 years agoApache-2.0
deep-learningdeep-neural-networksdistributedmachine-learningml+3 more

Similar Papers

Cite this paper

@article{kim2018parallax,
  title  = {Parallax: Sparsity-aware Data Parallel Training of Deep Neural Networks},
  author = {Soojeong Kim and Gyeong-In Yu and Hojin Park and Sungwoo Cho and Eunji Jeong and Hyeonmin Ha and Sanha Lee and Joo Seong Jeong and Byung-Gon Chun},
  year   = {2018},
  eprint = {1808.02621},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1808.02621}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1808.02621.svg)](https://codeofpaper.com/paper/1808.02621)

Discussion