Hybrid Data-Model Parallel Training for Sequence-to-Sequence Recurrent Neural Network Machine Translation
arXiv:1909.00562
Abstract
Reduction of training time is an important issue in many tasks like patent translation involving neural networks. Data parallelism and model parallelism are two common approaches for reducing training time using multiple graphics processing units (GPUs) on one machine. In this paper, we propose a hybrid data-model parallel approach for sequence-to-sequence (Seq2Seq) recurrent neural network (RNN) machine translation. We apply a model parallel approach to the RNN encoder-decoder part of the Seq2Seq model and a data parallel approach to the attention-softmax part of the model. We achieved a speed-up of 4.13 to 4.20 times when using 4 GPUs compared with the training speed when using 1 GPU without affecting machine translation accuracy as measured in terms of BLEU scores.
arXiv comment9 pages, 4 figures, 5 tables
References in corpus (4)
- Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translation
- MXNet: A Flexible and Efficient Machine Learning Library for Heterogeneous Distributed Systems
- One weird trick for parallelizing convolutional neural networks
- Unifying Data, Model and Hybrid Parallelism in Deep Learning via Tensor Tiling