Paper commentary
On the Properties of Neural Machine Translation: Encoder-Decoder Approaches
Neural machine translation breaks down on long sentences and unknown words
- Problem Few studies had tested which sentence properties make neural machine translation fail. Its fixed-length sentence vector may be too small to hold long, complicated inputs.
- Method The authors swap the RNN encoder for a new gated recursive convolutional network. It applies one shared convolution recursively, so it builds a tree-like structure that adapts to each input.
- Results Translation quality falls as sentences get longer and as unknown words increase. The gated recursive network learns a sentence's grammatical structure without syntactic supervision.
Why one fixed-length vector is the bottleneck
A neural machine translation model encodes a whole source sentence into one fixed-length vector and then decodes a variable-length translation from it. That design is attractive in practice, because the models trained here need only 500MB, while SMT systems often need tens of gigabytes. Every component is also trained jointly to maximize translation quality, so no part is tuned separately from the objective.
The open question is where this design fails, and the authors frame it through sentence properties, vocabulary choice and failure cases.
The authors analyzed two encoder designs with BLEU, because knowing these weaknesses could guide how neural and SMT systems are combined.
Gated recurrent and gated recursive encoders
The key idea is to give each encoder gates, so the network learns how much of the old state to keep and how much of the new input to write. A plain recurrent network updates one hidden state at each time step from the previous state and the current input, written as \( h^{(t)} = f(h^{(t-1)}, x_t) \) with f an activation function. The gated hidden unit adds a reset gate r and an update gate z, and both depend on the previous state and the current input.
The authors use this gated unit for the rest of the paper, and they note its resemblance to LSTM units.
The grConv replaces the recurrence with one shared binary convolution that is applied recursively until a single fixed-length vector remains. The input vectors are first projected into a hidden space by U, so \( h^{(0)}_j = Ux_j \). Each node is a gate-weighted choice among a new activation computed from both children, the left child, or the right child.
The node value is \( h^{(t)}_j = \omega_c \tilde{h}^{(t)}_j + \omega_l h^{(t-1)}_{j-1} + \omega_r h^{(t-1)}_j \), where the three gate values sum to one. The new activation is \( \tilde{h}^{(t)}_j = \phi(W_l h^{(t)}_{j-1} + W_r h^{(t)}_j) \), with an element-wise nonlinearity \( \phi \). The gates are a normalized exponential of \( G_l h^{(t)}_{j-1} + G_r h^{(t)}_j \), where \( G_l, G_r \in \mathbb{R}^{3\times d} \) and Z is the sum of the three exponentials.
When the gate makes a hard choice, the network forms a tree-like structure that adapts to each input.
Data, model sizes and decoding rules
Both models were trained on English-to-French pairs drawn from a selected bilingual parallel corpus of 348M words. Only pairs where both sides have at most 30 words were kept, and the vocabulary was limited to the 30,000 most frequent words. Rarer words map to a special token, so the model treats them as unknown words.
The grConv used 2000 hidden neurons and the RNNenc used 1000, with 620-dimensional word embeddings in both. Both were trained with minibatch stochastic gradient descent and AdaDelta for about 110 hours. That budget produced 296,144 updates for grConv and 846,322 for RNNenc.
At decoding, beam-search keeps the 10 highest log-probability candidates at each step and drops any hypothesis that contains an unknown word. The authors normalize scores by translation length, so the decoder doesn't favor short outputs.
How sentence length and unknown words lower BLEU
Both models score reasonably on short sentences, and BLEU drops as sentences get longer. The authors plot BLEU against sentence length with a smoothing window of 10 for both RNNenc and grConv. The authors take this decline as the weak spot of the design, and they point to the fixed-length vector as the likely cause.
BLEU shows the same trend against the number of unknown words, and it falls as more unknown words appear in a sentence. The authors show this curve only for RNNenc and say grConv behaves similarly. The authors call growing the vocabulary an important challenge for future work.
Gap to Moses on the full and no-unknown test sets
grConv scored 9.97 on the same set, so it trails RNNenc here. When only sentences with no unknown words remain, RNNenc scored 23.45 compared to 35.63 for Moses. The difference narrows considerably under that condition, so unknown words account for a large part of the deficit but not all of it.
On sentences of 10 to 20 words, RNNenc scored 20.99 on the full test set compared to 32.00 for Moses. On the no-unknown-word subset of that range, the table gives 27.03 for RNNenc and 35.40 for Moses, while the text gives 27.81 and 33.08. Either way the neural model still trails Moses on this range, and the gap is narrower than on all sentences.
Sample translations at the two ends of the length range
The authors show translations of randomly chosen sentences that have no unknown words, both long and short. On short sentences, RNNenc, grConv and Moses all do a decent job despite the BLEU gap. On long sentences the neural outputs degrade more visibly, which matches the length trend in the BLEU curves.
What the grConv tree shows
The authors show the structure the grConv encoder learns for one sample sentence about Obama, together with the generated translations. The tree first groups the words about the United States with the President phrase before them. It then joins that group with the opening words Obama is, and finally attaches the period. The authors find this consistent with their intuition about phrase structure.
Only this one sentence is analyzed, and the authors leave a fuller study of the learned structure to future research. The authors claim the encoder mimics the grammatical structure of its input without syntactic supervision, and they expect this property to matter beyond translation.
Limits of the evidence
The authors offer a hypothesis for the long-sentence drop: a fixed-length vector may lack the capacity to hold a long, complicated sentence. The paper presents this as the most obvious explanation rather than as a measured cause. Both encoders suffer on long sentences, so the authors suspect the decoder may lack representational power. Testing other decoder architectures is left for future work.
The two models got unequal training: grConv used 296,144 updates against 846,322 for RNNenc, about a third as many. The authors note that longer training may change the result, and neither model was trained to convergence. The evidence covers one language pair, English-to-French, on the news test sets. The authors saw a similar length trend when training pairs went up to 50 words.
Paper info
- Authors
- Kyunghyun Cho, Bart van Merrienboer, Dzmitry Bahdanau, Yoshua Bengio
- Venue
- arXiv · Preprint
- First published
- 2014-9-3
- Added
- 2026-11-11
- Updated
- 2014-10-7
- Version
- v2
- arXiv
- 1409.1259
- Category
- cs.CL · stat.ML
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Kyunghyun Cho, Bart van Merrienboer, Dzmitry Bahdanau, Yoshua Bengio (2014). On the Properties of Neural Machine Translation: Encoder-Decoder Approaches. arXiv:1409.1259v2. https://arxiv.org/abs/1409.1259v2
BibTeX
@misc{cho2014properties,
title = {{On the Properties of Neural Machine Translation: Encoder-Decoder Approaches}},
author = {Kyunghyun Cho and Bart van Merrienboer and Dzmitry Bahdanau and Yoshua Bengio},
year = {2014},
eprint = {1409.1259},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1409.1259v2}
}