Bag-of-Words as Target for Neural Machine Translation

Shuming Ma, Xu Sun, Yizhong Wang, Junyang Lin
5/13/2018
cs.CL

Official code: lancopku/bag-of-words (46 stars, Python, last commit 2018-05-31).

Abstract

A sentence can be translated into more than one correct sentences. However, most of the existing neural machine translation models only use one of the correct translations as the targets, and the other correct sentences are punished as the incorrect sentences in the training stage.

Show full abstract

Since most of the correct translations for one sentence share the similar bag-of-words, it is possible to distinguish the correct translations from the incorrect ones by the bag-of-words. In this paper, we propose an approach that uses both the sentences and the bag-of-words as targets in the training stage, in order to encourage the model to generate the potentially correct sentences that are not appeared in the training set. We evaluate our model on a Chinese-English translation dataset, and experiments show our model outperforms the strong baselines by the BLEU score of 4.55.

View on arXivView PDF

Code Implementations(1)

Code for "Bag-of-Words as Target for Neural Machine Translation"

469PythonMay 10, 20188 years ago

Similar Papers

Cite this paper

@article{ma2018bagofwords,
  title  = {Bag-of-Words as Target for Neural Machine Translation},
  author = {Shuming Ma and Xu Sun and Yizhong Wang and Junyang Lin},
  year   = {2018},
  eprint = {1805.04871},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1805.04871}
}

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

Discussion