Elamur Research

On the Properties of Neural Machine Translation: Encoder-Decoder Approaches

Paper · 2014 · Kyunghyun Cho, Bart van Merrienboer, Dzmitry Bahdanau et al.

Summary

The paper looks at how early purely neural translation systems behave, rather than just reporting their scores. Each system squeezes a source sentence into a single fixed-size vector and then decodes a translation from it. The authors compare two encoders paired with the same gated-RNN decoder. One is the RNN Encoder–Decoder (RNNenc). The other is a new gated recursive convolutional network (grConv), which builds a sentence vector bottom-up. At every node it chooses between a fresh combination of two children, the left child or the right child.

Both models were trained on an English–French parallel corpus, using only short sentence pairs and a capped vocabulary. Test results on news-test sets were then broken down by sentence length and by the number of unknown words. Quality is fine for short sentences with no rare words, but it falls quickly as sentences get longer and unknown words become more frequent. The grConv also appears to discover phrase-like structure with no syntactic supervision.

The work matters because it pinpointed the fixed-vector bottleneck and the vocabulary problem that later research went on to address.

Key points

  • Training data was a 348M-word subset chosen with the Axelrod et al. method from Europarl, news commentary, UN and two crawled corpora. Evaluation used news-test2012, news-test2013 and news-test2014, with roughly 3000 lines each.
  • Training was restricted to sentence pairs of at most 30 words on both sides. The vocabulary was the 30,000 most frequent words per language, and every other word became [UNK].
  • RNNenc used 1000 hidden units with tanh. grConv used 2000 hidden units with rectifiers. Both used 620-dimensional embeddings and AdaDelta.
  • Each model trained for about 110 hours. That came to 296,144 updates for grConv and 846,322 for RNNenc, and neither model reached convergence.
  • The comparison with Moses was limited to test sentences of 10–20 words with no unknown words. On this subset RNNenc scored 27.81 BLEU and Moses scored 33.08. The neural models need only about 500MB of memory.

Interesting ideas

  • I1. Breaking BLEU down by sentence length and by the count of unknown words reveals exactly where a system fails, which a single corpus-level average hides.
  • I2. grConv uses a soft three-way gate (merge the children, keep the left, or keep the right), so a fixed recursive network can still take a different tree shape for each input.
  • I3. The structure grConv learns is inspected by drawing only the gate edges above a threshold (0.1), which turns soft weights into a readable tree.
  • I4. The authors observe that both encoders hit the same length problem, and conclude that the shared component, the decoder or the fixed vector, is the likely culprit.
  • I5. The comparison against Moses was restricted to a clean subset (no unknown words, controlled length), so that model ability is not confused with vocabulary coverage.

For Mova

How these ideas could serve Mova, our small open language model — its files, stages and tests:

  • I1 (learn): Mova's evaluations could report accuracy per sentence-length bucket and per OOV-word count, so that weaknesses tied to long or rare-word inputs show up early.
  • I2 (tree): The learned gate weights could act as an independent, unsupervised bracketing witness, checked against the parser's constituents when building silver data.
  • I3 (learn): The same thresholding could make soft scores inside Mova's learned components readable as explicit structures, in keeping with the requirement that every step be explainable.
  • I4 (back): When the text → graph → text compressor degrades, swapping one stage while holding the others fixed can isolate whether the analysis or the generation side is responsible.
  • I5 (answer): School tests and word problems could be scored separately on items with fully known vocabulary, which separates reasoning failures from lexicon gaps.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

 Institutions

 Fields, topics and concepts

 Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksArts and Humanities · 17,959 worksLanguage and Linguistics · 17,789 works

 Topics 1Research subjects and languages the work is about.Machine translation · 1,109 works

Appears in

Mentioned in articles aboutCanada Germany Bremen

Cite

Cite as Kyunghyun Cho, Bart van Merrienboer, Dzmitry Bahdanau and Yoshua Bengio. 2014. On the Properties of Neural Machine Translation: Encoder-Decoder Approaches. arXiv:1409.1259.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.1409.1259 · arXiv 1409.1259

@misc{cho2014properties,
  title = {{On the Properties of Neural Machine Translation: Encoder-Decoder Approaches}},
  author = {Kyunghyun Cho, Bart {van Merrienboer}, Dzmitry Bahdanau and Yoshua Bengio},
  year = {2014},
  doi = {10.48550/arxiv.1409.1259},
  eprint = {1409.1259},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1409.1259}
}

References

12 references, from the paper's own bibliography.

  1. Amittai Axelrod, Xiaodong He, and Jianfeng Gao. 2011. Domain adaptation via pseudo in-domain data selection. In Proceedings of the ACL Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 355–362. Association for Computational Linguistics. our card
  2. Nicolas Boulanger-Lewandowski, Yoshua Bengio, and Pascal Vincent. 2013. Audio chord recognition with recurrent neural networks. In ISMIR. OpenAlex ↗ · Scholar ↗
  3. Kyunghyun Cho, Bart van Merrienboer, Caglar Gulcehre, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. 2014. Learning phrase representations using rnn encoder-decoder for statistical machine translation. In Proceedings of the Empiricial Methods in Natural Language Processing (EMNLP 2014), October. to appear. our card
  4. Alex Graves. 2012. Sequence transduction with recurrent neural networks. In Proceedings of the 29th International Conference on Machine Learning (ICML 2012). our card
  5. A. Graves. 2013. Generating sequences with recurrent neural networks. arXiv: 1308.0850 [cs.NE], August. our card
  6. S. Hochreiter and J. Schmidhuber. 1997. Long short-term memory. Neural Computation, 9(8):1735–1780. OpenAlex ↗ · Scholar ↗
  7. Nal Kalchbrenner and Phil Blunsom. 2013. Two recurrent continuous translation models. In Proceedings of the ACL Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 1700–1709. Association for Computational Linguistics. our card
  8. Philipp Koehn, Franz Josef Och, and Daniel Marcu. 2003. Statistical phrase-based translation. In Proceedings of the 2003 Conference of the North American Chapter of the Association for Computational Linguistics on Human Language Technology - Volume 1, NAACL '03, pages 48–54, Stroudsburg, PA, USA. Association for Computational Linguistics. our card
  9. Chang Liu, Daniel Dahlmeier, and Hwee Tou Ng. 2011. Better evaluation metrics lead to better machine translation. In Proceedings of the Conference on Empirical Methods in Natural Language Processing, pages 375–384. Association for Computational Linguistics. our card
  10. Xingyi Song, Trevor Cohn, and Lucia Specia. 2013. BLEU deconstructed: Designing a better MT evaluation metric. In Proceedings of the 14th International Conference on Intelligent Text Processing and Computational Linguistics (CICLING), March. OpenAlex ↗ · Scholar ↗
  11. Ilya Sutskever, Oriol Vinyals, and Quoc Le. 2014. Sequence to sequence learning with neural networks. In Advances in Neural Information Processing Systems (NIPS 2014), December. our card
  12. Matthew D. Zeiler. 2012. ADADELTA: an adaptive learning rate method. Technical report, arXiv 1212.5701. our card

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/cho-2014-properties-neural-machine-translation-encoder/