@inproceedings{ac07596f85244e67a74d2f59ad1e2ffa,
title = "Evaluating Layers of Representation in Neural Machine Translation on Part-of-Speech and Semantic Tagging Tasks",
abstract = "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.",
author = "Yonatan Belinkov and Llu{\'i}s M{\`a}rquez and Hassan Sajjad and Nadir Durrani and Fahim Dalvi and James Glass",
note = "Publisher Copyright: {\textcopyright}2017 AFNLP.; 8th International Joint Conference on Natural Language Processing, IJCNLP 2017 ; Conference date: 27-11-2017 Through 01-12-2017",
year = "2017",
language = "English",
series = "8th International Joint Conference on Natural Language Processing - Proceedings of the IJCNLP 2017, System Demonstrations",
publisher = "Association for Computational Linguistics (ACL)",
pages = "1--10",
booktitle = "8th International Joint Conference on Natural Language Processing - Proceedings of the IJCNLP 2017, System Demonstrations",
address = "United States",
}