Structured Minimally Supervised Learning for Neural Relation Extraction

Fan Bai, Alan Ritter

Abstract

Relation extraction (RE) is often performed using distant supervision, which leverages existing knowledge bases to automatically label text. However, this approach introduces significant noise due to incorrect assumptions and incomplete data. We propose PCNNNMAR, a hybrid model that integrates Piecewise Convolutional Neural Networks (PCNN) with a structured latent variable model. By explicitly modeling missing data and overlapping relations, our approach achieves state-of-the-art performance, particularly in sentential relation extraction.

Introduction

Identifying relationships between entities in text (e.g., founder_of for "Steve Jobs" and "Apple") is critical for building knowledge bases. Distant Supervision (DS) scales this process by assuming that any sentence containing an entity pair expresses the relation found in a Knowledge Base (KB). This assumption is flawed: sentences may contain entities without expressing the KB relation (false positives), and KBs often miss facts present in the text (false negatives). Standard neural models frequently overfit to this noise.

Methods: The PCNNNMAR Architecture

The proposed model treats the true relation in a sentence as a latent variable, bridging neural text representation with structured logic.

Architecture of the PCNNNMAR model, combining a neural sentence representation (PCNN) with a structured graphical model for latent relations.

The architecture consists of two primary components:

  1. Neural Component: A Piecewise Convolutional Neural Network (PCNN) captures local context around entities, producing a dense vector representation ($x_i$) of the sentence ($s_i$).
  2. Structured Component: A graphical model wraps the neural output. It employs Deterministic OR Factors to ensure that if a relation is in the KB, it is expressed in at least one sentence of the entity pair's "bag." Crucially, Soft Constraints allow the model to "override" the KB when textual evidence is strong, effectively handling missing data.

To optimize this complex structure, the authors use Maximum A Posteriori (MAP) inference via local search. Additionally, an Adaptive Learning Rate is applied based on "bag size" to stabilize training across entity pairs with varying amounts of associated text.

Datasets and Evaluation

Evaluation was conducted on two versions of the NYT-Freebase (NYTFB) dataset:

  • NYTFB-68K: The original benchmark (Riedel et al., 2010).
  • NYTFB-280K: A larger version (Lin et al., 2016).

The authors identified and corrected data leakage in the 280K version, ensuring that entity pairs in the test set did not appear in the training set.

Key Results

PCNNNMAR significantly outperforms strong baselines, particularly in sentential accuracy.

Performance comparison of PCNNNMAR against various baselines on the NYTFB-68K dataset.

As shown in the results table, the PCNNNMAR model with bag size adaptive learning rate achieved a test score (AUC) of 86.0 on the NYTFB-68K dataset, a substantial improvement over the 76.4 achieved by the standard PCNN+Attention baseline.

Beyond aggregate metrics, the model excels at identifying "Out-of-KB" mentions—facts present in text but missing from the database. While standard models often struggle with increasing false negatives as data scales, PCNNNMAR remains robust. Manual validation of the top 500 predictions confirmed higher precision across various relation types, such as nationality and company affiliations.

Discussion and Future Work

The core contribution of this research is the demonstration that structured layers can mitigate the inherent noise of distant supervision. By explicitly allowing for KB errors or omissions, the model gains robustness.

However, the MAP-based inference is computationally more intensive than standard neural forward passes. Future work could explore more efficient approximate inference techniques or integrate more advanced sentence encoders like BERT to further enhance the underlying representations.

Summary updated

BibTeX
@inproceedings{bai2019structured,
  author = {Fan Bai and Alan Ritter},
  title = {{Structured Minimally Supervised Learning for Neural Relation Extraction}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2019},
  url = {https://openreview.net/forum?id=S1ZDgXZOZS},
}
Figure