Shallow-to-Deep Training for Neural Machine Translation

Bei Li, Ziyang Wang, Hui Liu, Yufan Jiang, Quan Du +3 more
10/8/2020
cs.CL
transformer-attention

Official code: libeineu/SDT-Training (10 stars, Python, last commit 2020-10-26).

Abstract

Deep encoders have been proven to be effective in improving neural machine translation (NMT) systems, but training an extremely deep encoder is time consuming. Moreover, why deep models help NMT is an open question.

Show full abstract

In this paper, we investigate the behavior of a well-tuned deep Transformer system. We find that stacking layers is helpful in improving the representation ability of NMT models and adjacent layers perform similarly. This inspires us to develop a shallow-to-deep training method that learns deep models by stacking shallow models. In this way, we successfully train a Transformer system with a 54-layer encoder. Experimental results on WMT'16 English-German and WMT'14 English-French translation tasks show that it is $1.4$ $\times$ faster than training from scratch, and achieves a BLEU score of $30.33$ and $43.29$ on two tasks. The code is publicly available at https://github.com/libeineu/SDT-Training/.

View on arXivView PDF

Code Implementations(1)

The implementation of "Shallow-to-Deep Training for Neural Machine Translation"

101Python, ShellOct 4, 20206 years agoNOASSERTION
deep-neural-networksmachine-translationtransformer

Similar Papers

Cite this paper

@article{li2020shallowtodeep,
  title  = {Shallow-to-Deep Training for Neural Machine Translation},
  author = {Bei Li and Ziyang Wang and Hui Liu and Yufan Jiang and Quan Du and Tong Xiao and Huizhen Wang and Jingbo Zhu},
  year   = {2020},
  eprint = {2010.03737},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.03737}
}

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/2010.03737.svg)](https://codeofpaper.com/paper/2010.03737)

Discussion