Fine-Grained Named Entity Recognition using ELMo and Wikidata

Lei Shi (associate professor), Cihan Dogan, Aimore Dutra, Adam Gara, Alfredo Gemma, Lei Shi, Michael Sigamani, Ella WaltersarXiv 2019

Introduction

Standard Named Entity Recognition (NER) typically identifies broad categories such as Person, Location, and Organization. However, downstream tasks like question answering and relation extraction often require finer granularity—distinguishing, for instance, between a politician and an athlete, or a city and a body of water.

The primary obstacles to Fine-Grained NER (FgNER) are data scarcity and label noise. Manually annotating hundreds of labels is cost-prohibitive, while automated "distant supervision" methods often assign irrelevant labels to entities based on knowledge base entries without considering context. This paper proposes a framework that leverages the contextual power of ELMo embeddings alongside the extensive taxonomic structure of Wikidata to address these challenges.

Methodology

The proposed system utilizes a two-stage pipeline for entity detection and classification.

1. Detection (Neural Component)

The model first generates context-aware word representations using ELMo (Embeddings from Language Models). These embeddings are processed through a residual LSTM (Long Short-Term Memory) network. A final softmax layer predicts entity boundaries and coarse-grained categories.

2. Classification (Knowledge Component)

Once an entity is detected, it is linked to Wikidata for fine-grained classification:

  • Redirection: The system uses Wikidata’s "also known as" lists to handle name variations and improve lookup recall.
  • Clustering and Mapping: To navigate Wikidata's vast hierarchy, the authors use the NECKAr tool and Word2Vec cosine similarity. This allows the system to map thousands of specific Wikidata types back to a target set of 112 labels by comparing entity descriptions to candidate sub-types.
System architecture combining ELMo embeddings with Wikidata entity linking.

Datasets

The framework was evaluated on two distinct benchmarks:

  • OntoNotes 5.0: A standard NER dataset with approximately 239,000 training labels across 18 categories.
  • Wiki(GOLD): A fine-grained dataset featuring a hierarchy of 112 entity types. While the test set is manually annotated ("gold standard"), the training set was generated via distant supervision.

Results and Discussion

The model demonstrates strong performance across both coarse and fine-grained tasks. On the OntoNotes dataset, it achieved an F1 score of 88.7%, comparable to the state-of-the-art results of the time (e.g., Akbik et al., 2018 at 89.7%). On the more complex 112-type Wiki(GOLD) dataset, the model reached an F1 score of 52.8%, which is competitive with specialized fine-grained systems like Link et al. (2012).

Performance metrics across major entity categories for OntoNotes and Wiki(GOLD) datasets.

Key insights from the evaluation include:

  • Category Strengths: The system excelled in identifying Location (93% F1 on OntoNotes) and Person (90% F1) but faced challenges with more ambiguous categories like Product and Art.
  • Context vs. Taxonomy: While ELMo is highly effective at identifying entity boundaries in context, external knowledge bases like Wikidata are superior for defining fine-grained taxonomic identities.
  • Similarity-Based Refinement: Using semantic similarity between entity descriptions and candidate labels proved to be an effective strategy for disambiguating multiple potential types returned by Wikidata.

Conclusion

This research highlights that the bottleneck in FgNER is often the logic used to map real-world knowledge graphs onto rigid evaluation hierarchies. Future work will focus on improving disambiguation layers—to distinguish between different entities with the same name—and expanding the mapping logic to better handle categories like Events and Products. While the current model remains domain-agnostic, direct fine-tuning on granular data could further enhance performance.

Summary updated

BibTeX
@misc{professor2019fine,
  author = {Lei Shi (associate professor) and Cihan Dogan and Aimore Dutra and Adam Gara and Alfredo Gemma and Lei Shi and Michael Sigamani and Ella Walters},
  title = {{Fine-Grained Named Entity Recognition using ELMo and Wikidata}},
  year = {2019},
  eprint = {1904.10503},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1904.10503},
}
Figure