Abstract
Automated knowledge base construction often relies on distant supervision to extract relations between entities from large text corpora. However, this approach frequently introduces noise due to the "wrong label problem," where sentences containing an entity pair do not actually express the target relation. This paper presents a novel framework, APCNNs+D, which mitigates this noise by employing a sentence-level attention mechanism and incorporating entity descriptions as background knowledge. Experimental results on the New York Times dataset demonstrate that the proposed model significantly outperforms existing state-of-the-art methods in relation extraction.
Introduction
Relation Extraction (RE) is fundamental to building structured knowledge bases. Distant supervision has emerged as a popular technique to scale RE by automatically labeling training data using existing knowledge bases like Freebase. The core assumption is that if a relation $R(e_1, e_2)$ exists in a knowledge base, then any sentence containing both $e_1$ and $e_2$ expresses $R$. Unfortunately, this assumption is often violated, leading to noisy training data. For instance, a sentence mentioning "Nevada" and "Las Vegas" might discuss a sporting event rather than their geographical containment.
Methodology
The authors propose the APCNNs+D model, which integrates Piecewise Convolutional Neural Networks (PCNNs) with an attention mechanism and entity descriptions.
Piecewise Convolutional Neural Networks (PCNNs)
The model uses PCNNs as the base feature extractor. Unlike standard CNNs, PCNNs divide the sentence into three segments based on the positions of the two entities. This structure allows the model to capture the context before, between, and after the entities more effectively.
Sentence-Level Attention
To address the "wrong label problem," the model treats all sentences containing the same entity pair as a "bag." Instead of selecting a single representative sentence, the model learns to weight each sentence using an attention mechanism. The attention weights are determined by comparing sentence features with a relation representation derived from entity embeddings. Specifically, the difference between entity vectors ($e_1 - e_2$) serves as a query to identify which sentences in the bag most strongly express the likely relation.
Incorporating Entity Descriptions (+D)
To provide the model with human-like background knowledge, the authors extract entity descriptions from Freebase and Wikipedia. These descriptions are encoded into vectors using a separate CNN. During training, the model's entity embeddings are regularized to be close to these description-based vectors, ensuring that the representations capture semantic properties (e.g., knowing that "Nevada" is a state).
Experimental Results
The model was evaluated on the New York Times (NYT) dataset, which contains 52 relations. The APCNNs+D model achieved superior performance compared to traditional baselines (Mintz, MultiR, MIML) and the previous state-of-the-art PCNN-based models.
- Precision and Recall: The proposed model reached a recall of 0.37, surpassing the previous best of 0.34, and maintained higher precision across the recall curve.
- Manual Evaluation: A manual check of the top 100 extracted relations showed an accuracy of 87%, a significant improvement over the 77% achieved by the Mintz baseline.
- Ablation Study: Analysis confirmed that both sentence-level attention and entity descriptions independently improve performance, with their combination yielding the best results.
Conclusion
The APCNNs+D framework effectively addresses the noise inherent in distant supervision for relation extraction. By leveraging sentence-level attention to filter irrelevant data and entity descriptions to provide semantic context, the model achieves a new state-of-the-art on benchmark datasets. Future work may involve exploring more advanced knowledge graph embedding techniques and scaling the approach to broader, more diverse text sources.
Summary updated