Abstract
Document-level relation extraction aims to extract relations between entities in a document. In contrast to sentence-level relation extraction, it deals with longer texts and more complex entity interactions, which requires reasoning over multiple sentences with rich reasoning skills. Most current researches construct a document-level graph first, and then focus on the overall graph structure or the paths between the target entity pair in the graph. In this paper, we propose a novel subgraph reasoning (SGR) framework for document-level relation extraction. SGR combines the advantages of both graph-based models and path-based models, integrating various paths between the target entity pair into a much simpler subgraph structure to perform relational reasoning. Moreover, the paths generated by our designed heuristic strategy explicitly model the requisite reasoning skills and roughly cover the supporting sentences for each relation instance. Experimental results on DocRED show that SGR outperforms existing models, and further analyses demonstrate that our method is both effective and explainable.
Introduction
Document-level relation extraction (RE) is a critical task in natural language processing, requiring the identification of relationships between entities that may span multiple sentences. Unlike sentence-level RE, which focuses on local context, document-level RE necessitates complex reasoning skills such as co-reference resolution and logical inference across long-range dependencies.
Existing methods typically fall into two categories: graph-based models, which build global document graphs that can be noisy and prone to over-smoothing, and path-based models, which analyze specific chains of connections but often treat them in isolation. This paper introduces Subgraph Reasoning (SGR), a framework that bridges these approaches by extracting concise, informative subgraphs for focused relational reasoning.
The SGR Framework
The SGR framework operates through a structured four-stage pipeline designed to distill relevant information from a document into a manageable reasoning structure.
- Document Encoding: The input text is first encoded using BiLSTM and word embeddings to generate initial contextual representations.
- Graph Construction: A heterogeneous graph is built with nodes representing Entities, Mentions, and Sentences. Edges capture the hierarchical and sequential relationships between these elements.
- Reasoning Path Generation: SGR employs a heuristic strategy to identify "meta-paths" between target entity pairs. It prioritizes intra-sentence connections before searching for inter-sentence paths through "bridge" entities or adjacent sentences. This strategy successfully covers approximately 75.2% of human-annotated supporting sentences.
- Subgraph Reasoning: An induced subgraph is created from the nodes identified in the reasoning paths. A "Super Node" is added to aggregate information specifically for the target pair. A Relational Graph Convolutional Network (R-GCN) then performs message passing within this focused structure, and the resulting features are combined with global context for final relation classification.
Experimental Results
The model was evaluated on the DocRED dataset, a large-scale benchmark where over 40% of relational facts require reasoning across multiple sentences. SGR achieved a state-of-the-art F1 score of 57.15% on the test set, significantly outperforming previous graph-based baselines like SIRE (55.96%).
Analysis shows that SGR is particularly robust as the distance between entities increases. While performance naturally declines with distance for all models, SGR maintains a significant margin over models without subgraph reasoning, particularly for long-range relations (distance ≥ 128). Furthermore, the model effectively leverages multiple entity mentions, showing consistent performance gains as the complexity of entity interactions increases.
Conclusion
The SGR framework demonstrates that "less is more" in document-level RE. By filtering out irrelevant sentences and focusing on a high-quality induced subgraph, the model reduces noise and improves reasoning accuracy. The heuristic path-finding strategy captures a high percentage of human-annotated supporting evidence, making the model's predictions more explainable. Future work will focus on refining path generation and integrating more advanced pre-trained language models like BERT or RoBERTa more deeply into the subgraph reasoning process.
Summary updated