计算机科学 > 计算与语言
[提交于 2019年9月4日]
标题:Self-Attention with Structural Position Representations
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Xing Wang[v1] 2019年9月4日 星期三 00:00:00 UTC