# BioMedCLIP

**BiomedCLIP** 是[微软研究院](https://www.edgepedia.org/zh/microsoft-research)开发的开源生物医学视觉-语言基础模型，它将视觉Transformer图像编码器与PubMedBERT文本编码器配对，通过在PMC-15M数据集上进行对比学习训练而成。PMC-15M包含从[PubMed Central](https://www.edgepedia.org/zh/pubmed-central)生物医学研究文章中提取的1500万对图像-图注数据。<sup>[1](https://arxiv.org/abs/2303.00915)</sup><sup> • </sup><sup>[2](https://huggingface.co/microsoft/BiomedCLIP-PubMedBERT_256-vit_base_patch16_224/blob/refs%2Fpr%2F28/README.md)</sup> 该模型可执行跨模态检索、图像分类和视觉问答任务，并随其数据流水线和权重一同发布，供研究使用。<sup>[2](https://huggingface.co/microsoft/BiomedCLIP-PubMedBERT_256-vit_base_patch16_224/blob/refs%2Fpr%2F28/README.md)</sup>

| 关键事实 | 详情 |
|---|---|
| 训练数据 | PMC-15M：来自440万篇PubMed Central开放获取文章的1500万对图像-图注数据，比MIMIC-CXR大两个数量级<sup>[1](https://arxiv.org/abs/2303.00915)</sup> |
| 架构 | ViT-B/16视觉Transformer图像编码器（约8600万参数），以PubMedBERT为文本编码器，采用对比学习训练<sup>[2](https://huggingface.co/microsoft/BiomedCLIP-PubMedBERT_256-vit_base_patch16_224/blob/refs%2Fpr%2F28/README.md)</sup><sup> • </sup><sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC12475293/)</sup> |
| 文本上下文长度 | 256个词元，WordPiece词表规模为3万，覆盖超过90%的图注，而CLIP默认窗口为77个词元 |
| 发布 | arXiv预印本于2023年3月2日提交；期刊版发表于NEJM AI（2024年，第2卷第1期，doi 10.1056/AIoa2400640）；MIT许可的open_clip检查点<sup>[1](https://arxiv.org/abs/2303.00915)</sup><sup> • </sup><sup>[2](https://huggingface.co/microsoft/BiomedCLIP-PubMedBERT_256-vit_base_patch16_224/blob/refs%2Fpr%2F28/README.md)</sup> |
| 主要结果 | 在检索、零样本分类和视觉问答基准上均达到新的最先进水平；在RSNA肺炎检测上优于放射学专用模型BioViL<sup>[4](https://www.microsoft.com/en-us/research/publication/large-scale-domain-specific-pretraining-for-biomedical-vision-language-processing/?lang=ko-kr)</sup> |
| 预期用途 | 用于生物医学视觉-语言处理研究及论文结果的可复现性；根据模型卡说明，部署使用（无论商业与否）均不在范围内<sup>[2](https://huggingface.co/microsoft/BiomedCLIP-PubMedBERT_256-vit_base_patch16_224/blob/refs%2Fpr%2F28/README.md)</sup> |
| 语言范围 | 仅限英语；模型使用英语语料开发<sup>[2](https://huggingface.co/microsoft/BiomedCLIP-PubMedBERT_256-vit_base_patch16_224/blob/refs%2Fpr%2F28/README.md)</sup> |

## 背景与数据集

在BiomedCLIP之前，公开可用的生物医学图像-文本数据集规模较小，且偏向胸部X射线，这限制了领域特定视觉-语言预训练的进展。<sup>[4](https://www.microsoft.com/en-us/research/publication/large-scale-domain-specific-pretraining-for-biomedical-vision-language-processing/?lang=ko-kr)</sup> BiomedCLIP团队利用可扩展的云基础设施解析了PubMed Central开放获取子集中的440万篇文章，提取并清洗了15,282,336对图像-图注数据，涵盖放射学、病理学、显微镜学、解剖学、图表以及长尾临床图像。<sup>[5](https://liudengzhang.github.io/conference-corpus/conferences/iclr-2026/tools/biomedclip/)</sup> 微软单独发布了数据流水线，可自动下载和处理PubMed Central开放获取文章，并输出包含图像及关联图注的JSONL文件。<sup>[6](https://github.com/microsoft/BiomedCLIP_data_pipeline)</sup>

256个词元的上下文窗口是针对领域的适配：生物医学图注经常超过通用CLIP模型77个词元的默认值，因此更长的窗口保留了原本会被截断的图注文本。

## 架构与训练

BiomedCLIP遵循CLIP的对比学习方案，在成对的图像-文本数据上训练，匹配的图像-图注对在共享嵌入空间中被拉近，不匹配的对被推开。图像编码器为视觉Transformer，采用基础规模的ViT-B/16配置，约8600万参数；文本编码器为PubMedBERT，一个在生物医学文本上预训练的语言模型。<sup>[2](https://huggingface.co/microsoft/BiomedCLIP-PubMedBERT_256-vit_base_patch16_224/blob/refs%2Fpr%2F28/README.md)</sup><sup> • </sup><sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC12475293/)</sup> 发布的检查点为open_clip模型，通过`open_clip.create_model_from_pretrained('hf-hub:microsoft/BiomedCLIP-PubMedBERT_256-vit_base_patch16_224')`加载，采用MIT许可。<sup>[2](https://huggingface.co/microsoft/BiomedCLIP-PubMedBERT_256-vit_base_patch16_224/blob/refs%2Fpr%2F28/README.md)</sup>

## 报告性能

在原始评估中，BiomedCLIP在涵盖检索、分类和视觉问答的标准生物医学基准上确立了新的最先进结果，显著优于此前的视觉-语言方法。<sup>[1](https://arxiv.org/abs/2303.00915)</sup> 检索在PMC-15M中一个72.6万对的留出集上评估，分类在包括LC25000、PathCamelyon、TCGA-TIL和RSNA 2018挑战赛在内的数据集上评估。<sup>[7](https://openaccess.thecvf.com/content/CVPR2025/papers/Lozano_BIOMEDICA_An_Open_Biomedical_Image-Caption_Archive_Dataset_and_Vision-Language_Models_CVPR_2025_paper.pdf)</sup> 一个值得注意的发现是，在所有生物医学图像类型上进行预训练，使BiomedCLIP即使在RSNA肺炎检测等放射学特定任务上也优于BioViL等放射学专用模型。<sup>[4](https://www.microsoft.com/en-us/research/publication/large-scale-domain-specific-pretraining-for-biomedical-vision-language-processing/?lang=ko-kr)</sup>

后来的独立评估呈现出混合图景，且在很大程度上取决于任务和设置：

- 在一项关于医学图像伪影对视觉-语言模型鲁棒性的研究中，BiomedCLIP在使用标准提示时，在未修改的脑部MRI（0.770，95% CI 0.720–0.820）和胸部X射线（0.760，95% CI 0.710–0.805）疾病检测中取得了受测模型中的最高准确率。向胸部X射线添加弱随机噪声后，其肺部疾病准确率降至0.466，下降38.5%（p < 0.001）。<sup>[8](https://pmc.ncbi.nlm.nih.gov/articles/PMC12660864/)</sup>
- 在儿科放射摄影中，BiomedCLIP检测对比剂存在的精确率为88.7%，AUC为85.4%，但特异性仅为20%；对于食管狭窄，其表现不佳，准确率24%、敏感性44%、特异性18%、AUC为0.26，作者将此归因于类别不平衡、缺乏微调以及难以识别细微形态异常。<sup>[9](https://pubmed.ncbi.nlm.nih.gov/41682830/)</sup>
- 在100张胸部X射线片的肺结节检测中，BiomedCLIP与MedRAX智能体框架并列取得最高准确率（0.711，95% CI 0.613–0.808），并在九种受测模型中取得最高AUC（0.743），尽管作者认为所有受测模型均不足以用于临床实施。<sup>[10](https://www.frontiersin.org/journals/digital-health/articles/10.3389/fdgth.2025.1674835/full)</sup>
- 在NIH ChestX-ray14基准上，一项迁移研究报告BiomedCLIP的最佳F1为0.196 ± 0.004，仅为监督CNN基线的24%，结论是视觉-语言预训练未能迁移到该胸部X射线分类设置。<sup>[11](https://www.medrxiv.org/content/10.64898/2025.12.06.25341759v2.full)</sup>
- 在高度不平衡、分布外的IU-xray数据集上，零样本BiomedCLIP对所有标签均过度预测，精确率和类间可分性较差；完全微调改善了对不同疾病的分类，而线性探测检测到了重叠特征。<sup>[12](https://arxiv.org/abs/2506.14136)</sup>

## 作为组件使用

BiomedCLIP的图像编码器被广泛复用为下游医学系统的初始化或骨干。微软的LLaVA-Rad是一个用于胸部X射线所见生成的小型多模态模型，其视觉编码器采用BiomedCLIP-CXR变体。<sup>[13](https://github.com/microsoft/LLaVA-Rad)</sup> 比较研究通常将其与MedCLIP、PubMedCLIP、PMC-CLIP和QuiltNet等医学CLIP家族模型一同纳入，在数十个数据集上对零样本分类、线性探测、检索和视觉问答进行基准测试。<sup>[14](https://pmc.ncbi.nlm.nih.gov/articles/PMC13402289/)</sup> 在乳腺超声肿瘤分类中，BiomedCLIP与其他受测视觉-语言模型一样，对零样本文本提示的措辞敏感，但通过视觉标记和适配得到改善。<sup>[15](https://experts.mcmaster.ca/scholarly-works/3584064)</sup>

## 在生物医学数据集与模型中的位置

PMC-15M属于源自PubMed Central的多模态数据集谱系。另一个团队开发的PMC-CLIP在PMC-OA上预训练，该数据集包含来自PubMed Central开放获取子集的160万对图像-图注数据。<sup>[16](https://arxiv.org/abs/2303.07240)</sup> 2025年，BIOMEDICA框架将整个PubMed Central开放获取子集序列化为来自超过600万篇文章的约2400万对唯一图像-文本数据，其BMCA-CLIP模型在该档案上持续预训练，报告在40项任务上取得最先进的平均性能，零样本分类平均比包括BiomedCLIP在内的先前工作提高6.56%，同时计算量降至十分之一。<sup>[17](https://arxiv.org/abs/2501.07171)</sup> BiomedCLIP自身的评估任务已被纳入BIOMEDICA基准。<sup>[7](https://openaccess.thecvf.com/content/CVPR2025/papers/Lozano_BIOMEDICA_An_Open_Biomedical_Image-Caption_Archive_Dataset_and_Vision-Language_Models_CVPR_2025_paper.pdf)</sup>

## 局限性

模型卡声明BiomedCLIP仅限英语，仅用于视觉-语言处理研究及参考论文结果的可复现性；任何部署用例，无论商业与否，均不在范围内。<sup>[2](https://huggingface.co/microsoft/BiomedCLIP-PubMedBERT_256-vit_base_patch16_224/blob/refs%2Fpr%2F28/README.md)</sup> 一篇放射学综述将BiomedCLIP归入基础模型之列，这些模型在回顾性评估中显示出强大的诊断和报告性能，但缺乏FDA clearance、外部验证以及与PACS和RIS等临床系统的集成。<sup>[18](https://www.sciencedirect.com/science/article/pii/S1076633225010499)</sup> 上述儿科和分布外研究补充了具体的失败模式：对高显著性所见特异性较弱、对细微形态异常检测不佳，以及在没有任务特定适配的情况下标签过度预测。<sup>[9](https://pubmed.ncbi.nlm.nih.gov/41682830/)</sup><sup> • </sup><sup>[12](https://arxiv.org/abs/2506.14136)</sup>

## References

1. [Sheng Zhang et al. BiomedCLIP: a multimodal biomedical foundation model pretrained from fifteen million scientific image-text pairs. arXiv:2303.00915](https://arxiv.org/abs/2303.00915)
2. [Model card: microsoft/BiomedCLIP-PubMedBERT_256-vit_base_patch16_224, Hugging Face](https://huggingface.co/microsoft/BiomedCLIP-PubMedBERT_256-vit_base_patch16_224/blob/refs%2Fpr%2F28/README.md)
3. [Leveraging multi-modal foundation model image encoders to enhance brain MRI-based headache classification, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC12475293/)
4. [Large-Scale Domain-Specific Pretraining for Biomedical Vision-Language Processing, Microsoft Research](https://www.microsoft.com/en-us/research/publication/large-scale-domain-specific-pretraining-for-biomedical-vision-language-processing/?lang=ko-kr)
5. [BioMedCLIP — Zhang, Xu et al. (Microsoft Research), Conference Corpus](https://liudengzhang.github.io/conference-corpus/conferences/iclr-2026/tools/biomedclip/)
6. [microsoft/BiomedCLIP_data_pipeline, GitHub](https://github.com/microsoft/BiomedCLIP_data_pipeline)
7. [Lozano et al. BIOMEDICA: An Open Biomedical Image-Caption Archive, Dataset, and Vision-Language Models, CVPR 2025](https://openaccess.thecvf.com/content/CVPR2025/papers/Lozano_BIOMEDICA_An_Open_Biomedical_Image-Caption_Archive_Dataset_and_Vision-Language_Models_CVPR_2025_paper.pdf)
8. [Understanding the robustness of vision-language models to medical image artefacts, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC12660864/)
9. [Assessing the Diagnostic Accuracy of BiomedCLIP for Detecting Contrast Use and Esophageal Strictures in Pediatric Radiography, PubMed](https://pubmed.ncbi.nlm.nih.gov/41682830/)
10. [A comparative accuracy study of multimodal LLMs, VLM and agent-based framework for pulmonary nodule detection on chest radiographs, Frontiers in Digital Health](https://www.frontiersin.org/journals/digital-health/articles/10.3389/fdgth.2025.1674835/full)
11. [Vision-Language Foundation Models Do Not Transfer to Medical Imaging Classification: A Negative Result on Chest X-ray Diagnosis, medRxiv](https://www.medrxiv.org/content/10.64898/2025.12.06.25341759v2.full)
12. [Interpreting Biomedical VLMs on High-Imbalance Out-of-Distributions: An Insight into BiomedCLIP on Radiology. arXiv:2506.14136](https://arxiv.org/abs/2506.14136)
13. [microsoft/LLaVA-Rad, GitHub](https://github.com/microsoft/LLaVA-Rad)
14. [A generalist biomedical vision-language model via multi-CLIP knowledge distillation, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC13402289/)
15. [Visual Prompting and Adaptation of Vision Language Models for Tumor Classification in Breast Ultrasound, ISBI 2025](https://experts.mcmaster.ca/scholarly-works/3584064)
16. [PMC-CLIP: Contrastive Language-Image Pre-training using Biomedical Documents. arXiv:2303.07240](https://arxiv.org/abs/2303.07240)
17. [BIOMEDICA: An Open Biomedical Image-Caption Archive, Dataset, and Vision-Language Models Derived from Scientific Literature. arXiv:2501.07171](https://arxiv.org/abs/2501.07171)
18. [The Emergence of Foundation Models in U.S. Radiology: A Narrative Review, ScienceDirect](https://www.sciencedirect.com/science/article/pii/S1076633225010499)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 现代人工智能：基础模型、生成式人工智能与人工智能产业 › Model families and named models › Multimodal, vision, and world models

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/biomedclip

English original: https://www.edgepedia.org/biomedclip
