QAVA: Query-Agnostic Visual Attack to Large Vision-Language Models

Yudong Zhang, Ruobing Xie, Jiansheng Chen, Xingwu Sun, Zhanhui Kang +1 more
4/15/2025
cs.CVcs.AI

Official code: btzyd/qava (8 stars, last commit 2025-04-16).

Abstract

In typical multimodal tasks, such as Visual Question Answering (VQA), adversarial attacks targeting a specific image and question can lead large vision-language models (LVLMs) to provide incorrect answers. However, it is common for a single image to be associated with multiple questions, and LVLMs may still answer other questions correctly even for an adversarial image attacked by a specific question. To address this, we introduce the query-agnostic visual attack (QAVA), which aims to create robust adversarial examples that generate incorrect responses to unspecified and unknown questions. Compared to traditional adversarial attacks focused on specific images and questions, QAVA significantly enhances the effectiveness and efficiency of attacks on images when the question is unknown, achieving performance comparable to attacks on known target questions. Our research broadens the scope of visual adversarial attacks on LVLMs in practical settings, uncovering previously overlooked vulnerabilities, particularly in the context of visual adversarial threats. The code is available at https://github.com/btzyd/qava.

View on arXivView PDF

Code Implementations(1)

btzyd/qavaOfficial100%

The code of "QAVA: Query-Agnostic Visual Attack to Large Vision-Language Models"

80PythonFeb 6, 20251 years ago

Similar Papers

Cite this paper

@article{zhang2025qava,
  title  = {QAVA: Query-Agnostic Visual Attack to Large Vision-Language Models},
  author = {Yudong Zhang and Ruobing Xie and Jiansheng Chen and Xingwu Sun and Zhanhui Kang and Yu Wang},
  year   = {2025},
  eprint = {2504.11038},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.11038v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.11038.svg)](https://codeofpaper.com/paper/2504.11038)

Discussion