arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1805.00178cs.CL
收藏

基于动态句子采样的神经机器翻译高效训练

Dynamic Sentence Sampling for Efficient Training of Neural Machine Translation

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

Rui Wang, Masao Utiyama, Eiichiro Sumita

摘要:

传统的神经机器翻译(NMT)涉及一个固定的训练过程,其中每个句子在每个时期被采样一次。实际上,有些句子在最初的几个时期内已经学得很好了;然而,使用这种方法,已经学得很好的句子将继续与那些在10-30个时期内没有学得很好的句子一起训练,这导致了时间的浪费。在这里,我们提出了一种有效的方法来动态采样的句子,以加快NMT训练。在这种方法中,基于两次迭代的训练成本之间的测量差异为每个句子分配权重。此外,在每个时期,一定比例的句子根据它们的权重被动态地采样。基于NIST中文到英文和WMT英文到德文的实验结果表明,该方法可以显著加快NMT训练速度,提高NMT性能。

英文摘要:

Traditional Neural machine translation (NMT) involves a fixed training procedure where each sentence is sampled once during each epoch. In reality, some sentences are well-learned during the initial few epochs; however, using this approach, the well-learned sentences would continue to be trained along with those sentences that were not well learned for 10-30 epochs, which results in a wastage of time. Here, we propose an efficient method to dynamically sample the sentences in order to accelerate the NMT training. In this approach, a weight is assigned to each sentence based on the measured difference between the training costs of two iterations. Further, in each epoch, a certain percentage of sentences are dynamically sampled according to their weights. Empirical results based on the NIST Chinese-to-English and the WMT English-to-German tasks depict that the proposed method can significantly accelerate the NMT training and improve the NMT performance.

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

↑