An image and a request can each be harmless and still be unsafe together, and vision-language models (VLMs) often miss such combined hazards. We introduce SSU-Bench, a benchmark of minimal safety counterfactuals, to find where inside a VLM the safety verdict forms and why it fails. The safe and the unsafe input of a pair differ only in one word of the request or in one small edited region of the image, so their hidden states can be compared position by position. Each image pair has a perception question that tests whether the model sees the edit. In Qwen2.5-VL-32B, InternVL3-8B and Gemma-3-12B, most failures happen after the hazard is seen. In 61 of the 78 cases where a model judges an unsafe image as safe, it still answers the perception question correctly. Activation patching and attention knockout show that the verdict forms in three stages. The changed word or region carries it in early layers, the text after it in middle layers, and the final input token from one layer on, which we call the handoff layer. At this layer, a single direction in the hidden state sets the verdict for both kinds of pairs. A direction estimated on image pairs changes the verdicts of text pairs, and vice versa. Removing it around this layer erases most of the gap between the two verdicts, while removing the direction that the output layer reads as "Yes" versus "No" does not. These results hold on held-out text pairs, on MSSBench with directions estimated on SSU-Bench, for the newer Gemma-4-26B and Muse-Glimmer-30B, and from 3B to 32B parameters. When a model sees a hazard but misses it, the hazard is not passed from the image to the text after it, and the final token moves too little along the verdict direction. Boosting the attention of this text to the visual tokens that push it most toward unsafe recovers about half of these hazards.
翻译:暂无翻译