Modern Distributed Data-Parallel Large-Scale Pre-training Strategies For NLP models
Hao Bai

TL;DR
This paper compares six data-parallel strategies for training large NLP models like GPT-2, analyzing their performance and robustness to identify the most effective approaches for distributed deep learning.
Contribution
It introduces and evaluates six different data-parallel training strategies for NLP models, providing insights into their performance and robustness.
Findings
Distributed Parameter Server with Apex has best single-node performance.
Horovod with Apex is most robust across single and multiple nodes.
Quantitative analysis compares efficiency of each strategy.
Abstract
Distributed deep learning is becoming increasingly popular due to the expanding demand for computing resources for deep learning models with a larger amount of parameters. Different from traditional training approaches, data-parallel training allows multiple compute nodes to train large deep learning models simultaneously in order to boost the training efficiency. In this paper, we present and compare six strategies for data-parallel training using PyTorch on the language model GPT-2 with 100M parameters using a qualitative approach. These strategies are Single GPU, Single Parameter Server, Distributed Parameter Server, Horovod, Distributed Parameter Server with Apex mixed-precision strategy, and Horovod with Apex mixed-precision strategy. We also analyze the quantitative experiment results from each strategy. In the end, we draw the conclusion that the Distributed Parameter Server with…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Advanced Neural Network Applications · Machine Learning and Data Classification
