Distant Supervision for Relation Extraction via Piecewise Convolutional Neural Networks

Daojian Zeng, Kang Liu, Yubo Chen, Jun Zhao

Presented at EMNLP 2015, this research introduces a significant advancement in extracting relationships between entities from unstructured text. By integrating deep learning with a novel "piecewise" pooling strategy, the authors address the persistent issues of noise and error propagation that have historically hindered Relation Extraction (RE).

The Challenge of Distant Supervision

Relation Extraction involves identifying the relationship between two entities in a sentence (e.g., recognizing that "Steve Jobs" is the "founder" of "Apple"). To scale training, researchers often employ Distant Supervision (DS), which automatically labels sentences by aligning them with a knowledge base like Freebase. However, DS introduces two critical flaws:

  1. The Wrong Label Problem: DS assumes that if a knowledge base contains a triplet like (Steve Jobs, founder, Apple), every sentence containing both entities expresses that relation. This is frequently incorrect; for instance, a sentence about Steve Jobs' passing does not express the "founder" relation.
  2. Error Propagation: Traditional RE models rely on hand-crafted features from external NLP tools, such as dependency parsers. Errors in these upstream tools—common in long or complex sentences—cascade into the relation extraction model.

Methodology: Piecewise Convolutional Neural Networks (PCNNs)

The authors propose an end-to-end architecture designed to learn features directly from raw text, bypassing the need for brittle pre-processing tools.

Vector Representation

Each word is represented by combining Word Embeddings, which capture semantic meaning, and Position Embeddings, which denote the relative distance of the word to the two target entities. This allows the model to focus on the structural context surrounding the entities.

Piecewise Max Pooling

This is the paper's core innovation. While standard Convolutional Neural Networks (CNNs) use a single "max pooling" layer to capture the highest value from a feature map, the authors argue this is too coarse for RE as it loses structural context. Instead, they divide the convolution output into three segments based on the entity positions: before the first entity, between the entities, and after the second entity. Max pooling is performed on each segment separately.

The PCNN architecture, illustrating vector representation, convolution, and the three-segment piecewise max pooling layer.

Multi-instance Learning (MIL)

To mitigate the "wrong label" problem, the authors treat training as a multi-instance problem. Sentences are grouped into "bags" based on their entity pairs. During training, the model only utilizes the instance in each bag it is most confident about to update parameters, effectively filtering out noisy sentences that do not express the target relation.

Experimental Results

The model was evaluated on the Riedel dataset, a standard benchmark derived from the New York Times corpus and Freebase. This dataset is particularly challenging as approximately 50% of its sentences exceed 40 words, making traditional syntactic parsing difficult.

Precision-Recall curves showing PCNN+MIL significantly outperforming traditional methods like Mintz, MultiR, and MIML.

As shown in the Precision-Recall curves, the PCNN + MIL model significantly outperformed state-of-the-art methods. Key findings include:

  • Superior Precision and Recall: PCNNs achieved higher precision across the entire recall range, reaching approximately 34% recall without a significant drop in precision.
  • Structural Awareness: Ablation studies confirmed that "Piecewise" pooling is superior to standard "Global" max pooling, proving that preserving the relative structure of entities is critical.
  • Manual Validation: In a manual evaluation of the top 500 extracted relations, the PCNN model achieved an average precision of 78.3%, compared to 73.7% for the next best model (MIML).

Conclusion

By transitioning from hand-designed features to learned embeddings and introducing piecewise pooling, this work demonstrates that neural architectures can be more robust to the informal and varied language found in web-scale corpora. While future work may explore more complex MIL strategies (such as attention mechanisms), PCNNs represent a major step toward automated, high-accuracy relation extraction from noisy, distantly supervised data.

Summary updated

BibTeX
@inproceedings{zeng2015distant,
  author = {Daojian Zeng and Kang Liu and Yubo Chen and Jun Zhao},
  title = {{Distant Supervision for Relation Extraction via Piecewise Convolutional Neural Networks}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2015},
  doi = {10.18653/v1/d15-1203},
}
Figure