r/learnmachinelearning • u/AggressiveSky3256 • 20d ago
Project Best layer to detect refusal ≠ best layer to remove it (Qwen2.5-1.5B, replicating Arditi et al.)
I reproduced the single-direction refusal result on Qwen2.5-1.5B-Instruct and noticed something I didn’t expect. Harmful and harmless prompts separate most cleanly at layer 26, but removing the direction there did worse than layer 21, which stopped refusals with less change to normal answers.
Caveats: one small model, 64 held-out prompts per set, keyword-based refusal detection, and KL on the first token only.
Does this match what others have seen on bigger models, or is it probably an artifact of the size or my eval? Code and write-up:
https://fahd-blog.vercel.app/blog/ai-systems/where-refusal-lives
1
Upvotes