Bilingual Mutual Information Based Adaptive Training for Neural Machine Translation

Yangyifan Xu, Yijin Liu, Fandong Meng, Jiajun Zhang, Jinan Xu +1 more
5/26/2021
cs.CL

Official code: xydaytoy/BMI-NMT (11 stars, Python, last commit 2021-07-28).

Abstract

Recently, token-level adaptive training has achieved promising improvement in machine translation, where the cross-entropy loss function is adjusted by assigning different training weights to different tokens, in order to alleviate the token imbalance problem. However, previous approaches only use static word frequency information in the target language without considering the source language, which is insufficient for bilingual tasks like machine translation.

Show full abstract

In this paper, we propose a novel bilingual mutual information (BMI) based adaptive objective, which measures the learning difficulty for each target token from the perspective of bilingualism, and assigns an adaptive weight accordingly to improve token-level adaptive training. This method assigns larger training weights to tokens with higher BMI, so that easy tokens are updated with coarse granularity while difficult tokens are updated with fine granularity. Experimental results on WMT14 English-to-German and WMT19 Chinese-to-English demonstrate the superiority of our approach compared with the Transformer baseline and previous token-level adaptive training approaches. Further analyses confirm that our method can improve the lexical diversity.

View on arXivView PDF

Code Implementations(1)

xydaytoy/BMI-NMTOfficial100%
112Python, ShellMay 8, 20215 years ago

Similar Papers

Cite this paper

@article{xu2021bilingual,
  title  = {Bilingual Mutual Information Based Adaptive Training for Neural Machine Translation},
  author = {Yangyifan Xu and Yijin Liu and Fandong Meng and Jiajun Zhang and Jinan Xu and Jie Zhou},
  year   = {2021},
  eprint = {2105.12523},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.12523}
}

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

Discussion