Skip to main content
QUICK REVIEW

[Paper Review] Deterministic Non-Autoregressive Neural Sequence Modeling by Iterative Refinement

Jason Lee, Elman Mansimov|arXiv (Cornell University)|Feb 19, 2018
Natural Language Processing TechniquesComputer Science27 citations
TL;DR

This paper proposes a deterministic non-autoregressive sequence model using iterative refinement to accelerate decoding while maintaining high generation quality. By modeling sequence generation as a series of denoising steps over latent variables, the method achieves 2–3× faster decoding than beam search on autoregressive models, with 90–95% of the translation quality on machine translation and 85% on image captioning.

ABSTRACT

We propose a conditional non-autoregressive neural sequence model based on iterative refinement. The proposed model is designed based on the principles of latent variable models and denoising autoencoders, and is generally applicable to any sequence generation task. We extensively evaluate the proposed model on machine translation (En-De and En-Ro) and image caption generation, and observe that it significantly speeds up decoding while maintaining the generation quality comparable to the autoregressive counterpart.

Motivation & Objective

  • Address the slow decoding speed of autoregressive sequence models, which rely on approximate, sequential inference like beam search.
  • Overcome the performance gap of prior non-autoregressive models that sacrifice quality for speed by introducing a structured, iterative refinement process.
  • Develop a deterministic, end-to-end trainable sequence model that avoids stochastic sampling while maintaining strong generation quality.
  • Enable parallelizable, low-latency inference without sacrificing alignment with reference sequences in sequence-to-sequence tasks.
  • Generalize the approach beyond machine translation to other sequence generation tasks, such as image captioning.

Proposed method

  • Formulate the model as a latent variable model where $ L $ intermediate states refine the output sequence step-by-step.
  • Model each refinement step as a denoising autoencoder, learning to reconstruct the target sequence from corrupted versions.
  • Use a hybrid learning objective combining variational lower bound maximization and reconstruction error minimization.
  • Implement an iterative decoding strategy with adaptive step count to balance speed and quality.
  • Train the model using a Transformer-based encoder-decoder architecture, with the decoder applied iteratively to refine predictions.
  • Apply a corruption process during training that randomly masks or corrupts parts of the target sequence to simulate noisy inputs for denoising.

Experimental results

Research questions

  • RQ1Can iterative refinement in a deterministic, non-autoregressive framework match the generation quality of autoregressive models while enabling parallel decoding?
  • RQ2How does the number of refinement steps affect the trade-off between inference speed and generation quality?
  • RQ3To what extent can a denoising autoencoder objective improve modeling of long-range dependencies in sequence generation?
  • RQ4Does the proposed method generalize across diverse sequence-to-sequence tasks beyond machine translation?
  • RQ5How does the corruption strategy during training influence the model's ability to recover correct sequences during inference?

Key findings

  • The proposed model achieves 2–3× faster decoding than beam search on both GPU and CPU for machine translation tasks, with minimal quality drop.
  • On IWSLT’16 En→De, WMT’16 En→Ro, and WMT’14 En→De, the model maintains 90–95% of the BLEU score of the autoregressive Transformer baseline.
  • For image caption generation, the model decodes 3× faster on GPU and 5× faster on CPU while retaining 85% of the caption quality (CIDEr score).
  • Qualitative analysis shows that each refinement step progressively improves the output, adding missing words, removing errors, and refining phrases like "at the time" or "holding a racquet".
  • The iterative refinement process successfully captures structural and semantic improvements across steps, with sub-sequences undergoing meaningful changes rather than random noise.
  • Despite strong speedups, the model still underperforms the autoregressive baseline in generation quality, indicating a remaining gap to close.

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.