DTranNER: biomedical named entity recognition with deep learning-based label-label transition model

S. K. Hong, Jae-Gil Lee

Abstract

Biomedical Named Entity Recognition (BioNER) is a critical task in bioinformatics, complicated by the length and structural complexity of biomedical terms. Traditional models, such as the BiLSTM-CRF, utilize a static transition matrix that assumes label-to-label dependencies are constant across all contexts. We introduce DTranNER, which replaces this static matrix with a context-aware Pairwise-Network. By dynamically calculating transition probabilities for each sentence, DTranNER achieves state-of-the-art performance on four out of five major biomedical benchmarks, demonstrating superior handling of complex entity boundaries compared to models like BioBERT.

Introduction

Identifying entities such as genes, chemicals, and diseases in scientific literature is foundational for downstream tasks like knowledge graph construction and drug discovery. However, biomedical entities like "nicotinamide adenine dinucleotide phosphate" or "ureteric stones or obstruction" are often long and contain conjunctions that break standard sequence labeling patterns.

The current gold standard, the BiLSTM-CRF architecture, uses a Conditional Random Field (CRF) to model the dependencies between adjacent labels. The limitation lies in the CRF's transition matrix, which is "static"—it learns a fixed set of weights during training that are applied globally. This paper argues that the relationship between labels should be dynamic, adapting to the specific linguistic context of the sentence to better identify entity boundaries.

The DTranNER Architecture

DTranNER (Dynamic Transition for NER) addresses the limitations of static transitions by bifurcating the feature extraction process into two distinct deep-learning components:

  1. Unary-Network: This component follows the traditional approach, using a BiLSTM to estimate the emission score (the likelihood of a specific label) for each individual token.
  2. Pairwise-Network: This is the primary innovation. It utilizes a separate BiLSTM and a bilinear model to analyze the sentence context and dynamically generate a transition matrix for that specific input.
Figure 1: The DTranNER architecture for label sequence inference, featuring parallel Unary and Pairwise networks.

Technical Implementation

  • Contextual Embeddings: The model leverages a combination of pre-trained word vectors (Wiki-PubMed-PMC) and character-level contextualized ELMo embeddings to capture both semantic and morphological information.
  • Dual-CRF Training Strategy: A significant challenge in joint training is "feature swamping," where one network (usually the Unary-Network) dominates the learning process, causing the other to stagnate. To mitigate this, the authors employ a unique strategy: they train the Unary and Pairwise networks using two separate CRFs simultaneously before combining their outputs for final inference.
  • Structural Independence: The authors found that using independent BiLSTM layers for the Unary and Pairwise networks outperformed shared-parameter models. This suggests that the features required to identify a token's class are fundamentally different from those required to identify a transition between classes.

Experimental Setup and Datasets

The model was rigorously evaluated against five benchmark BioNER corpora:

  • BC2GM: Focuses on gene and protein mentions.
  • BC4CHEMD: Focuses on chemical and drug names.
  • BC5CDR: Split into Chemical and Disease subsets.
  • NCBI-Disease: Annotated PubMed abstracts for disease mentions.

Results and Discussion

DTranNER demonstrated exceptional performance, setting new state-of-the-art (SOTA) F1-scores on four of the five datasets. Notably, it outperformed BioBERT, a massive pre-trained Transformer model, in most categories.

Corpus DTranNER F1 Previous SOTA (BioBERT)
BC2GM 84.56% 84.40%
BC4CHEMD 91.99% 91.41%
BC5CDR-Chem 94.16% 93.44%
BC5CDR-Dis 87.22% 86.56%
NCBI-Disease 88.62% 89.36%

Qualitative analysis revealed that DTranNER is particularly effective at resolving boundary ambiguities. In cases where entities are linked by slashes or conjunctions (e.g., "and", "or"), the dynamic transition model correctly identifies that these tokens do not necessarily signal the end of an entity mention, whereas static models often truncate the entity.

Conclusion

DTranNER proves that modeling label transitions as a dynamic, context-dependent process significantly improves BioNER accuracy. By decoupling unary and pairwise feature extraction and employing a dual-CRF training strategy, the model overcomes the "static bottleneck" of traditional CRF layers. Future work will explore the integration of DTranNER with Transformer-based architectures and its application to semi-supervised learning using unlabeled biomedical corpora.

Summary updated

BibTeX
@article{hong2020dtranner,
  author = {S. K. Hong and Jae-Gil Lee},
  title = {{DTranNER: biomedical named entity recognition with deep learning-based label-label transition model}},
  journal = {BMC Bioinformatics},
  year = {2020},
  doi = {10.1186/s12859-020-3393-1},
}
Figure