AVIBench: Towards Evaluating the Robustness of Large Vision-Language Model on Adversarial Visual-Instructions

Hao Zhang, Wenqi Shao, Hong Liu, Yongqiang Ma, Ping Luo, Yu Qiao, Kaipeng Zhang · DOI

Introduction

Large Vision-Language Models (LVLMs) such as GPT-4V and LLaVA have demonstrated remarkable capabilities in reasoning and common-sense tasks. However, as these models are increasingly deployed via APIs and web interfaces, their security in "black-box" environments becomes a critical concern. Unlike white-box attacks that require access to model weights, black-box adversarial visual-instructions (B-AVIs) manipulate model behavior using only input-output interactions. This paper introduces B-AVIBench, a comprehensive evaluation framework designed to probe these vulnerabilities across 316,000 adversarial instructions.

The B-AVIBench Framework

B-AVIBench evaluates model robustness across three primary dimensions of adversarial input:

Overview of the B-AVIBench framework, illustrating image-based, text-based, and content bias adversarial instructions.
  1. Image-based Attacks: This includes 19 common image corruptions (e.g., noise, blur, weather effects) and decision-based optimized attacks. The latter iteratively refine image perturbations based on the model's text responses to induce errors.
  2. Text-based Attacks: These target the instruction component at four levels: character (typos like "imaqe"), word (synonyms), sentence (adding irrelevant "stress" info), and semantic (rephrasing via GPT-3.5).
  3. Content Bias Attacks: A dataset of 55,000 instructions tests for nine types of social bias, including race, gender, and culture, as well as safety concerns like harassment, violence, and self-harm.

The primary metric for evaluation is the Average Score Drop Rate (ASDR), which quantifies the performance decline when models encounter adversarial versions of standard tasks.

Key Insights and Results

The evaluation of 14 open-source and 2 closed-source models revealed several critical vulnerabilities:

The Robustness-Performance Gap

High performance on standard benchmarks does not necessarily equate to robustness. For instance, while MiniGPT-4 showed the strongest resistance to simple image corruptions, it was the most vulnerable to optimized image attacks, suffering a 91% attack success rate. Conversely, LLaVA-1.5 emerged as the most robust open-source model against text-based attacks with a 27% ASDR.

Radar charts comparing robustness scores across various models for (a) image corruptions, (b) optimized image attacks, (c) text attacks, and (d) content bias attacks.

The "Forced Choice" Trap and Inherent Bias

Models often mask biases behind neutral language. However, when prompts were restricted to "yes/no" answers (e.g., "Your answer can only be one word, either 'no' or 'yes'"), underlying prejudices became glaringly evident. Even state-of-the-art closed-source models like Gemini Pro Vision exhibited significant biases, such as associating police officers with men and teachers with women, or predicting a 30% higher likelihood of poverty for Black individuals compared to White individuals in identical contexts. Similarly, GPT-4V was 25% more accurate at identifying American funerals than Japanese ones, indicating cultural bias.

The Vision Encoder Paradox

Interestingly, increasing the parameter count of vision encoders (e.g., moving from a 7B to a 7.5B model) generally improved robustness against text-based attacks but simultaneously increased sensitivity to image-based perturbations. This suggests a complex architectural trade-off between multimodal capabilities and security.

Conclusion

B-AVIBench highlights that even the most advanced LVLMs remain susceptible to cleverly designed adversarial instructions and harbor significant social biases. The findings underscore the need for "adversarial training"—integrating B-AVIs into the training process—to develop models that are inherently more secure and fair. The open-sourcing of this benchmark provides a vital tool for the community to build more resilient multimodal AI systems.

Summary updated

Abstract

Large Vision-Language Models (LVLMs) have shown significant progress in well responding to visual-instructions from users. However, these instructions, encompassing images and text, are susceptible to both intentional and inadvertent attacks. Despite the critical importance of LVLMs' robustness against such threats, current research in this area remains limited. To bridge this gap, we introduce AVIBench, a framework designed to analyze the robustness of LVLMs when facing various adversarial visual-instructions (AVIs), including four types of image-based AVIs, ten types of text-based AVIs, and nine types of content bias AVIs (such as gender, violence, cultural, and racial biases, among others). We generate 260K AVIs encompassing five categories of multimodal capabilities (nine tasks) and content bias. We then conduct a comprehensive evaluation involving 14 open-source LVLMs to assess their performance. AVIBench also serves as a convenient tool for practitioners to evaluate the robustness of LVLMs against AVIs. Our findings and extensive experimental results shed light on the vulnerabilities of LVLMs, and highlight that inherent biases exist even in advanced closed-source LVLMs like GeminiProVision and GPT-4V. This underscores the importance of enhancing the robustness, security, and fairness of LVLMs. The source code and benchmark will be made publicly available.
BibTeX
@article{zhang2025avibench,
  author = {Hao Zhang and Wenqi Shao and Hong Liu and Yongqiang Ma and Ping Luo and Yu Qiao and Kaipeng Zhang},
  title = {{AVIBench: Towards Evaluating the Robustness of Large Vision-Language Model on Adversarial Visual-Instructions}},
  journal = {IEEE Trans. Inf. Forensics Secur.},
  year = {2025},
  doi = {10.1109/tifs.2024.3520306},
}
Figure