Toward Recognizing More Entity Types in NER: An Efficient Implementation using Only Entity Lexicons

Minlong Peng, Ruotian Ma, Qi Zhang, Lujun Zhao, Mengxi Wei, Changlong Sun, Xuanjing Huang

Abstract

Expanding Named Entity Recognition (NER) systems to support new entity types typically requires expensive and time-consuming manual re-annotation of existing datasets. This paper introduces an efficient alternative that utilizes simple entity lexicons (lists of names) to expand system capabilities. By framing the expansion as a partially supervised learning problem and employing a specialized Mean Square Error (MSE) loss function, the proposed framework achieves performance comparable to fully supervised models trained on hundreds of newly labeled sentences across multiple languages and domains.

Introduction

In industrial applications, Named Entity Recognition requirements are frequently in flux. A system originally designed to identify "Person" and "Organization" may suddenly need to support "Job Titles" or "Product Names" to meet new client demands. Traditionally, this necessitates human annotators revisiting thousands of sentences to label the new types—a process that is not only costly but often creates bottlenecks in deployment.

While "distant supervision"—using dictionaries to automatically label text—offers a potential solution, it is plagued by two primary issues: incompleteness (lexicons rarely cover every mention) and noise (simple matching leads to false positives). This research seeks to bridge the gap by transferring knowledge from a source task to a target task using only the original labeled data and a basic list of examples for the new entities.

Methodology

The authors propose a Partially Supervised (PS) learning framework designed to handle the inherent uncertainty of lexicon-based labeling. The workflow consists of several key stages:

  1. Label Re-assignment: The "Other" (O) class from the source dataset is split. Words matching the new lexicon receive a temporary "New Entity" label. Unmatched words are designated as "Unknown" (U), acknowledging they could either be a missed entity or a true "Other" instance.
  2. Non-BIO Constraints: To accommodate the fact that lexicons often capture only fragments of entities, the model uses simple multi-class classification rather than standard BIO (Begin, Inside, Outside) tagging, which requires precise boundary knowledge.
  3. The PS Loss Function: At the core of the approach is a mathematical derivation that estimates the true loss using the available labeled data and the unlabeled "Unknown" pool.
  4. MSE over Cross-Entropy: The authors replace the standard Cross-Entropy loss with Mean Square Error (MSE). Because their risk estimation requires the loss function to be upper-bounded, the capped nature of MSE (max 1) provides the necessary stability that the potentially infinite Cross-Entropy cannot.
  5. Lexicon Adaptation: An iterative self-training loop allows the model to predict new entities in the unlabeled data; high-confidence predictions are then added back into the lexicon to refine subsequent training rounds.
The Partially Supervised Learning workflow for expanding NER types using lexicons.

Experimental Setup

The framework, dubbed AdaPS (Adaptive Partially Supervised), was evaluated on five diverse public NER benchmarks to test its robustness across languages and genres:

  • CoNLL03 (English) and CoNLL02 (Spanish)
  • MUC-7 (Formal news)
  • Twitter (Informal social media)
  • OntoNotes 4.0 (Chinese)

In these experiments, categories like "Location" and "Person" were treated as the "new" types to be added to a system already trained on other categories.

Results and Key Insights

AdaPS consistently outperformed previous state-of-the-art "Positive-Unlabeled" (PU) learning methods. A critical finding was the efficiency of the lexicon-based approach compared to manual labor. On the CoNLL03 dataset, AdaPS achieved an F1 score equivalent to a BERT model fine-tuned on 500 manually re-annotated sentences. On the Chinese OntoNotes dataset, this equivalence rose to approximately 1,000 re-annotated sentences.

F1 performance of AdaPS (horizontal lines) across five benchmarks compared to supervised baselines (curves) as the number of labeled sentences increases.

Key Insights:

  • Handling the "Unknown": By explicitly treating unmatched words as a mixture of "Other" and "New Type," the model avoids the penalty typically associated with finding entities that the lexicon missed.
  • Stability of MSE: The research provides a theoretically grounded justification for using MSE in deep learning classification, specifically for its stability in risk estimation within partially supervised settings.
  • Lexicons as Scalable Supervision: Providing a list of 1,000 examples (e.g., job titles) is significantly more feasible for end-users than annotating 1,000 full sentences in context.

Conclusion and Limitations

While AdaPS demonstrates significant gains in efficiency, it operates under the assumption that new entity types were previously categorized as "Other." If a new type is a sub-type of an existing category (e.g., splitting "Location" into "City" and "Country"), the logic requires further adjustment. Additionally, while the system is robust to noise, it still benefits from a baseline level of lexicon coverage to initiate the self-training loop effectively. Future work may focus on refining boundary detection, as the move away from BIO tagging can occasionally lead to challenges when entities are adjacent in text.

Summary updated

BibTeX
@inproceedings{peng2020toward,
  author = {Minlong Peng and Ruotian Ma and Qi Zhang and Lujun Zhao and Mengxi Wei and Changlong Sun and Xuanjing Huang},
  title = {{Toward Recognizing More Entity Types in NER: An Efficient Implementation using Only Entity Lexicons}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.findings-emnlp.60},
}
Figure