Skip to main content
QUICK REVIEW

[Paper Review] ENGINE: Energy-Based Inference Networks for Non-Autoregressive Machine Translation

Lifu Tu, Richard Yuanzhe Pang|arXiv (Cornell University)|May 2, 2020
Natural Language Processing TechniquesComputer Science28 references8 citations
TL;DR

This paper proposes ENGINE, a non-autoregressive neural machine translation model trained to minimize the energy function of a pretrained autoregressive teacher model using an inference network. By directly optimizing for the teacher's energy rather than distilling beam-search outputs, ENGINE achieves state-of-the-art results on IWSLT14 DE-EN (31.99 BLEU) and WMT16 RO-EN (33.16 BLEU), approaching autoregressive model performance.

ABSTRACT

We propose to train a non-autoregressive machine translation model to minimize the energy defined by a pretrained autoregressive model. In particular, we view our non-autoregressive translation system as an inference network (Tu and Gimpel, 2018) trained to minimize the autoregressive teacher energy. This contrasts with the popular approach of training a non-autoregressive model on a distilled corpus consisting of the beam-searched outputs of such a teacher model. Our approach, which we call ENGINE (ENerGy-based Inference NEtworks), achieves state-of-the-art non-autoregressive results on the IWSLT 2014 DE-EN and WMT 2016 RO-EN datasets, approaching the performance of autoregressive models.

Motivation & Objective

  • To improve non-autoregressive machine translation (NAT) performance beyond knowledge distillation using beam-searched outputs.
  • To explore training NAT models via energy minimization using a pretrained autoregressive teacher model as a source of energy.
  • To develop an inference network that approximates the argmin of the teacher's energy function, enabling end-to-end training.
  • To demonstrate that energy-based training outperforms standard distillation in both zero-iteration and iterative refinement settings.
  • To enable broader application of energy-based models in non-autoregressive text generation.

Proposed method

  • The method treats the autoregressive model as an energy-based model, defining energy as the negative log-likelihood of the target sequence given the source.
  • An inference network (e.g., CMLM or Transformer-based) is trained to map source inputs to target sequences that minimize the teacher’s energy.
  • The energy function is relaxed via differentiable operations: one using softmax with temperature (SX) and another using straight-through gradient estimation (ST) for discrete token sampling.
  • The inference network is trained using the energy loss on the validation set, with early stopping based on energy minimization.
  • Length prediction is performed via a separate head that predicts target sequence length, with decoding using a length beam of top-k candidates.
  • The approach avoids reliance on distilled corpora by directly optimizing the energy function, enabling richer supervision than beam-search outputs alone.

Experimental results

Research questions

  • RQ1Can training a non-autoregressive model to minimize the energy of a pretrained autoregressive model outperform knowledge distillation using beam-searched outputs?
  • RQ2How do different relaxation strategies for discrete sampling (e.g., SX vs. ST) affect the performance of energy-based inference networks in NAT?
  • RQ3Does energy-based training with an inference network achieve better performance than state-of-the-art non-autoregressive models without refinement?
  • RQ4To what extent does iterative refinement improve the performance of energy-based NAT models compared to standard distillation?
  • RQ5Can energy-based inference networks approach the performance of autoregressive models in non-autoregressive translation?

Key findings

  • ENGINE achieves a BLEU score of 31.99 on IWSLT14 DE-EN and 33.16 on WMT16 RO-EN in the non-autoregressive setting (1 iteration), setting a new state-of-the-art for NAT models.
  • Even without refinement, ENGINE outperforms all prior non-autoregressive models on both datasets, including those using iterative refinement.
  • The model trained to minimize the teacher’s energy outperforms models trained on distilled beam-search outputs by 11.27 BLEU on DE-EN and 12.22 BLEU on RO-EN.
  • With 10 refinement iterations, ENGINE achieves 34.04 BLEU on WMT16 RO-EN, outperforming CMLM and approaching the performance of the autoregressive teacher.
  • The choice of relaxation operations (SX + ST) yields the best performance, while Gumbel noise provides minimal improvement and slows training.
  • The method demonstrates that energy minimization provides richer supervision than distilled outputs, enabling better generalization in non-autoregressive translation.

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.