Skip to main content
QUICK REVIEW

[Paper Review] Non-Autoregressive Neural Machine Translation

Jiatao Gu, James Bradbury|arXiv (Cornell University)|Nov 7, 2017
Natural Language Processing TechniquesComputer Science15 references449 citations
TL;DR

The paper introduces a non-autoregressive translation model (NAT) built on the Transformer that generates all outputs in parallel using fertilities as a latent variable, achieving substantial latency gains with competitive BLEU scores.

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.

Motivation & Objective

  • Motivate the need for faster inference in neural machine translation beyond autoregressive decoders.
  • Propose a non-autoregressive Transformer (NAT) with fertility-based latent variables to enable parallel decoding.
  • Show training strategies including sequence-level knowledge distillation and fine-tuning to address multimodality.
  • Demonstrate empirical improvements on IWSLT16 En–De and WMT En–De/En–Ro with latency benefits.

Proposed method

  • Modify Transformer encoder/decoder to support non-autoregressive decoding via a fertility predictor.
  • Introduce fertilities as latent variables that determine how source tokens are copied to the target sequence.
  • Use non-causal self-attention and positional attention in the decoder to enable parallel decoding.
  • Apply sequence-level knowledge distillation from a high-quality autoregressive teacher to reduce target multimodality.
  • Train with a variational-like objective using a proposal q over fertilities and a two-term translation+fertility loss; optionally fine-tune with reverse KL and distillation terms.
  • During inference, use heuristic decoding (argmax, average, or noisy parallel decoding) over fertilities, sometimes scoring with an autoregressive teacher.

Experimental results

Research questions

  • RQ1Can non-autoregressive decoding achieve comparable BLEU scores to autoregressive models while dramatically reducing latency?
  • RQ2How can fertility-based latent variables mitigate the multimodality problem in NATs?
  • RQ3What training strategies (distillation, fine-tuning) improve NAT performance and stability?
  • RQ4What are the empirical latency and accuracy trade-offs on standard MT benchmarks?

Key findings

  • NAT achieves substantial latency reductions (e.g., 39 ms decoding time and up to 15.6× speedup vs autoregressive decoding on certain settings).
  • With fertility-based copying and training enhancements, NAT BLEU gaps to autoregressive teachers shrink by several points (e.g., improvements up to +4 BLEU points in ablations).
  • Noisy parallel decoding (NPD) with multiple fertility samples narrows the BLEU gap and, for WMT16 En–Ro, reaches within 0.2 BLEU of the previous state of the art.
  • On WMT14 En–De and WMT16 En–Ro, NAT with distillation and NPD shows competitive performance while maintaining a large latency advantage over autoregressive decoding.
  • Using sequence-level knowledge distillation and fine-tuning, NAT closes some of the performance gap to autoregressive teachers.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.