计算机科学 > 计算与语言
[提交于 2018年7月10日]
标题:Position-aware Self-attention with Relative Positional Encodings for Slot Filling
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:This paper describes how to apply self-attention with relative positional encodings to the task of relation extraction. We propose to use the self-attention encoder layer together with an additional position-aware attention layer that takes into account positions of the query and the object in the sentence. The self-attention encoder also uses a custom implementation of relative positional encodings which allow each word in the sentence to take into account its left and right context. The evaluation of the model is done on the TACRED dataset. The proposed model relies only on attention (no recurrent or convolutional layers are used), while improving performance w.r.t. the previous state of the art.
提交历史
来自:Benjamin Roth[v1] 2018年7月10日 星期二 00:00:00 UTC