A sequence-to-sequence approach for document-level relation extraction

BioNLP (ACL) 2022  ·  John Giorgi, Gary D. Bader, Bo wang ·

Motivated by the fact that many relations cross the sentence boundary, there has been increasing interest in document-level relation extraction (DocRE). DocRE requires integrating information within and across sentences, capturing complex interactions between mentions of entities. Most existing methods are pipeline-based, requiring entities as input. However, jointly learning to extract entities and relations can improve performance and be more efficient due to shared parameters and training steps. In this paper, we develop a sequence-to-sequence approach, seq2rel, that can learn the subtasks of DocRE (entity extraction, coreference resolution and relation extraction) end-to-end, replacing a pipeline of task-specific components. Using a simple strategy we call entity hinting, we compare our approach to existing pipeline-based methods on several popular biomedical datasets, in some cases exceeding their performance. We also report the first end-to-end results on these datasets for future comparison. Finally, we demonstrate that, under our model, an end-to-end approach outperforms a pipeline-based approach. Our code, data and trained models are available at {\url{https://github.com/johngiorgi/seq2rel}}. An online demo is available at {\url{https://share.streamlit.io/johngiorgi/seq2rel/main/demo.py}}.

PDF Abstract BioNLP (ACL) 2022 PDF BioNLP (ACL) 2022 Abstract
Task Dataset Model Metric Name Metric Value Global Rank Benchmark
Joint Entity and Relation Extraction CDR seq2rel Relation F1 40.2 # 1
Relation Extraction CDR seq2rel (entity hinting) F1 67.2 # 8
Joint Entity and Relation Extraction DocRED seq2rel Relation F1 38.2 # 5
Joint Entity and Relation Extraction GDA seq2rel Relation F1 55.2 # 1
Relation Extraction GDA seq2rel (entity hinting) F1 84.9 # 5

Methods