BART-Reader: Predicting Relations Between Entities via Reading Their Document-Level Context Information

Hang Yan, Yu Sun, Junqi Dai, Xiangkun Hu, Qipeng Guo, Xipeng Qiu, Xuanjing Huang

Abstract

Document-level relation extraction (Doc-RE) aims to classify relations between entities spread over multiple sentences. When one entity is paired with separate entities, the importance of its mentions varies, which means the entity representation should be different. However, most of the previous RE models failed to make the relation classification entity-pair aware effectively. To that end, we propose a novel adaptation to simultaneously utilize the encoder and decoder of the sequence-to-sequence (Seq2Seq) pre-trained model BART in a non-generative manner to tackle the Doc-RE task. The encoder encodes the document to get the entity-aware contextualized mention representation. The decoder uses a non-causal self-attention mechanism and masked cross-attention to model the interactions between the entity pair under consideration explicitly. By doing so, we can fully take advantage of the pre-trained model in the encoder and decoder sides. And experiments in three Doc-RE datasets show that our model can not only take more advantage of BART, but surpass various BERT and RoBERTa based models.
BibTeX
@inproceedings{yan2022bart,
  author = {Hang Yan and Yu Sun and Junqi Dai and Xiangkun Hu and Qipeng Guo and Xipeng Qiu and Xuanjing Huang},
  title = {{BART-Reader: Predicting Relations Between Entities via Reading Their Document-Level Context Information}},
  booktitle = {NLPCC},
  year = {2022},
  doi = {10.1007/978-3-031-17120-8\_13},
}

Loading related content...

Figure