Evaluating Layers of Representation in Neural Machine Translation on Part-of-Speech and Semantic Tagging Tasks

By Yonatan Belinkov, Lluís Màrquez i Villodre, Hassan Sajjad, Nadir Durrani, Fahim Dalvi, James R. Glass. 2017

177 citations recorded by the source corpus.

While neural machine translation (NMT) models provide improved translation quality in an elegant framework, it is less clear what they learn about language. Recent work has started evaluating the quality of vector representations learned by NMT models on morphological and syntactic tasks. In this paper, we investigate the representations learned at different layers of NMT encoders. We train NMT systems on parallel data and use the models to extract features for training a classifier on two tasks: part-of-speech and semantic tagging. We then measure the performance of the classifier as a proxy to the quality of the original NMT model for the given task. Our quantitative analysis yields interesting insights regarding representation learning in NMT models. For instance, we find that higher layers are better at learning semantics while lower layers tend to be better for part-of-speech tagging. We also observe little effect of the target language on source-side representations, especially in higher quality models.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Natural Language Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Yonatan Belinkov
  2. Samuel R. Bowman
  3. Percy Liang
  4. Mohit Bansal
  5. Luke S. Zettlemoyer
  6. Graham Neubig
  7. Yoav Goldberg
  8. Noah A. Smith

In Computer Vision and Pattern Recognition

  1. Yonatan Belinkov
  2. Luke S. Zettlemoyer
  3. Percy Liang
  4. Mohit Bansal
  5. Samuel R. Bowman
  6. Noah A. Smith
  7. Graham Neubig
  8. Jianfeng Gao

In Natural Language Processing

  1. Yonatan Belinkov
  2. Samuel R. Bowman
  3. Mohit Bansal
  4. Percy Liang
  5. Luke S. Zettlemoyer
  6. Graham Neubig
  7. Yoav Goldberg
  8. Noah A. Smith

Citations in the corpus