Abstract
As Vision-Language Models (VLMs) are increasingly deployed in real-world applications, ensuring their safety alignment is paramount. However, current alignment techniques often result in "oversafety"—the erroneous refusal of benign queries—or "undersafety"—the failure to block harmful content. This paper introduces VSCBench, a comprehensive benchmark of 3,600 image-text pairs specifically designed to evaluate VLM safety calibration. By analyzing 11 prominent VLMs, we demonstrate that existing models struggle to balance helpfulness and safety, often sacrificing utility for over-cautious behavior or vice versa.
Introduction
The rapid advancement of VLMs has necessitated rigorous safety alignment to prevent the generation of harmful, biased, or illegal content. While significant effort has been directed toward mitigating undersafety (vulnerability to jailbreaks), this focus has inadvertently led to oversafety. Oversafe models frequently refuse harmless requests—such as explaining how to "kill" a software process—due to the presence of sensitive keywords or ambiguous visual contexts.
True safety alignment requires safety calibration: the ability of a model to distinguish between genuinely harmful prompts and benign ones that may superficially resemble threats. A well-calibrated model should confidently reject a recipe for a toxic mushroom while providing helpful information about a safe, visually similar alternative.
The VSCBench Framework
To systematically evaluate safety calibration, we present VSCBench, consisting of two distinct subsets totaling 3,600 image-text pairs:
- Image-Centric Dataset (1,800 pairs): This subset focuses on visual nuances. It pairs identical text prompts with visually similar but semantically contrasting images (e.g., a safe activity vs. an unsafe one). It covers categories such as Violence, Health & Drugs, and Discrimination.
- Text-Centric Dataset (1,800 pairs): Derived from the XSTest dataset, this subset uses safe images paired with text queries containing sensitive keywords. It employs techniques like QueryRelevant and FigStep to embed text directly into images, testing whether visual modules can bypass textual safety filters.
Methodology
We evaluate safety calibration using two primary metrics:
- $SRA_s$ (Safety Response Accuracy on Safe queries): Measures the model's ability to correctly answer benign requests (lower scores indicate higher oversafety).
- $SRA_u$ (Safety Response Accuracy on Unsafe queries): Measures the model's success in refusing harmful requests (lower scores indicate higher undersafety).
We benchmarked 11 state-of-the-art VLMs, including GPT-4o, Gemini, Claude, and LLaVA. Additionally, we explored four test-time interventions to improve calibration: Chain-of-Thought (CoT), Prompt Engineering (PE), Few-Shot Learning, and Internal Activation Revision (IAR).
Experimental Results and Insights
Our evaluation reveals a stark "Safety-Utility Seesaw" across current models. Open-weight models like LLaVA and DeepSeekVL exhibit high undersafety, often failing to refuse unsafe prompts. Conversely, models aligned for safety, such as Claude, tend toward extreme oversafety, refusing a significant portion of benign queries.
Key findings include:
- Proprietary Model Vulnerabilities: While Claude is highly oversafe, Gemini showed a surprising undersafety gap in the Pornography category, rejecting only 6.3% of unsafe queries.
- The Typography Attack Surface: Models calibrated for text safety often fail when the same text is rendered visually. The visual module introduces new vulnerabilities that standard text-based alignment misses.
- The Utility Tax: Most calibration methods, while effective at balancing safety, impose a "tax" on general model performance. Interventions like few-shot prompting or IAR resulted in noticeable accuracy drops on standard benchmarks like ScienceQA and POPE.
Conclusion
VSCBench highlights a critical gap in current VLM alignment: the lack of precise safety calibration. While test-time interventions can mitigate miscalibration, they often degrade the model's underlying utility. Future research must focus on developing alignment techniques that can achieve a fine-grained balance between safety and helpfulness without sacrificing general intelligence.
Summary updated