Abstract
Document-level Relation Extraction (RE) requires reasoning across multiple sentences to identify semantic connections between entities. Traditional methods often struggle with the "long-tail" distribution of relations and the prevalence of the "None" class, which denotes the absence of a relation. We propose a novel framework that addresses these challenges by modeling relations as interconnected entities using Graph Attention Networks (GATs) and introducing a "None Class Ranking Loss." This loss function treats the "None" class as a dynamic threshold for multi-label classification. Our model, Ours-BERT, achieves state-of-the-art results on the DocRED and Re-DocRED benchmarks, demonstrating the effectiveness of leveraging relation correlations and adaptive thresholding.
Introduction
Relation Extraction (RE) is a fundamental task in information extraction, identifying connections such as "located in" or "member of" between entities. While sentence-level RE has seen significant progress, document-level RE is more challenging due to the need for cross-sentence reasoning and the high frequency of entity pairs with no defined relation (the "None" class). Existing models typically use Binary Cross Entropy (BCE) loss, which treats the "None" class as a standard label, failing to exploit its potential as an informative threshold for other relations. Furthermore, most models ignore the inherent semantic correlations between different relation types.
Methodology
The proposed framework introduces a three-part architecture to improve document-level RE performance:
- Relation Correlation Module: Instead of static labels, relations are represented as learnable embeddings. A Graph Attention Network (GAT) models the correlations between these relations based on their co-occurrence in training data. This allows the model to use the presence of one relation as a semantic hint for others.
- Representation Fusion and Alignment: The model uses Multi-head Attention (MHA) to fuse relation features with entity and context representations from a BERT-based text encoder. A Tucker Factorization-based alignment module then scores potential (Subject, Relation, Object) triples.
- None Class Ranking Loss: This is a key innovation of the paper. Rather than standard classification, the model uses a ranking approach where the "None" class acts as a dynamic "waterline." Positive relations are optimized to score higher than the "None" class, while negative relations are pushed below it. This approach is further enhanced with margin regularization to protect rare relations and margin shifting to handle noisy labels.
Key Insights: Modeling Interconnected Relations
A core insight of this work is that relations are not independent. For example, if a document mentions an individual's place of birth, it is statistically more likely to also contain information about their nationality or place of death. By building a correlation matrix and applying GATs with edge re-weighting, the model captures these dependencies without suffering from over-smoothing. This contextual awareness helps the model disambiguate difficult cases and improve performance on infrequent relations.
Experimental Results
The model was evaluated on two major benchmarks: DocRED, a large-scale dataset sourced from Wikipedia, and Re-DocRED, a revised version with improved annotation quality.
As shown in the performance comparison, Ours-BERT establishes a new state-of-the-art. On the DocRED test set, it achieved an F1 score of 63.40, outperforming previous leaders like ATLOP-BERT (61.30) and KD-DocRE-BERT (62.08). On the cleaner Re-DocRED dataset, the model reached an F1 score of 76.30. Ablation studies highlight that the "None Class Ranking Loss" is the most significant contributor to these gains, providing a substantial boost over standard BCE or Adaptive Threshold Loss (ATL) methods.
Conclusion
This research demonstrates that treating the "None" class as a dynamic threshold and modeling relation correlations can significantly enhance document-level RE. The proposed framework effectively addresses the long-tail problem and the complexities of multi-label extraction. Future work will explore applying the None Class Ranking logic to broader NLP tasks such as event extraction and cross-domain relation identification.
Summary updated