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

Modular Self-Supervision for Document-Level Relation Extraction

Sheng Zhang, Cliff Wong, Naoto Usuyama, Sarthak Jain, Tristan Naumann, Hoifung Poon

Abstract

Document-level relation extraction (RE) is a critical task for identifying complex, long-range dependencies in specialized literature, such as precision oncology. Traditional sentence-level models and monolithic document-level architectures often struggle with the scale and noise inherent in full-text articles. This paper introduces a modular approach that decomposes document-level RE into two sub-tasks: local relation detection and global argument resolution. By leveraging modular self-supervision and deep probabilistic logic, the proposed framework achieves significant performance gains, including a 21.5-point F1 improvement on biomedical benchmarks.

Introduction

Information Extraction (IE) systems have historically focused on sentence-level relations, where entities appear within the same sentence. However, in domains like biomedicine, essential knowledge is frequently distributed across multiple paragraphs or even pages. For instance, a clinical report might mention a therapeutic agent in the introduction and a specific genetic mutation in a later section.

Existing document-level RE models face three primary challenges:

  1. Computational Scale: Standard Transformer-based architectures are limited by sequence length, making it difficult to process long-form text.
  2. Distant Supervision Noise: Automatically labeling documents using external databases (distant supervision) introduces significant noise at the document level, as unrelated entities often co-occur.
  3. Benchmark Realism: Common datasets like DocRED consist of relatively short texts (averaging 8 sentences), which do not capture the complexity of real-world scientific literature.

Methodology: A Modular Approach

The authors propose a "divide and conquer" strategy that separates the extraction process into two distinct modules, integrated through a probabilistic framework.

Local Relation Detection

This module identifies relations within a constrained context, such as a single paragraph. By focusing on local mentions (e.g., "Drug X treats Mutation Y" within a paragraph), the system can utilize distant supervision from high-quality knowledge bases like OncoKB with much higher precision.

Global Argument Resolution

To bridge the gap between paragraphs, the argument resolution module links entity mentions across the entire document. It employs "Data Programming"—using heuristic rules like string matching or appositives—and "Joint Inference" to resolve coreferences and transitive relations (e.g., determining that "the MEK inhibitor" refers to "cobimetinib").

Overview of the Argument Resolution and Relation Detection workflow.

Deep Probabilistic Logic

The integration of these modules is handled by a deep probabilistic logic framework. Using Variational Expectation-Maximization (EM), the system iteratively refines its predictions. The E-step uses logic to infer document-level labels, while the M-step fine-tunes a domain-specific Transformer (PubMedBERT) based on those inferred labels.

The modular self-supervision framework combining deep learning with probabilistic logic.

Experimental Setup and Datasets

The model was evaluated on three primary datasets:

  • DocRED: A standard Wikipedia-based benchmark for document-level RE.
  • CKB (Clinical Knowledgebase): A dataset of full-text oncology articles, averaging 174 sentences per document.
  • CKB-HARD: A challenging subset where relation arguments never co-occur in the same paragraph, specifically testing the system's ability to resolve long-range dependencies.

Results and Discussion

The modular approach demonstrated substantial improvements over previous state-of-the-art models like GAIN and Multiscale. On the full CKB dataset, the model achieved an F1 score of 58.8, representing a 21.5-point gain. On the CKB-HARD subset, the performance gap was even more pronounced, with the modular model reaching 30.3 F1 while baseline models struggled with single-digit scores.

Key insights from the study include:

  • Noise Reduction: Restricting distant supervision to local contexts provides a cleaner training signal for neural networks.
  • Discourse Modeling: Effective document-level RE requires understanding discourse and coreference. Modular rules combined with logic proved more robust than general-purpose coreference models like SpanBERT in specialized domains.
  • Efficiency: Rather than increasing the context window of the encoder, the system efficiently stitches together local facts using a logical framework.

Conclusion and Future Work

This research highlights the power of modularity in complex IE tasks. While the current system achieves impressive results, it faces a recall ceiling of approximately 66%, largely due to information contained in non-textual elements like tables and figures. Future work may involve "softening" logical constraints within the probabilistic framework and extending the system to handle multi-modal data. The authors envision this framework as a tool for "assisted curation," providing human-interpretable reasoning chains for clinical knowledge extraction.

Summary updated

BibTeX
@inproceedings{zhang2021modular,
  author = {Sheng Zhang and Cliff Wong and Naoto Usuyama and Sarthak Jain and Tristan Naumann and Hoifung Poon},
  title = {{Modular Self-Supervision for Document-Level Relation Extraction}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.429},
}
Figure