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

Towards Integration of Discriminability and Robustness for Document-Level Relation Extraction

Jia Guo, Stanley Kok, Lidong Bing

Abstract

Document-level relation extraction (DocRE) is a complex task requiring reasoning across multiple sentences to identify relationships between entities. Current models struggle with two primary issues: the difficulty of discriminating between semantically similar relations amidst a vast majority of negative samples, and a lack of robustness against the noisy, incomplete annotations prevalent in standard benchmarks. We introduce PEMSCL, a framework that integrates Pairwise moving-threshold loss, Entropy Minimization, and Supervised Contrastive Learning. By employing a partial-order ranking strategy and a strategic negative label sampling method, PEMSCL achieves new state-of-the-art results on the DocRED and Re-DocRED datasets, showing particular strength in handling long-tail relations and noisy training environments.

Introduction

Extracting relations at the document level is significantly more challenging than sentence-level extraction. Models must account for long-distance dependencies and a high volume of entity pairs that share no relation (the "NA" class). Two major hurdles persist in the field:

  1. Discriminability: Separating sparse positive relations from a dense field of negatives, especially when relations are semantically related.
  2. Robustness: Popular datasets like DocRED contain numerous false negatives—instances where a relation exists but was missed by annotators. Training models to treat these omissions as absolute truth limits their potential.

The PEMSCL Framework

To address these challenges, PEMSCL introduces several architectural innovations designed to sharpen the model's decision boundaries and ignore annotation noise.

Pairwise Moving-Threshold (PMT) Loss

Traditional models often attempt to rank all relations in a strict "total order." PEMSCL instead utilizes a partial order approach. The PMT loss ensures that every positive relation is ranked above a dynamic threshold (the NA class), which in turn is ranked above all negative relations. This avoids unnecessary competition between multiple valid relations for the same entity pair.

Illustration of the Pairwise Moving-Threshold (PMT) loss, establishing a partial order between positive relations and a dynamic threshold.

Multi-label Supervised Contrastive Learning (SCL)

While standard SCL is built for single-label classification, the authors adapted it for the multi-label nature of DocRE. This component refines the internal vector space by "pulling" together embeddings of entity pairs that share similar relations and "pushing" apart those that do not. This is particularly effective for "long-tail" relations that appear infrequently in the training data.

Robustness via Negative Label Sampling

To combat the "false negative" problem, PEMSCL does not treat every unlabeled pair as a confirmed negative. By sampling only a fraction of negative labels during training, the model reduces the likelihood of being penalized for correctly identifying a relation that a human annotator overlooked.

Experimental Results

Performance on Benchmarks

PEMSCL achieved an F1 score of 79.89 on the Re-DocRED test set, outperforming strong baselines such as ATLOP and NCRL. Ablation studies confirmed that both the contrastive learning component and the PMT loss contribute significantly to these gains, especially for rare relations (Tail F1).

Resilience to Noise

The impact of the negative sampling strategy is most evident in noisy data regimes. In the OOG-DocRE scenario, which simulates high-noise training data, the sampling strategy prevented the massive performance degradation seen in standard models.

Impact of negative sampling ratio on F1 score. Lower sampling ratios significantly improve performance in noisy data regimes by mitigating the effect of false negatives.

Conclusion

PEMSCL represents a significant step forward in making Document-Level Relation Extraction models both sharper and more resilient. By focusing on partial ordering and being skeptical of negative labels, the framework achieves superior discriminability and robustness. Future work will focus on reducing the computational overhead of the contrastive learning component to allow for even larger-scale document processing.

Summary updated

BibTeX
@inproceedings{guo2023towards,
  author = {Jia Guo and Stanley Kok and Lidong Bing},
  title = {{Towards Integration of Discriminability and Robustness for Document-Level Relation Extraction}},
  booktitle = {EACL},
  year = {2023},
  doi = {10.18653/v1/2023.eacl-main.191},
}
Figure