IITKGP at W-NUT 2020 Shared Task-1: Domain specific BERT representation for Named Entity Recognition of lab protocol

Tejas Vaidhya, Ayush Kaushal

TL;DR

This paper demonstrates that domain-specific language models, specifically Bio-BERT, significantly outperform general-purpose models for Named Entity Recognition (NER) in biomedical lab protocols. By leveraging pre-training on massive scientific corpora like PubMed, the authors achieved top-tier results in the WNUT 2020 Shared Task, highlighting the critical importance of specialized vocabularies in scientific NLP.

What Problem Does This Paper Address?

Wet lab protocols are the "recipes" of science—concise, instruction-heavy documents that allow researchers to replicate experiments. However, these documents are notoriously difficult for standard Natural Language Processing (NLP) systems to parse.

The challenge is twofold:

  1. Specialized Vocabulary: Protocols are dense with terms like "acetyltransferase," "ddH2O," and "nCoV-2019" that rarely appear in general text.
  2. Syntactic Sparsity: Protocols are written for efficiency, often sacrificing standard sentence structure. This makes it hard for traditional models to create meaningful contextual embeddings.

The authors set out to build a system that can accurately identify entities like reagents, methods, and devices within these specialized texts, participating in the WNUT 2020 Shared Task-1.

Methods

The authors proposed an architecture that swaps the standard BERT core for domain-specific variants. The pipeline follows a standard NER approach:

  1. Tokenization: Sentences are broken down using BERT’s WordPiece tokenizer.
  2. Embedding: Tokens are passed through a Domain Specific BERT stack (such as Bio-BERT or Sci-BERT) to extract contextualized representations.
  3. Classification: The representation of the first sub-word token for each word is fed into a simple Linear or Dense layer with a Softmax activation to predict the entity label.
Architecture diagram showing the flow from medical protocol to labels

The team experimented with several models, including biobert_v1.1_pubmed, scibert_uncased, and standard bert-large-cased, to determine which pre-training corpus best matched the linguistic style of lab protocols.

Datasets

The primary dataset used was the WLP dataset (Kulkarni et al., 2018), specifically the version provided for the WNUT 2020 Shared Task-1.

  • Content: 615 re-annotated lab protocols collected from protocols.io.
  • Annotations: The data uses a "tokens-level" classification scheme (BIO tagging) to identify entities.
  • Complexity: As shown in Figure 1, a single sentence can contain a high density of overlapping entity types, from reagents and amounts to locations and action verbs.
Visualisation of annotated protocol sentences

Key Insights and Ideas

  • Domain Knowledge is King: Bio-BERT models outperformed all others. The authors hypothesize this is because PubMed citations share a high degree of linguistic similarity with lab protocols—both focus on medical procedures and experimental reproduction.
  • The Tokenization Bottleneck: A major finding was that standard BERT tokenizers are inefficient for biomedical text. As illustrated in Figure 5, complex terms are often fragmented into too many sub-words (e.g., "acetyltransferase" becomes 7 sub-tokens). This fragmentation makes it harder for the model to learn the underlying semantics of the word.
  • Casing Matters: The "cased" versions of models generally performed better than "uncased" versions. In scientific writing, capitalization often distinguishes between a common word and a specific reagent or gene, providing a vital syntactic cue.
Table showing how Bio-Med terms are fragmented by the tokenizer

Key Results

The biobert_v1.1_pubmed model emerged as the clear winner among the tested architectures.

  • Performance: In experimental settings, it achieved an F1-score of 79.10 and a Recall of 79.72.
  • Competition Standing: In the final WNUT competition, the system stood as the 1st runner up in terms of Recall and the 4th runner up in terms of F1-score out of 13 participating teams.
  • Comparison: It significantly outperformed the Linear CRF baseline, which only managed an F1-score of 74.39.
Table comparing performance across different BERT variants

Limitations and Future Work

Despite the strong performance, the authors identified several areas for improvement:

  1. Tokenization Errors: The reliance on general-purpose tokenizers remains a weakness. Future work involves training tokenizers specifically on biomedical corpora to reduce sub-word fragmentation.
  2. Label Inconsistency: The model occasionally struggles with "intermediate" entities, sometimes mislabeling the start of a multi-word entity (e.g., tagging an I-Reagent as a B-Device), as shown in Figure 4.
  3. Future Directions: The team plans to experiment with XLNet and explore model ensembling techniques. They also aim to perform a deeper "layer-by-layer" analysis of BERT to understand exactly how these domain-specific features are being captured.
Table showing examples of correct vs predicted labels and common errors

Summary updated

BibTeX
@inproceedings{vaidhya2020iitkgp,
  author = {Tejas Vaidhya and Ayush Kaushal},
  title = {{IITKGP at W-NUT 2020 Shared Task-1: Domain specific BERT representation for Named Entity Recognition of lab protocol}},
  booktitle = {W-NUT @ EMNLP},
  year = {2020},
  doi = {10.18653/v1/2020.wnut-1.34},
}
Figure