HackerPapers

arXiv:2406.11717cs.LG

Refusal in Language Models Is Mediated by a Single Direction

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

Abstract

Conversational large language models are fine-tuned for both instruction-following and safety, resulting in models that obey benign requests but refuse harmful ones. While this refusal behavior is widespread across chat models, its underlying mechanisms remain poorly understood. In this work, we show that refusal is mediated by a one-dimensional subspace, across 13 popular open-source chat models up to 72B parameters in size. Specifically, for each model, we find a single direction such that erasing this direction from the model's residual stream activations prevents it from refusing harmful instructions, while adding this direction elicits refusal on even harmless instructions. Leveraging this insight, we propose a novel white-box jailbreak method that surgically disables refusal with minimal effect on other capabilities. Finally, we mechanistically analyze how adversarial suffixes suppress propagation of the refusal-mediating direction. Our findings underscore the brittleness of current safety fine-tuning methods. More broadly, our work showcases how an understanding of model internals can be leveraged to develop practical methods for controlling model behavior.

arXiv comments
Journal reference
DOI
Subjects
cs.LGMachine Learning cs.AIArtificial Intelligence cs.CLComputation and Language

On Hacker News

Linked by 13 identifiable commenters in 16 comments across 10 threads, from Jul 2024 to Nov 2026. Found in 2 HN submissions from Jun 2024 to May 2026. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments10 threads

    • I feel like a lot of this Astra editing Qwen stuff is regurgitation of existing relatively well known techniques, for example: https://arxiv.org/html/2406.11717v3 and conceptually similar to: https://arxiv.org/abs/2512.05648 (tho this is done in training iirc)

      neomView on HNParent context

    • Some of original blog post really seems to follow Arditi et al. (2024) (https://arxiv.org/abs/2406.11717). Projecting out a direction can only remove behaviour and not add capability so the jump mostly comes from unblocking the looping. So I do agree it is misleading and trying…

      micotiView on HNParent context

    • Yes, while reading the blog I immediately thought about https://arxiv.org/html/2406.11717v3 paper. Original blog does actually overstates it findings as nothing like that exists.

      micotiView on HNParent context

    • I am still reading through this and will probably try to comprehend it a bit more. Some of it really seems to follow Arditi et al. (2024) (https://arxiv.org/abs/2406.11717). Projecting out a direction can only remove behaviour and not add capability so the jump mostly comes from…

      m1cotiView on HNParent context

    • Someone familiar with this stuff able to enlighten me how this technique differs from this 2024 research? Refusal in Language Models Is Mediated by a Single Direction: https://arxiv.org/html/2406.11717v3

      neomView on HNParent context

    • > No political censorhip? Try asking Chinese models about Taiwan. In open models you can "uncensor" them: https://arxiv.org/abs/2406.11717

      deepersproutView on HNParent context

    • This is the original description of abliteration and it's quite approachable and interesting to read: Refusal in Language Models Is Mediated by a Single Direction (https://arxiv.org/abs/2406.11717). Warning: changes to your world view caused by seeing "HarmBench" used to…

      wren6991View on HNParent context

    • Interesting. Is there a paper that explains this in a bit more detail, like [0] for abliteration (underlying the Heretic software, afaik)? [0] https://arxiv.org/abs/2406.11717

      c7bView on HNParent context

    • > If you look at the field of mechanistic interpretability, compared to “GOFAI” like learned decision trees, an LLM is completely opaque. I think the field deserves more credit than that, there are plenty of interpretability tools like * natural language autoencoders for…

      strangecastsView on HNParent context

    • the ai companies post-train the models to refuse. equally, the models can be post-trained not to refuse. you can also remove refusals by subtracting from the weights semantic vector directions in latent space involving refusal; such that activations along them become unlikely…

      lukewarm707View on HNParent context

    • Papers using the term in their title or abstract: https://arxiv.org/search/cs?query=abliteration&searchtype=al... Note that they're all talking about the same technique, namely applying ablation specifically to the refusal vector as described in https://arxiv.org/abs/2406.11717.…

      eggsyntaxView on HNParent context

    • See https://arxiv.org/abs/2406.11717 Refusal in Language Models Is Mediated by a Single Direction (June 2024) All “alignment” is extremely shallow, thus the general ease of jailbreaks.

      andy99View on HNParent context

    • This tool originates from the paper mentioned in the readme. Here is a summary: Research has revealed that refusal behavior in language models is not governed by a complex logic, but rather by a single causal “direction” in their activation space. The researchers captured the…

      lkjhgfView on HNParent context

    • This tool originates from the paper mentioned in the readme. Here is a summary: Research has revealed that refusal behavior in language models is not governed by a complex logic, but rather by a single causal “direction” in their activation space. The researchers captured the…

      lkjhgfView on HNParent context

  1. Llama-3.3-70B-Instruct 1 comment
  2. Explainability is not a game 1 comment
    • Which part is fire and which is hot when suffixing this gibberish to a prompt " Teen Readers.typesHere.Generated collection(Object (!(( footnote(grid= ((Surejectives astronomers sind ihrer________ eine(The hilarious" destroys the LLMs ability to refuse "harmful" output?…

      yencabulatorView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.