Introduction
Document-Level Relation Extraction (DocRE) presents a significant challenge in natural language processing, requiring models to identify relationships between entities that often span multiple sentences. Unlike sentence-level extraction, DocRE necessitates "multi-hop" reasoning to connect disparate pieces of information across a text. While Transformer-based models excel at capturing global context, they often treat entity pairs in isolation. Conversely, graph-based models frequently focus on entity-level nodes, missing the nuanced interactions between different entity pairs where the core reasoning often resides.
The GREP Framework
To address these limitations, we introduce GREP (Global Relations and Entity Pair reasoning). This framework shifts the focus from individual entities to entity pairs and incorporates a global filtering mechanism to improve extraction accuracy.
The architecture consists of three primary components:
- Entity Pair Reasoning Module: This module constructs an Entity Pair Graph where nodes represent pairs of entities. Edges are formed between pairs that share a common entity, allowing a Graph Convolutional Network (GCN) to model transitive relationships (e.g., if A relates to B and B relates to C, the model can more easily infer the relationship between A and C).
- Global Relation Prediction Module: This auxiliary task predicts the set of all relations present in the document using the global
[CLS]representation. By establishing a "global menu" of plausible relations, the model can effectively filter out noise and focus on contextually relevant labels for specific pairs. - Evidence Extraction Module: This component identifies the specific sentences that support a predicted relation, ensuring the model's outputs are grounded in the text.
Experimental Results
GREP was evaluated on the DocRED and Re-DocRED benchmarks. On the original DocRED dataset, GREP achieved a state-of-the-art F1 score of 64.86 using a RoBERTa_large backbone, outperforming previous top models like AA and GAIN. On the cleaner Re-DocRED dataset, it reached an F1 score of 81.61, demonstrating its robustness against labeling noise.
Beyond accuracy, GREP demonstrates significant computational efficiency. As shown in the performance analysis, GREP completes training in approximately 126 minutes on a single GPU. This performance is notably faster and more memory-efficient than several existing graph-transformer hybrid models, such as SAIS, making it a practical solution for large-scale extraction tasks.
Conclusion
By prioritizing reasoning at the entity-pair level and utilizing global relation prediction as a contextual filter, GREP sets a new standard for DocRE. The framework's ability to be integrated as a plugin for other models further underscores its versatility in the field of information extraction. Future work will focus on scaling these methods for extremely long documents where entity pair counts grow quadratically.
Summary updated