cs.CVOct 12, 2026

Answer It or Not? Towards Prompt-Adapted Adversarial Images on Vision Language Models

Authors: Shunyuan Bai, Yuchen Ren, Le Yang, Chenhao Lin, Chao Shen, Zhengyu Zhao

Organizations: Xi’an Jiaotong University, Xi’an, 710049, China

Abstract

With the advancement in language modeling, research on adversarial images has recently shifted from image classifiers to vision-language models (VLMs). Despite the new, text-prompt-driven nature of VLMs, we find that existing VLM adversaries have largely overlooked the dynamics of text prompts. In a typical use case, adversarial images can protect visual privacy by rejecting VLMs from answering questions about the image. However, existing protections are prompt-agnostic, i.e., indiscriminately rejecting any question, including those for potential legitimate use of the image. To address this limitation, we propose Prompt-Adapted (ProAda) adversarial images, which are optimized to balance the rejection of harmful prompts and the correct response of legitimate prompts. In particular, to achieve a more accurate adversarial direction, the text prompt is also iteratively updated with a simple classifier judging whether the harmfulness of the prompt remains. Extensive experiments on visual-privacy-related datasets validate that ProAda can reject over 90% of harmful prompts while allowing over 90% of legitimate ones, demonstrating superior overall performance compared to existing prompt-agnostic VLM adversaries. In addition, our ProAda achieves competitive overall cross-model transferability and improved robustness against countermeasures.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. PDA: Text-Augmented Defense Framework for Robust Vision-Language Models against Adversarial Image Attacks

    Apr 1, 2026Jingning Xu, Haochen Luo, Chen LiuVLM RobustnessVision-Language Models

  2. Detecting Adversarial Images through Response Profiles of Vision-Language Models

    Oct 7, 2026Arash Vashagh, Roozbeh Razavi-FarAdversarial Example DetectionVLM Robustness

  3. VALD: Multi-Stage Vision Attack Detection for Efficient LVLM Defense

    Feb 23, 2026Nadav Kadvil, Malak Fares, Ayellet TalVLM RobustnessLarge Vision-Language Models