Learning a Unified Named Entity Tagger from Multiple Partially Annotated Corpora for Efficient Adaptation

Xiao Huang, Li Dong, Elizabeth Boschee, Nanyun Peng

Introduction

Named Entity Recognition (NER) is a foundational task in Natural Language Processing, essential for identifying entities such as people, locations, or specialized biological terms. Despite its importance, the field faces a significant bottleneck: the "silo" problem. Most high-quality datasets are annotated for specific subsets of entities (e.g., one for genes, another for chemicals), leading to fragmented models that cannot easily be combined. This paper proposes a deep structured model capable of training a single, unified NER tagger from multiple partially annotated corpora, enabling efficient adaptation to new domains.

The Challenge of Fragmented Annotations

When training separate models on disjoint datasets, the resulting taggers often produce conflicting or incomplete predictions. For instance, in a biomedical context, one model might identify a term as a "Gene" while another identifies it as a "Protein," or fails to recognize it entirely because it wasn't in its specific training set.

Figure 1: Comparison of gold annotations versus disjoint predictions from individually trained models.

Standard multi-task learning (MTL) approaches share internal features but typically maintain separate output layers, failing to resolve these "collisions." The goal of this work is to build a unified tagger that makes a single, consistent prediction across the union of all entity types.

Methodology: Redefining the CRF Layer

The authors utilize a BiLSTM-CRF architecture but introduce a fundamental change to the Conditional Random Field (CRF) layer. In traditional supervised learning, the "O" (Outside) tag is treated as a hard negative. However, in partially annotated data, an "O" tag often represents a "missing" label—the annotator simply wasn't looking for that specific entity type.

The Improved Likelihood Function

To address this, the researchers proposed an Improved Likelihood Function that modifies how the model calculates sequence probabilities:

  1. Discounting Alternative Sequences: Hyper-parameters ($M$ and $M'$) are introduced to adjust the energy of sequences passing through alternative labels.
  2. Unified-00 Model: This variant modifies the partition function (the denominator in the probability calculation). It effectively instructs the model not to penalize predictions of entities from other datasets when the current dataset labels a word as "O."
  3. Global Tag Space: By maintaining a single CRF layer for the union of all tags, the model learns the structural relationships between different entity types.
Figure 2: Comparison of likelihood functions for global, partial, and the proposed improved annotation schemes.

Experimental Evaluation

The model was evaluated across two distinct domains:

  • Biomedical Domain: Training involved five specialized sets (BC2GM, BC4CHEM, NCBI-disease, JNLPBA, and Linnaeus). Evaluation was conducted on "Global" corpora (e.g., BC5CDR) containing overlapping entity types.
  • News Domain: A synthetic benchmark was created by splitting the CoNLL 2003 dataset into four single-entity portions to simulate partial annotation.

Key Results and Insights

  • Zero-Shot Adaptation: The proposed Unified-00 model significantly outperformed baseline methods in "no-supervision" settings. On the BC5CDR dataset, it achieved an F1 score of 73.8, surpassing the 63.6 F1 of voting-based heuristics.
  • Data Efficiency: The unified model demonstrated remarkable efficiency during fine-tuning. With as few as 50 to 100 fully annotated sentences, it reached high performance levels by leveraging the structural knowledge gained from partial datasets.
  • Handling the "O" Tag: The core insight is that treating "O" as an ambiguous label rather than a hard negative prevents the model from destroying its own performance when learning from multiple sources.

Conclusion

This research provides a robust framework for building unified NER systems from fragmented data sources. By mathematically accounting for the uncertainty in partial annotations within the CRF layer, the model avoids prediction collisions and adapts to complex new domains with minimal supervision. Future work will look into handling mismatched annotation guidelines and nested entity structures.

Summary updated

BibTeX
@inproceedings{huang2019learning,
  author = {Xiao Huang and Li Dong and Elizabeth Boschee and Nanyun Peng},
  title = {{Learning a Unified Named Entity Tagger from Multiple Partially Annotated Corpora for Efficient Adaptation}},
  booktitle = {CoNLL},
  year = {2019},
  doi = {10.18653/v1/k19-1048},
}
Figure