Document-Level Relation Extraction with Cross-sentence Reasoning Graph

Hongfei Liu, Zhao Kang, Lizong Zhang, Ling Tian, Fujun Hua

Abstract

Document-level Relation Extraction (RE) requires synthesizing information across multiple sentences and navigating complex logical dependencies. Traditional graph-based methods often suffer from noise due to redundant node types and struggle with long-distance reasoning. This paper introduces GRACR (GRaph information Aggregation and Cross-sentence Reasoning), a dual-graph framework that decouples semantic aggregation from logical reasoning. By utilizing a simplified document-level graph and an entity-level reasoning graph with explicit logical edges, GRACR achieves state-of-the-art performance on the DocRED and CDR benchmarks, particularly in identifying challenging inter-sentence relations.

Introduction

Relation Extraction (RE) is the task of identifying semantic connections between entities, such as determining that "Paris" is the "capital" of "France." While sentence-level RE has seen significant progress, document-level RE presents a more formidable challenge. In a document, evidence for a relationship is often scattered across multiple sentences, requiring a model to synthesize context from the entire text.

Existing graph-based models attempt to solve this by constructing complex networks of mentions and entities. However, these models frequently encounter two issues: redundancy and logical gaps. Redundancy occurs when models include both "mention" nodes and "entity" nodes in the same graph, which can "muddy" the signal. Logical gaps arise when a relationship requires a multi-hop inference through a "bridge" entity located in a different part of the document. GRACR addresses these issues by separating the tasks of information aggregation and logical reasoning into two distinct graph structures.

The GRACR Framework

The GRACR framework consists of four integrated modules designed to move from raw text to structured relation prediction.

1. Encoding Module

The process begins with a standard transformer-based encoder. The model uses BERT to transform raw text into high-dimensional vector representations, capturing the initial semantic context of every word and mention in the document.

2. Document-level Graph Aggregation (Dlg)

Unlike previous approaches that mix all node types, the Dlg module focuses exclusively on mention nodes and sentence nodes. By excluding entity nodes at this stage, the model avoids the redundancy trap where an entity (a collection of mentions) competes with its own constituent parts for attention. Using Relational Graph Convolutional Networks (R-GCNs), mentions are allowed to aggregate information from the sentences they inhabit and from other mentions within the same sentence.

3. Entity-level Graph Reasoning (Elg)

This module is where the core reasoning occurs. The model constructs a graph where nodes represent unique entities rather than individual mentions. To bridge the gap between distant sentences, GRACR introduces Logical Reasoning Edges. If Entity A and Entity B appear in Sentence 1, and Entity B and Entity C appear in Sentence 2, the model creates a direct path between A and C. This "shortcut" allows information to bypass the physical distance in the text, enabling the model to perform logical hops through bridge entities.

4. Classification Module

Finally, an attention mechanism fuses the initial BERT embeddings with the refined outputs from both the Dlg and Elg graphs. This combined representation ensures the model retains literal context while benefiting from graph-based reasoning. The fused features are then fed into a classifier to predict the final relations.

Experimental Evaluation

The researchers evaluated GRACR on two primary benchmarks:

  • DocRED: A large-scale dataset based on Wikipedia with over 56,000 relation facts. It is the standard for general-domain document RE.
  • CDR (Chemical-Disease Relations): A specialized biomedical dataset containing 1,500 PubMed abstracts, focusing on the interactions between chemicals and diseases.

Key Results

GRACR outperformed several strong baselines, including GAIN and SSAN:

  • DocRED: The model achieved an $F_1$ score of 59.73 on the development set and 58.54 on the test set. It showed a marked improvement in inter-sentence relation extraction, which is typically the most difficult aspect of the benchmark.
  • CDR: The model reached an $F_1$ score of 68.8, representing a nearly 3% improvement over previous state-of-the-art models like MRN.
  • Ablation Study: Removing the reasoning module led to a significant drop in $F_1$ scores, confirming that the "logical reasoning edges" are essential for the model's success.

Insights and Discussion

The success of GRACR highlights two critical insights for document-level NLP:

  1. Simplified Graph Construction: The finding that removing entity nodes from the initial document graph improves performance suggests that over-parameterization in complex documents can create more noise than value. "Less is more" when it comes to initial semantic aggregation.
  2. Shortcutting the "Long Walk": In standard Graph Neural Networks, information must often travel through multiple sentence nodes to reach a distant entity. By explicitly creating logical shortcuts via bridge entities, GRACR preserves the signal strength across long distances.

Conclusion and Future Work

GRACR demonstrates that decoupling aggregation from reasoning is an effective strategy for document-level RE. While the model sets new performance standards, it does introduce higher computational complexity due to the dual-graph architecture. Future research may focus on refining the selection of "bridge" entities or incorporating diverse edge types, such as rhetorical relations, to further enhance the model's ability to handle implicit logic and external world knowledge.

Summary updated

BibTeX
@inproceedings{liu2023document,
  author = {Hongfei Liu and Zhao Kang and Lizong Zhang and Ling Tian and Fujun Hua},
  title = {{Document-Level Relation Extraction with Cross-sentence Reasoning Graph}},
  booktitle = {PAKDD},
  year = {2023},
  doi = {10.1007/978-3-031-33374-3\_25},
}
Figure