Infusing Sequential Information into Conditional Masked Translation Model with Self-Review Mechanism

Pan Xie, Zhi Cui, Xiuyin Chen, Xiaohui Hu, Jianwei Cui +1 more
10/19/2020
cs.CL
transformer-attention

Official code: PanXiebit/CMLM-Self-Review-NAT (5 stars, Python, last commit 2021-07-29).

Abstract

Non-autoregressive models generate target words in a parallel way, which achieve a faster decoding speed but at the sacrifice of translation accuracy. To remedy a flawed translation by non-autoregressive models, a promising approach is to train a conditional masked translation model (CMTM), and refine the generated results within several iterations.

Show full abstract

Unfortunately, such approach hardly considers the \textit{sequential dependency} among target words, which inevitably results in a translation degradation. Hence, instead of solely training a Transformer-based CMTM, we propose a Self-Review Mechanism to infuse sequential information into it. Concretely, we insert a left-to-right mask to the same decoder of CMTM, and then induce it to autoregressively review whether each generated word from CMTM is supposed to be replaced or kept. The experimental results (WMT14 En$\leftrightarrow$De and WMT16 En$\leftrightarrow$Ro) demonstrate that our model uses dramatically less training computations than the typical CMTM, as well as outperforms several state-of-the-art non-autoregressive models by over 1 BLEU. Through knowledge distillation, our model even surpasses a typical left-to-right Transformer model, while significantly speeding up decoding.

View on arXivView PDF

Code Implementations(1)

[COLING 2020 oral], "Infusing Sequential Information into Conditional Masked Translation Model with Self-Review Mechanism".

51Python, Jupyter NotebookApr 4, 20205 years agoNOASSERTION

Similar Papers

Cite this paper

@article{xie2020infusing,
  title  = {Infusing Sequential Information into Conditional Masked Translation Model with Self-Review Mechanism},
  author = {Pan Xie and Zhi Cui and Xiuyin Chen and Xiaohui Hu and Jianwei Cui and Bin Wang},
  year   = {2020},
  eprint = {2010.09194},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.09194}
}

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

Discussion