Principled Steering via Null-space Projection for Jailbreak Defense in Vision-Language Models

cs.CV Xingyu Zhu, Beier Zhu, Shuo Wang, Junfeng Fang, Kesen Zhao, Hanwang Zhang, Xiangnan He · Mar 23, 2026
Local to this browser
What it does
Vision-Language Models face escalating safety risks from adversarial jailbreak attacks that bypass alignment via manipulated visual inputs. This paper introduces NullSteer, a training-free defense that applies activation steering...
Why it matters
This paper introduces NullSteer, a training-free defense that applies activation steering constrained to the null space of benign representations—mathematically guaranteeing that safe inputs remain unchanged while harmful activations are...
Main concern
NullSteer presents a theoretically elegant solution to the safety-utility trade-off in VLM jailbreak defense. The paper establishes a clear linear-algebraic framework—projecting steering updates onto the null space of benign activations to...
Community signal
0
0 up · 0 down
Sign in to vote with arrows
AI Review AI reviewed
Plain-language introduction

Vision-Language Models face escalating safety risks from adversarial jailbreak attacks that bypass alignment via manipulated visual inputs. This paper introduces NullSteer, a training-free defense that applies activation steering constrained to the null space of benign representations—mathematically guaranteeing that safe inputs remain unchanged while harmful activations are redirected toward refusal semantics. The approach aims to solve the over-refusal problem plaguing existing steering methods, offering a principled trade-off between robust safety and preserved utility.

Critical review
Verdict
Bottom line

NullSteer presents a theoretically elegant solution to the safety-utility trade-off in VLM jailbreak defense. The paper establishes a clear linear-algebraic framework—projecting steering updates onto the null space of benign activations to preserve utility while suppressing harmful outputs. Empirical results demonstrate consistent improvements over the strong ASTRA baseline across three model architectures (MiniGPT-4, Qwen2-VL, LLaVA-v1.5), with particularly strong robustness under adaptive PGD attacks. However, the evaluation focuses heavily on perturbation-based adversarial examples, leaving open questions about defenses against semantic jailbreaks (e.g., camouflaged text instructions) that exploit higher-level reasoning rather than activation noise.

“average ASR reduction over 15% on MiniGPT-4”
paper · Abstract
“Constraining Δ to this null space ensures that steering affects only harmful activations, while leaving benign representations invariant”
paper · Section 3.2
What holds up

The null-space projection formulation is mathematically sound and well-motivated. The equivalence between $Null(\mathbf{H}_b)$ and $Null(\mathbf{H}_b\mathbf{H}_b^\top)$ (Eq. 7) enables efficient computation of the projection matrix via SVD on the $d \times d$ covariance matrix rather than the full $d \times N_b$ activation matrix. The closed-form solution for the steering transformation (Eq. 15) is derived correctly using Moore-Penrose pseudoinverse, and the three-component loss function (smoothness, refusal alignment, harmful suppression) is systematically validated through ablation. The method maintains near-zero inference overhead (~8.43 ms/token average vs 9.88 for ASTRA) while improving safety metrics.

“Null(\mathbf{H}_b) = Null(\mathbf{H}_b\mathbf{H}_b^\top)”
paper · Section 3.2, Eq. 7
“The matrix in parentheses may be rank-deficient because \mathbf{Z}=\mathbf{P} is a projection. We therefore adopt the Moore–Penrose pseudoinverse”
paper · Appendix A.2
“NullSteer maintains comparable inference speed to the original models, requiring 173.57 ms/token on MiniGPT-4”
paper · Table 4
Main concerns

The primary limitation is narrow attack scope: the main experiments focus almost exclusively on PGD-based $\ell_\infty$ perturbations (with $\epsilon \in \{16/255, 32/255, 64/255\}$), while contemporary VLMs face diverse jailbreak strategies including typographic attacks, image caption manipulation, and multi-turn conversational exploits that may not trigger the same activation patterns. The assumption that benign and harmful activations occupy separable linear subspaces is theoretically convenient but empirically tenuous for deep non-linear transformers—Figure 8 shows overlap between benign and malicious clusters even after steering. Additionally, the method requires careful tuning of three hyperparameters ($\alpha$, $\beta$, $\lambda$) and the steering layer selection ($l=20$ for 13B models, $l=14$ for 7B), with limited guidance on how these transfer to other architectures.

“apply the PGD attack to produce adversarial examples”
paper · Section 4.1
“The benign clusters remain well aligned with the original representations... In contrast, the malicious activations exhibit a clear displacement”
paper · Figure 8
“The steering layer is fixed at l=20 for 13B models and l=14 for the 7B model”
paper · Appendix B
Evidence and comparison

The evidence strongly supports superiority over ASTRA [52] for perturbation-based attacks, with NullSteer achieving 2.89% Toxicity vs 4.48% under unconstrained attacks on MiniGPT-4. However, the comparison against structured attacks (e.g., FigStep, MM-SafetyBench) is relegated to Appendix C with limited analysis, showing only marginal improvements over ASTRA on typographic attacks (6.28% vs 8.75% on SD_TYPO). The paper claims theoretical guarantees of utility preservation, but the verification relies on benchmarks (MM-Vet, MMBench) that may not capture subtle capability degradation—XSTest shows no over-refusal, but this dataset primarily tests exaggerated safety rather than nuanced instruction following. The comparison with JailGuard and ECSO is somewhat unfair as those methods target different threat models (input filtering vs activation steering).

“NullSteer records a Toxicity Score of 2.89% and an ASR of 7.32%, compared with... 4.48% and 9.09% from ASTRA”
paper · Table 1
“NullSteer achieves consistently lower ASR across structured-, perturbation-, and text-only attacks”
paper · Appendix C, Table E
“NullSteer maintains comparable or higher utility scores than ASTRA and Vanilla models”
paper · Table 2
Reproducibility

Reproducibility is reasonably strong. The paper specifies the exact steering layers (20 for 13B, 14 for 7B), sample counts ($N_b \approx 8$, $N_m \approx 100$), and regularization coefficients ($\alpha$, $\beta$) used for optimization. The closed-form solution (Eq. 15) eliminates randomness in training. However, critical implementation details—such as the exact PGD step size and iterations for adversarial example generation, the specific refusal templates used to construct $\mathbf{R}$, and the attribution masking strategy for computing $\mathbf{V}$—are omitted or referenced only as "following ASTRA." The code and data are not explicitly mentioned as available, and the reliance on specific ImageNet subsets for steering vector construction (55 benign images, 16 adversarial) without release of the exact image IDs limits exact replication.

“55 benign images are sampled, from which 30 adversarial samples are used for testing, while an additional 16 adversarial images... are generated for steering-vector construction”
paper · Section 4.1
“following the data preparation of ASTRA”
paper · Section 4.1
“we mask visually salient tokens and measure the resulting activation change”
paper · Section 3.3, Eq. 12
Abstract

As vision-language models (VLMs) are increasingly deployed in open-world scenarios, they can be easily induced by visual jailbreak attacks to generate harmful content, posing serious risks to model safety and trustworthy usage. Recent activation steering methods inject directional vectors into model activations during inference to induce refusal behaviors and have demonstrated effectiveness. However, a steering vector may both enhance refusal ability and cause over-refusal, thereby degrading model performance on benign inputs. Moreover, due to the lack of theoretical interpretability, these methods still suffer from limited robustness and effectiveness. To better balance safety and utility, we propose NullSteer, a null-space projected activation defense framework. Our method constructs refusal directions within model activations through a linear transformation: it maintains zero perturbation within the benign subspace while dynamically inducing refusal along potentially harmful directions, thereby theoretically achieving safety enhancement without impairing the model's general capabilities. Extensive experiments show that NullSteer significantly reduces harmful outputs under various jailbreak attacks (average ASR reduction over 15 percent on MiniGPT-4) while maintaining comparable performance to the original model on general benchmarks.

Challenge the Review

Pick a starting point or write your own. Challenges run in the background, so you can keep reading while the AI investigates.

No challenges yet. Disagree with the review? Ask the AI to revisit a specific claim.