Named Entity Recognition with Small Strongly Labeled and Large Weakly Labeled Data

Haoming Jiang, Danqing Zhang, Tianyu Cao, Bing Yin, Tuo Zhao

Introduction

Named Entity Recognition (NER) is a fundamental task in Natural Language Processing, yet it remains heavily dependent on large-scale, high-quality human annotations. Token-level labeling is both time-consuming and expensive, leading researchers to explore "weak supervision"—automatically generating labels using dictionaries or knowledge bases. However, weak labels are often incomplete and biased. When the volume of noisy, weakly labeled data vastly exceeds strongly labeled data, standard training methods can suffer from a "scale paradox," where performance actually degrades due to the overwhelming noise.

To address this, the NEEDLE framework (Noise-aware wEakly supErviseD continuaL prE-training) was developed to effectively harmonize small sets of human-labeled data with massive amounts of noisy, automatically generated labels.

The NEEDLE Framework

The NEEDLE framework operates through a three-stage computational pipeline designed to suppress noise while maximizing the utility of in-domain data.

Overview of the NEEDLE framework
  1. Stage I: Domain Continual Pre-training: An open-domain model (e.g., BERT) undergoes Masked Language Modeling (MLM) on large, unlabeled in-domain text to adapt its vocabulary to specific domains like medicine or e-commerce.
  2. Stage II: Noise-Aware Continual Pre-training: This core stage utilizes both strong and weak data. It employs Weak Label Completion to predict missing entities and a Noise-Aware Loss Function. By estimating label confidence via histogram binning, the model applies a "negative log-unlikelihood" loss for low-confidence samples, treating them as regularizers rather than absolute truths.
  3. Stage III: Final Fine-tuning: The model is polished using only high-quality, strongly labeled data to align its predictions with human standards and correct systematic biases learned from weak supervision.

Experimental Results

The framework was evaluated on Biomedical NER benchmarks (BC5CDR, NCBI-disease) and E-commerce query datasets. NEEDLE achieved new state-of-the-art (SOTA) results across all three biomedical datasets, with F1-scores reaching 93.74 for BC5CDR-chem and 90.69 for BC5CDR-disease.

Data Efficiency and Performance

A key finding is NEEDLE's remarkable data efficiency. In E-commerce tasks, the framework achieved performance parity with fully supervised models while requiring significantly less human-labeled data.

Data efficiency comparison

In the English query task, NEEDLE reached an F1 of 80.63, significantly outperforming the supervised baseline (79.25) and standard self-training methods (79.75). The framework also demonstrated robust cross-lingual performance across five languages, outperforming baselines in every instance.

Discussion and Conclusion

NEEDLE effectively mitigates the "more is worse" problem inherent in noisy weak supervision. By leveraging confidence estimation and a multi-stage training strategy, it allows models to learn entity structures from large-scale weak data while refining specific entity boundaries with small-scale strong data.

While the computational cost of continual pre-training is significant, the gains in performance and human-annotation efficiency make NEEDLE a powerful tool for domain-specific NER. Future work may explore integrating contrastive learning to further enhance noise handling and reduce dependency on initial dictionary quality.

Summary updated

BibTeX
@inproceedings{jiang2021named,
  author = {Haoming Jiang and Danqing Zhang and Tianyu Cao and Bing Yin and Tuo Zhao},
  title = {{Named Entity Recognition with Small Strongly Labeled and Large Weakly Labeled Data}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.acl-long.140},
}
Figure