NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Empirical Analysis of Unlabeled Entity Problem in Named Entity Recognition

Yangming Li, lemao liu, Shuming Shi

TL;DR: The "unlabeled entity problem" in Named Entity Recognition (NER)—where valid entities are accidentally left unannotated—severely degrades model performance by treating these entities as negative examples. While pre-trained models like BERT help mitigate data sparsity, they cannot fix the "misguidance" caused by false negatives. This paper proposes a simple span-based model using negative sampling that effectively ignores hidden entities, achieving state-of-the-art robustness and performance.

The Unlabeled Entity Problem

Standard NER models are typically trained as sequence labeling tasks using schemes like IOB. They operate on a strict assumption: if a word is not explicitly labeled as an entity, it must be a "non-entity" (the 'O' tag).

In real-world scenarios, this assumption frequently fails. Human annotators miss entities, and "distant supervision" (using dictionaries to auto-label text) often suffers from low coverage. When a model is explicitly told that a valid entity is a non-entity, it receives false training signals. The authors identify two distinct issues caused by this phenomenon:

  1. Erosion: A simple reduction in the total number of positive examples available for the model to learn from.
  2. Misguidance: Actively training the model to predict "non-entity" for valid entity spans (false negatives).

Through empirical analysis, the paper demonstrates that misguidance is the far more destructive of the two. While pre-trained language models like BERT are surprisingly good at handling "erosion" due to their rich internal representations, standard models' performance falls off a cliff as more entities are left unlabeled because they are actively being "lied to" during training.

Proposed Methodology: Span-Based Scoring and Negative Sampling

To combat misguidance, the authors propose a shift from token-level tagging to a span-based scoring model combined with a specific negative sampling training strategy.

Span-level Representation

Instead of labeling individual tokens, the model evaluates every possible phrase (span) in a sentence. It uses a sequence encoder (like BERT or LSTM) to generate token representations. It then concatenates the start and end tokens of a span—along with their difference and element-wise product—to create a unified span vector, which is passed through a Multi-Layer Perceptron (MLP) to output a score.

Span-based scoring model architecture

Negative Sampling

The core innovation is the training strategy. Instead of treating every non-annotated span as a negative instance (which inevitably includes unlabeled true entities), the model randomly samples only a small subset of unlabeled spans to serve as negatives.

By only picking a few negative samples, the mathematical probability of accidentally sampling a "hidden" real entity is significantly reduced. In noisy environments, seeing less negative data via sampling is actually better than seeing all the data if the full dataset contains false negatives.

Key Results and Insights

The researchers evaluated their approach on both synthetic datasets (CoNLL-2003 and OntoNotes 5.0 with artificially masked entities) and real-world distantly supervised datasets (EC and NEWS).

  • Eliminating Misguidance: The proposed model successfully flattens the misguidance rate. As the masking probability (noise) increases, standard BERT tagging suffers from skyrocketing misguidance, whereas the proposed model's misguidance rate remains near zero.
Misguidance rate comparison on CoNLL-2003 and OntoNotes 5.0
  • Robustness to Noise: On the synthetic CoNLL-2003 dataset with a severe 60% masking rate, the standard BERT Tagging baseline dropped to an F1 score of 63.84. In contrast, the proposed model maintained a highly robust F1 of 87.65.
  • Real-World Superiority: On the distantly supervised EC dataset, the proposed model achieved an F1 of 66.17, significantly outperforming previous specialized methods like Partial CRF (60.08) and Weighted Partial CRF (61.75).
  • No Penalty for Clean Data: On fully annotated, clean datasets, the model remained competitive with state-of-the-art methods, proving that negative sampling does not hinder performance when labels are accurate.

Limitations and Future Work

While highly effective, the approach has a few limitations:

  • Inference Complexity: The model has a time complexity of $O(n^2)$ because it evaluates all possible spans. While negligible for standard sentences compared to the neural network's forward pass, it could become a bottleneck for extremely long documents.
  • Heuristic Conflict Resolution: During inference, if two predicted spans overlap (e.g., "New York" and "New York City"), the model simply selects the one with the higher score. More sophisticated decoding strategies could potentially yield even better results.
  • Theoretical Bounds: The mathematical proof provided for the success of negative sampling specifically covers the case where there is only one unlabeled entity in a sentence. Expanding this strict proof for multiple unlabeled entities remains future work.

Summary updated

BibTeX
@inproceedings{li2021empirical,
  author = {Yangming Li and lemao liu and Shuming Shi},
  title = {{Empirical Analysis of Unlabeled Entity Problem in Named Entity Recognition}},
  booktitle = {International Conference on Learning Representations},
  year = {2021},
  url = {https://openreview.net/forum?id=5jRVa89sZk},
}
Figure