Named Entity Recognition with Extremely Limited Data

John Foley, Sheikh Muhammad Sarwar, James AllanarXiv 2018

TL;DR

This paper proposes a novel approach to Named Entity Recognition (NER) by reframing it as an exploratory search task, particularly useful for rare or "long-tail" entity types where traditional supervised learning is infeasible due to lack of labeled data. They demonstrate that by treating tokens as documents and using handcrafted NER features as query terms, effective entity identification can be achieved with minimal user interaction and data.

What Problem Does This Paper Address?

Traditional Named Entity Recognition (NER) systems rely on extensive labeled datasets, often requiring tens of thousands of examples to train accurate models. However, the real world is replete with a vast number of entity types, many of which are rare or domain-specific (the "long tail"). For these entities, collecting sufficient labeled data is prohibitively expensive or even impossible. This creates a significant gap: how can we identify and retrieve information about these rare entities when traditional NER approaches fail? The authors tackle this challenge by proposing a method that bypasses the need for large-scale, pre-trained NER models, instead enabling on-demand, interactive entity recognition.

Methods

The core innovation lies in transforming the NER task into a retrieval problem. Instead of training a classifier, they treat each token in a collection as a "document." The "query" then becomes the desired entity class. This is achieved by leveraging Conditional Random Fields (CRFs), a standard for sequence labeling, but adapting their output. Specifically, they simplify the CRF model by removing the transition probabilities between labels and treating each token's features independently. This results in a linear model where the probability of a token belonging to a class is a function of its features.

This simplified model is then integrated into an Information Retrieval (IR) framework. Tokens are represented by a bag of handcrafted NER features (e.g., word shape, part-of-speech tags, word clusters). These features become the "terms" in the IR system. When a user wants to find entities of a specific class (e.g., "musical genres"), that class acts as the query. The IR system then ranks tokens based on their likelihood of belonging to that class, effectively performing "Named Entity Search" (NES). The system also incorporates an interactive feedback loop: users are presented with sentences containing high-ranking tokens and can label them, which then refines the rankings and helps build a small, targeted training set.

Datasets

The paper uses two primary datasets:

  • CoNLL-2003: A standard, well-labeled NER dataset used for evaluating the performance of their simplified CRF model and comparing it to full CRFs. This dataset is characterized by frequent and common entity types.
  • TREC Question Answering (QA)-List (2005 & 2006): This dataset is adapted to address the "sparse entity types" problem. It consists of questions that require identifying lists of entities. The authors specifically filter out queries for common entities like countries and cities to focus on more challenging, less frequent entity types. This dataset is crucial for evaluating their interactive NES approach on the "long-tail" problem.

Key Insights and Ideas

  • NER as Search: The fundamental idea of reframing NER as a search task is a paradigm shift, particularly powerful for scenarios with limited data. This allows for ad-hoc, on-demand entity identification.
  • The "Long Tail" Problem: The paper directly addresses the practical challenge of identifying rare entities, which is a significant limitation of traditional supervised NER.
  • Interactive Learning for NER: The proposed interactive model, where user feedback refines rankings and builds a small training set, is a key component for achieving effectiveness with limited data.
  • Feature Importance: The study highlights that certain handcrafted features (like word clusters and POS tags) remain highly effective even in this simplified, search-based approach.
  • Efficiency Gains: By simplifying the CRF model and leveraging IR techniques, the system achieves significant speedups, making interactive use feasible.

Key Results

  • Effectiveness with Limited Data: The interactive NES approach demonstrates competitive effectiveness (measured by Unique Average Precision - uAP) on the challenging QA-List dataset, even with a small number of user actions.
  • Feature Simplification: Downgrading a full CRF to a linear model (ignoring transitions and sequence passes) resulted in only a minor drop in F1 score on the NER dataset, validating the simplification for search.
  • Efficiency: The system can execute on large datasets like AQUAINT in a matter of minutes by limiting the number of features, making interactive use practical. For instance, using only 1000 features yields nearly the same effectiveness as using all features, with a significant reduction in processing time.
  • Interactive Models: The "Interactive" and "Unsure" user interaction models performed best on the QA-List dataset, outperforming random baselines.

Limitations and Future Work

  • Index Size: The approach requires a substantially larger index because each token is treated as a document, which is a trade-off for query-time processing.
  • Feature Engineering: While handcrafted features are effective, the paper acknowledges the potential of exploring explicitly learning neural representations from unlabeled data in future work.
  • Dataset Adaptation: The QA-List dataset was adapted, and further work could involve fully adapting it and collecting additional judgments to improve recall.
  • Integration of Fields: The authors express interest in fusing more research from active learning, NLP, and IR to develop even more sophisticated approaches.

Summary updated

BibTeX
@misc{foley2018named,
  author = {John Foley and Sheikh Muhammad Sarwar and James Allan},
  title = {{Named Entity Recognition with Extremely Limited Data}},
  year = {2018},
  eprint = {1806.04411},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1806.04411},
}
Figure