HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Non-Autoregressive Neural Machine Translation

Jiatao Gu; James Bradbury; Caiming Xiong; Victor O.K. Li; Richard Socher

Non-Autoregressive Neural Machine Translation

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

salesforce/nonauto-nmt
Official
pytorch
Mentioned in GitHub
MultiPath/NA-NMT
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
machine-translation-on-iwslt2015-englishNAT +FT + NPD
BLEU score: 28.16
machine-translation-on-wmt2014-english-germanNAT +FT + NPD
BLEU score: 19.17
Hardware Burden:
Operations per network pass:
machine-translation-on-wmt2014-german-englishNAT +FT + NPD
BLEU score: 23.20
machine-translation-on-wmt2016-english-1NAT +FT + NPD
BLEU score: 29.79
machine-translation-on-wmt2016-romanianNAT +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.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp