English

Adversarial Prompt Tuning for Vision-Language Models

Computer Vision and Pattern Recognition 2024-08-20 v3 Artificial Intelligence

Abstract

With the rapid advancement of multimodal learning, pre-trained Vision-Language Models (VLMs) such as CLIP have demonstrated remarkable capacities in bridging the gap between visual and language modalities. However, these models remain vulnerable to adversarial attacks, particularly in the image modality, presenting considerable security risks. This paper introduces Adversarial Prompt Tuning (AdvPT), a novel technique to enhance the adversarial robustness of image encoders in VLMs. AdvPT innovatively leverages learnable text prompts and aligns them with adversarial image embeddings, to address the vulnerabilities inherent in VLMs without the need for extensive parameter training or modification of the model architecture. We demonstrate that AdvPT improves resistance against white-box and black-box adversarial attacks and exhibits a synergistic effect when combined with existing image-processing-based defense techniques, further boosting defensive capabilities. Comprehensive experimental analyses provide insights into adversarial prompt tuning, a novel paradigm devoted to improving resistance to adversarial images through textual input modifications, paving the way for future robust multimodal learning research. These findings open up new possibilities for enhancing the security of VLMs. Our code is available at https://github.com/jiamingzhang94/Adversarial-Prompt-Tuning.

Keywords

Cite

@article{arxiv.2311.11261,
  title  = {Adversarial Prompt Tuning for Vision-Language Models},
  author = {Jiaming Zhang and Xingjun Ma and Xin Wang and Lingyu Qiu and Jiaqi Wang and Yu-Gang Jiang and Jitao Sang},
  journal= {arXiv preprint arXiv:2311.11261},
  year   = {2024}
}

Comments

ECCV 2024

R2 v1 2026-06-28T13:25:19.266Z