Prompt2Perturb (P2P): Text-Guided Diffusion-Based Adversarial Attacks on Breast Ultrasound Images
On the map: Diffusion models → Robustness, privacy and adversarial aspects
Abstract (arXiv)
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.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Robustness, privacy and adversarial aspects, one of 14 directions in Diffusion models. Builds on 44 of its 66 references that are in the map. First posted on arXiv 13 Dec 2024.
Builds on
44 of 66 references.
Closest ancestors · 6
Same direction, newest first
- 2023SD-NAE: Generating Natural Adversarial Examples with Stable Diffusion21 Nov
- 2023DiffAttack: Evasion Attacks Against Diffusion-Based Adversarial Purification27 Oct
- 2023Diffusion Models for Imperceptible and Transferable Adversarial Attack14 May
- 2023A Pilot Study of Query-Free Adversarial Attack against Stable Diffusion29 Mar
- 2023Defending against Adversarial Audio via Diffusion Model2 Mar
- 2023Better Diffusion Models Further Improve Adversarial Training9 Feb
Other references · 38
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,058
- 2016Densely Connected Convolutional Networkscited by 6,720
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 6,013
- 2013Intriguing properties of neural networkscited by 5,155
26 more
- 2017Neural Discrete Representation Learningcited by 4,712
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
- 2022InstructPix2Pix: Learning to Follow Image Editing Instructionscited by 2,611
- 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,245
- 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,318
- 2016SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model sizecited by 1,060
- 2022MedCLIP: Contrastive Learning from Unpaired Medical Images and Textcited by 570
- 2017Adversarial Patchcited by 517
- 2021Recent Advances in Adversarial Training for Adversarial Robustnesscited by 279
- 2022Diffusion Models for Medical Image Analysis: A Comprehensive Surveycited by 273
- 2023P+: Extended Textual Conditioning in Text-to-Image Generationcited by 242
- 2017Generating Natural Adversarial Examplescited by 183
- 2019Understanding Adversarial Attacks on Deep Learning Based Medical Image Analysis Systemscited by 153
- 2018Constructing Unrestricted Adversarial Examples with Generative Modelscited by 135
- 2023BadCLIP: Trigger-Aware Prompt Learning for Backdoor Attacks on CLIPcited by 67
- 2023Diffusion-Based Adversarial Sample Generation for Improved Stealthiness and Controllabilitycited by 66
- 2024Boosting Diffusion Models with Moving Average Sampling in Frequency Domaincited by 55
- 2023Prompting Hard or Hardly Prompting: Prompt Inversion for Text-to-Image Diffusion Modelscited by 40
- 2024PromptSmooth: Certifying Robustness of Medical Vision-Language Models via Prompt Learningcited by 17
- 2023Instruct2Attack: Language-Guided Semantic Adversarial Attackscited by 16
- 2024BAPLe: Backdoor Attacks on Medical Foundational Models using Prompt Learningcited by 16
- 2024Vision-Language Synthetic Data Enhances Echocardiography Downstream Taskscited by 6
- 2024Adversarially Robust Feature Learning for Breast Cancer Diagnosiscited by 3
- 2024Adversarial-Robust Transfer Learning for Medical Imaging via Domain Assimilationcited by 2
- 2022MIRST-DM: Multi-Instance RST with Drop-Max Layer for Robust Classification of Breast Cancercited by 1
Built on by
Citing papers per year: 2025: 3; 2026: 1.
4 papers.
- 2025Responsible Diffusion: A Comprehensive Survey on Safety, Ethics, and Trust in Diffusion Modelscited by 3
- 2025AngleRoCL: Angle-Robust Concept Learning for Physically View-Invariant T2I Adversarial Patchescited by 0
- 2025FeatureFool: Zero-Query Fooling of Video Models via Feature Mapcited by 0
- 2026Text-Guided Diffusion-Based Adversarial Attacks on Chest X-Ray Imagescited by 0
- 2026Text-Guided Diffusion-Based Adversarial Attacks on Chest X-Ray Images29 Aug 2026
- 2025FeatureFool: Zero-Query Fooling of Video Models via Feature Map21 Oct 2025
- 2025Responsible Diffusion: A Comprehensive Survey on Safety, Ethics, and Trust in Diffusion Models25 Sep 2025
- 2025AngleRoCL: Angle-Robust Concept Learning for Physically View-Invariant T2I Adversarial Patches11 Jun 2025
Similar, not cited
Close in wording, no citation either way
- 2026When Minor Edits Matter: LLM-Driven Prompt Attack for Medical VLM Robustness in Ultrasound
- 2024AdvI2I: Adversarial Image Attack on Image-to-Image Diffusion models
- 2024Demonstration of an Adversarial Attack Against a Multimodal Vision Language Model for Pathology Imaging
- 2025PLA: Prompt Learning Attack against Text-to-Image Generative Models
- 2024Perturbing Attention Gives You More Bang for the Buck: Subtle Imaging Perturbations That Efficiently Fool Customized Diffusion Models
- 2024MEDDAP: Medical Dataset Enhancement via Diversified Augmentation Pipeline
- 2024Safeguarding Text-to-Image Generation via Inference-Time Prompt-Noise Optimization
- 2026When Background Matters: Breaking Medical Vision Language Models by Transferable Attack