DAGet the newsletter
Research

BioMamba: Researchers say medical language model retains general language ability

Researchers have further trained a family of language models on biomedical text. According to the authors, they perform well on medical tasks without becoming markedly worse at general ones.

November 19, 2026, 20:38AI-generated from the sources listed, with automated source checks.

Photo: NavyMedicine / Wikimedia Commons, Public domain

A group of researchers has developed BioMamba, a family of language models aimed at medical and biomedical text. The models are not built from scratch. They were created by taking publicly available Mamba2 models and training them further so they learn the specialized language of the research world. The architecture is the same as in Mamba2.

All results in this article are the authors' own measurements. No independent replication has been found.

A mix of specialist and general text

The training uses a mix of 80 percent biomedical text, 10 percent general text and 10 percent general text from another source. According to the project's code repository, the biomedical portion is abstracts from PubMed, while the two general portions are C4 and Wikipedia.

The authors state that the mix is meant to improve the models' medical language use while preventing the specialization from degrading general language understanding.

The models come in five sizes, from 130 million to 2.7 billion parameters. Parameters are the adjustable numbers in a model, and more of them typically means a larger model. According to the code repository, results on the biomedical tests improve as the model gets larger.

Results

The largest model, BioMamba-2.7B, achieved a perplexity of 5.28 on PubMed, according to the authors. Perplexity measures how surprised the model is by a text, and lower is better. The model also reached 90.24 percent accuracy on the BioASQ question set and 73.00 percent on PubMedQA.

On six multiple-choice tests outside the biomedical field, BioMamba came within plus or minus 3 percentage points of Mamba2, with no systematic decline. After further fine-tuning on tasks in the field, BioMamba matched or outperformed the fine-tuned Mamba2 on two clinical tasks: completing notes and writing discharge summaries. Both were tested on the MIMIC-IV dataset.

Open source

The project has three stages: continued pretraining on mixed biomedical text, fine-tuning on tasks in the field, and evaluation on question answering and clinical tasks. The code repository is released under an MIT license, and according to the abstract page, open weights accompany the paper under CC BY 4.0.

Caveats

The paper has been through several versions since August 2024, with different titles and content. The figures here come from the latest version, from June 2026. The code repository is not fully up to date with the paper: Among other things, it says that checkpoints "will be released" and cites different data volumes than the paper.

Read also

Next storyGemini on Mac can now control other apps for youRead on
Back to the front page