Path-Based Attention Neural Model for Fine-Grained Entity Typing

Denghui Zhang, Manling Li, Pengshan Cai, Yantao Jia, Yuanzhuo Wang

Abstract

Fine-grained entity typing aims to assign entity mentions in the free text with types arranged in a hierarchical structure. Traditional distant supervision based methods employ a structured data source as a weak supervision and do not need hand-labeled data, but they neglect the label noise in the automatically labeled training corpus. Although recent studies use many features to prune wrong data ahead of training, they suffer from error propagation and bring much complexity. In this paper, we propose an end-to-end typing model, called the path-based attention neural model (PAN), to learn a noise-robust performance by leveraging the hierarchical structure of types. Experiments demonstrate its effectiveness.

Introduction

Fine-grained entity typing (FGET) is the task of assigning specific labels to entity mentions in text. For example, in the sentence "Donald Trump announced his candidacy," the goal is to label "Donald Trump" not just as a Person, but specifically as a Politician.

The primary challenge in FGET is label noise. Most training data is generated via distant supervision: if a Knowledge Base indicates an entity belongs to multiple categories (e.g., Person, Businessman, and Politician), distant supervision labels every sentence containing that entity with all three tags. However, specific contexts may only support one of these types. Traditional solutions involve complex pre-processing pipelines to "clean" data, which are often brittle and prone to error propagation. This paper introduces the Path-Based Attention Neural Model (PAN) to address these issues by integrating denoising into the learning process.

Methodology

PAN is an end-to-end neural model that treats denoising as a core part of the architecture rather than a pre-processing step. The model consists of three main components:

  1. Sentence Representation: An attention-based LSTM creates a vector representation for each sentence containing the target entity.
  2. Path-Based Attention: This is the model's core innovation. Instead of evaluating a type in isolation, PAN considers the path in the type hierarchy (e.g., Root → Person → Politician). The model learns a vector for each type and creates a "path representation" by combining these vectors. This path representation is used to calculate an attention score for each sentence, allowing the model to dynamically weight sentences based on how strongly they support a specific hierarchical path.
  3. Parameter Sharing: By incorporating parent type vectors into the path for child types, the model naturally shares information across the hierarchy. This helps improve performance for rare subtypes by leveraging data from more common parent types.
Architecture of the Path-Based Attention Neural Model (PAN).

Experimental Results

The model was evaluated on two benchmarks: OntoNotes, known for its noise and deep hierarchy, and FIGER(GOLD), which has a flatter hierarchy.

As shown in the results table, the additive version of the model (PAN-A) consistently outperformed baselines. On the noisy OntoNotes dataset, PAN-A achieved a Strict Accuracy of 54.9%, significantly higher than the 50.8% achieved by the standard Attentive LSTM (TLSTM). Furthermore, PAN-A achieved higher Macro-F1 and Micro-F1 scores than PLE (a state-of-the-art partial-label embedding model), despite PLE's more complex pre-training denoising process.

Performance comparison of PAN against state-of-the-art models on OntoNotes and FIGER(GOLD) datasets.

Discussion and Conclusion

The success of PAN highlights several key insights:

  • Hierarchy as a Denoising Signal: The type hierarchy itself contains vital information for fighting noise. Forcing the model to consider the path ensures that a specific subtype satisfies the conditions of its parent.
  • End-to-End Efficiency: Integrating denoising into the attention mechanism avoids the error propagation common in multi-stage pipelines.
  • Compositional Operators: The authors found that additive path composition (PAN-A) generally performed better than multiplicative composition (PAN-M), suggesting additive features better capture cumulative semantic meaning.

While effective, the model currently assumes a tree-structured hierarchy and may face computational challenges as the number of types increases. Future work may explore more sophisticated composition operators and the incorporation of broader external context.

Summary updated

BibTeX
@inproceedings{zhang2018path,
  author = {Denghui Zhang and Manling Li and Pengshan Cai and Yantao Jia and Yuanzhuo Wang},
  title = {{Path-Based Attention Neural Model for Fine-Grained Entity Typing}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2018},
  url = {https://openreview.net/forum?id=B1ELVyZuWr},
}
Figure