Token-level Adaptive Training for Neural Machine Translation

Shuhao Gu, Jinchao Zhang, Fandong Meng, Yang Feng, Wanying Xie +2 more
10/9/2020
cs.CL

Official code: ictnlp/TLAT-NMT (20 stars, Python, MIT, last commit 2022-10-28).

Abstract

There exists a token imbalance phenomenon in natural language as different tokens appear with different frequencies, which leads to different learning difficulties for tokens in Neural Machine Translation (NMT). The vanilla NMT model usually adopts trivial equal-weighted objectives for target tokens with different frequencies and tends to generate more high-frequency tokens and less low-frequency tokens compared with the golden token distribution.

Show full abstract

However, low-frequency tokens may carry critical semantic information that will affect the translation quality once they are neglected. In this paper, we explored target token-level adaptive objectives based on token frequencies to assign appropriate weights for each target token during training. We aimed that those meaningful but relatively low-frequency words could be assigned with larger weights in objectives to encourage the model to pay more attention to these tokens. Our method yields consistent improvements in translation quality on ZH-EN, EN-RO, and EN-DE translation tasks, especially on sentences that contain more low-frequency tokens where we can get 1.68, 1.02, and 0.52 BLEU increases compared with baseline, respectively. Further analyses show that our method can also improve the lexical diversity of translation.

View on arXivView PDF

Code Implementations(1)

ictnlp/TLAT-NMTOfficial100%
MIT

Source code for the EMNLP 2020 long paper <Token-level Adaptive Training for Neural Machine Translation>.

204Python, LuaSep 21, 20204 years agoMIT

Similar Papers

Cite this paper

@article{gu2020tokenlevel,
  title  = {Token-level Adaptive Training for Neural Machine Translation},
  author = {Shuhao Gu and Jinchao Zhang and Fandong Meng and Yang Feng and Wanying Xie and Jie Zhou and Dong Yu},
  year   = {2020},
  eprint = {2010.04380},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.04380}
}

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

Discussion