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

结构位置表征的自我注意

Self-Attention with Structural Position Representations

Tencent AI Lab(腾讯人工智能实验室)

Xing Wang, Zhaopeng Tu, Longyue Wang, Shuming Shi

摘要:

虽然自我注意网络(SAN)已经在各种NLP任务上发展了最先进的技术,但是对SAN的一个批评是它们对输入单词的位置进行编码的能力(Shaw等人,2018年)。在这项工作中,我们建议增加SAN与结构位置表示模型的潜在结构的输入句子,这是补充标准的顺序位置表示。具体来说,我们使用依存树来表示句子的语法结构,并提出了两种策略来编码依存树中的词之间的位置关系。NIST中文到英文和WMT14英文到德文翻译任务的实验结果表明,所提出的方法一致提高性能的绝对和相对顺序位置表示。

英文摘要:

Although self-attention networks (SANs) have advanced the state-of-the-art on various NLP tasks, one criticism of SANs is their ability of encoding positions of input words (Shaw et al., 2018). In this work, we propose to augment SANs with structural position representations to model the latent structure of the input sentence, which is complementary to the standard sequential positional representations. Specifically, we use dependency tree to represent the grammatical structure of a sentence, and propose two strategies to encode the positional relationships among words in the dependency tree. Experimental results on NIST Chinese-to-English and WMT14 English-to-German translation tasks show that the proposed approach consistently boosts performance over both the absolute and relative sequential position representations.

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

↑