Manuscript Offprint

arXiv:2608.30750

Do VLMs Share Safety Neurons Across Modalities?

Jiaxuan Li, Jiahao Zhang, Duc Minh Vo, Huy H. Nguyen, Pride Kavumba, Koki Wataoka

Abstract

Vision-language models (VLMs) can comply with harmful requests delivered through images, even when their LLM backbones would refuse the same content in text. While prior work characterizes these jailbreaks empirically or at the representation level, how visual inputs perturb safety pathways at the neuron level remains uncharted. We close this gap with a causal, neuron-level analysis of safety mechanisms in 10 VLMs. We propose a two-stage detection pipeline with iterative ablation that accounts for self-repair, and introduce two modality-isolated benchmarks, VISAFE-DETECT and VISAFE-EVAL, which decouple visual and textual safety signals.

Our analysis reveals: (i) Text safety in VLMs is localizable: ~88 neurons (<0.01%) whose targeted ablation substantially reduces refusal. (ii) Text safety neurons constitute the dominant refusal pathway: ablating them is the only intervention that consistently and substantially reduces refusal across all models. (iii) Visual safety is high-dimensional and diffuse at the single-neuron level: text safety concentrates in ~5 subspace directions while visual safety requires ≥50. This gap holds across architectures, explaining why current alignment has not closed the visual safety gap. Project page is at: https://jiaxuan-li.github.io/vlm-safety-neuron/.

Warning: this paper may include examples of harmful content.

1 Introduction

Large language models (LLMs) undergo extensive safety alignment to refuse harmful requests (Bai et al., 2022; Ji et al., 2023). Pairing them with a vision encoder to form vision-language models (VLMs), however, reopens the attack surface: typographic images (Gong et al., 2025; Liu et al., 2024) and natural harmful imagery (Li et al., 2024;

Figure

Figure 1: Sharp asymmetry between text and visual safety localization. Across 10 evaluated VLMs (2B–32B), our pipeline isolates 48–130 text safety neurons per model, whose ablation drops in-distribution (IID) refusal by 9–33 percentage points. In contrast, we find 0–9 visual counterparts, with absolute out-of-distribution (OOD) changes no larger than 6.3 points. Text safety neurons constitute the dominant refusal pathway across the evaluated conditions.

Zong et al., 2024) elicit compliance from otherwise well-aligned models. Yet the same harmful image that contributes to a jailbreak under a harmful query is largely ignored by the safety system when the query is benign, suggesting that the safety mechanism reads the text, not the image. How visual inputs interact with that mechanism inside the language backbone, at the neuron level, remains largely unexplored.

Two threads of mechanistic work stop short of answering this question. On the LLM side, text safety is known to localize to a small fraction of the model (Wu et al., 2026; Wei et al., 2024; Arditi et al., 2024). On the VLM side, representation-level analyses (Zou et al., 2025) describe how the visual modality distorts safety activations but do not localize safety to specific components. The

∗^{*}Equal contribution.

neuron-level picture inside the shared LLM decoder is missing, leaving open our central question: Do VLM backbones use the same localized safety neurons for visual harm as for text, or a separate visual mechanism?

Answering this requires overcoming two challenges. (1) A faithful, modality-agnostic detector. Existing LLM safety-neuron methods rely on zero-ablation without statistical control (Wu et al., 2026) and single-pass detection that misses backup neurons hidden by self-repair (McGrath et al., 2023; Rushing and Nanda, 2024). We propose a two-stage pipeline combining behavioral probing, mean-activation patching, and three-round iterative ablation that re-detects after silencing each round's confirmed neurons. The pipeline applies the same confirmation criteria to both text and visual stimuli, so any cross-modality difference reflects how safety is organized, not how it is measured. (2) Disentangling visual from textual safety signals. Visual inputs always co-occur with a text query, and existing benchmarks (Liu et al., 2024; Ji et al., 2025) confound them by pairing harmful images with harmful queries. We build two complementary benchmarks: VISAFE-DETECT, comprising ~4.8K images paired with a fixed neutral query, for neuron discovery, isolating the visual contribution; and VISAFE-EVAL, comprising 11.3K samples crossing 8 image conditions with 3 query types, for factorial evaluation, attributing refusal to image, query, or their interaction.

We apply the pipeline and benchmarks across 10 VLMs, spanning 2B–32B parameters, 6 architecture families, both adapted and natively multimodal. Three findings emerge (Fig. 1): (i) Text safety is localizable and generalizable. On average 88 neurons per model, less than 0.01% of the total, account for refusal. Ablating them substantially reduces refusal in-distribution and consistently reduces it out-of-distribution. (ii) Text safety neurons constitute the dominant refusal pathway. Ablating text neurons is the only intervention that consistently and substantially reduces refusal across all image conditions; ablating visual neurons has no systematic effect. (iii) Visual safety is diffuse, not localizable to a small number of single-neuron features. A representation-level GEVD analysis points to the same gap: text safety can be captured in 5 linear directions, whereas visual safety requires at least 50. This pattern holds across adapted and natively multimodal architectures, suggesting this gap is not merely an artifact of how the vision side is integrated.

Contributions.

• Research question. We pose and systematically investigate, to our knowledge for the first time, the neuron-level comparison of text and visual safety across 10 models.

• Detection pipeline. A new pipeline combining behavioral probing, mean-activation patching, and iterative ablation against self-repair.

• Modality-isolated benchmarks. VISAFE-DETECT and VISAFE-EVAL separate visual and textual safety signals through controlled query design and factorial structure.

• Empirical findings. Text safety is localizable, constituting the dominant refusal pathway; visual safety is diffuse at the single-neuron level, high-dimensional in representation-level analysis.