What do Neural Machine Translation Models Learn about Morphology?

Yonatan Belinkov, Nadir Durrani, Fahim Dalvi, Hassan Sajjad, James Glass
4/11/2017
459 citations
cs.CL

Official code: boknilev/nmt-repr-analysis (38 stars, Jupyter Notebook, MIT, last commit 2019-04-23).

Abstract

Neural machine translation (MT) models obtain state-of-the-art performance while maintaining a simple, end-to-end architecture. However, little is known about what these models learn about source and target languages during the training process.

Show full abstract

In this work, we analyze the representations learned by neural MT models at various levels of granularity and empirically evaluate the quality of the representations for learning morphology through extrinsic part-of-speech and morphological tagging tasks. We conduct a thorough investigation along several parameters: word-based vs. character-based representations, depth of the encoding layer, the identity of the target language, and encoder vs. decoder representations. Our data-driven, quantitative evaluation sheds light on important aspects in the neural MT system and its ability to capture word structure.

View on arXivView PDF

Code Implementations(1)

MIT
385Jupyter Notebook, PythonJan 6, 20177 years agoMIT

Similar Papers

Cite this paper

@article{belinkov2017what,
  title  = {What do Neural Machine Translation Models Learn about Morphology?},
  author = {Yonatan Belinkov and Nadir Durrani and Fahim Dalvi and Hassan Sajjad and James Glass},
  year   = {2017},
  eprint = {1704.03471},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1704.03471}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1704.03471.svg)](https://codeofpaper.com/paper/1704.03471)

Discussion