Prompt2Perturb (P2P): Text-Guided Diffusion-Based Adversarial Attacks on Breast Ultrasound Images
这篇论文提出了Prompt2Perturb(P2P)方法,通过文本指导的扩散模型生成对抗样本,以评估和提升乳腺超声图像深度学习模型的鲁棒性。
更新于 2024-12-16。作者:Yasamin Medghalchi、Moein Heidari、Clayton Allard、Leonid Sigal、Ilker Hacihaliloglu。
中文摘要
深度神经网络(DNNs)在提高医学影像中的乳腺癌诊断方面具有巨大的潜力。然而,这些模型对对抗攻击极为敏感——微小、难以察觉的改变可能导致分类器误判,这引发了对其可靠性和安全性的重大担忧。传统的攻击依赖于固定范数的扰动,这与人类感知不符。相比之下,基于扩散的攻击需要预训练模型,当这些模型不可用时,需要大量数据,限制了在数据稀缺场景下的实际应用。然而,在医学影像中,由于数据集的有限可用性,这通常是不切实际的。基于近期在可学习提示方面的进展,我们提出了Prompt2Perturb(P2P),一种新颖的语言引导攻击方法,能够根据文本指令生成有意义的攻击示例。在提示学习阶段,我们的方法利用文本编码器中的可学习提示来创建微妙但具有影响力的扰动,在引导模型向目标结果发展的同时,保持其难以察觉。与当前的基于提示学习的方法不同,我们的P2P通过直接更新文本嵌入,避免了重新训练扩散模型的需要。此外,我们利用了仅优化早期反向扩散步骤可以提升效率,同时确保生成的对抗样本包含微妙的噪声,从而在引入明显伪影的同时,保留超声图像的质量。我们表明,我们的方法在三个乳腺癌超声数据集的FID和LPIPS指标上优于最先进的攻击技术。此外,生成的图像在外观上更加自然,在效果上与现有的对抗攻击相比也更为有效。我们的代码将公开发布:https://github.com/yasamin-med/P2P。
英文摘要
Deep neural networks (DNNs) offer significant promise for improving breast cancer diagnosis in medical imaging. However, these models are highly susceptible to adversarial attacks--small, imperceptible changes that can mislead classifiers--raising critical concerns about their reliability and security. Traditional attacks rely on fixed-norm perturbations, misaligning with human perception. In contrast, diffusion-based attacks require pre-trained models, demanding substantial data when these models are unavailable, limiting practical use in data-scarce scenarios. In medical imaging, however, this is often unfeasible due to the limited availability of datasets. Building on recent advancements in learnable prompts, we propose Prompt2Perturb (P2P), a novel language-guided attack method capable of generating meaningful attack examples driven by text instructions. During the prompt learning phase, our approach leverages learnable prompts within the text encoder to create subtle, yet impactful, perturbations that remain imperceptible while guiding the model towards targeted outcomes. In contrast to current prompt learning-based approaches, our P2P stands out by directly updating text embeddings, avoiding the need for retraining diffusion models. Further, we leverage the finding that optimizing only the early reverse diffusion steps boosts efficiency while ensuring that the generated adversarial examples incorporate subtle noise, thus preserving ultrasound image quality without introducing noticeable artifacts. We show that our method outperforms state-of-the-art attack techniques across three breast ultrasound datasets in FID and LPIPS. Moreover, the generated images are both more natural in appearance and more effective compared to existing adversarial attacks. Our code will be publicly available https://github.com/yasamin-med/P2P.
解读
一句话总结
这篇论文提出了Prompt2Perturb(P2P)方法,通过文本指导的扩散模型生成对抗样本,以评估和提升乳腺超声图像深度学习模型的鲁棒性。
问题1:这篇论文想要解决什么具体问题?
• 问题背景:深度学习模型在医学图像分析中具有巨大潜力,但易受对抗攻击的影响,这对其可靠性和安全性提出了挑战。 • 现有方案不足:传统的对抗攻击方法依赖于固定范数的扰动,不符合人类感知;扩散模型攻击需要预训练模型,在数据稀缺的场景下难以应用。 • 研究目标:提出一种基于文本指导的对抗攻击方法,能够生成由文本指令驱动的有意义的攻击样本,以评估乳腺超声图像深度学习模型的鲁棒性。
问题2:论文的核心创新点是什么?
• 技术创新:直接更新文本嵌入,无需重新训练扩散模型;优化早期反向扩散步骤以提高效率并保持图像质量。 • 方法改进:利用可学习的提示在文本编码器中创建细微但影响深远的扰动;优化文本嵌入以生成针对临床术语的具有挑战性的对抗样本。 • 优势:生成更自然的图像;与现有方法相比,攻击样本具有更高的语义相关性和视觉效果。
问题3:实验结果如何验证了方法的有效性?
• 关键实验:在三个乳腺超声数据集上评估P2P方法的有效性,与FGSM、PGD和Diff-PGD等基线方法进行对比。 • 性能提升:P2P在FID和LPIPS指标上优于基线方法,生成的对抗样本在视觉上更自然且更有效。 • 对比结果:P2P生成的对抗样本与原始图像在视觉上更相似,但能够误导分类器。
问题4:这个研究的实际应用价值是什么?
• 应用场景:评估乳腺超声图像深度学习模型的鲁棒性,提高其在实际临床应用中的安全性。 • 实施建议:将P2P方法应用于其他医学图像分析任务,以识别和缓解对抗攻击的影响。 • 局限与展望:研究可扩展性,探索将P2P方法应用于其他类型的医学图像和深度学习模型。