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

DocRED: A Large-Scale Document-Level Relation Extraction Dataset

Yuan Yao, Deming Ye, Peng Li, Xu Han, Yankai Lin, Zhenghao Liu, Zhiyuan Liu, Lixin Huang, Jie Zhou, Maosong Sun

Introduction

Relation Extraction (RE) is a fundamental task in natural language processing that involves identifying semantic relationships between entities in text. While most existing RE systems focus on sentence-level extraction—identifying relations within a single sentence—real-world information often spans multiple sentences. In a typical Wikipedia article, over 40% of relational facts require synthesizing information across sentence boundaries.

To address this, the authors introduced DocRED, a massive new benchmark for document-level RE. DocRED provides a large-scale, general-purpose, and high-quality human-annotated dataset designed to push research toward a more holistic understanding of documents.

Methods

The construction of DocRED followed a rigorous four-stage pipeline:

  1. Distant Supervision: Wikipedia text was automatically aligned with Wikidata triples to establish a baseline of potential relations.
  2. Entity Annotation: Named entity mentions and coreferences were annotated to identify all instances where different terms (e.g., "he" and "Steve Jobs") refer to the same entity.
  3. Entity Linking: Mentions were mapped to unique Wikidata IDs.
  4. Relation Labeling: Human annotators identified relations between entity pairs and selected the supporting evidence—the specific sentences justifying the relation.

To evaluate the dataset, several neural architectures (CNN, LSTM, BiLSTM, and a Context-Aware model) were adapted to predict all relations between all possible entity pairs within a document.

Dataset Scale and Comparison

DocRED significantly exceeds the scale of previous document-level datasets. The human-annotated portion contains 5,053 documents with over 56,000 relational facts. Additionally, a distantly supervised corpus of over 100,000 documents is provided for large-scale training.

Comparison of DocRED with other popular RE datasets across various metrics.

As shown in the table above, DocRED offers a substantial increase in the number of documents, entities, and facts compared to specialized datasets like BC5CDR or sentence-level benchmarks like TACRED.

Reasoning Challenges

A key contribution of DocRED is the categorization of reasoning types required for extraction. The authors found that while 38.9% of relations can be identified via simple pattern recognition, the majority require more complex cognitive processes:

  • Logical Reasoning: Connecting two entities via a "bridge" entity.
  • Coreference Reasoning: Resolving pronouns or aliases across sentences.
  • Common-sense Reasoning: Utilizing external knowledge to infer a relationship.

Crucially, 40.7% of facts in the human-annotated set require inter-sentence reasoning, proving that sentence-level approaches are fundamentally insufficient for full document understanding.

Key Results and the Human-Machine Gap

The evaluation revealed a significant performance gap between state-of-the-art models and human performance. While models like BiLSTM and Context-Aware architectures performed better than simpler CNNs, they still fell far short of human accuracy.

Performance comparison between the best baseline model and human annotators on Relation Extraction (RE) and the joint task of RE plus Supporting Evidence (RE+Sup).

As illustrated, the best model achieved an F1 score of approximately 54.1% on the human-annotated set, whereas humans reached 88.0%. When tasked with identifying both the relation and the supporting evidence (RE+Sup), the gap remains stark, highlighting the difficulty of explainable document-level RE.

Conclusion

DocRED serves as a challenging benchmark that highlights the limitations of current RE models in handling long-range dependencies and complex reasoning. By providing supporting evidence annotations, it paves the way for the development of more explainable and robust AI systems capable of true document-level comprehension. Future work should focus on architectures that explicitly model logical and common-sense reasoning to bridge the current performance gap.

Summary updated

BibTeX
@inproceedings{yao2019docred,
  author = {Yuan Yao and Deming Ye and Peng Li and Xu Han and Yankai Lin and Zhenghao Liu and Zhiyuan Liu and Lixin Huang and Jie Zhou and Maosong Sun},
  title = {{DocRED: A Large-Scale Document-Level Relation Extraction Dataset}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1074},
}
Figure