arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1907.03885cs.CLcs.LGcs.NE
收藏

神经机器翻译结构的内最近邻分析

An Intrinsic Nearest Neighbor Analysis of Neural Machine Translation Architectures

Informatics Institute(信息学研究所);University of Amsterdam(阿姆斯特丹大学)

Hamidreza Ghader, Christof Monz

摘要:

早期的方法通过将递归和非递归神经机器翻译模型的隐藏状态馈送到不同的分类器中来间接地研究所捕获的信息。在本文中,我们期待在编码器隐藏状态的Transformer和循环机器翻译模型从最近邻居的角度来看。我们调查到什么程度的最近的邻居共享信息的基础词嵌入以及相关的WordNet条目。此外,我们还研究了最近邻居的潜在句法结构,以揭示句法相似性在将邻居聚集在一起方面的作用。我们比较Transformer和经常性的模型在一个更内在的方式捕获词汇语义和句法结构,与以前的作品使用的外在方法。与早期作品中的外在评价一致,我们的实验结果表明,Transformers在捕获词汇语义方面更优越,但在捕获底层语法方面不一定更好。此外,我们表明,在一个循环模型的向后递归层学习更多的单词的语义,而向前递归层编码更多的上下文。

英文摘要:

Earlier approaches indirectly studied the information captured by the hidden states of recurrent and non-recurrent neural machine translation models by feeding them into different classifiers. In this paper, we look at the encoder hidden states of both transformer and recurrent machine translation models from the nearest neighbors perspective. We investigate to what extent the nearest neighbors share information with the underlying word embeddings as well as related WordNet entries. Additionally, we study the underlying syntactic structure of the nearest neighbors to shed light on the role of syntactic similarities in bringing the neighbors together. We compare transformer and recurrent models in a more intrinsic way in terms of capturing lexical semantics and syntactic structures, in contrast to extrinsic approaches used by previous works. In agreement with the extrinsic evaluations in the earlier works, our experimental results show that transformers are superior in capturing lexical semantics, but not necessarily better in capturing the underlying syntax. Additionally, we show that the backward recurrent layer in a recurrent model learns more about the semantics of words, whereas the forward recurrent layer encodes more context.

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

↑