Introduction
Document-level Relation Extraction (DocRE) presents a significant challenge in natural language processing, requiring models to identify relationships between entities that may span multiple sentences. Unlike sentence-level extraction, DocRE must account for long-distance dependencies, entity aliases (e.g., "US" vs. "United States"), and latent context that is not explicitly stated in the text. Traditional approaches often struggle with the "imprecise context" gap, where the text alone is insufficient for confident prediction. This paper introduces DocRE-CLiP, which reframes the task as a link prediction problem over a knowledge graph enriched by external context.
Methodology: DocRE-CLiP
The proposed framework, DocRE-CLiP (Document-level Relation Extraction with Context-guided Link Prediction), integrates internal document reasoning with external knowledge from Wikidata and WordNet. The architecture consists of four primary components:
- Triplet Extraction: Initial (subject, relation, object) triples are extracted from the document using the pre-trained REBEL model.
- Context Module: This module enriches the graph by querying WordNet for synonyms and types, and Wikidata for N-hop paths (connections through intermediate entities) between entity pairs.
- Link Prediction Module: The combined graph is processed using a Relational Graph Convolutional Network (R-GCN) to encode entities, followed by the DistMult algorithm to score potential relations.
- Reasoning Module: The system explicitly models intra-sentence, logical (bridging), and coreference reasoning to capture complex dependencies.
The final predictions are derived from an aggregation of scores from the link prediction and reasoning modules, ensuring that both textual evidence and external context are considered.
Experimental Results and Interpretability
DocRE-CLiP was evaluated against several benchmarks, including DocRED, ReDocRED, and DWIE. The model achieved state-of-the-art results, notably an F1 score of 68.51 on DocRED and 81.55 on the cleaned ReDocRED dataset. Ablation studies confirmed that "Context Paths"—external links from Wikidata—provided the most significant performance boost compared to simple entity synonyms or types.
Beyond raw performance, the model offers enhanced interpretability. By employing a Path-Based Beam Search, DocRE-CLiP can generate human-readable "traversal paths" that explain the logic behind its predictions. This allows users to see the chain of entities and relations the model used to resolve a relationship, moving away from "black box" classification.
Conclusion
The shift from classification to link prediction allows DocRE-CLiP to leverage mature graph-learning techniques. The integration of external knowledge acts as a force multiplier, resolving cross-sentence relations that are ambiguous in the source text alone. While the model introduces some computational overhead due to external KB queries, its ability to provide explainable reasoning paths represents a significant step forward for transparent AI in information extraction.
Summary updated