Position-aware Self-attention with Relative Positional Encodings for Slot Filling

07/09/2018
by   Ivan Bilan, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/07/2019

Improving Relation Extraction with Knowledge-attention

While attention mechanisms have been proven to be effective in many NLP ...
research
05/17/2023

Deep Multiple Instance Learning with Distance-Aware Self-Attention

Traditional supervised learning tasks require a label for every instance...
research
03/06/2018

Self-Attention with Relative Position Representations

Relying entirely on an attention mechanism, the Transformer introduced b...
research
01/01/2019

Text Infilling

Recent years have seen remarkable progress of text generation in differe...
research
10/01/2022

Construction and Evaluation of a Self-Attention Model for Semantic Understanding of Sentence-Final Particles

Sentence-final particles serve an essential role in spoken Japanese beca...
research
05/10/2018

Obligation and Prohibition Extraction Using Hierarchical RNNs

We consider the task of detecting contractual obligations and prohibitio...
research
05/20/2022

KERPLE: Kernelized Relative Positional Embedding for Length Extrapolation

Relative positional embeddings (RPE) have received considerable attentio...

Please sign up or login with your details

Forgot password? Click here to reset