Skip to main content
QUICK REVIEW

[Paper Review] Modeling Latent Sentence Structure in Neural Machine Translation

Jasmijn Bastings, Wilker Aziz|arXiv (Cornell University)|Jan 18, 2019
Natural Language Processing TechniquesComputer Science22 references8 citations
TL;DR

This paper proposes a neural machine translation model that jointly learns latent syntactic structures and translations by stochastically sampling weighted, densely connected graphs from source sentence representations. Using Concrete relaxation for differentiable graph sampling, the model shows that CNN and word-embedding encoders effectively utilize induced graphs to capture long-distance dependencies, while RNN encoders largely ignore them due to their inherent representational capacity.

ABSTRACT

Recently it was shown that linguistic structure predicted by a supervised parser can be beneficial for neural machine translation (NMT). In this work we investigate a more challenging setup: we incorporate sentence structure as a latent variable in a standard NMT encoder-decoder and induce it in such a way as to benefit the translation task. We consider German-English and Japanese-English translation benchmarks and observe that when using RNN encoders the model makes no or very limited use of the structure induction apparatus. In contrast, CNN and word-embedding-based encoders rely on latent graphs and force them to encode useful, potentially long-distance, dependencies.

Motivation & Objective

  • To investigate whether latent syntactic structures can improve neural machine translation without relying on supervised parsers.
  • To study how different encoder architectures (RNN, CNN, word embeddings) interact with and utilize induced latent graphs.
  • To design a differentiable, stochastic graph induction mechanism that promotes approximately discrete, meaningful dependencies.
  • To evaluate whether induced graphs capture useful, long-range dependencies beyond the receptive field of the encoder.
  • To disentangle the roles of graph induction and translation components in end-to-end NMT.

Proposed method

  • A probabilistic encoder-decoder model with two components: a graph sampler and a graph-informed translation decoder.
  • The graph component uses a Concrete distribution to stochastically sample adjacency matrices from source sentence hidden states, promoting discrete-like structures.
  • Head potentials are computed via scaled dot-product attention between query and key representations derived from bidirectional LSTM hidden states.
  • The translation component uses graph convolutional networks to propagate information over the induced graph, enhancing source representations before decoding.
  • The model is trained end-to-end with a cross-entropy loss on the target sequence, while the graph temperature is annealed over time.
  • Graph sparsity and head distance are analyzed to assess the quality and structure of induced dependencies.

Experimental results

Research questions

  • RQ1Can latent syntactic structures be effectively induced in a differentiable, end-to-end NMT model without supervision?
  • RQ2How does the choice of encoder architecture (RNN, CNN, word embeddings) affect the usefulness of induced latent graphs?
  • RQ3Do induced graphs capture long-range dependencies beyond the local receptive field of the encoder?
  • RQ4Are the induced graphs interpretable and semantically meaningful, or do they degenerate into trivial structures?
  • RQ5Does the model benefit from graph induction when the encoder is already highly expressive, such as with BiLSTMs?

Key findings

  • CNN and word-embedding encoders significantly improve BLEU scores when combined with latent graph induction, indicating the graphs capture useful, non-local dependencies.
  • RNN encoders show no significant improvement from graph induction, as their latent graphs are largely trivial and fail to capture long-range structure.
  • Mean head distance increases from 4.0 (emb) and 4.3 (RNN) to 6.1 (CNN) in En-Ja translation, indicating CNNs leverage graphs for longer-range dependencies.
  • Graph entropy is substantially lower than uniform (28.7), confirming that induced graphs are sparse and focused, not random.
  • The model’s graph component is effective only when the encoder lacks strong inductive bias for long-range context, such as in CNNs and word embeddings.
  • The Concrete distribution with annealed temperature successfully promotes approximately discrete, meaningful graphs without high-variance backpropagation.

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.