Conditional Bilingual Mutual Information Based Adaptive Training for Neural Machine Translation

Songming Zhang, Yijin Liu, Fandong Meng, Yufeng Chen, Jinan Xu +2 more
3/6/2022
cs.CL

Official code: songmzhang/CBMI (14 stars, Python, last commit 2022-08-06).

Abstract

Token-level adaptive training approaches can alleviate the token imbalance problem and thus improve neural machine translation, through re-weighting the losses of different target tokens based on specific statistical metrics (e.g., token frequency or mutual information). Given that standard translation models make predictions on the condition of previous target contexts, we argue that the above statistical metrics ignore target context information and may assign inappropriate weights to target tokens.

Show full abstract

While one possible solution is to directly take target contexts into these statistical metrics, the target-context-aware statistical computing is extremely expensive, and the corresponding storage overhead is unrealistic. To solve the above issues, we propose a target-context-aware metric, named conditional bilingual mutual information (CBMI), which makes it feasible to supplement target context information for statistical metrics. Particularly, our CBMI can be formalized as the log quotient of the translation model probability and language model probability by decomposing the conditional joint distribution. Thus CBMI can be efficiently calculated during model training without any pre-specific statistical calculations and large storage overhead. Furthermore, we propose an effective adaptive training approach based on both the token- and sentence-level CBMI. Experimental results on WMT14 English-German and WMT19 Chinese-English tasks show our approach can significantly outperform the Transformer baseline and other related methods.

View on arXivView PDF

Code Implementations(1)

songmzhang/CBMIOfficial100%

The code of ACL2022 paper "Conditional Bilingual Mutual Information based Adaptive Training for Neural Machine Translation"..

141Python, ShellDec 6, 20214 years ago

Similar Papers

Cite this paper

@article{zhang2022conditional,
  title  = {Conditional Bilingual Mutual Information Based Adaptive Training for Neural Machine Translation},
  author = {Songming Zhang and Yijin Liu and Fandong Meng and Yufeng Chen and Jinan Xu and Jian Liu and Jie Zhou},
  year   = {2022},
  eprint = {2203.02951},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.02951}
}

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

Discussion