Joint Extraction of Entities and Overlapping Relations Using Position-Attentive Sequence Labeling

  • Dai Dai Baidu Inc.
  • Xinyan Xiao Baidu Inc.
  • Yajuan Lyu Baidu Inc.
  • Shan Dou Tsinghua University
  • Qiaoqiao She Baidu Inc.
  • Haifeng Wang Baidu Inc.


Joint entity and relation extraction is to detect entity and relation using a single model. In this paper, we present a novel unified joint extraction model which directly tags entity and relation labels according to a query word position p, i.e., detecting entity at p, and identifying entities at other positions that have relationship with the former. To this end, we first design a tagging scheme to generate n tag sequences for an n-word sentence. Then a position-attention mechanism is introduced to produce different sentence representations for every query position to model these n tag sequences. In this way, our method can simultaneously extract all entities and their type, as well as all overlapping relations. Experiment results show that our framework performances significantly better on extracting overlapping relations as well as detecting long-range relation, and thus we achieve state-of-the-art performance on two public datasets.

AAAI Technical Track: Natural Language Processing