Paper: Activation steering can break LLM safety alignment; 20 random vectors suffice to construct a universal jailbreak attackThe Rogue Scalpel: Activation Steering Compromises LLM Safety
Translation in progress — untranslated text is omitted.
The paper "The Rogue Scalpel" finds that activation steering systematically breaks the safety alignment of large language models. On models such as Llama3.1, Qwen2.5, and Falcon3, merely adding random direction vectors to intermediate-layer activations raises the compliance rate on 100 harmful prompts from JailbreakBench from 0% to 1–13%; with benign feature steering using sparse autoencoders (SAEs), the compliance rate is 1–4% higher than with random vectors. The study also finds that 817 out of 1000 SAE features can jailbreak at least one harmful prompt, and the most effective features correspond to benign concepts such as "modal verbs" and "brand logos," with poor cross-prompt generalization that makes systematic screening difficult. The authors further construct a universal attack vector by averaging 20 random vectors that successfully jailbreak a single prompt, increasing the compliance rate about 4-fold on unseen prompts, for example reaching 50.4% on Llama3.1-70B, without requiring model weights, gradients, or harmful training data.
- Activation steering is often regarded as a more precise and safer model control technique than fine-tuning. However, its impact on the safety alignment and refusal mechanisms of large language models has not been systematically explored, and whether benign steering vectors might inadvertently weaken safety protections remains unknown.
- The authors inject random spherical vectors or benign SAE features into the intermediate-layer residual stream across multiple model families and evaluate harmful compliance rates based on JailbreakBench; they also propose averaging and normalizing 20 random vectors that successfully jailbreak a single prompt to construct a gradient-free universal attack vector.
- Random vectors raised harmful compliance rates across models to 1–13%; benign SAE features induced a 4.6% compliance rate on Llama3.1-8B, and 817/1000 features could cause jailbreaks; the universal vector constructed by aggregating 20 random vectors raised compliance rates by an average of 4 times, reaching 63.4% on Falcon3-7B.
- The authors point out that jailbreak SAE features generalize weakly across prompts, and that deep defense mechanisms have not been explored. In the experiments, SAE steering was tested only on a single layer of a single model, Llama3.1-8B, and the evaluation was based on 100 harmful prompts from JailbreakBench; the universal attack showed degraded effectiveness on Qwen2.5-32B.
The paper uses JailbreakBench to systematically measure the disruption of refusal mechanisms by activation steering, and provides a reproducible method for constructing universal attacks, offering a control for safety evaluation of interpretability-based control.
Related papers
Show 3 more papers
- PEVAttacksarXiv