Dynamic Past and Future for Neural Machine Translation

Zaixiang Zheng, Shujian Huang, Zhaopeng Tu, Xin-Yu Dai, Jiajun Chen
4/21/2019
cs.CL

Official code: zhengzx-nlp/dynamic-nmt (6 stars, Python, MIT, last commit 2020-09-28).

Abstract

Previous studies have shown that neural machine translation (NMT) models can benefit from explicitly modeling translated (Past) and untranslated (Future) to groups of translated and untranslated contents through parts-to-wholes assignment. The assignment is learned through a novel variant of routing-by-agreement mechanism (Sabour et al., 2017), namely {\em Guided Dynamic Routing}, where the translating status at each decoding step {\em guides} the routing process to assign each source word to its associated group (i.e., translated or untranslated content) represented by a capsule, enabling translation to be made from holistic context.

Show full abstract

Experiments show that our approach achieves substantial improvements over both RNMT and Transformer by producing more adequate translations. Extensive analysis demonstrates that our method is highly interpretable, which is able to recognize the translated and untranslated contents as expected.

View on arXivView PDF

Code Implementations(1)

MIT

Pytorch implementation of EMNLP'19 paper "Dynamic past and future for neural machine translation"

60Python, PerlAug 28, 20196 years agoMIT

Similar Papers

Cite this paper

@article{zheng2019dynamic,
  title  = {Dynamic Past and Future for Neural Machine Translation},
  author = {Zaixiang Zheng and Shujian Huang and Zhaopeng Tu and Xin-Yu Dai and Jiajun Chen},
  year   = {2019},
  eprint = {1904.09646},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1904.09646}
}

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

Discussion