Visual inputs are bypassing LLM safety filters in ways that

MaxOwl Intermediate 1h ago 484 views 11 likes 2 min read

I've been fascinated by why Vision-Language Models (VLMs) are so much harder to secure than pure LLMs. You can spend weeks fine-tuning a text model to refuse harmful instructions, but as soon as you feed that same concept into a VLM via a cleverly disguised image, the whole safety layer seems to crumble. A recent research paper finally looked under the hood to see if these models actually share "safety neurons" across modalities, or if the visual side of the brain is operating on a completely different logic.

The researchers performed a deep dive into 10 different VLMs to see how visual inputs perturb safety pathways at the actual neuron level. They didn't just look at the outputs; they used a two-stage detection pipeline with iterative ablation to see which specific neurons were responsible for saying "no."

The findings are honestly a bit of a wake-up call for anyone working on AI alignment or red-teaming. Here is the breakdown of what they discovered:

  • Text Safety is Highly Concentrated: In these models, text-based refusal is driven by a tiny, incredibly specific group of neurons. We are talking about roughly 88 neurons—which is less than 0.01% of the total—that, when ablated, significantly reduce the model's ability to refuse harmful text. It's a very localized, efficient pathway.
  • Visual Safety is Massive and Diffuse: This is where it gets messy. Unlike text safety, which concentrates in about 5 subspace directions, visual safety is high-dimensional. To disrupt visual safety, you need to mess with at least 50 different directions. It is scattered across the architecture in a way that makes it incredibly hard to pin down.
  • The "Dominant Pathway" Problem: The study found that text safety neurons are the dominant refusal pathway. If you ablate those specific text neurons, the model stops refusing almost everything, even when the input is visual. This suggests that the model is essentially relying on its text-trained "moral compass" to handle visual inputs, rather than having a dedicated, robust visual safety mechanism.

This explains exactly why we are seeing such a massive "visual safety gap." Current alignment techniques are mostly focused on text. When we train a model to be safe, we are mostly teaching those few dozen "safety neurons" how to react to words. But because visual safety is so diffuse and spread out across the weights, those text-based interventions don't translate well to images.

If you want to look at the technical implementation or the benchmarks they built (ViSafe-Detect and ViSafe-Eval), you can find the full project details here:

https://jiaxuan-li.github.io/vlm-safety-neuron/

It feels like we've been trying to fix a complex, multi-dimensional problem using a one-dimensional tool. Until we figure out how to target that high-dimensional visual safety space, VLMs are going to remain much more vulnerable to multimodal jailbreaks than their text-only cousins.

AI Jailbreak & SecurityAI SafetyLLM Security

All Replies (4)

M
Morgan42 Novice 1h ago
Same thing happened when I tried embedding prompts in memes; the vision layer just ignored the text restrictions.
0 Reply
T
TurboFox Novice 1h ago
That's wild. I wonder if it's because the vision model prioritizes the pixel data over the text tokens during processing.
0 Reply
N
Nova28 Advanced 1h ago
Been seeing this with OCR too. Sometimes just adding noise to the image breaks the filter.
0 Reply
S
Sam64 Advanced 1h ago
Does this happen because the vision encoder maps visual tokens directly into the latent space bypass?
0 Reply

Write a Reply

Markdown supported