Neural Fine-Grained Entity Type Classification with Hierarchy-Aware Loss

Peng Xu, Denilson Barbosa

Abstract

Fine-grained entity type classification (FETC) is often hindered by the noise inherent in distantly supervised training data. We introduce NFETC, a neural network model designed to address out-of-context and overly-specific label noise through a novel hierarchy-aware loss function. By utilizing an attentive bidirectional LSTM architecture and incorporating the taxonomic structure of entity types into the learning process, NFETC achieves state-of-the-art performance on standard benchmarks, demonstrating significant improvements in classification accuracy and robustness.

Introduction

Fine-grained Entity Type Classification (FETC) involves assigning specific categories to entity mentions in text, such as identifying "Steve Kerr" as a coach rather than a generic person. To overcome the high cost of manual annotation, researchers typically employ distant supervision, which maps entities to all known types in a knowledge base (e.g., Freebase). However, this method introduces significant noise: labels may be irrelevant to the specific sentence context or too specific for the evidence provided.

Illustration of distant supervision noise: Steve Kerr may be labeled as an athlete, coach, or person regardless of the specific sentence context.

Methodology

The Neural Fine-Grained Entity Type Classification (NFETC) model is an end-to-end solution that avoids complex hand-crafted features. Its architecture is built around three primary components:

  1. Input Representation: The model uses word and position embeddings to capture the semantic meaning of words and the relative distance of the context from the target entity.
  2. Context & Mention Encoding: A bidirectional LSTM (Bi-LSTM) processes the sentence, while an attention mechanism identifies the most informative words for classification. For instance, in a sentence about a "head coach," the attention mechanism prioritizes that phrase to determine the entity's type.
  3. Hierarchy-Aware Loss Function: This is the model's core innovation. It employs a variant of cross-entropy loss that only penalizes the model based on its most confident prediction among the candidate labels, effectively allowing it to ignore out-of-context noise. Additionally, hierarchical loss normalization adjusts penalties based on the type hierarchy, encouraging the model to be "cautiously correct" (e.g., predicting person instead of location if the specific sub-type is unclear).
The NFETC architecture utilizes an Average Encoder for mentions and a Bi-directional Attentive LSTM for context representation.

Core Innovations

  • Single-Label Transformation: The authors argue that within a specific context, an entity typically follows a single "type-path" (e.g., root -> person -> coach). By treating these paths as single labels, the model simplifies the multi-label problem and improves focus.
  • Noise-Robust Learning: Rather than pre-cleaning data, NFETC learns to ignore noise during training. If the model identifies "coach" in the text but the labels include athlete, the loss function allows the model to gravitate toward the correct contextual label without being penalized for ignoring the irrelevant ones.
  • Hierarchy as a Prior: Incorporating the hierarchy into the loss function provides the model with a semantic intuition of type relationships, ensuring that errors between related types (like actor and artist) are penalized less than errors between unrelated categories.

Experimental Results

NFETC was evaluated on two major benchmarks: FIGER(GOLD) (113 types) and OntoNotes (89 types). The model consistently outperformed previous state-of-the-art systems:

  • FIGER(GOLD): Achieved a Strict Accuracy of 68.9%, surpassing the previous best of 65.8%.
  • OntoNotes: Achieved a Strict Accuracy of 60.2%, up from 57.2%.

The results demonstrate that accounting for the hierarchy significantly improves stability and performance, especially when training on raw, noisy datasets.

Conclusion

NFETC represents a significant step forward in FETC by handling the limitations of distant supervision through architectural and loss-based innovations. While the model currently assumes a single type-path per context and occasionally struggles with unknown abbreviations, its ability to leverage hierarchical structures provides a robust framework for future work in entity-linking and relation extraction.

Summary updated

BibTeX
@inproceedings{xu2018neural,
  author = {Peng Xu and Denilson Barbosa},
  title = {{Neural Fine-Grained Entity Type Classification with Hierarchy-Aware Loss}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2018},
  doi = {10.18653/v1/n18-1002},
}
Figure