Learning Dual Retrieval Module for Semi-supervised Relation Extraction

Hongtao Lin, Jun Yan, Meng Qu, Xiang Ren

Abstract

Training relation extraction (RE) models typically requires extensive hand-labeled datasets, which are costly to produce. This paper introduces DualRE, a novel semi-supervised framework that addresses the limitations of traditional self-training. By pairing a standard relation prediction module with a dual "sentence retrieval" module, the system enables mutual supervision. This dual-module approach effectively filters noisy pseudo-labels and mitigates "semantic drift," allowing the model to leverage unlabeled text more reliably than existing bootstrapping methods.

Introduction

Relation Extraction (RE) is a fundamental task in natural language processing, focused on identifying semantic relationships between entities (e.g., identifying that "Steve Jobs" and "Apple" share an org:founded_by relation). While supervised deep learning models have achieved high performance, their reliance on massive, manually annotated datasets remains a significant bottleneck.

To overcome this, semi-supervised learning—specifically self-training or bootstrapping—is often employed. In self-training, a model predicts labels for unlabeled data and adds the most confident predictions to its training set. However, this process is prone to semantic drift: if a model incorrectly labels a sentence, that error is reinforced in subsequent training iterations, leading to compounding inaccuracies. DualRE proposes a structural solution to this problem by introducing a secondary, dual task to validate predictions.

The DualRE Framework

The core innovation of DualRE is the exploitation of duality between two complementary tasks:

  1. The Primal Task (Prediction): Given a sentence, predict the most likely relation.
  2. The Dual Task (Retrieval): Given a relation, retrieve the most relevant sentences from a corpus.
Comparison between the standard self-training framework and the proposed DualRE framework.

In the DualRE framework, these modules are trained jointly using an Expectation-Maximization (EM) style algorithm. Unlike standard self-training, where a single module blindly trusts its own output, DualRE requires consensus. An unlabeled sentence is only promoted to the training set if the prediction module classifies it with high confidence and the retrieval module simultaneously ranks it as highly relevant for that specific relation. This "agreement" acts as a powerful filter against the noise that typically causes semantic drift.

Dual Module Architectures

To implement this duality, the authors utilize distinct architectures for each module. The prediction module ($p_\theta(y|\mathbf{x})$) typically uses a Position-aware Recurrent Neural Network (PRNN) or CNN encoder followed by a softmax classifier. The retrieval module ($q_\phi(\mathbf{x}|y)$) utilizes a learning-to-rank algorithm to score the relevance of sentences given a specific relation label.

Architectural details of the Prediction Module (left) and the Retrieval Module (right).

Beyond simple filtering, DualRE employs weighted instance promotion. Instead of treating pseudo-labels as absolute ground truth, the framework assigns continuous confidence scores based on the joint probability from both modules. This ensures that the model learns more from high-certainty examples while remaining cautious with ambiguous ones.

Evaluation and Results

The authors evaluated DualRE on two major benchmarks:

  • SemEval 2010 Task 8: A balanced dataset of ~10,000 mentions across 19 relations.
  • TACRED: A large, highly skewed dataset with over 100,000 mentions, where 79% of instances are labeled as "no_relation."

DualRE consistently outperformed state-of-the-art semi-supervised baselines, such as Mean-Teacher and RE-Ensemble. On the SemEval dataset with only 10% labeled data, DualRE achieved an F1 score of 66.03, significantly higher than standard self-training (63.79). On the more challenging TACRED dataset, it reached an F1 of 56.56, demonstrating its robustness in skewed, real-world data distributions.

Conclusion

DualRE demonstrates that framing relation extraction as a dual prediction-retrieval problem provides a much stronger supervision signal for semi-supervised learning than traditional methods. By requiring consensus between modules, the framework successfully mitigates semantic drift and improves the quality of pseudo-labeled data. Future work may explore replacing the retrieval module with a generative model or extending this dual-learning logic to broader text classification tasks.

Summary updated

BibTeX
@inproceedings{lin2019learning,
  author = {Hongtao Lin and Jun Yan and Meng Qu and Xiang Ren},
  title = {{Learning Dual Retrieval Module for Semi-supervised Relation Extraction}},
  booktitle = {The Web Conference},
  year = {2019},
  doi = {10.1145/3308558.3313573},
}
Figure