A sequence-to-sequence approach for document-level relation extraction
John Giorgi, Gary D. Bader, Bo Wang
Abstract
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 https://github.com/johngiorgi/seq2rel. An online demo is available at https://share.streamlit.io/johngiorgi/seq2rel/main/demo.py.
Create a lesson
Related papers
FIDEL: Abugida-Aware Pre-tokenization for Ethiopic Languages
Gebreslassie Teklu Reda, Yuval Pinter
Do We Still Need Fine-Tuned Classifiers? Swapping Typed Decision Models into 24 ACL-Venue Papers
Marek Šuppa, Jaroslav Kopčan
Who Can You Hide Behind? Author-Conditioned Style Transfer and the Evasion of a Commercial AI-Text Detector
Mohd Ruhul Ameen, M. Saifuzzaman Rafat, Akif Islam
Risk-certified prompt optimization for LLM-as-a-judge guardrails
Hussein Jawad, Alexandre Landeau, Guy Fleury Iradukunda et al.
Centered Ablation: Why Last-Layer Directional Ablation Under-Fires or Collapses, and a Closed-Form Fix
Quy-Anh Dang, Chris Ngo
Rank, Don't Regress: A 279M Text Ranker Beats 2B and 7B VLMs on Referential Urdu GUI Grounding
Hamza Raziq Khan, Aimal Khan