Knowledge Guided Named Entity Recognition

Pratyay Banerjee, Kuntal Kumar Pal, Murthy V. Devarakonda, Chitta BaralarXiv 2019

Researchers at Arizona State University have introduced a novel reformulation of Named Entity Recognition (NER) specifically designed for the complexities of biomedical text. By reframing NER as a Question Answering (QA) task guided by external knowledge, the proposed system achieves state-of-the-art results across a wide array of benchmarks.

The Challenge of Biomedical NER

Named Entity Recognition in the biomedical domain is notoriously difficult due to highly specific terminology, nested entities (such as a gene mention within a disease mention), and the constant emergence of new drug and chemical names.

Traditional NER systems typically treat this as a multi-class classification problem. For every token, the model predicts a tag indicating the beginning (B), inside (I), or outside (O) of a specific entity type (e.g., B-Protein, I-Disease). This approach suffers from two primary drawbacks:

  1. Labeling Confusion: Models may correctly identify entity boundaries but assign the incorrect category.
  2. Data Fragmentation: Learning is often siloed because different datasets use different sets of entity types, making it hard to train a single, robust model.

Proposed Method: Knowledge Guided QA (KGQA)

The authors propose Knowledge Guided QA (KGQA), which shifts the focus from finding all entities at once to finding entities of a specific type by providing a "knowledge context."

Reformulation of NER as a knowledge-guided QA task

In this reformulation, the input is structured as: [CLS] Knowledge Context [SEP] Biomedical Text [SEP]. By defining what the model is looking for within the context, the output space is simplified to basic B, I, or O tags. The model no longer needs to distinguish between entity types in its output layer; it simply identifies the spans that match the provided description.

Knowledge Types

The study explored five variations of knowledge context:

  • Entity Type: The simple name (e.g., "Problem").
  • Question: A natural language prompt (e.g., "What are the problems mentioned in the text?").
  • Definition: Scientific definitions from the UMLS Meta-thesaurus.
  • Examples: A list of the most frequent entities of that type.
  • All: A concatenation of all the above.

Model Architecture: BERT-CNN

The core of the system is a BERT-base model enhanced with a re-contextualization layer—a 2D Convolutional Neural Network (CNN) placed on top of the BERT embeddings.

The BERT-CNN architecture with a re-contextualization layer

While BERT excels at capturing global context, the CNN layer helps the model focus on local, token-neighbor features. This hybrid approach is critical for pinpointing the exact boundaries of technical entities in dense prose.

Experimental Setup and Datasets

The researchers evaluated their method on 18 biomedical datasets, including BioNLP Shared Tasks, i2b2 Challenges, and BioCreative. This massive combined corpus allowed the model to learn from nearly 400,000 training samples, providing a significant advantage over models trained on smaller, individual datasets.

Key Results and Insights

  • State-of-the-Art Performance: The BERT-CNN model achieved new SOTA F1 scores on 12 out of 18 datasets, with improvements ranging from 1.5% to 11% over traditional BERT baselines.
  • Questions as Optimal Prompts: Surprisingly, simple natural language questions outperformed complex scientific definitions. The authors suggest the word "what" serves as a powerful signal for the attention mechanism to locate relevant entities.
  • Decoupling "Where" from "What": By using the knowledge context to handle the entity type, the model's parameters can focus entirely on span detection, significantly reducing labeling errors.
  • Joint Learning and Transferability: The universal B-I-O output space allows for simultaneous training across all 18 datasets. This enables the model to learn general "entity-ness," which improves performance on rare entity types and facilitates zero-shot or few-shot transfer between datasets.

Conclusion

By reframing NER as a knowledge-guided QA task, this research effectively addresses the fragmentation and labeling confusion inherent in traditional biomedical NER. While the approach increases computational cost during inference—requiring a separate pass for each entity type—the significant gains in accuracy and the ability to leverage diverse datasets represent a major step forward for biomedical information extraction.

Summary updated

BibTeX
@misc{banerjee2019knowledge,
  author = {Pratyay Banerjee and Kuntal Kumar Pal and Murthy V. Devarakonda and Chitta Baral},
  title = {{Knowledge Guided Named Entity Recognition}},
  year = {2019},
  eprint = {1911.03869},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.03869},
}
Figure