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

为什么要自我关注?神经机器翻译体系结构的目标评估

Why Self-Attention? A Targeted Evaluation of Neural Machine Translation Architectures

Uppsala University(乌普萨拉大学);University of Zurich(苏黎世大学);University of Edinburgh(爱丁堡大学)

Gongbo Tang, Mathias Müller, Annette Rios, Rico Sennrich

摘要:

最近,非递归架构(卷积,自我注意)在神经机器翻译中的表现优于RNN。CNN和自我注意网络可以通过比RNN更短的网络路径连接遥远的单词,据推测,这提高了它们对远程依赖关系建模的能力。然而,这一理论论点尚未得到实证检验,也没有深入探讨其强劲表现的其他解释。我们假设CNN和自我注意网络的强大性能也可能是由于它们从源文本中提取语义特征的能力,我们在两个任务上评估了RNN,CNN和自我注意网络:主语-动词一致性(需要捕获长距离依赖关系)和词义消歧(需要语义特征提取)。我们的实验结果表明:1)自我注意网络和CNN在长距离主谓一致性建模方面并没有优于RNN; 2)自我注意网络在词义消歧方面明显优于RNN和CNN。

英文摘要:

Recently, non-recurrent architectures (convolutional, self-attentional) have outperformed RNNs in neural machine translation. CNNs and self-attentional networks can connect distant words via shorter network paths than RNNs, and it has been speculated that this improves their ability to model long-range dependencies. However, this theoretical argument has not been tested empirically, nor have alternative explanations for their strong performance been explored in-depth. We hypothesize that the strong performance of CNNs and self-attentional networks could also be due to their ability to extract semantic features from the source text, and we evaluate RNNs, CNNs and self-attention networks on two tasks: subject-verb agreement (where capturing long-range dependencies is required) and word sense disambiguation (where semantic feature extraction is required). Our experimental results show that: 1) self-attentional networks and CNNs do not outperform RNNs in modeling subject-verb agreement over long distances; 2) self-attentional networks perform distinctly better than RNNs and CNNs on word sense disambiguation.

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

↑