Reproduce “Refusal in Language Models Is Mediated by a Single Direction” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Andy Arditi, Oscar Obeso, Aaquib Syed, Daniel Paleka, Nina Panickssery, Wes Gurnee, Neel Nanda

The authors test whether a single residual-stream direction mediates refusal in 13 open-weight chat models. They derive it from activation differences on harmful and harmless instructions, then remove it or add it to alter refusals. Orthogonalization reaches an 84.3% attack success rate on Qwen 14B, near GCG’s 83.5%, under the default system prompt; results vary by model and prompt.

Key insights

  • Refusal behavior in diverse LLMs is consistently mediated by a single, one-dimensional direction within their activation space, demonstrating a low-dimensional control mechanism for a complex behavior.
  • Current safety alignment methods, particularly those for open-source models, are fragile and vulnerable to simple, low-cost internal modifications, highlighting a critical security concern.
  • Adversarial suffixes work by suppressing the model's internal refusal-mediating direction, often by diverting attention from the harmful instruction to the suffix itself.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.