Uncertainty Guided Label Denoising for Document-level Distant Relation Extraction

Qi Sun, Kun Huang, Xiaocui Yang, Pengfei Hong, Kun Zhang, Soujanya Poria

Introduction

Document-level Relation Extraction (DocRE) involves identifying semantic relationships between entities across an entire document. To overcome the high cost of manual annotation, researchers frequently employ Distant Supervision (DS), which automatically labels data by aligning entity pairs in text with existing knowledge bases. However, DS is prone to significant noise, including false positives (incorrectly assumed relations) and false negatives (missed relations).

Comparison of Distant Supervision (DS) labels and Pseudo Labels with Uncertainty Estimation (UE).

While recent denoising models attempt to mitigate this by generating pseudo-labels, these models often introduce their own errors. The fundamental challenge lies in distinguishing reliable pseudo-labels from noisy ones. This paper, presented at ACL 2023, introduces UGDRE to address this gap.

The UGDRE Framework

The authors propose UGDRE (Uncertainty Guided label Denoising), a framework that leverages uncertainty estimation to filter unreliable machine-generated labels. The process is divided into four primary stages:

  1. Pre-denoising RE Model: A DocRE model is constructed using a BERT backbone and a Graph Convolutional Network (GCN) to model document structure and long-range entity dependencies.
  2. Instance-level Uncertainty Estimation (UE): Trustworthiness is quantified using Monte Carlo (MC) Dropout. By executing multiple stochastic forward passes, the model measures prediction variance. High variance indicates high uncertainty. Unlike previous methods, UGDRE calculates uncertainty for specific triples (Entity A, Relation R, Entity B), which is crucial for handling overlapping relations in complex documents.
  3. Uncertainty Guided Label Denoising: Recognizing that different relations have varying natural uncertainty levels (e.g., frequent relations like "date of birth" vs. long-tail relations), the framework applies dynamic, relation-specific thresholds based on the mean and standard deviation of uncertainty scores for each class.
  4. Multi-phase Iterative Training: The model iteratively predicts pseudo-labels, denoises the dataset, and retrains on the refined data to progressively enhance label quality.
The UGDRE framework architecture, illustrating the iterative process from pre-denoising to label refinement.

Experimental Evaluation

The framework was evaluated on major DocRE benchmarks, including DocRED and its cleaned version, Re-DocRED. The training utilized the massive distantly supervised set provided with DocRED (over 100,000 documents).

Key Results

UGDRE achieved state-of-the-art performance, outperforming baselines such as ATLOP, DocuNet, and NCRL.

  • DocRED: Improved the $F_1$ score by 1.91 points and the $Ign F_1$ by 2.28 points.
  • Re-DocRED: Reached a state-of-the-art $F_1$ of 78.14.

Notably, models trained exclusively on UGDRE-denoised data showed a massive performance jump (up to +30 $F_1$ on Re-DocRED) compared to those trained on raw DS data, validating the effectiveness of the uncertainty-guided cleaning process.

Conclusion and Future Work

UGDRE demonstrates that internal model uncertainty is a powerful proxy for identifying noise in distantly supervised datasets. By employing relation-specific dynamic thresholds, it preserves rare but correct relations while filtering out systematic errors.

However, limitations remain. The framework is more effective at addressing false positives than recovering false negatives. Additionally, the computational overhead of Monte Carlo dropout and iterative training is significant, requiring approximately 55 hours on high-end hardware. Future research may focus on improving false negative recovery and optimizing the framework for low-resource settings.

Summary updated

BibTeX
@inproceedings{sun2023uncertainty,
  author = {Qi Sun and Kun Huang and Xiaocui Yang and Pengfei Hong and Kun Zhang and Soujanya Poria},
  title = {{Uncertainty Guided Label Denoising for Document-level Distant Relation Extraction}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.acl-long.889},
}
Figure