BioMamba: 领域自适应的生物医学语言模型
BioMamba: Domain-Adaptive Biomedical Language Models
AI总结:
提出基于Mamba2的领域自适应预训练方法BioMamba,在PubMed、C4和Wikipedia混合数据上持续训练,显著降低生物医学困惑度并保持通用语言能力。
摘要:
背景。生物医学语言模型应在提升生物医学文本性能的同时保持通用语言模型的流畅性。对于基于Mamba的模型,这种权衡在生物医学文献和临床文本中尚未得到系统研究。方法。我们开发了BioMamba,一个包含五个规模的生物医学Mamba2模型家族,通过在PubMed摘要、Colossal Clean Crawled Corpus (C4)和Wikipedia的80%/10%/10%平衡混合数据上对已发布的公开Mamba2检查点进行持续预训练得到。贡献在于自适应配方和附带的开放权重检查点。结果。在五个规模上,BioMamba一致降低了PubMed困惑度,将Wikipedia风格的保留困惑度提高了1.46-4.72 PPL,而C4困惑度基本不变。在六个域外多项选择基准上,BioMamba保持在Mamba2的+/-3个百分点内,没有系统性退化。经过监督微调后,BioMamba+SFT在每个评估规模上匹配或超过Mamba2+SFT在MIMIC-IV笔记补全和出院总结生成上的表现,并在每个规模上改进了PubMedQA。最强模型(BioMamba-2.7B)在PubMed上达到5.28的困惑度,在BioASQ和PubMedQA上分别达到90.24%和73.00%的准确率。结论。平衡的领域自适应持续预训练配方增强了Mamba2语言模型在生物医学文献和临床文本上的性能,同时保持了通用语言建模的流畅性。
英文摘要:
Background. Biomedical language models should improve performance on biomedical text while retaining general-language-modeling fluency. For Mamba-based models, this trade-off has not been systematically studied across biomedical literature and clinical text. Methods. We developed BioMamba, a family of biomedical Mamba2 models at five scales obtained by continued pretraining of released public Mamba2 checkpoints on a balanced 80%/10%/10% mixture of PubMed abstracts, the Colossal Clean Crawled Corpus (C4), and Wikipedia. The contribution is the adaptation recipe and the accompanying open-weight checkpoints. Results. Across five scales, BioMamba consistently lowered PubMed perplexity, improved Wikipedia-style held-out perplexity by 1.46-4.72 PPL, and left C4 perplexity essentially unchanged. On six out-of-domain multiple-choice benchmarks, BioMamba stayed within +/-3 percentage points of Mamba2 with no systematic regression. After supervised fine-tuning, BioMamba+SFT matched or exceeded Mamba2+SFT on MIMIC-IV note completion and discharge summary generation at every evaluated scale, and improved PubMedQA at every scale. The strongest model (BioMamba-2.7B) reached a PubMed perplexity of 5.28 and accuracies of 90.24% and 73.00% on BioASQ and PubMedQA, respectively. Conclusions. A balanced domain-adaptive continued pretraining recipe strengthens Mamba2 language models on biomedical literature and clinical text while preserving general-language-modeling fluency.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。