Posterior-regularized REINFORCE for Instance Selection in Distant Supervision

Qi Zhang, Siliang Tang, Xiang Ren, Fei Wu, Shiliang Pu, Yueting Zhuang

Introduction

Distant Supervision (DS) has emerged as a powerful technique for generating large-scale datasets for relation extraction without the need for manual labeling. By aligning knowledge bases with text corpora, researchers can automatically label sentences. However, this approach inherently introduces noise, as not every sentence containing a pair of entities necessarily expresses the relation defined in the knowledge base. For instance, while "Steve Jobs founded Apple" is a valid instance of the founder relation, "Steve Jobs used an Apple computer" is not.

To mitigate this, reinforcement learning (RL) agents have been employed as instance selectors to filter out noisy sentences. However, standard RL algorithms like REINFORCE often suffer from high variance and slow convergence. This paper proposes PR-REINFORCE, which integrates Posterior Regularization to incorporate domain-specific rules into the RL training process, enhancing both efficiency and performance.

The PR-REINFORCE Framework

The proposed method combines the flexibility of reinforcement learning with the stability of symbolic rules. The architecture consists of an instance selector that makes sequential decisions on whether to include a sentence in a "newly constructed bag" for training.

The PR-REINFORCE architecture for sequential instance selection and model updating.

The process works as follows:

  1. Instance Selection: An RL agent iterates through the original bag of sentences, deciding to keep ($1$) or discard ($0$) each instance.
  2. Reward Mechanism: A pre-trained relation classifier (Bidirectional GRU with attention) evaluates the selected subset. The agent receives a reward based on the classifier's ability to correctly predict the relation.
  3. Posterior Regularization (PR): To guide the agent's exploration, the authors utilize 134 hand-crafted rules. These rules act as constraints in the objective function, minimizing the KL-divergence between the agent’s policy and a rule-based prior. This "nudges" the agent toward selecting instances that match known linguistic patterns, such as [X] born in [Y] for the born_in relation.

Experimental Evaluation

The model was evaluated on the standard New York Times (NYT) dataset, which aligns Freebase relations with the NYT corpus. Despite the rules covering only about 4% of the training instances, they provided critical anchor points that stabilized the learning process.

Precision-Recall curves comparing the proposed PR-REINFORCE model against standard REINFORCE and BGRU baselines.

As shown in the Precision-Recall curves, the BGRU+2ATT+PR_REINFORCE model consistently outperforms both the baseline BGRU model and the standard REINFORCE-based selector. The inclusion of posterior regularization allows the model to achieve higher precision across various recall levels, effectively filtering out noise that would otherwise degrade the performance of the relation classifier.

Key Insights and Conclusion

The integration of symbolic rules via posterior regularization addresses the primary weaknesses of RL-based instance selection. By providing a "warm start" and reducing the search space, PR-REINFORCE significantly improves training efficiency.

While the reliance on hand-crafted rules introduces a degree of manual effort, the results demonstrate that even limited rule coverage can yield substantial gains in model robustness. Future work may focus on automating rule generation or utilizing soft constraints from large language models to further scale this approach. In summary, PR-REINFORCE offers a principled way to combine human domain knowledge with the adaptive power of reinforcement learning for cleaner, more accurate distant supervision.

Summary updated

BibTeX
@inproceedings{zhang2019posterior,
  author = {Qi Zhang and Siliang Tang and Xiang Ren and Fei Wu and Shiliang Pu and Yueting Zhuang},
  title = {{Posterior-regularized REINFORCE for Instance Selection in Distant Supervision}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/n19-1290},
}
Figure