Skip to main content
QUICK REVIEW

[Paper Review] Latent-Variable Non-Autoregressive Neural Machine Translation with Deterministic Inference Using a Delta Posterior

Raphael Shu, Jason Lee|arXiv (Cornell University)|Aug 20, 2019
Natural Language Processing TechniquesComputer Science33 references12 citations
TL;DR

This paper proposes LaNMT, a non-autoregressive neural machine translation model using continuous latent variables and deterministic inference via a delta posterior to enable fast, parallel decoding. By iteratively refining latent variables to improve translation quality while adapting sequence length dynamically, the model achieves 8.6x faster decoding than autoregressive models on ASPEC Ja-En and reduces the BLEU gap to just 1.0 point on WMT’14 En-De with 6.8x speedup using multiple latent candidates and teacher model re-scoring.

ABSTRACT

Although neural machine translation models reached high translation quality, the autoregressive nature makes inference difficult to parallelize and leads to high translation latency. Inspired by recent refinement-based approaches, we propose LaNMT, a latent-variable non-autoregressive model with continuous latent variables and deterministic inference procedure. In contrast to existing approaches, we use a deterministic inference algorithm to find the target sequence that maximizes the lowerbound to the log-probability. During inference, the length of translation automatically adapts itself. Our experiments show that the lowerbound can be greatly increased by running the inference algorithm, resulting in significantly improved translation quality. Our proposed model closes the performance gap between non-autoregressive and autoregressive approaches on ASPEC Ja-En dataset with 8.6x faster decoding. On WMT'14 En-De dataset, our model narrows the gap with autoregressive baseline to 2.0 BLEU points with 12.5x speedup. By decoding multiple initial latent variables in parallel and rescore using a teacher model, the proposed model further brings the gap down to 1.0 BLEU point on WMT'14 En-De task with 6.8x speedup.

Motivation & Objective

  • Address the high inference latency of autoregressive NMT models due to sequential token generation.
  • Overcome the limitations of existing non-autoregressive NMT models that fix target length and struggle with word order and consistency.
  • Improve translation quality in non-autoregressive models without sacrificing decoding speed by introducing continuous latent variables.
  • Develop a deterministic inference procedure that avoids stochasticity and enables efficient, scalable decoding.
  • Close the performance gap between non-autoregressive and autoregressive NMT models through iterative refinement of latent variables and teacher model re-scoring.

Proposed method

  • Introduce a sequence of continuous latent variables, one per input token, to model uncertainty in target sequences.
  • Use a length transformation mechanism to dynamically adapt the number of latent vectors to match the target sequence length.
  • Train the model end-to-end by maximizing the evidence lower bound (ELBO) of the log-likelihood log p(y|x).
  • Propose a deterministic iterative inference algorithm that alternates between updating the latent variable posterior and refining target tokens using a delta posterior.
  • Initialize the posterior from a prior p(z|x) and the target from p(y|x,z), then refine both using an approximate posterior q(z|x,y).
  • Enable parallel decoding by sampling multiple initial latent variables and re-scoring with an autoregressive teacher model to improve translation quality.

Experimental results

Research questions

  • RQ1Can continuous latent variables improve non-autoregressive NMT by enabling dynamic length adaptation and better sequence modeling?
  • RQ2Can a deterministic inference algorithm based on a delta posterior achieve high translation quality without stochastic sampling?
  • RQ3Does iterative refinement of latent variables lead to significant improvements in translation quality and lower bound on log-likelihood?
  • RQ4Can the performance gap between non-autoregressive and autoregressive NMT be narrowed through latent variable refinement and teacher model re-scoring?
  • RQ5To what extent can decoding speed be improved while maintaining competitive BLEU scores using this approach?

Key findings

  • The proposed deterministic inference algorithm significantly improves the evidence lower bound and translation quality, with BLEU scores converging in just one refinement step.
  • On the ASPEC Ja-En dataset, LaNMT achieves 8.6x faster decoding than the autoregressive baseline while matching its performance.
  • On the WMT’14 En-De dataset, the model reduces the BLEU gap with the autoregressive baseline to 2.0 points with 12.5x speedup using only the inference algorithm.
  • By decoding multiple initial latent variables and re-scoring with a teacher model, the BLEU gap is further reduced to 1.0 point with 6.8x speedup on WMT’14 En-De.
  • Qualitative analysis shows the model can dynamically correct incorrect initial length predictions by inserting or removing words during refinement.
  • The method successfully handles complex reordering and insertion of clauses, as seen in examples where entire clauses are added during inference.

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.