arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1909.00562cs.DCcs.CLcs.LGcs.NE
收藏

序列到序列循环神经网络机器翻译的混合数据模型并行训练

Hybrid Data-Model Parallel Training for Sequence-to-Sequence Recurrent Neural Network Machine Translation

National Institute of Information and Communications Technology(信息通信研究机构)

Junya Ono, Masao Utiyama, Eiichiro Sumita

摘要:

减少训练时间是许多任务中的一个重要问题,例如涉及神经网络的专利翻译。数据并行和模型并行是在一台机器上使用多个图形处理单元(GPU)来减少训练时间的两种常见方法。本文提出了一种用于序列到序列(Seq 2Seq)循环神经网络(RNN)机器翻译的混合数据模型并行方法。我们将模型并行方法应用于Seq 2Seq模型的RNN编码器-解码器部分,并将数据并行方法应用于模型的attention-softmax部分。与使用1个GPU时的训练速度相比,使用4个GPU时,我们实现了4.13到4.20倍的速度提升,而不会影响机器翻译的准确性(以BLEU分数衡量)。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑