Towards Making the Most of BERT in Neural Machine Translation

Jiacheng Yang, Mingxuan Wang, Hao Zhou, Chengqi Zhao, Yong Yu +2 more
8/15/2019
cs.CLcs.LG

Official code: bytedance/neurst (305 stars, last commit 2022-06-28).

Abstract

GPT-2 and BERT demonstrate the effectiveness of using pre-trained language models (LMs) on various natural language processing tasks. However, LM fine-tuning often suffers from catastrophic forgetting when applied to resource-rich tasks. In this work, we introduce a concerted training framework (CTNMT) that is the key to integrate the pre-trained LMs to neural machine translation (NMT). Our proposed CTNMT consists of three techniques: a) asymptotic distillation to ensure that the NMT model can retain the previous pre-trained knowledge; b) a dynamic switching gate to avoid catastrophic forgetting of pre-trained knowledge; and c) a strategy to adjust the learning paces according to a scheduled policy. Our experiments in machine translation show CTNMT gains of up to 3 BLEU score on the WMT14 English-German language pair which even surpasses the previous state-of-the-art pre-training aided NMT by 1.4 BLEU score. While for the large WMT14 English-French task with 40 millions of sentence-pairs, our base model still significantly improves upon the state-of-the-art Transformer big model by more than 1 BLEU score. The code and model can be downloaded from https://github.com/bytedance/neurst/ tree/master/examples/ctnmt.

View on arXivView PDF

Code Implementations(1)

bytedance/neurstOfficial100%

Neural end-to-end Speech Translation Toolkit

30541Shell, PythonNov 12, 20204 years agoNOASSERTION

Similar Papers

Cite this paper

@article{yang2019towards,
  title  = {Towards Making the Most of BERT in Neural Machine Translation},
  author = {Jiacheng Yang and Mingxuan Wang and Hao Zhou and Chengqi Zhao and Yong Yu and Weinan Zhang and Lei Li},
  year   = {2019},
  eprint = {1908.05672},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1908.05672}
}

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

Discussion