Abstract
Vision-Language Models (VLMs) are increasingly integrated into complex applications, yet they remain vulnerable to "multimodal traps"—scenarios where individually benign images and text queries combine to trigger harmful outputs. We introduce SIA (Safety via Intent Awareness), a training-free framework designed to identify and mitigate these implicit risks. By implementing a three-stage pipeline—visual abstraction, intent inference, and conditioned response—SIA enables models to reason about hidden user intentions. Our evaluation across major benchmarks shows that SIA significantly enhances safety rates for models like LLaVA and Gemma without the need for costly fine-tuning.
Introduction: The Multimodal Safety Gap
As VLMs like GPT-4o and LLaVA become ubiquitous, a critical vulnerability has emerged: the Safe image + Safe text → Unsafe output (SSU) problem. In these cases, neither the image nor the text is inherently toxic, but their intersection reveals a harmful intent. For instance, a user might present a photo of a famous painting and ask for the best brush to "add content." While the query seems technical, the underlying intent is to deface a cultural artifact.
Current safety mechanisms often fail to catch these subtle risks. Fine-tuning is computationally expensive and often results in "catastrophic forgetting" or overly rigid refusals. Simple filters frequently miss implicit harms that require contextual reasoning. SIA addresses this by making models "intent-aware" during the inference process.
The SIA Framework
SIA is a training-free, three-stage pipeline that forces the model to perform explicit reasoning before generating a final answer.
- Visual Abstraction (Captioning): The VLM generates a detailed text description of the input image. This step translates visual data into a linguistic format, allowing the model to leverage its robust text-based ethical reasoning capabilities.
- Intent Inference via Few-Shot CoT: Using Chain-of-Thought (CoT) prompting with five diverse examples, the model predicts the user's underlying intent and provides a rationale. For example, it might identify that a query about "another world" while on a rooftop could imply suicidal ideation.
- Intent-Conditioned Response Generation: The final response is generated based on the original query but is explicitly conditioned on the inferred intent and rationale from the previous stage. This "steers" the model toward a safe, contextually grounded refusal or helpful alternative.
Experimental Evaluation
We evaluated SIA using three prominent VLM safety benchmarks: SIUO (Safety-Instruction-Understood-Output), MM-SafetyBench (Tiny), and the SSU subset of HoliSafe.
Key Results
SIA consistently outperformed baseline models and existing inference-time defenses like ECSO. Quantitative results show significant safety gains; for example, on the SIUO benchmark, Gemma3-IT-4B improved its safety rate from 28.14% to 62.28%, while LLaVA1.6-7B saw an improvement from 19.28% to 51.50%.
Qualitative analysis shows that SIA effectively identifies risks in "dangerous challenges" or "health risks" where standard models might inadvertently encourage harmful behavior. By forcing an explicit "Intent" and "Reasoning" step, the system acts as a cognitive speed bump, preventing the model from reflexively answering a query without considering its broader context.
Discussion and Conclusion
The success of SIA highlights the importance of "reasoning before answering." While SIA introduces some computational overhead due to its multi-stage nature and few-shot prompting, its training-free nature makes it an attractive "plug-and-play" solution for enhancing the safety of existing and future VLMs. Future work will focus on optimizing the efficiency of the intent-reasoning process and improving its resilience against sophisticated deceptive prompts.
Summary updated