Noisy-Labeled NER with Confidence Estimation

Kun Liu, Yao Fu, Chuanqi Tan, Mosha Chen, Ningyu Zhang, Songfang Huang, Sheng Gao

Introduction

Named Entity Recognition (NER) is a fundamental task in Natural Language Processing, traditionally relying on high-quality, manually annotated "gold-standard" datasets. However, the cost and time required for expert annotation often limit the scalability of these systems. To circumvent this, researchers frequently turn to distant supervision—using external knowledge bases or heuristics to auto-label text—or weak supervision.

While efficient, these methods introduce significant noise, including false negatives (missing entities), boundary errors (e.g., labeling "New" instead of "New York"), and incorrect category assignments. Standard deep learning models tend to memorize this noise, leading to degraded performance. This paper addresses the challenge of training robust NER models on such imperfect data by introducing a novel confidence estimation and calibration framework.

Methodology

The authors propose an enhanced BiLSTM-CRF architecture that incorporates three primary innovations to handle label noise:

1. Confidence Estimation and Calibration

Leveraging the "memorization effect"—where neural networks fit clean data before noisy data—the model calculates a confidence score ($s_i$) for each label. The authors explore two strategies:

  • Global: Utilizing CRF marginal probabilities to account for label dependencies.
  • Local: Using a Softmax over hidden states to identify word-specific errors.

A key contribution is Confidence Calibration, which decomposes labels into position (e.g., B) and type (e.g., LOC). This allows the model to "partially trust" a label if it is confident in the entity type even if the boundary is uncertain.

2. Partial Marginalization

When a label's confidence falls below a threshold, the model employs partial marginalization. Instead of discarding the noisy token, the CRF "marginalizes out" the untrusted components by considering all valid label sequences that fit the context. This ensures the model remains informed by the surrounding structure without being forced to memorize a likely error.

Partial marginalization in a CRF lattice, where the model considers multiple possible paths for uncertain tokens like "New York".

3. Self-Training Framework

These techniques are integrated into an iterative self-training loop. The model trains on the noisy data, estimates confidence to refine the annotations, and then retrains on the improved dataset.

Experimental Results

The framework was evaluated on the CoNLL 2003 dataset (across English, Spanish, German, and Dutch) with artificial noise, and on four real-world distant supervision datasets (CoNLL03, Tweet, Webpage, and Wikigold).

Performance Under Noise

On the English CoNLL dataset with synthetic noise, the proposed method achieved an F1 score of 87.0, significantly outperforming the standard self-training baseline (84.0) and previous noise-reduction techniques like CBL (82.6). The "Local" strategy often proved superior, suggesting that NER noise is frequently tied to specific lexical items rather than sequence-level dependencies.

F1 performance of the proposed local and global methods compared to baselines across varying levels of initial annotation recall.

Key Insights

  • Calibration Utility: Splitting labels into position and type allows the model to salvage partially correct information that would otherwise be discarded.
  • Noise Estimation: Experiments indicated that slightly over-estimating the noise ratio ($\tau$) is safer than under-estimating it, as the latter leads to harmful memorization of errors.
  • Architecture Agnostic: While primarily tested on BiLSTMs, the method is compatible with modern Transformer architectures like BERT.

Conclusion

By combining confidence estimation with partial marginalization, this work provides a robust pathway for training NER systems on the noisy, large-scale data typical of real-world applications. Future work includes refining hyperparameter sensitivity and exploring more complex, correlated noise patterns in specialized domains.

Summary updated

BibTeX
@inproceedings{liu2021noisy,
  author = {Kun Liu and Yao Fu and Chuanqi Tan and Mosha Chen and Ningyu Zhang and Songfang Huang and Sheng Gao},
  title = {{Noisy-Labeled NER with Confidence Estimation}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.naacl-main.269},
}
Figure