Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

BioClinical ModernBERT: A State-of-the-Art Long-Context Encoder for Biomedical and Clinical NLP

About

Encoder-based transformer models are central to biomedical and clinical Natural Language Processing (NLP), as their bidirectional self-attention makes them well-suited for efficiently extracting structured information from unstructured text through discriminative tasks. However, encoders have seen slower development compared to decoder models, leading to limited domain adaptation in biomedical and clinical settings. We introduce BioClinical ModernBERT, a domain-adapted encoder that builds on the recent ModernBERT release, incorporating long-context processing and substantial improvements in speed and performance for biomedical and clinical NLP. BioClinical ModernBERT is developed through continued pretraining on the largest biomedical and clinical corpus to date, with over 53.5 billion tokens, and addresses a key limitation of prior clinical encoders by leveraging 20 datasets from diverse institutions, domains, and geographic regions, rather than relying on data from a single source. It outperforms existing biomedical and clinical encoders on four downstream tasks spanning a broad range of use cases. We release both base (150M parameters) and large (396M parameters) versions of BioClinical ModernBERT, along with training checkpoints to support further research.

Thomas Sounack, Joshua Davis, Brigitte Durieux, Antoine Chaffin, Tom J. Pollard, Eric Lehman, Alistair E. W. Johnson, Matthew McDermott, Tristan Naumann, Charlotta Lindvall• 2025

Related benchmarks

TaskDatasetResultRank
Information RetrievalTREC-COVID
NDCG@1046.08
44
RetrievalSCIDOCS
nDCG@109.33
18
Incidentaloma classificationIncidentaloma classification (test)
F1 Class 099
12
RetrievalSciFact EN
nDCG@1032.07
6
RetrievalR2Med EN
nDCG@109.97
6
Named Entity Recognitionbsc-bio-distemist ES
F1 Score75.45
6
Named Entity Recognitioncantemist ES
F1 Score66.68
6
Named Entity Recognitionpharmaconer ES
F1 Score87.66
6
RetrievalAbSanitas ES
nDCG@1030.41
6
Showing 9 of 9 rows

Other info

Follow for update