Skip to main content
QUICK REVIEW

[Paper Review] Non-Autoregressive Neural Machine Translation with Enhanced Decoder Input

Junliang Guo, Xu Tan|arXiv (Cornell University)|Dec 23, 2018
Natural Language Processing TechniquesComputer Science28 references16 citations
TL;DR

This paper proposes two methods to enhance decoder inputs in non-autoregressive neural machine translation (NAT) by injecting target-side information: (1) phrase table lookup for direct source-to-target token translation, and (2) word embedding mapping via sentence-level alignment and word-level adversarial learning. The approach achieves state-of-the-art NAT performance, improving BLEU by 5.11 on WMT14 En-De and 4.72 on WMT16 En-Ro compared to baseline models.

ABSTRACT

Non-autoregressive translation (NAT) models, which remove the dependence on previous target tokens from the inputs of the decoder, achieve significantly inference speedup but at the cost of inferior accuracy compared to autoregressive translation (AT) models. Previous work shows that the quality of the inputs of the decoder is important and largely impacts the model accuracy. In this paper, we propose two methods to enhance the decoder inputs so as to improve NAT models. The first one directly leverages a phrase table generated by conventional SMT approaches to translate source tokens to target tokens, which are then fed into the decoder as inputs. The second one transforms source-side word embeddings to target-side word embeddings through sentence-level alignment and word-level adversary learning, and then feeds the transformed word embeddings into the decoder as inputs. Experimental results show our method largely outperforms the NAT baseline~\citep{gu2017non} by $5.11$ BLEU scores on WMT14 English-German task and $4.72$ BLEU scores on WMT16 English-Romanian task.

Motivation & Objective

  • To address the accuracy degradation in non-autoregressive translation (NAT) models caused by weak decoder input signals.
  • To reduce the task difficulty for NAT decoders by providing stronger, more relevant context through enhanced decoder inputs.
  • To improve NAT performance without sacrificing inference speed by directly injecting target-side information into the decoder input.
  • To explore two complementary approaches—phrase table lookup and learned embedding mapping—for generating high-quality decoder inputs.

Proposed method

  • The first method uses a pre-trained phrase table from SMT to directly translate source tokens into target tokens, which are then fed as decoder input.
  • The second method learns a linear transformation from source-side word embeddings to target-side embeddings using sentence-level alignment and word-level adversarial loss.
  • The sentence-level alignment loss minimizes the L2 distance between mapped source embeddings and target embeddings at the sentence level.
  • The word-level adversarial loss ensures that the distribution of mapped source embeddings matches that of real target embeddings, improving generalization.
  • The enhanced decoder input $\hat{y}$ is used as global context in the NAT decoder: $y_t = \mathbb{D}(\hat{y}, \mathbb{E}(x))$, enabling parallel generation with stronger context.
  • The entire model is trained end-to-end, allowing the decoder to benefit from more accurate and target-relevant input signals.

Experimental results

Research questions

  • RQ1Can injecting target-side information into the decoder input of NAT models significantly improve translation accuracy?
  • RQ2How does the quality of the decoder input signal (e.g., phrase table vs. learned embeddings) affect NAT model performance?
  • RQ3What is the relative contribution of sentence-level alignment and word-level adversarial learning in the embedding mapping method?
  • RQ4Does the proposed method reduce the failure modes of NAT models, such as repetition and word omission in long sentences?
  • RQ5Can the proposed enhancement generalize across diverse language pairs and dataset scales?

Key findings

  • The proposed method improves BLEU by 5.11 points on the WMT14 English-German translation task compared to the NAT baseline.
  • On the WMT16 English-Romanian task, the method achieves a 4.72 BLEU point improvement over the baseline.
  • Phrase table lookup performs better on smaller, cleaner datasets like IWSLT14 De-En, where the phrase table quality is higher (BLEU 15.69).
  • Embedding mapping outperforms phrase table lookup on larger, noisier datasets (e.g., WMT14 En-De and WMT16 En-Ro), where phrase tables have lower quality (BLEU 6.03 and 9.16).
  • Ablation studies confirm that both sentence-level alignment and word-level adversarial loss are necessary, as their combination yields the highest BLEU score (24.13 on IWSLT14 De-En).
  • The model successfully translates long sentences that the baseline NAT model fails to handle, avoiding repetition and word omission.

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.