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

Document-Level Relation Extraction with Reconstruction

Wang Xu, Kehai Chen, Tiejun Zhao

Abstract

Document-level relation extraction (DocRE) requires identifying relationships between entities across multiple sentences. Current graph-based models often suffer from "attention dispersion," where the model fails to distinguish relevant reasoning paths from noise. This paper proposes a novel encoder-classifier-reconstructor architecture. By introducing a reconstructor module that learns to recover ground-truth reasoning paths, the model is forced to focus on informative evidence. Evaluated on the DocRED benchmark, the proposed HeterGSAN + Reconstruction model achieves state-of-the-art performance, demonstrating that path-awareness significantly improves the signal-to-noise ratio in document-level extraction.

Introduction

In Document-Level Relation Extraction (DocRE), the challenge lies in capturing dependencies that span long distances within a text. Unlike sentence-level extraction, DocRE must synthesize information from various mentions and sentences to infer a relationship. Most existing methods represent documents as heterogeneous graphs where nodes represent mentions, entities, and sentences.

Overview of the document-level relation extraction pipeline, from text to graph representation and final classification.

However, these models frequently encounter a "noise" problem. Since they typically model potential relations between all entity pairs, the model's attention is often spread thin across many non-relational pairs. This "attention dispersion" makes it difficult for the model to isolate the specific "reasoning paths"—sequences of sentences and mentions—that justify a valid relation. To address this, the authors introduce a reconstructor module designed to guide the model toward these critical paths.

Methodology

The proposed architecture consists of three main components: an encoder, a classifier, and a reconstructor.

Graph Construction and Encoding

The model first constructs a heterogeneous graph containing Mention, Entity, and Sentence nodes. These nodes are connected via edges representing coreference, mention-sentence membership, and sentence-sentence adjacency. A Graph Attention Network (GAT) is employed to learn contextualized representations for each node.

The Reconstructor Module

The core innovation is the Reconstructor, which acts as a supervisor for the graph encoder. It uses an LSTM to attempt to reconstruct the sequence of nodes (the reasoning path) that connects two entities.

The architecture of the classifier and reconstructor modules, illustrating the path reconstruction process during training and inference.

During training, the model minimizes a reconstruction loss. For entity pairs with a known relation, the model is penalized if it cannot reconstruct the ground-truth path. Conversely, for pairs without a relation, the model is trained to assign low probability to any potential path. This forces the encoder to produce features that are inherently "path-aware."

Reasoning Paths and Inference

The authors define three types of meta-paths based on human reasoning patterns: Pattern Recognition (within a single sentence), Logical Reasoning (linked via a bridge entity), and Coreference Reasoning (linked through coreference across sentences). During inference, the final score for a relation is a combination of the classifier's output and the reconstructor's path probability, providing a "second opinion" on the existence of a relationship.

Key Results

The model was evaluated on the DocRED dataset, the largest human-annotated dataset for DocRE. The proposed HeterGSAN + Reconstruction model achieved a significant performance boost:

  • Standard Setting: Reached an F1 score of 55.23, outperforming previous state-of-the-art models like LSR by 1.05 points.
  • BERT Integration: When using BERT as the base encoder, the model achieved an F1 of 59.45, setting a new benchmark on DocRED at the time of publication.

Ablation studies confirmed that the reconstructor is beneficial during both the training phase (by regularizing the encoder) and the inference phase (by refining the final decision).

Conclusion

This work demonstrates that explicitly modeling reasoning paths through a reconstruction task can mitigate the noise inherent in document-level graphs. By forcing the model to "explain" its reasoning via path reconstruction, the system achieves more robust and accurate relation extraction. Future work may involve exploring more complex path selection heuristics and integrating external knowledge to further refine the reasoning process.

Summary updated

BibTeX
@inproceedings{xu2021document,
  author = {Wang Xu and Kehai Chen and Tiejun Zhao},
  title = {{Document-Level Relation Extraction with Reconstruction}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i16.17667},
}
Figure