Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation

RNN Encoder-Decoder maps phrases of any length for machine translation

  • Problem Fixed-size neural phrase scorers for machine translation could not handle phrases of varying length. They padded short phrases with zeros and could not hold long ones.
  • Method The RNN Encoder-Decoder encodes a source phrase into one fixed vector, then decodes that vector into a target phrase. Instead of a fixed window, both sides can have any length.
  • Results Adding its phrase-pair scores to a Moses system raised test BLEU from 33.30 to 33.87. Combining them with the CSLM gave the highest test BLEU, 34.64.

Why fixed-size phrase scorers fall short

Neural networks already help statistical machine translation, often by rescoring n-best lists or by scoring phrase pairs. Schwenk's feedforward phrase scorer took fixed-size inputs, seven words each, padded with zeros when a phrase was shorter. That design works only while the maximum phrase length stays small. Devlin et al. predicted one target word at a time, but they still had to fix the input length in advance.

The gap matters because phrases vary in length on both the source and the target side, so a fixed window either pads short phrases or cannot hold long ones. The authors instead build a model that maps a source sequence of any length to a vector and decodes that vector into a target sequence of any length.

Encoder–decoder and the gated hidden unit

The core idea is to chain two RNNs: one reads the source phrase into a single vector, and the other writes the target phrase out of that vector. The encoder updates its hidden state at each symbol, and the final state serves as a summary c of the whole input. The decoder starts from c and from the previous target symbol, so each next-symbol probability depends on both.

Training maximizes the average conditional log-likelihood of target phrases given their source phrases, which is differentiable and so works with gradient-based updates. Once trained, the model can either generate a target sequence or score a given pair through \( p_\theta(y \mid x) \).

The hidden unit is a simplified gated cell, inspired by the LSTM but with two gates instead of a memory cell and four gating units. The reset gate is a sigmoid of the current input and the previous state, and it scales the previous state before a candidate state is computed. The candidate uses \( \tilde h_j^{\langle t\rangle} = \phi([Wx]_j + [U(r \odot h^{\langle t-1\rangle})]_j) \), and the paper uses tanh as this activation.

When the reset gate is close to 0, the state ignores the past and restarts from the current input. The new state interpolates between the old state and the candidate, \( h_j^{\langle t\rangle} = z_j h_j^{\langle t-1\rangle} + (1-z_j)\tilde h_j^{\langle t\rangle} \), with the update gate \( z_j \) setting the mix. So the update gate decides how much old information carries forward, which helps the unit keep long-term information.

Units whose reset gates are often active tend to capture short-term dependencies, while units with mostly active update gates capture longer ones. In preliminary experiments the authors found that a tanh unit without gating gave no meaningful results, so they judged gating crucial.

Adding the scores to the SMT system

The SMT decoder seeks the translation that maximizes a log-linear combination of features, and the weights are tuned to maximize BLEU on a development set. The phrase translation probabilities are already features in that model, and the RNN score is one more feature of the same kind. Training uses phrase pairs from the phrase table, and the normalized frequencies of the pairs are ignored.

Ignoring frequency keeps sampling cheap and stops the model from just learning how often each pair occurs. The existing table probability already reflects those frequencies, so the network's capacity goes to plausibility of translations.

The encoder and decoder used 1000 hidden units, and the vocabulary was limited to the 15,000 most frequent words in each language, covering about 93% of the data. After training, the authors add one new score per phrase pair to the table, which lets the existing tuning run with little extra cost.

Translation gains from the RNN and CSLM scores

The Moses baseline scored 30.64 BLEU on development and 33.30 on test. Adding the RNN phrase scores alone raised test BLEU to 33.87. Neural features in general improved on the baseline in the configurations tested.

Combining the CSLM with the RNN scores gave the highest test BLEU, 34.64, compared to 33.30 for the baseline. The authors read this as a sign that the CSLM and RNN contributions are not strongly correlated, so each can be improved on its own. Adding the word penalty moved development BLEU from 31.48 to 31.50 but test BLEU from 34.64 to 34.54.

The CSLM was trained on 7-grams from the target corpus and reached a validation perplexity of 45.80. It scored partial translations during decoding, buffering n-grams so that scoring ran as matrix multiplications on GPU. All these numbers come from newstest2014, which has a single reference translation.

Phrase scores compared with the translation model

The authors took long source phrases, both frequent and rare, and compared the top target phrases chosen by each scorer. The translation model relies only on corpus statistics, so it was expected to be weaker on rare phrases. In most cases the RNN's choices were closer to literal translations, and the RNN tended to prefer shorter phrases.

Many phrase pairs received similar scores from both scorers, while many others were scored very differently. The authors suggest the divergence may come from training on a set of unique phrase pairs, which discourages the model from learning raw frequencies, but this is offered as a possible cause.

For each source phrase the authors drew 50 samples from the RNN and ranked the top five by RNN score. The samples were well-formed target phrases produced without consulting the phrase table, and they did not fully overlap with the table's targets. The authors see this as a reason to study replacing part of the phrase table with the model.

What the learned representations look like

The authors projected the learned word embeddings to two dimensions with Barnes-Hut-SNE, and semantically similar words clustered together. The phrase representation c is a 1000-dimensional vector, and phrases of four or more words were projected the same way.

In one bottom-left cluster most phrases concern the duration of time, while syntactically similar phrases grouped together. A bottom-right cluster groups phrases that are semantically similar, such as countries or regions, and the top-right plot shows syntactically similar phrases. The authors conclude that the model captures both semantic and syntactic structure, but the evidence here is a two-dimensional visualization.

Limitations

Only rescoring of existing phrase pairs was studied, because replacing the phrase table would need an expensive repeated sampling procedure. The word penalty helped only on the development set, and the authors could not achieve better test performance with it. The frequency explanation for the divergence from the translation model is a hypothesis that this paper leaves open.

Paper info

Authors
Kyunghyun Cho, Bart van Merrienboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, Yoshua Bengio
Venue
arXiv · Preprint
First published
2014-6-3
Added
2026-11-11
Updated
2014-9-3
Version
v3
arXiv
1406.1078
Category
cs.CL · cs.LG · cs.NE · 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, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, Yoshua Bengio (2014). Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation. arXiv:1406.1078v3. https://arxiv.org/abs/1406.1078v3

BibTeX
@misc{cho2014learning,
  title = {{Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation}},
  author = {Kyunghyun Cho and Bart van Merrienboer and Caglar Gulcehre and Dzmitry Bahdanau and Fethi Bougares and Holger Schwenk and Yoshua Bengio},
  year = {2014},
  eprint = {1406.1078},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1406.1078v3}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up