Skip to main content
QUICK REVIEW

[Paper Review] Generative Neural Machine Translation

Harshil Shah, David Barber|arXiv (Cornell University)|Jun 13, 2018
Natural Language Processing TechniquesComputer Science16 references22 citations
TL;DR

This paper introduces Generative Neural Machine Translation (GNMT), a latent variable model that jointly models source and target sentences via a language-agnostic semantic representation (z), improving translation robustness—especially under missing words—and enabling multilingual and semi-supervised learning without parameter increase. GNMT achieves state-of-the-art BLEU scores on unseen language pairs and outperforms baselines in long-sequence and incomplete-input translation tasks.

ABSTRACT

We introduce Generative Neural Machine Translation (GNMT), a latent variable architecture which is designed to model the semantics of the source and target sentences. We modify an encoder-decoder translation model by adding a latent variable as a language agnostic representation which is encouraged to learn the meaning of the sentence. GNMT achieves competitive BLEU scores on pure translation tasks, and is superior when there are missing words in the source sentence. We augment the model to facilitate multilingual translation and semi-supervised learning without adding parameters. This framework significantly reduces overfitting when there is limited paired data available, and is effective for translating between pairs of languages not seen during training.

Motivation & Objective

  • To develop a neural machine translation model that explicitly learns a disentangled, language-agnostic semantic representation of sentence meaning.
  • To improve robustness in translation when source sentences contain missing words by leveraging the latent semantic representation.
  • To enable multilingual translation and semi-supervised learning using monolingual data without increasing model parameters.
  • To reduce overfitting in low-resource settings by sharing parameters across languages via categorical language indicators.
  • To evaluate whether modeling the joint distribution of source and target sentences via a shared latent variable leads to better semantic generalization than conditional models.

Proposed method

  • GNMT models the joint probability $ p_{\theta}(\mathbf{x}, \mathbf{y}, \mathbf{z}) = p(\mathbf{z}) p_{\theta}(\mathbf{x}|\mathbf{z}) p_{\theta}(\mathbf{y}|\mathbf{x}, \mathbf{z}) $, where $ \mathbf{z} $ is a Gaussian prior $ \mathcal{N}(\mathbf{0}, \mathbf{I}) $, acting as a shared semantic representation.
  • The source sentence $ \mathbf{x} $ is generated autoregressively using an LSTM conditioned on $ \mathbf{z} $ and previous words, with hidden states computed as $ \mathbf{h}^{x}_{t} = \mathrm{LSTM}(\mathbf{h}^{x}_{t-1}, \mathbf{z}, \mathbf{e}(x_{t-1})) $.
  • The target sentence $ \mathbf{y} $ is generated using an attention-augmented LSTM decoder that attends to bidirectional encoder states of $ \mathbf{x} $, with context vectors computed via soft attention over encoder states.
  • To enable multilingual translation, two categorical variables are added to indicate source and target languages, allowing parameter sharing across language pairs.
  • For semi-supervised learning, monolingual data is used by setting source and target languages to the same value, enabling the model to leverage unpaired monolingual sentences during training.
  • Training is performed via stochastic variational inference, maximizing the variational lower bound on the log-likelihood of the joint distribution.

Experimental results

Research questions

  • RQ1Can a shared, language-agnostic latent variable $ \mathbf{z} $ effectively represent the semantic meaning of a sentence across multiple languages?
  • RQ2Does modeling the joint distribution $ p(\mathbf{x}, \mathbf{y}) $ via $ \mathbf{z} $ lead to better generalization than conditional modeling $ p(\mathbf{y}|\mathbf{x}) $, especially under data scarcity?
  • RQ3Can the latent representation $ \mathbf{z} $ improve translation robustness when source sentences are incomplete or contain missing words?
  • RQ4Does parameter sharing across languages via categorical language indicators reduce overfitting and improve zero-shot translation to unseen language pairs?
  • RQ5Can monolingual data be effectively leveraged in a semi-supervised manner to further improve performance on low-resource translation tasks?

Key findings

  • GNMT achieves a BLEU score of 33.23 on the WMT'14 English-to-German translation task, outperforming the baseline VNMT model (26.99 BLEU) and demonstrating strong performance on long sentences.
  • In the presence of missing words in the source sentence, GNMT produces significantly more accurate translations than VNMT, as shown in qualitative examples where GNMT correctly infers missing content.
  • GNMT-Multi, which shares parameters across languages, achieves a BLEU score of 36.72 on unseen English-Spanish translation, outperforming both VNMT (35.58) and standard GNMT (35.35).
  • GNMT-Multi-SSL, which leverages monolingual data, achieves a BLEU score of 38.80 on unseen English-Spanish translation, significantly outperforming all other models and demonstrating the effectiveness of semi-supervised learning.
  • The model relies heavily on the latent variable $ \mathbf{z} $, as evidenced by ablation studies showing that removing $ \mathbf{z} $ leads to a sharp drop in performance, confirming its central role in semantic representation.
  • The alternative factorization $ p(\mathbf{x}, \mathbf{y}, \mathbf{z}) = p(\mathbf{z}) p_{\theta}(\mathbf{x}|\mathbf{z}) p_{\theta}(\mathbf{y}|\mathbf{z}) $ was found to produce grammatically incoherent translations, indicating that conditioning $ \mathbf{y} $ on $ \mathbf{x} $ is crucial for coherence.

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.