Class-Adaptive Self-Training for Relation Extraction with Incompletely Annotated Training Data

Qingyu Tan, Lu Xu, Lidong Bing, Hwee Tou Ng

Introduction

In Natural Language Processing, Relation Extraction (RE) is the critical task of identifying semantic connections between entities in text. However, a significant bottleneck in developing robust RE models is the prevalence of "incomplete" datasets. When human annotators miss valid relations, these instances are typically treated as negative examples during training, forcing models to learn from incorrect signals. This paper, presented at ACL 2023 by researchers from Alibaba’s DAMO Academy and the National University of Singapore, introduces Class-Adaptive Self-Training (CAST) to mitigate this "false negative" problem.

The Challenge: Incomplete Annotations and Confirmation Bias

Most RE models operate under a "closed-world assumption," where any unlabeled relation is assumed to be a no_relation instance. In datasets like DocRED, it is estimated that over 60% of valid relation triples are missing from the labels. Standard self-training—where a model labels its own data—often fails here due to confirmation bias. Models tend to become over-confident in common classes they already know well (the "rich-get-richer" effect) while continuing to ignore rare or "long-tail" relations.

The CAST Framework

CAST addresses these issues through a systematic self-training loop that intelligently identifies and re-labels missing annotations. The framework utilizes an $N$-fold cross-validation approach to generate pseudo-labels for the entire training set without training on the target data directly.

The CAST workflow: N-fold pseudo-labeling followed by class-adaptive re-sampling.

The "secret sauce" of CAST is its Class-Adaptive Sampling Strategy. Instead of accepting all high-confidence pseudo-labels, CAST calculates the precision ($P$) and recall ($R$) for each relation class on a clean development set. It then applies a sampling probability $\mu_i$ for class $i$: $$\mu_i = [P_i * (1 - R_i)]^\beta$$

By prioritizing classes with high precision (reliability) and low recall (high potential for missing labels), CAST effectively targets the gaps in the model's knowledge, particularly for long-tail relations.

Experimental Evaluation

The researchers evaluated CAST across several benchmarks, including DocRED (document-level RE), ChemDisgene (biomedical RE), and TACRED (sentence-level RE).

Key Results

  • Significant Performance Gains: On DocRED using a BERT-Base backbone, CAST achieved an F1 score of 61.36, a massive improvement over the baseline's 43.52 and outperforming Vanilla Self-Training (VST) at 59.56.
  • Long-Tail Success: The F1 score for long-tail classes (LT_F1) on DocRED jumped from 40.46 to 58.12.
  • Stability Over Rounds: A common failure mode of self-training is performance degradation over multiple iterations as errors accumulate. As shown in the results, CAST maintains superior stability and performance compared to VST and frequency-based methods like CREST.
Comparison of Overall F1 scores across multiple self-training rounds. CAST demonstrates superior stability and final performance.

Conclusion

CAST provides a robust solution to the false negative problem in Relation Extraction. By moving beyond simple confidence-based pseudo-labeling and instead using class-specific performance metrics (Precision and Recall) to guide sampling, it successfully recovers missing information without succumbing to confirmation bias. While computationally more intensive due to its $N$-fold nature, its ability to significantly boost performance on noisy and long-tail data makes it a powerful tool for real-world RE applications.

Summary updated

BibTeX
@inproceedings{tan2023class,
  author = {Qingyu Tan and Lu Xu and Lidong Bing and Hwee Tou Ng},
  title = {{Class-Adaptive Self-Training for Relation Extraction with Incompletely Annotated Training Data}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.549},
}
Figure