[Paper Review] Document-level Relation Extraction as Semantic Segmentation
This paper proposes DocuNet, the first model to frame document-level relation extraction as a semantic segmentation task by treating entity pairs as pixels in a feature map. It uses a U-shaped segmentation head over an entity-level relation matrix to capture global interdependencies, achieving state-of-the-art performance on DocRED, CDR, and GDA with a 6.9% F1 improvement on CDR over prior methods.
Document-level relation extraction aims to extract relations among multiple entity pairs from a document. Previously proposed graph-based or transformer-based models utilize the entities independently, regardless of global information among relational triples. This paper approaches the problem by predicting an entity-level relation matrix to capture local and global information, parallel to the semantic segmentation task in computer vision. Herein, we propose a Document U-shaped Network for document-level relation extraction. Specifically, we leverage an encoder module to capture the context information of entities and a U-shaped segmentation module over the image-style feature map to capture global interdependency among triples. Experimental results show that our approach can obtain state-of-the-art performance on three benchmark datasets DocRED, CDR, and GDA.
Motivation & Objective
- To address the limitation of existing models in capturing global interdependencies among multiple relational triples in document-level relation extraction.
- To improve performance on long-distance and inter-sentence relations that cannot be resolved by sentence-level models.
- To explore a novel formulation of document-level RE as a semantic segmentation task, analogous to image segmentation in computer vision.
- To design a model that jointly captures local context and global relational reasoning across entity pairs.
Proposed method
- The model uses an encoder module to extract contextual representations for each entity in the document.
- It constructs an image-style feature map from pairwise entity representations, treating each entity pair as a 'pixel' to be classified.
- A U-shaped segmentation head is applied to this feature map to predict relation types, enabling modeling of long-range dependencies across triples.
- The U-shaped architecture employs skip connections to preserve spatial (entity-pair) resolution and enhance feature learning.
- A balanced softmax loss is introduced to handle the long-tailed distribution of relation types in real-world data.
- The method is trained end-to-end using cross-entropy loss with class balancing to improve rare relation detection.
Experimental results
Research questions
- RQ1Can document-level relation extraction be effectively reformulated as a semantic segmentation task over an entity-pair feature map?
- RQ2How does modeling global interdependencies among relational triples improve performance on document-level relation extraction?
- RQ3To what extent does the U-shaped segmentation architecture enhance relational reasoning across long-distance and inter-sentence entity pairs?
- RQ4How effective is the proposed balanced softmax loss in mitigating class imbalance in relation classification?
- RQ5Does the model implicitly perform relational reasoning, as evidenced by its ability to infer indirect relations?
Key findings
- DocuNet achieves state-of-the-art performance on three benchmark datasets: DocRED, CDR, and GDA, with a 6.9% absolute F1 improvement on CDR over the previous SOTA method ATLOP.
- The ablation study shows that removing the U-shaped segmentation module causes a 2.18% drop in dev F1, demonstrating its critical role in capturing global dependencies.
- The balanced softmax loss contributes significantly, with a 1.32% F1 drop when removed, indicating its effectiveness in handling long-tailed relation distributions.
- The model with context-based feature input outperforms the similarity-based variant by 0.84 F1, confirming the superiority of contextual representations.
- On DocRED, the model with U-shaped segmentation consistently outperforms the baseline across all entity count groups, with larger gains as the number of entities increases.
- Case studies show that DocuNet can infer indirect relations (e.g., U.S. as country of Eldersburg via Maryland), suggesting implicit relational reasoning capability.
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.