arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1801.07772cs.CL
收藏

评估神经机器翻译中词性和语义标记任务的表示层

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

MIT Computer Science and Artificial Intelligence Laboratory(麻省理工学院计算机科学与人工智能实验室);Qatar Computing Research Institute, HBKU(哈马德·本·哈利法大学卡塔尔计算研究所)

Yonatan Belinkov, Lluís Màrquez, Hassan Sajjad, Nadir Durrani, Fahim Dalvi, James Glass

摘要:

虽然神经机器翻译(NMT)模型在一个优雅的端到端框架中提供了更好的翻译质量,但它们对语言的了解还不太清楚。最近的工作已经开始评估NMT模型在形态和句法任务上学习的向量表示的质量。在本文中,我们研究了在NMT编码器的不同层学习的表示。我们在并行数据上训练NMT系统,并使用训练好的模型提取特征,用于训练分类器的两个任务:词性和语义标记。然后,我们测量分类器的性能作为给定任务的原始NMT模型的质量的代理。我们的定量分析产生了有趣的见解表示学习在NMT模型。例如,我们发现,较高的层更好地学习语义,而较低的层往往更适合词性标记。我们还观察到目标语言对源端表示的影响很小,特别是在高质量的NMT模型中。

英文摘要:

While neural machine translation (NMT) models provide improved translation quality in an elegant, end-to-end 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 trained 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 with higher quality NMT models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑