Abstract
Distantly Supervised Relation Extraction (DSRE) has been widely studied, since it can automatically extract relations from very large corpora. However, existing DSRE methods only use little semantic information about entities, such as the information of entity type. Thus, in this paper, we propose a method for integrating entity type information into a neural network based DSRE model. It also adopts two attention mechanisms, namely, sentence attention and type attention. The former selects the representative sentences for a sentence bag, while the latter selects appropriate type information for entities. Experimental comparison with existing methods on a benchmark dataset demonstrates its merits.
Introduction
Relation Extraction (RE) is the task of identifying semantic relationships between entities in text, such as recognizing that "Paris" is the "capital of" "France". While supervised learning works well, it requires massive amounts of hand-labeled data. Distant Supervision (DS) addresses this by automatically labeling sentences using existing knowledge bases: if a database contains the triplet (Obama, BornIn, Hawaii), the algorithm assumes any sentence containing both "Obama" and "Hawaii" expresses that relation.
However, this assumption often introduces significant noise, as many sentences containing both entities may not express the target relation (e.g., "Obama visited Hawaii"). While current neural models use "sentence attention" to select relevant sentences from a "bag" of instances, they often ignore the rich semantic information inherent in the entities themselves—specifically, their types. For instance, knowing an entity is a "City" versus a "Person" provides a strong constraint on the possible relations it can hold. This paper proposes a model that leverages fine-grained entity type information to reduce noise and improve extraction accuracy.
Methodology
The proposed model extends the Piecewise Convolutional Neural Network (PCNN) framework with three key modifications designed to better utilize semantic context:
- Adaptive Sentence Attention: Unlike standard models with fixed attention weights, this model employs an adaptive mechanism. The weight of a sentence is adjusted based on the specific relation being predicted, allowing the model to focus on different sentences depending on the context of the query.
- Fine-Grained Type Attention: Entities often have multiple possible types (e.g., "Washington" could be a person, city, or state). The model uses a Type Attention mechanism to look at all possible types for an entity and calculate a weighted sum, determining which type is most relevant to the current sentence context.
- Joint Training Objective: The model learns to align word embeddings with type embeddings. The loss function includes a "type constraint" that forces the vector representation of an entity to be close to its attended type representation in the vector space. This ensures the model incorporates entity categories directly into its learning process.
Experimental Setup
The model was evaluated on the New-York-Times (NYT) dataset, a standard benchmark in the DSRE field. Entity mentions from the NYT dataset (linked to Freebase) were mapped to the fine-grained entity types defined by Ling and Weld (2012).
The proposed model, PCNN+ATT+T, was compared against several baselines:
- Feature-based models: Mintz, MultiR, and MIML-RE.
- Neural models: PCNN+ATT (standard attention) and PCNN+ATT+D (which uses entity descriptions instead of types).
Results and Discussion
The experimental results demonstrate that the proposed PCNN+ATT+T model consistently outperforms all baselines.
As shown in the Precision-Recall curve, the PCNN+ATT+T curve sits significantly higher than its predecessors. Notably, it outperformed PCNN+ATT+D, which utilizes entity descriptions. This suggests that the structured nature of fine-grained types provides a more precise constraint than unstructured text descriptions, effectively narrowing the search space for valid relations. By using attention at both the sentence level and the entity type level, the model filters noise at two critical stages of the extraction pipeline.
Conclusion
This work demonstrates that integrating fine-grained entity type information through a dual-attention mechanism significantly enhances Distantly Supervised Relation Extraction. While the current model treats types as a flat list, future work could leverage hierarchical type structures (e.g., "Physician" as a sub-type of "Person") to further refine the attention mechanism. Additionally, testing the model on more specialized domains, such as medical or legal texts, would help determine its generalizability across different semantic landscapes.
Summary updated