[Paper Review] BioMegatron: Larger Biomedical Domain Language Model
This paper introduces BioMegatron, a larger biomedical language model pre-trained on extensive PubMed abstracts and full-text PMC articles, demonstrating state-of-the-art performance on biomedical NLP tasks. It shows that domain-specific vocabulary and targeted pre-training are more critical than model size alone, with BioMegatron-1.2b achieving SOTA results on named entity recognition, relation extraction, and question answering benchmarks.
There has been an influx of biomedical domain-specific language models, showing language models pre-trained on biomedical text perform better on biomedical domain benchmarks than those trained on general domain text corpora such as Wikipedia and Books. Yet, most works do not study the factors affecting each domain language application deeply. Additionally, the study of model size on domain-specific models has been mostly missing. We empirically study and evaluate several factors that can affect performance on domain language applications, such as the sub-word vocabulary set, model size, pre-training corpus, and domain transfer. We show consistent improvements on benchmarks with our larger BioMegatron model trained on a larger domain corpus, contributing to our understanding of domain language model applications. We demonstrate noticeable improvements over the previous state-of-the-art (SOTA) on standard biomedical NLP benchmarks of named entity recognition, relation extraction, and question answering. Model checkpoints and code are available at [https://ngc.nvidia.com] and [https://github.com/NVIDIA/NeMo].
Motivation & Objective
- To investigate the impact of model size, vocabulary choice, pre-training corpus, and domain transfer on biomedical language model performance.
- To address the limited study of model scaling and domain-specific factors in biomedical NLP.
- To improve performance on key biomedical NLP benchmarks such as named entity recognition, relation extraction, and question answering.
- To demonstrate that domain-targeted models outperform general-domain models even when smaller, especially with proper vocabulary and pre-training.
- To provide open-source model checkpoints and code to support reproducibility and further research in biomedical NLP.
Proposed method
- Pre-trained three variants of BioMegatron with 345M, 800M, and 1.2B parameters using the Megatron-LM framework for efficient model parallel training.
- Used a combined pre-training corpus of 4.5B words from PubMed abstracts and 1.6B words from CC-licensed PMC full-text articles.
- Compared different subword vocabulary sets (30k and 50k units) learned via SentencePiece on biomedical text, and evaluated both uncased and cased BERT-style vocabularies.
- Trained models from scratch and fine-tuned from general-domain checkpoints (e.g., BERT-uncased) to assess transfer learning effects.
- Evaluated performance on standard biomedical benchmarks: BC5CDR and NCBI-disease for NER, ChemProt for relation extraction, and BioASQ-7b for question answering.
- Used standard metrics such as F1-score for NER and QA, and accuracy for sequence classification tasks.
Experimental results
Research questions
- RQ1How does model size affect performance on biomedical NLP tasks compared to vocabulary choice and pre-training corpus?
- RQ2What is the impact of using a domain-specific subword vocabulary learned from biomedical text versus general-domain vocabularies?
- RQ3Does fine-tuning from a general-domain language model checkpoint improve performance on biomedical benchmarks compared to training from scratch?
- RQ4How does pre-training on a larger biomedical corpus (including full-text PMC) affect downstream performance compared to abstract-only pre-training?
- RQ5To what extent does domain-specific pre-training mitigate performance gaps in low-resource biomedical NLP tasks with high label bias?
Key findings
- BioMegatron-1.2b achieved an F1-score of 91.8 on SQuAD-v1.1 and 86.4 on SQuAD-v2.0, outperforming BERT-Large and RoBERTa on general-domain benchmarks.
- The 345M model with a 50k-domain vocabulary achieved 91.6 F1 on SQuAD-v1.1, outperforming BERT-Large (90.9 F1), showing that vocabulary choice can outweigh model size.
- BioMegatron-800m achieved 91.6 F1 on SQuAD-v1.1 and 86.1 on SQuAD-v2.0, demonstrating that larger models pre-trained on domain-specific text generalize better than smaller general-domain models.
- Fine-tuned BioMegatron models (e.g., BioMegatron-345m-ft) showed lower performance (86.5 F1 on SQuAD-v1.1) than their pre-trained counterparts, indicating that domain-specific pre-training is more effective than transfer from general-domain models.
- Despite larger model size, BioMegatron-1.2b did not outperform BioMegatron-800m on BioASQ-7b, suggesting potential overfitting on smaller biomedical QA datasets with high label bias.
- The study found that label bias is significantly higher in biomedical datasets (e.g., 0.02 in BioASQ-7b) compared to general-domain datasets like SQuAD (0.4), highlighting data scarcity and imbalance challenges.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.