Semi-Autoregressive Neural Machine Translation

Chunqi Wang, Ji Zhang, Haiqing Chen
8/26/2018
cs.CL

Official code: chqiwang/sa-nmt (23 stars, Python, Apache-2.0, last commit 2018-09-09).

Abstract

Existing approaches to neural machine translation are typically autoregressive models. While these models attain state-of-the-art translation quality, they are suffering from low parallelizability and thus slow at decoding long sequences.

Show full abstract

In this paper, we propose a novel model for fast sequence generation --- the semi-autoregressive Transformer (SAT). The SAT keeps the autoregressive property in global but relieves in local and thus is able to produce multiple successive words in parallel at each time step. Experiments conducted on English-German and Chinese-English translation tasks show that the SAT achieves a good balance between translation quality and decoding speed. On WMT'14 English-German translation, the SAT achieves 5.58$\times$ speedup while maintains 88\% translation quality, significantly better than the previous non-autoregressive methods. When produces two words at each time step, the SAT is almost lossless (only 1\% degeneration in BLEU score).

View on arXivView PDF

Code Implementations(1)

chqiwang/sa-nmtOfficial100%
Apache-2.0

semi-autoregressive neural machine translation

234Python, PerlAug 12, 20188 years agoApache-2.0

Similar Papers

Cite this paper

@article{wang2018semiautoregressive,
  title  = {Semi-Autoregressive Neural Machine Translation},
  author = {Chunqi Wang and Ji Zhang and Haiqing Chen},
  year   = {2018},
  eprint = {1808.08583},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1808.08583}
}

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

Discussion