NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Revisiting Document-Level Relation Extraction with Context-Guided Link Prediction

Monika Jain, Raghava Mutharaju, Ramakanth Kavuluru, Kuldeep Singh

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:

  1. Triplet Extraction: Initial (subject, relation, object) triples are extracted from the document using the pre-trained REBEL model.
  2. 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.
  3. 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.
  4. Reasoning Module: The system explicitly models intra-sentence, logical (bridging), and coreference reasoning to capture complex dependencies.
The DocRE-CLiP architecture integrates triplet extraction, a context module, and dual reasoning paths to perform link prediction.

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.

Examples of queries and the corresponding explanations generated by the model, showing the multi-hop reasoning paths used to reach an answer.

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

BibTeX
@inproceedings{jain2024revisiting,
  author = {Monika Jain and Raghava Mutharaju and Ramakanth Kavuluru and Kuldeep Singh},
  title = {{Revisiting Document-Level Relation Extraction with Context-Guided Link Prediction}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i16.29792},
}
Figure