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

PRiSM: Enhancing Low-Resource Document-Level Relation Extraction with Relation-Aware Score Calibration

Minseok Choi, Hyesu Lim, Jaegul Choo

Introduction

Document-level relation extraction (DocRE) involves identifying relationships between all entity pairs within a document. This task is particularly challenging due to the intensive human annotation required; annotators must evaluate every possible entity combination, the vast majority of which (approximately 97% in datasets like DocRED) contain no relation, labeled as "NA".

In low-resource settings where training data is scarce, standard models often fall into the "NA Trap." They learn that predicting "NA" is statistically safe, leading to the neglect of actual relations. Furthermore, these models suffer from miscalibration: they become overconfident in frequent relations and the "NA" label while remaining under-confident in rare ones. Consequently, the predicted probabilities do not accurately reflect the model's true performance.

Methodology: The PRiSM Framework

To address these challenges, we introduce PRiSM (Pair-Relation Similarity Module), a plug-and-play calibration module designed to enhance existing DocRE models such as BERT or RoBERTa.

The PRiSM architecture integrates a Relation Encoder to provide semantic similarity scores that calibrate the base model's predictions.

PRiSM shifts the focus from purely statistical patterns to the semantic descriptions of relations. The module operates through three key components:

  1. Semantic Scoring: Natural language descriptions of relations (e.g., "country of citizenship") are encoded into embeddings using a Pre-trained Language Model (PLM).
  2. Pair-Relation Similarity: The module constructs an embedding for an entity pair and calculates its cosine similarity against the relation embeddings.
  3. Logit Calibration: This semantic similarity score is added to the original model's statistical output. A scale factor ($\lambda$) determines the weight of the semantic information.

By using label definitions as semantic "anchors," PRiSM effectively penalizes the "NA" label when semantic similarity to other relations is high, forcing the model to overcome its statistical bias.

Experimental Setup

PRiSM was evaluated on three major DocRE benchmarks:

  • DocRED: A large-scale Wikipedia-based dataset.
  • Re-DocRED: A revised version of DocRED addressing missing annotations.
  • DWIE: A multi-task dataset featuring news articles with significantly longer documents.

Results and Discussion

The integration of PRiSM leads to substantial improvements in both extraction performance and model calibration, particularly in data-constrained environments.

Performance Gains

On the DocRED dataset, when trained with only 3% of the available data (approximately 100 documents), adding PRiSM to a BERT-base model improved the F1 score from 10.44 to 37.02—a 26.58-point increase. Significant boosts were also observed in Macro F1 scores, indicating that the model successfully recovered infrequent relations that were previously ignored.

Calibration Accuracy

PRiSM significantly outperforms standard calibration techniques like Temperature Scaling. As shown in the reliability diagrams below, PRiSM's predicted confidence closely aligns with its actual accuracy across various relation frequencies.

Reliability diagrams comparing PRiSM against uncalibrated models and other techniques. PRiSM (purple line) demonstrates superior calibration, especially for low-frequency relations.

On 3% of DocRED data, PRiSM reduced the Expected Calibration Error (ECE) from 0.359% to 0.010%. This suggests that treating low-resource performance as a calibration problem is a highly effective strategy.

Conclusion

PRiSM demonstrates that leveraging semantic relation descriptions can dramatically improve DocRE performance in low-resource settings. By reweighting model outputs based on semantic similarity, PRiSM prevents the over-prediction of "NA" labels and provides a more calibrated measure of confidence. Future work will explore true zero-shot settings and more sophisticated modeling for long-sequence documents.

Summary updated

BibTeX
@inproceedings{choi2023prism,
  author = {Minseok Choi and Hyesu Lim and Jaegul Choo},
  title = {{PRiSM: Enhancing Low-Resource Document-Level Relation Extraction with Relation-Aware Score Calibration}},
  booktitle = {IJCNLP (Findings)},
  year = {2023},
  doi = {10.18653/v1/2023.findings-ijcnlp.4},
}
Figure