PromptSmooth:通过提示学习认证医学视觉语言模型的鲁棒性
PromptSmooth: Certifying Robustness of Medical Vision-Language Models via Prompt Learning
AI总结:
针对医学视觉语言模型易受对抗攻击的问题,提出PromptSmooth框架,通过零样本或少样本提示学习适应高斯噪声,在平衡准确性与鲁棒性的同时实现高效的可认证鲁棒性,且仅需单个模型即可处理多噪声级别。
摘要:
在医学图像-文本对的大型数据集上训练并随后针对特定任务进行微调的医学视觉语言模型(Med-VLMs),已成为医学图像分析中的主流范式。然而,最近的研究强调了这些 Med-VLMs 对对抗攻击的易感性,引发了人们对其安全性和鲁棒性的担忧。随机平滑是一种众所周知的技术,用于将任何分类器转换为对对抗扰动具有可认证鲁棒性的模型。然而,这种方法需要重新训练基于 Med-VLM 的分类器,使其在高斯噪声下能够良好分类,这在实践中通常是不可行的。在本文中,我们提出了一个名为 PromptSmooth 的新框架,通过利用提示学习的概念来实现 Med-VLMs 的高效可认证鲁棒性。对于任何预训练的 Med-VLM,PromptSmooth 通过以零样本或少样本的方式学习文本提示来适应它以处理高斯噪声,在准确性和鲁棒性之间实现了微妙的平衡,同时最小化了计算开销。此外,PromptSmooth 仅需单个模型即可处理多个噪声级别,与依赖为每个噪声级别训练单独模型的传统方法相比,这大大降低了计算成本。基于三种 Med-VLMs 并跨越六种不同成像模态的下游数据集的综合实验证明了 PromptSmooth 的有效性。我们的代码和模型可在 https://github.com/nhussein/promptsmooth 获取。
英文摘要:
Medical vision-language models (Med-VLMs) trained on large datasets of medical image-text pairs and later fine-tuned for specific tasks have emerged as a mainstream paradigm in medical image analysis. However, recent studies have highlighted the susceptibility of these Med-VLMs to adversarial attacks, raising concerns about their safety and robustness. Randomized smoothing is a well-known technique for turning any classifier into a model that is certifiably robust to adversarial perturbations. However, this approach requires retraining the Med-VLM-based classifier so that it classifies well under Gaussian noise, which is often infeasible in practice. In this paper, we propose a novel framework called PromptSmooth to achieve efficient certified robustness of Med-VLMs by leveraging the concept of prompt learning. Given any pre-trained Med-VLM, PromptSmooth adapts it to handle Gaussian noise by learning textual prompts in a zero-shot or few-shot manner, achieving a delicate balance between accuracy and robustness, while minimizing the computational overhead. Moreover, PromptSmooth requires only a single model to handle multiple noise levels, which substantially reduces the computational cost compared to traditional methods that rely on training a separate model for each noise level. Comprehensive experiments based on three Med-VLMs and across six downstream datasets of various imaging modalities demonstrate the efficacy of PromptSmooth. Our code and models are available at https://github.com/nhussein/promptsmooth.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。