[论文解读] Adapting Visual-Language Models for Generalizable Anomaly Detection in Medical Images
该论文提出了一种轻量级多层级微调框架,用于将CLIP模型适配至跨多种成像模态和解剖区域的零样本与少样本医学异常检测。通过在多个编码器层中集成残差适配器,并利用像素级视觉-语言对齐损失进行引导,该方法增强了对异常的特征判别能力,在零样本设置下,异常分类的平均AUC提升6.24%,分割任务提升2.03%,达到当前最先进性能。
Recent advancements in large-scale visual-language pre-trained models have led to significant progress in zero-/few-shot anomaly detection within natural image domains. However, the substantial domain divergence between natural and medical images limits the effectiveness of these methodologies in medical anomaly detection. This paper introduces a novel lightweight multi-level adaptation and comparison framework to repurpose the CLIP model for medical anomaly detection. Our approach integrates multiple residual adapters into the pre-trained visual encoder, enabling a stepwise enhancement of visual features across different levels. This multi-level adaptation is guided by multi-level, pixel-wise visual-language feature alignment loss functions, which recalibrate the model's focus from object semantics in natural imagery to anomaly identification in medical images. The adapted features exhibit improved generalization across various medical data types, even in zero-shot scenarios where the model encounters unseen medical modalities and anatomical regions during training. Our experiments on medical anomaly detection benchmarks demonstrate that our method significantly surpasses current state-of-the-art models, with an average AUC improvement of 6.24% and 7.33% for anomaly classification, 2.03% and 2.37% for anomaly segmentation, under the zero-shot and few-shot settings, respectively. Source code is available at: https://github.com/MediaBrain-SJTU/MVFA-AD
研究动机与目标
- 解决自然图像与医学图像之间的领域差距,该差距限制了预训练视觉-语言模型(VLMs)如CLIP在医学异常检测(AD)中的迁移能力。
- 实现在未见医学模态和解剖区域上的零样本与少样本泛化,而无需从头开始重新训练。
- 通过将模型的关注点从对象语义转移至像素级异常检测,提升异常检测的特征表示能力。
- 开发一种轻量级、可适配的框架,通过多层级特征微调与视觉-语言对齐,增强CLIP的泛化能力。
提出的方法
- 通过在预训练CLIP视觉编码器的多个层级中插入残差适配器,提出一种多层级视觉特征微调架构。
- 利用多层级、像素级的视觉-语言特征对齐损失函数,引导图像与文本嵌入在不同特征层次上的对齐。
- 使用如“正常”和“异常”等文本提示,引导模型学习对异常敏感的表征,而非语义对象识别。
- 通过比较微调后的视觉特征与文本提示特征实现异常检测,可选地结合参考图像特征以提升定位精度。
- 采用多层特征集成策略,融合多层级表征,增强判别能力。
- 利用t-SNE可视化展示微调后,正常与异常样本之间的特征分离效果更优。
实验结果
研究问题
- RQ1尽管存在从自然图像到医学图像的领域差异,预训练视觉-语言模型(如CLIP)是否能有效适配至医学图像的零样本与少样本异常检测?
- RQ2在视觉编码器的不同层级上进行多层级特征微调,如何提升模型在多样化医学模态与解剖区域上的泛化能力?
- RQ3像素级视觉-语言对齐损失在多大程度上增强了模型检测像素级细微异常的能力?
- RQ4将多个网络层级的特征进行融合,是否优于单层微调在异常检测性能上的表现?
- RQ5在零样本与少样本设置下,该方法在异常分类与分割任务上与现有SOTA方法相比表现如何?
主要发现
- 所提出的MVFA-AD框架在零样本设置下,相比SOTA方法,异常分类的平均AUC提升6.24%,分割任务提升2.03%。
- 在少样本设置下,该方法在分类任务中实现7.33%的平均AUC增益,在分割任务中提升2.37%,展现出强大的少样本泛化能力。
- 多层级适配器集成优于单层微调,分类AUC达到88.97%,分割AUC达到98.67%,显著超过最佳单层结果(分类88.84%,分割98.62%)。
- t-SNE可视化证实,微调后的特征在正常与异常样本之间具有更优的分离效果,表明决策边界学习能力得到提升。
- 异常分割可视化显示,MVFA生成的掩码比SOTA方法April-GAN更准确、更精确,尤其在视网膜OCT与脑部MRI等复杂区域表现更优。
- 消融实验验证,多层级训练始终优于单层训练,证实了分层特征微调的有效性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。