[Paper Review] Entity and Evidence Guided Relation Extraction for DocRED
This paper proposes E2GRE, a joint framework for document-level relation extraction that enhances pretrained language models (e.g., BERT) by using entity-guided input sequences and attention-based evidence supervision. By appending each entity to the document and leveraging internal attention probabilities for evidence prediction, E2GRE improves both relation extraction and evidence localization, achieving state-of-the-art performance on the DocRED benchmark across all metrics.
Document-level relation extraction is a challenging task which requires reasoning over multiple sentences in order to predict relations in a document. In this paper, we pro-pose a joint training frameworkE2GRE(Entity and Evidence Guided Relation Extraction)for this task. First, we introduce entity-guided sequences as inputs to a pre-trained language model (e.g. BERT, RoBERTa). These entity-guided sequences help a pre-trained language model (LM) to focus on areas of the document related to the entity. Secondly, we guide the fine-tuning of the pre-trained language model by using its internal attention probabilities as additional features for evidence prediction.Our new approach encourages the pre-trained language model to focus on the entities and supporting/evidence sentences. We evaluate our E2GRE approach on DocRED, a recently released large-scale dataset for relation extraction. Our approach is able to achieve state-of-the-art results on the public leaderboard across all metrics, showing that our E2GRE is both effective and synergistic on relation extraction and evidence prediction.
Motivation & Objective
- To address the challenge of document-level relation extraction, where relations span multiple sentences and require long-range reasoning.
- To overcome the limitation of pretrained language models (PLMs) in focusing on relevant entities and evidence sentences due to uniform attention over long documents.
- To improve both relation extraction and evidence prediction performance through joint training with entity and attention-guided supervision.
- To enable more explainable relation extraction by explicitly identifying supporting evidence sentences.
Proposed method
- For each document, generate N_e entity-guided input sequences by concatenating each named entity to the beginning of the document, enabling the PLM to focus on entity-specific context during fine-tuning.
- Use the internal attention probabilities from the last l layers of BERT as additional features to guide evidence prediction, enhancing the model's ability to locate relevant supporting sentences.
- Train a joint model for relation extraction and evidence prediction using the entity-guided sequences and attention-based features, enabling multi-task learning.
- Leverage the attention mechanism to highlight not only head and tail entities but also bridging phrases and evidence sentences that connect relational information across sentences.
- Optimize the model end-to-end with a joint objective that balances relation prediction and evidence sentence identification.
- Use ablation studies to analyze the contribution of entity-guiding and attention-based evidence supervision, and to evaluate the impact of using different numbers of BERT layers for attention features.
Experimental results
Research questions
- RQ1Can entity-guided input sequences improve the performance of pretrained language models in document-level relation extraction by focusing attention on relevant entities?
- RQ2Does using internal attention probabilities from BERT layers as supervision signals enhance evidence sentence prediction and, in turn, improve relation extraction?
- RQ3How does the joint training of relation extraction and evidence prediction affect overall model performance on document-level RE?
- RQ4What is the optimal number of BERT layers to use for extracting attention-based features for evidence prediction?
- RQ5To what extent does E2GRE improve explainability by identifying supporting evidence sentences?
Key findings
- E2GRE achieves a relation extraction F1 score of 58.72% on the DocRED validation set, outperforming the BERT+Joint Training baseline by 4.18 percentage points.
- The entity-guided component alone improves F1 by 2.5 percentage points compared to the baseline, demonstrating its effectiveness in focusing the model on relevant entities.
- Adding evidence-guided training further increases F1 by 1.7 percentage points, showing that attention-based supervision enhances both evidence prediction and relation extraction.
- Evidence prediction F1 improves from 42.49% (baseline) to 47.14% with E2GRE, indicating that the method enhances explainability by identifying correct supporting sentences.
- Using 6 layers of attention probabilities yields slightly better evidence prediction (F1=46.90) than 3 layers (F1=47.12), though the performance gain is marginal, suggesting that middle layers may be most informative.
- Visualization results confirm that E2GRE assigns higher attention weights to evidence sentences and bridging phrases, such as 'protagonist' and 'involves', which connect the head and tail entities across sentences.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.