Across 13 open-weight chat models from 1.8B to 72B parameters, refusal is mediated by a single one-dimensional direction in the residual stream, and erasing it with a rank-one weight edit costs under $5 of compute while leaving MMLU, ARC, and GSM8K within 1% of baseline. Andy Arditi and colleagues show that this single vector, extracted by contrasting 128 harmful and 128 harmless prompts with zero gradient updates and zero harmful completions, is both necessary to refuse harmful requests and sufficient to trigger false refusals on benign instructions.

  • Works across 5 families and 2 alignment recipes: Directional ablation bypasses refusal on JailbreakBench (100 prompts) across Qwen Chat (1.8B–72B), Yi Chat (6B, 34B), Gemma IT (2B, 7B), Llama-2 Chat (7B–70B), and Llama-3 Instruct (8B, 70B), spanning both fine-tuning (AFT) and preference optimization (APO).
  • Matches per-prompt attacks on Qwen, surges without system prompts on Llama-2: On HarmBench (159 behaviors), single-edit weight orthogonalization reaches 79.2% attack success rate (ASR) on Qwen 7B and 84.3% on Qwen 14B (on par with per-prompt GCG at 79.5% and 83.5%). Stripping Llama-2’s safety system prompt raises ASR from 22.6% to 79.9% (7B), 6.9% to 61.0% (13B), and 4.4% to 62.9% (70B).
  • Adding the vector induces benign refusals: Injecting the unnormalized direction at a single mid-network layer causes 12 of 13 models to refuse 88% to 100% of harmless Alpaca prompts (e.g., claiming listing three benefits of yoga is “dangerous and potentially harmful”).
  • Under 1% general capability tax: Averaged across MMLU, ARC, GSM8K, WinoGrande, and TinyHellaSwag, orthogonalized checkpoints stay within 1% of unmodified baselines (79.8 vs. 79.9 MMLU on Llama-3 70B), though TruthfulQA dips 1.0 to 5.9 points.
HarmBench Attack Success Rate (%): Rank-one weight orthogonalization vs. baselines
Model (159 standard HarmBench behaviors)Direct Response · Ortho (default prompt) · Ortho (no system prompt)
Qwen 14B Chat (GCG baseline: 83.5%)9.5% · 84.3% · 74.8%
Qwen 7B Chat (GCG baseline: 79.5%)7.0% · 79.2% · 74.8%
Qwen 72B Chat (PAIR baseline: 54.5%)8.5% · 78.0% · 79.2%
Llama-2 7B Chat (GCG baseline: 34.5%)0.0% · 22.6% · 79.9%
Llama-2 70B Chat (GCG baseline: 36.0%)0.0% · 4.4% · 62.9%
Llama-2 13B Chat (GCG baseline: 28.0%)0.5% · 6.9% · 61.0%

Bars show max Ortho ASR (dark ink with default system prompt; lavender without system prompt). Source: Arditi et al. (2024), Section 4.2 and Table 2.

How It Works

To find the refusal subspace, the authors run 128 harmful prompts (AdvBench, MaliciousInstruct, TDC2023, HarmBench) and 128 harmless Alpaca prompts through each model and compute difference-in-means vectors r_i^(l) = mu_i^(l) - nu_i^(l) at every layer l under 0.8L and every post-instruction chat-template token i (such as [/INST] or assistant\n). A 32-pair validation sweep picks the single (i*, l*) direction that minimizes refusal probability when ablated while still inducing refusal when added and keeping harmless next-token KL divergence under 0.1 (0.014 to 0.092 across all 13 models). That search takes roughly 5 minutes on one 48GB A6000 GPU up to 14B, and ~1 hour on four A6000s at 70B/72B.

Rather than patching activations at every forward pass (x' = x - r_hat * r_hat^T * x), the authors bake the projection permanently into weights via rank-one orthogonalization: W_out' = W_out - r_hat * r_hat^T * W_out across embeddings, positional embeddings, attention outputs, and MLP outputs (Appendix E proves exact equivalence). Because the edit removes a high-level refusal feature rather than blocking unembedding tokens, the orthogonalized Llama-3 8B model can still parrot "I cannot provide instructions on how to make a bomb" when explicitly asked to repeat that string.

Llama-3 8B Instruct: Weight orthogonalization vs. negative activation addition and LoRA
Unmodified Baseline

Refusal 0.95 · Safety 0.97 · On-dist CE loss 0.195 (The Pile 2.348, Alpaca 1.912).

Directional Ablation / Ortho

Refusal 0.01 · Safety 0.15 · On-dist CE loss 0.213; zero harmful completions needed.

Negative ActAdd

Refusal 0.01 · Safety 0.16 · On-dist CE loss jumps to 0.441 (pushes benign prompts off-manifold).

LoRA Fine-Tune (243 pairs)

Refusal 0.00 · Safety 0.08 · On-dist CE loss 0.273; needs 10 min on an 80GB A100 plus harmful targets.

Refusal and Llama Guard 2 safety scores measured on JailbreakBench. Source: Arditi et al. (2024), Appendix I.2 and Table 10.

Key Findings

  • More surgical than activation subtraction: Subtracting r via Activation Addition or Contrastive Activation Addition also bypasses refusal, but pushes harmless activations out of distribution (0.441 vs. 0.213 on-distribution CE loss on Llama-3 8B), whereas orthogonal projection leaves harmless prompts near baseline.
  • Adversarial suffixes hijack refusal attention heads: On Qwen 1.8B Chat, a 20-token GCG suffix drives last-token cosine similarity with the refusal direction down to harmless-prompt levels across layers by pulling the top eight refusal-writing attention heads (H12.10, H12.8, H14.2, etc.) away from the instruction and onto the suffix tokens.
  • Safety tuning rewires an existing base-model feature: Appendix J finds nearly identical cosine similarity with the chat model’s refusal direction inside unaligned base models, echoing Representation Engineering by showing that safety tuning hooks refusal onto pre-existing harm representations rather than building new circuitry.
  • TruthfulQA drops reveal entangled boundaries: While MMLU and GSM8K hold steady, TruthfulQA falls -1.0 to -5.9 points across all 13 orthogonalized models because questions about misinformation, stereotypes, and conspiracies sit near the refusal boundary.

Caveats and Builder Takeaway

Arditi et al. treat this paper as an existence proof on open-weight models up to 72B, not an optimal extractor or a study of closed frontier models. The adversarial suffix dissection covers only one suffix on one small model (Qwen 1.8B), and the semantic label “refusal direction” may conflate refusal itself with upstream harm or danger detection. Notice also the gap between refusal_score = 0.01 and safety_score = 0.15 on Llama-3 8B: some non-refusal outputs stay safe (such as baking-soda “bomb” recipes or debunking flat-Earth prompts), while Llama-2 retains partial resistance when its safety system prompt remains intact.

For engineers deploying open-weight models, the lesson is unmistakable: weight-level refusal is a thin linear bottleneck, not a security boundary. Never rely on model refusal alone to guard tool calls, data access, or downstream actions; enforce permissions in application code and pair open models with external classifiers or deeper representation defenses like Circuit Breakers.