Command Palette
Search for a command to run...
Jiatao Gu; James Bradbury; Caiming Xiong; Victor O.K. Li; Richard Socher

Abstract
Existing approaches to neural machine translation condition each output word on previously generated outputs. We introduce a model that avoids this autoregressive property and produces its outputs in parallel, allowing an order of magnitude lower latency during inference. Through knowledge distillation, the use of input token fertilities as a latent variable, and policy gradient fine-tuning, we achieve this at a cost of as little as 2.0 BLEU points relative to the autoregressive Transformer network used as a teacher. We demonstrate substantial cumulative improvements associated with each of the three aspects of our training strategy, and validate our approach on IWSLT 2016 English-German and two WMT language pairs. By sampling fertilities in parallel at inference time, our non-autoregressive model achieves near-state-of-the-art performance of 29.8 BLEU on WMT 2016 English-Romanian.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| machine-translation-on-iwslt2015-english | NAT +FT + NPD | BLEU score: 28.16 |
| machine-translation-on-wmt2014-english-german | NAT +FT + NPD | BLEU score: 19.17 Hardware Burden: Operations per network pass: |
| machine-translation-on-wmt2014-german-english | NAT +FT + NPD | BLEU score: 23.20 |
| machine-translation-on-wmt2016-english-1 | NAT +FT + NPD | BLEU score: 29.79 |
| machine-translation-on-wmt2016-romanian | NAT +FT + NPD | BLEU score: 31.44 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.