Abstract
Document-level relation extraction aims to recognize relations among multiple entity pairs from a whole piece of article. Recent methods achieve considerable performance but still suffer from two challenges: a) the relational entity pairs are sparse, b) the representation of entity pairs is insufficient. In this paper, we propose Pair-Aware and Entity-Enhanced(PAEE) model to solve the aforementioned two challenges. For the first challenge, we design a Pair-Aware Representation module to predict potential relational entity pairs, which constrains the relation extraction to the predicted entity pairs subset rather than all pairs; For the second, we introduce a Entity-Enhanced Representation module to assemble directional entity pairs and obtain a holistic understanding of the entire document. Experimental results show that our approach can obtain state-of-the-art performance on four benchmark datasets DocRED, DWIE, CDR and GDA.
Introduction
While traditional relation extraction focuses on single sentences, real-world information is often spread across entire documents. Document-level RE (DocRE) requires a model to recognize relationships between entities that might be mentioned paragraphs apart. The authors identify two critical bottlenecks in current DocRE methods:
- Relational Sparsity: In a document with $n$ entities, there are $n(n-1)$ possible pairs. However, typically only about 3% of these pairs actually hold a predefined relationship. Most models waste significant "expressive power" classifying "No Relation" (NA) pairs.
- Insufficient Representation: Entities are often "scattered" across different sentences, and relationships are "directional" (the role of an entity as a Subject vs. an Object matters). Current models often fail to capture this global context or the specific nuances of subject-object roles.
Methodology
The PAEE (Pair-Aware and Entity-Enhanced) model consists of several novel components designed to address these challenges.
Pair-Aware Representation (PAR)
To handle sparsity, the authors use a Sliding Window Filling Strategy. Instead of a sparse matrix where distant entities are far apart, they "slide" the window to bring entity representations closer together, facilitating better interaction. They then use a Potential Pair Prediction module—a binary classifier that identifies likely relational pairs before the final multi-class classification.
Entity-Enhanced Representation (EER)
This module uses a Representation-Enhanced Encoder (a Transformer layer) to allow all sentences and entities in a document to interact globally.
Cross Matching and Directionality
To address directionality, the model separates features for an entity based on whether it is acting as a subject or an object. This ensures the model understands that "A is the father of B" is not the same as "B is the father of A." Additionally, an Adaptive Softmax Loss is implemented to handle the extreme class imbalance between relational facts and the "NA" category.
Experimental Results
The model was evaluated on four diverse benchmarks: DocRED, DWIE, CDR, and GDA.
PAEE achieved state-of-the-art (SOTA) results across the board. On DocRED, it reached a test F1 of 65.09 (using RoBERTa-large), a significant +1.57 improvement over the previous best model, DocuNet. On DWIE, it achieved 73.10 F1, outperforming the previous SOTA (ATLOP) by 3.16 points. The model also set new records on biomedical datasets CDR (78.2 F1) and GDA (87.7 F1), proving its effectiveness isn't limited to general-domain text.
Discussion and Insights
A diagnostic experiment revealed that if a model is told exactly which pairs are related (the "Oracle" Potential), its F1 score on DocRED jumps by 32.2%, proving that identifying "potential" pairs is a primary hurdle in the field. Ablation studies confirmed that removing the Pair-Aware (PAR) module caused the largest performance drop (3.01 F1 points), validating the importance of filtering for potential pairs.
Conclusion
PAEE effectively addresses relational sparsity and representation insufficiency in DocRE. While the model shows impressive gains, future work could focus on tuning hyperparameter weights for the multi-task loss and streamlining the architectural complexity of the multi-stage process for faster inference.
Summary updated