Prompt Backdoors in Visual Prompt Learning
On the map: LLM safety and security → Backdoor and data poisoning attacks
Abstract (arXiv)
Fine-tuning large pre-trained computer vision models is infeasible for resource-limited users. Visual prompt learning (VPL) has thus emerged to provide an efficient and flexible alternative to model fine-tuning through Visual Prompt as a Service (VPPTaaS). Specifically, the VPPTaaS provider optimizes a visual prompt given downstream data, and downstream users can use this prompt together with the large pre-trained model for prediction. However, this new learning paradigm may also pose security risks when the VPPTaaS provider instead provides a malicious visual prompt. In this paper, we take the first step to explore such risks through the lens of backdoor attacks. Specifically, we propose BadVisualPrompt, a simple yet effective backdoor attack against VPL. For example, poisoning 5% CIFAR10 training data leads to above 99% attack success rates with only negligible model accuracy drop by 1.5%. In particular, we identify and then address a new technical challenge related to interactions between the backdoor trigger and visual prompt, which does not exist in conventional, model-level backdoors. Moreover, we provide in-depth analyses of seven backdoor defenses from model, prompt, and input levels. Overall, all these defenses are either ineffective or impractical to mitigate our BadVisualPrompt, implying the critical vulnerability of VPL.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. Builds on 59 of its 77 references that are in the map. First posted on arXiv 11 Oct 2023.
Builds on
59 of 77 references.
Closest ancestors · 3
Same direction, newest first
- 2022BadPrompt: Backdoor Attacks on Continuous Prompts27 Nov
- 2021BadEncoder: Backdoor Attacks to Pre-trained Encoders in Self-Supervised Learning1 Aug
- 2021Sleeper Agent: Scalable Hidden Trigger Backdoors for Neural Networks Trained from Scratch16 Jun
Other references · 56
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
- 2021Learning to Prompt for Vision-Language Modelscited by 2,269
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2022Visual Prompt Tuningcited by 1,674
- 2019A Comprehensive Survey on Transfer Learningcited by 1,154
38 more
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
- 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
- 2019How Can We Know What Language Models Know?cited by 953
- 2019Big Transfer (BiT): General Visual Representation Learningcited by 766
- 2018Exploring the Limits of Weakly Supervised Pretrainingcited by 604
- 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 599
- 2018Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networkscited by 550
- 2017Adversarial Patchcited by 514
- 2019STRIP: A Defence Against Trojan Attacks on Deep Neural Networkscited by 437
- 2018Detecting Backdoor Attacks on Deep Neural Networks by Activation Clusteringcited by 429
- 2019Hidden Trigger Backdoor Attackscited by 359
- 2020Attack of the Tails: Yes, You Really Can Backdoor Federated Learningcited by 307
- 2022Exploring Visual Prompts for Adapting Large-Scale Modelscited by 271
- 2021PTR: Prompt Tuning with Rules for Text Classificationcited by 238
- 2021WARP: Word-level Adversarial ReProgrammingcited by 220
- 2019Detecting AI Trojans Using Meta Neural Analysiscited by 192
- 2019Commonsense Knowledge Mining from Pretrained Modelscited by 189
- 2021You Only Look at One Sequence: Rethinking Transformer in Vision through Object Detectioncited by 170
- 2020Clean-Label Backdoor Attacks on Video Recognition Modelscited by 162
- 2020Witches' Brew: Industrial Scale Data Poisoning via Gradient Matchingcited by 156
- 2021OpenPrompt: An Open-source Framework for Prompt-learningcited by 148
- 2022Data Determines Distributional Robustness in Contrastive Language Image Pre-training (CLIP)cited by 137
- 2019Demon in the Variant: Statistical Analysis of DNNs for Robust Backdoor Contamination Detectioncited by 121
- 2020MetaPoison: Practical General-purpose Clean-label Data Poisoningcited by 114
- 2022Narcissus: A Practical Clean-Label Backdoor Attack with Limited Informationcited by 102
- 2020Automatically Identifying Words That Can Serve as Labels for Few-Shot Text Classificationcited by 98
- 2022Decorate the Newcomers: Visual Domain Prompt for Continual Test Time Adaptationcited by 98
- 2022Quality Not Quantity: On the Interaction between Dataset Design and Robustness of CLIPcited by 97
- 2022Visual Prompt Tuning for Test-time Domain Adaptationcited by 97
- 2021Backdoor Attacks on Self-Supervised Learningcited by 89
- 2022Understanding and Improving Visual Prompting: A Label-Mapping Perspectivecited by 86
- 2021Backdoor Pre-trained Models Can Transfer to Allcited by 79
- 2023Diversity-Aware Meta Visual Promptingcited by 57
- 2019Zero-shot Text Classification With Generative Language Modelscited by 55
- 2018Dialogue Learning with Human Teaching and Feedback in End-to-End Trainable Task-Oriented Dialogue Systemscited by 53
- 2021Poisoning the Unlabeled Dataset of Semi-Supervised Learningcited by 44
- 2022Unleashing the Power of Visual Prompting At the Pixel Levelcited by 37
- 2022Visual Prompting for Adversarial Robustnesscited by 33
50 most cited of 56 All 56 (JSON)
Built on by
Citing papers per year: 2024: 1; 2025: 2; 2026: 1.
4 papers.
- 2025Privacy-Preserving Personalized Federated Prompt Learning for Multimodal Large Language Modelscited by 5
- 2024Encapsulating Knowledge in One Promptcited by 3
- 2025Backdoor Attacks on Open Vocabulary Object Detectors via Multi-Modal Prompt Tuningcited by 0
- 2026BadBone: Backdoor Attacks Against Backbone Models in Visual Prompt Learningcited by 0
- 2026BadBone: Backdoor Attacks Against Backbone Models in Visual Prompt Learning29 May 2026
- 2025Backdoor Attacks on Open Vocabulary Object Detectors via Multi-Modal Prompt Tuning16 Nov 2025
- 2025Privacy-Preserving Personalized Federated Prompt Learning for Multimodal Large Language Models23 Jan 2025
- 2024Encapsulating Knowledge in One Prompt16 Jul 2024