Two Roads to No: Refusal Neuron vs Refusal Direction

Two recent papers explain refusal in LLMs in two ways: as a single direction in the hidden state, and as a single neuron. We ask how the two are connected, on three models. They turn out to be two different handles on refusal: nearly interchangeable on Llama, the neuron stronger on Qwen, and the neuron weak on Gemma.

Introduction

Ask an LLM how to make an illegal drug and it will usually say no. But what exactly triggers this refusal? Understanding this is important, because it could let us steer LLMs away from harmful behaviour from outside, without any training. Two recent papers try to answer this question and they give different answers.

Arditi et al. (Refusal in Language Models Is Mediated by a Single Direction) look at the hidden state at the last token of the prompt, just before the model starts to answer. They average it over many harmful requests, average it over many harmless ones, and subtract. Scaled to length 1, the difference is a direction that points from “harmless” towards “harmful” (we will call it Arditi’s direction throughout this blog). Remove it from the hidden state and the model answers harmful requests it would normally refuse. Add it while the model reads a harmless request and the model refuses. They saw this in 13 open chat models. One direction can control refusal, but that does not mean refusal is restricted to it. In later work, Wollschläger et al. find whole cones of directions that control refusal, and Pan et al. find one main direction with weaker ones at right angles to it.

Kazemi et al. (A Single Neuron Is Sufficient to Bypass Safety Alignment in Large Language Models) look at single neurons. They rank neurons with a gradient-based score, test the five best on 191 harmful prompts from HarmBench , and keep the one that works best. For Llama-3.1-8B-Instruct this is neuron 4258 in layer 11. They pin it: they set its activation to a fixed number for every token, whatever the prompt says. For this neuron the number is -4, far from its usual values (about 1.1 on harmful prompts and about 0 on harmless ones). With the neuron pinned, the model answers 95% of the harmful prompts. They report this for seven models from two families (Qwen3 and Llama-3.1).

Why the Connection Matters

One paper points at a direction of hidden states, the other at a single neuron. Both are used as handles, meaning things we can change to change refusal: to take it out of a model, or to study how it works. So we tried to measure how similar these two handles are.

There are two simple possibilities. If the neuron is just the main source of Arditi’s direction, the two papers describe one mechanism from two ends, and a result about one carries over to the other. If the neuron does something the direction does not capture, or the direction carries something the neuron does not write, then the two are different handles, and a result about one may not carry over to the other.

We ask how the refusal neuron and Arditi’s refusal direction are connected, through the following three questions:

  1. Does the neuron write in Arditi’s direction? If it does not, there is nothing to connect.
  2. Which part carries refusal? The neuron’s direction and Arditi’s direction overlap only partly. We split first one and then the other, ask which piece does the work, and compare which of the two directions is the better handle.
  3. Do the neurons that align with Arditi’s direction control refusal? If the two are linked, the neurons that align best with Arditi’s direction should be refusal neurons like the one of Kazemi et al.

We analyse this on three models from different families, to check whether the answers hold beyond a single family: Llama-3.1-8B-Instruct, Qwen2.5-7B-Instruct and Gemma-2-9B-it. The last two are not among the models Kazemi et al. tested.

How a Neuron Can Push Along a Direction

The neuron and the direction are connected by how the model is built. A neuron’s activation \(a_j\) is a single number. What carries it into the hidden state is the neuron’s output vector \(\mathbf{w}_j\) (the column of the layer’s down projection that belongs to neuron \(j\)). The layer adds \(a_j\) times \(\mathbf{w}_j\) to the hidden state:

\[\text{new hidden state} = \text{old hidden state} + \sum_{j} a_j \, \mathbf{w}_j\]

So every neuron adds something to the hidden state, and we can measure how much of it points along Arditi’s direction. We say a neuron writes along a direction when what it adds points along it. How far an edit or a neuron moves the hidden state along a direction is its push along that direction. By the neuron’s direction we mean the direction of its output vector. One model breaks this simple picture a little: Gemma-2 rescales the MLP output before adding it to the hidden state. This affects the results, and we come back to it below.

What We Found

How the refusal neuron and Arditi’s direction are connected depends on the model. On Llama the two are nearly interchangeable. On Qwen the neuron is the better handle. On Gemma the neuron found by the search of Kazemi et al. is a much weaker handle, which points to a possible limitation of their method, while Arditi’s direction is a strong one.

Experimental Setup

Models and neurons. We study three instruction-tuned models, run in 16-bit precision with greedy decoding and up to 512 new tokens. For each model, we ran the official search code of Kazemi et al. followed by their reranking step on validation prompts: each of the five best candidates is pinned at 2, 4 and 8 times its activity on search prompts (defined below), and we keep the one that lowers refusals most without breaking maths. This selects the following neurons.

Model Layer Neuron
Llama-3.1-8B-Instruct 11 4258 (the same as in the paper)
Qwen2.5-7B-Instruct 12 17011
Gemma-2-9B-it 21 11539

Sizing a pin. We describe a pin as so many times the neuron’s usual activity. What counts as usual depends on which prompts we average over and which token we look at, so we have two versions:

So the same pin has two multiples. For Qwen’s neuron 17011, the activity is about 3.4 on search prompts and about 1.7 on direction prompts. A pin of -13.7 is therefore 4 times the first and 8 times the second. The minus sign means the pin is opposite to the neuron’s usual activity.

Arditi’s direction. We follow the recipe of Arditi et al. with 64 harmful prompts from AdvBench and 64 harmless prompts from Alpaca. Hidden states are taken at the last prompt token, right after the neuron’s layer.

To remove a direction, we take out the part of the hidden state that lies along it. We do this at one layer only, the neuron’s layer.

Evaluation data. Refusing a harmless prompt is called over-refusal. GSM8K tells us whether the model still works, so a large drop in accuracy is a warning sign.

Dataset Prompts What it contains What we measure
HarmBench 159 (our test split) Harmful requests Refusal
WildJailbreak 200 Plain and disguised harmful requests Refusal
WildJailbreak , harmless subset 200 Harmless requests Over-refusal
OR-Bench-Hard 300 (of its 1,319) Harmless but risky-looking requests Over-refusal
XSTest 250 Harmless but risky-looking requests Over-refusal
GSM8K 100 Maths problems Accuracy

All tables and charts use exactly these prompts, drawn with a fixed seed, so a given setting shows the same number wherever it appears.

Judging refusals. A larger model (Qwen3.5-27B) reads each prompt and answer and labels it as full compliance, partial refusal or full refusal, following XSTest . Our tables count only full refusals. We also read samples of the answers at the main settings. On Llama and Qwen, answers that are not refused are coherent and on topic; at the strongest setting, 93.7% of Llama’s and 73.6% of Qwen’s HarmBench answers fully comply. On Gemma, many answers that are not full refusals are partial refusals that still decline, so where this changes the picture we also report the share of answers that fully comply.

Every results table has a switch for the three models. The choice applies to all tables on the page.

Reproducing Results

We first attempted to reproduce the papers, to verify their claims, on our chosen models and datasets.

Arditi’s direction works in all three models. Removing it at the neuron’s layer lowers HarmBench refusals from 83.0% to 17.6% on Llama, from 80.5% to 59.1% on Qwen and from 98.7% to 34.0% on Gemma. The effect is smallest on Qwen.

The neuron works on Llama and Qwen, but only weakly on Gemma. On Llama, pinning neuron 4258 to -4 leaves 0.6% of HarmBench prompts refused, as Kazemi et al. report. Switching it to 0 barely matters (74.8%), so the effect comes from pushing the neuron the other way, not from removing what it normally adds. Qwen’s neuron works more gradually: switching it off gives 71.7%, pinning it to -6.8 gives 41.5%, and -13.7 (four times its activity on search prompts) gives 10.1%. On Gemma, neuron 11539 is negative on harmful prompts, so it is pinned to positive values, up to 14.8 (eight times its activity on search prompts). HarmBench refusals only fall from 98.7% to 92.5%. WildJailbreak refusals fall more, from 34.0% to 17.0%. Kazemi et al. did not test Gemma, so this was a new finding. Testing the top five candidates did not find a neuron that strongly reduces refusal of clearly harmful requests. Looking past the top five did not turn one up either (see Why Gemma Behaves Differently).

To compare it with other neurons, we use comparison neurons: neurons from the same layer that are about as active as the one we study, but point almost at right angles to Arditi’s direction. On Llama, three comparison neurons for 4258 changed nothing when switched off, and when pinned to -4 they sometimes lowered refusals and sometimes raised them (one gave 45.3% on HarmBench but 72.5% on WildJailbreak).

The widget below lets you change the pin value to see the difference, for each model, for the neuron found by Kazemi et al.

Question 1: Does the Neuron Write the Direction of Arditi et al.?

To check how much the neuron contributes to the direction, we check two things. First, the neuron’s output vector should align with the direction vector, and second, the neuron’s activity should differ between harmful and harmless prompts, so that it actually moves the hidden state along the direction.

Its output vector points along the direction in all three models. We measured the cosine similarity between each neuron’s output vector and Arditi’s direction. On Llama, out of 14,336 neurons in layer 11, neuron 4258 scores 0.52 and the next best 0.19. A random direction typically scores about ±0.016. On Gemma, neuron 11539 is also first in its layer, with -0.30 against 0.20 for the next. (The sign is negative because the neuron’s activity on harmful prompts is negative, so together the two still push towards refusal.) On Qwen, neuron 17011 is first too, but with only 0.20 against 0.14 for the next.

Part of this is circular, because Arditi’s direction already contains what the neuron writes. So we also used the direction with the neuron’s own write removed, and the direction measured just before the neuron’s layer. On Llama the neuron stays first, with 0.32 and 0.34. On Gemma it stays first with -0.30 and -0.13. On Qwen it falls to 0.09 and ranks only 6th.

Its activity moves the hidden state along the direction, by very different amounts. We measured this on 159 heldout HarmBench prompts and 159 heldout other Alpaca prompts. On Llama, neuron 4258 averages 1.08 on harmful prompts and 0.00 on harmless ones. All the neurons in the layer together move harmful prompts further along the direction than harmless ones. Relative to the overall push by all neurons in layer 11, neuron 4258 alone accounts for about 46% of that difference, while the next neuron, 10096, accounts for about 5%, about nine times less. On Gemma the neuron pushes 1.9 times more than the next neuron and accounts for about 15% of the difference. On Qwen it is tied for first and accounts for about 9% of the difference.

So the answer to the first question is yes, but the strength of the link differs a lot: on Llama the neuron writes far more of the direction than any other neuron in its layer, on Gemma it is the largest of a few, and on Qwen it is one of many, tied with another neuron.

Question 2: Which Part Carries Refusal?

The neuron’s direction and Arditi’s direction overlap but are not the same. On Llama, about 27% of Arditi’s direction (in squared length) lies along the neuron’s direction. On Gemma it is about 9%, and on Qwen about 4%. So the two share a piece, and each has a piece the other lacks. That gives two different ways to split things, and we use both:

After both splits, we compare the two whole directions, the neuron’s and Arditi’s, by pushing along each by the same amount.

Splitting the Direction of Arditi et al.

Here we split Arditi’s direction. We removed the neuron’s direction and the rest of Arditi’s direction perpendicular to it from the hidden state at the neuron’s layer, one at a time. Removing a direction sets the hidden state’s component along it to zero. So removing the neuron’s direction removes everything the hidden state has along it (not only the component of Arditi’s direction along neurons, which was done to ensure scale invariance, and purely study the property of direction rather than components.).

On Llama and Qwen, removing the neuron’s direction lowers HarmBench refusals more than removing the rest of Arditi’s direction perpendicular to it: on Llama from 83.0% to 44.7% against 63.5%, and on Qwen from 80.5% to 44.0% against 73.6%. On Qwen, removing the neuron’s direction even does more than removing Arditi’s whole direction at that layer (59.1%). Since the two directions overlap only 4% on Qwen, this says little about Arditi’s direction itself; it means that on Qwen the neuron’s direction is a better thing to remove than Arditi’s. Gemma is the opposite: removing the neuron’s direction changes almost nothing (96.9%), while removing the rest of Arditi’s direction does almost all the work (49.7%, against 34.0% for the whole direction).

Splitting the Neuron

Here we split the neuron instead. Kazemi et al. pin the whole neuron; we split its output vector into its piece along Arditi’s direction and its other piece, and pinned one at a time, leaving the other alone. As a check, we pushed in a random direction at right angles to Arditi’s direction, with the same size as the other piece. (Note that the two pieces have different lengths, so pinning them gives pushes of different sizes, but this was done only to analyse which part of the neuron, when pinned, brings the effect.)

On Llama, each piece alone brings harmful refusals down to about a third, which is about what we would expect from two pushes of similar size. On Qwen the piece along the direction does little (76.1% still refused, from 80.5%), while the other piece alone does almost as much as the whole neuron (16.4%, against 10.1%), as expected when only a small part of the neuron lies along the direction. The random push of the same size never lowers refusals on Llama and only a little on Qwen, so what the other piece does is not just what any large push does.

On Gemma the result looks impossible at first: the piece along Arditi’s direction alone (68.6% of HarmBench prompts refused) does much more than the whole neuron (92.5%), and the other piece alone does nothing (97.5%), despite being higher in magnitude than the component along Arditi’s direction. The two pieces add up to the whole neuron, so how can one piece do more than both together? Why Gemma Behaves Differently section tries to provide an explaination for such behaviour.

We also tried the two other versions of Arditi’s direction from Question 1: one with the neuron’s own write removed, and one measured just before the neuron’s layer. The results depend on this choice. On Llama, the other piece alone then almost reproduces the whole neuron (6.3% and 5.0% of HarmBench prompts refused). On Qwen the picture stays the same. On Gemma, the advantage of the piece along the direction remains with the first of these (70.4%) but disappears with the second (93.7%, against 92.5% for the whole neuron).

Pushing Along Each Direction by the Same Amount

The splits show which part matters, but not whether the neuron’s direction or Arditi’s whole direction is the stronger handle. Removing a direction moves each prompt by a different amount, so it cannot settle that. Here we push the hidden state against refusal (towards answering) by the same amount for every prompt, along the neuron’s direction and along Arditi’s direction. As a check we used a random direction. How far should we push? We copy the neuron: we measure how far pinning it moves the hidden state along its own direction, and push every direction that far. This distance is 3.35 on Llama, 12.9 on Qwen and 4.7 on Gemma. We also checked that removing the neuron’s own write from Arditi’s direction changes the results very little.

On Llama, both directions bring refusals down to a few percent and the random direction does not. The neuron’s direction does this about as well as Arditi’s, although the two have a cosine of only 0.52. A push twice as large (6.7) breaks the model (maths accuracy 3% to 4%). On Qwen the neuron’s direction is clearly better: it brings HarmBench refusals down to 20.8%, while Arditi’s direction only reaches 63.5%, close to the random direction’s 73.0%. Adding the directions to harmless WildJailbreak prompts, which Qwen never refuses, shows the same: at size 12.1, the neuron’s direction makes the model refuse 50.0% of them, and Arditi’s direction 4.0%.

On Gemma, pushes added after the layer did nothing at all (98.7% for every direction; first part of the Gemma table). This is not because Gemma’s directions are weak. Gemma-2 rescales the MLP output before adding it to the hidden state, so a push added after the layer is tiny compared with what pinning the neuron does (see “Why Gemma Behaves Differently” below). So we made the same pushes, at the same size, where the neuron writes: into the MLP output, before the rescaling (second part of the table). As a check, pushing along the neuron’s direction there leaves 92.5% of HarmBench prompts refused, the same as pinning the neuron to 14.8. Arditi’s direction at the same size brings refusals down to 44.7% (37.1% of the answers fully comply), while a random direction (97.5%) and the comparison neuron’s direction (98.1%) do almost nothing. Added to harmless WildJailbreak prompts in the same place, Arditi’s direction makes Gemma refuse 43.5% of them at 0.3 of this size and 89.0% at the full size (from 2.5%), against 4.5% and 6.5% for the neuron’s direction. So on Gemma, Arditi’s direction is clearly the stronger handle, the opposite of Qwen.

Because the two directions differ, the neuron also writes something at right angles to Arditi’s direction. We call it the neuron’s right-angled part. It is not the same as the rest of Arditi’s direction above: that was the part of Arditi’s direction that the neuron’s direction lacks, and this is the part of the neuron’s output that Arditi’s direction lacks. We pushed along it too (scaled to length 1), at three sizes, next to Arditi’s direction and the neuron’s. We also pushed along the direction of a comparison neuron. It is not a perfect null: on Llama, at the largest size, it lowers OR-Bench-Hard refusals from 28% to 17%.

On Llama, per unit of push, Arditi’s direction is at least as strong as the neuron’s, and both are stronger than the right-angled part, which needs about 1.7 times the size to do the same (33.3% at size 3.35, against 36.5% for Arditi’s direction at size 2). So on Llama the right-angled part is weaker than either direction, but not useless. On Qwen the right-angled part is almost the same direction as the neuron’s (cosine 0.98), because the neuron already lies mostly at right angles to Arditi’s direction, and it behaves like it: 23.9% at the full size, against 20.8% for the neuron’s direction and 63.5% for Arditi’s. On Gemma the right-angled part does nothing, even when pushed into the MLP output: 97.5%, 98.7% and 97.5% of HarmBench prompts stay refused at the three sizes, against 71.1%, 55.3% and 44.7% for Arditi’s direction. Removing it after the layer leaves 97.5%, and added to harmless prompts in the MLP output it does not raise refusals (2.0% and 1.5%, from 2.5%).

Why Gemma Behaves Differently

Two things set Gemma apart.

Neither the search’s candidates nor a neuron beyond them is a strong handle. In the reranking step, we pinned each of the five best candidates at 2, 4 and 8 times its activity on search prompts. None of them lowered refusals on the 39 HarmBench validation prompts: every setting left 38 or 39 of them refused. They only lowered refusals on the WildJailbreak validation prompts, which is how neuron 11539 was chosen. So the weak effect is not because we kept the wrong one of the five. Nor did looking past the five give us a strong refusal neuron for clearly harmful requests. The best one we found is neuron 7162 in layer 20. The same search ranks it ninth, so it is not among the five that get tested; we tried it because the same kind of neuron search, run on over-refusal prompts (harmless requests that get refused) instead of harmful ones, ranked it second. We pinned 7162 and 11539 at 2, 4 and 8 times their activity on direction prompts, so that each push is sized to the neuron. HarmBench refusals fall to 94.3%, 86.2% and 74.8% with 7162, against 96.9%, 94.3% and 93.7% with 11539 (98.7% unchanged). So 7162 is clearly the better of the two, and testing only the top five missed it.

Better is still not strong enough: at 8 times its activity on direction prompts, about three in four prompts are still refused and only 15.1% of the answers fully comply (11539: 3.8%; maths accuracy 83%, against 85% unchanged). Even a much larger pin of 14.8 (for 7162, 8 times its activity on direction prompts is only 4.1) leaves 64.2% refused (22.0% fully comply, maths 83%). On Llama and Qwen, the chosen neurons at 8 times their activity on direction prompts leave only 0.6% and 10.1% refused, although Llama’s also breaks maths at that size. WildJailbreak’s adversarial prompts, which Gemma already refuses less often, are different: pinning 7162 to values from 3.7 to 14.8 takes refusals from 34.0% to 2.5% or lower. So our finding is about clearly harmful requests asked directly. It also does not show that no strong neuron exists on Gemma, only that we did not find one this way.

Gemma-2 rescales what the neuron writes. Unlike Llama and Qwen, Gemma-2 normalises the output of the MLP before adding it to the hidden state, so anything added to the MLP output is rescaled. We checked what this does on 24 HarmBench prompts, at layer 21, by passing the real MLP output, with and without each edit, through the model’s own normalisation:

Edit at layer 21 Push along Arditi's direction before rescaling after rescaling MLP output grows by
Whole neuron pinned to 14.8 -1.4 -33.0 4.2 times
Only the neuron's piece along Arditi's direction -1.4 -71.6 1.6 times
Only the neuron's other piece 0.0 -4.7 4.1 times

The whole neuron and its piece along the direction give exactly the same push before rescaling. Pinning the whole neuron, however, makes the MLP output about four times larger, and the rescaling then shrinks everything, including the useful part. The piece alone grows the output much less, so more of its push survives: about twice as much as with the whole neuron. Two more things follow. Gemma’s MLP output is small (about 1.5 in size, against about 92 after rescaling), so even a small edit to it is greatly amplified, and pushes added after the layer, as in the equal-push test, are not comparable to pinning the neuron. The equal pushes above test the rescaling end to end: the same push along Arditi’s direction does nothing when added after the rescaling (98.7%) and brings HarmBench refusals to 44.7% when made just before it, and between those two places there is only the rescaling.

Testing this directly. The rescaling takes the MLP output with the edit in it, divides it by its own size, and then applies a learned scale. So the edit counts twice: in what is divided, and in the size we divide by. We set these two separately. If the size we divide by were the whole story, then giving the piece the whole neuron’s size would remove its advantage, and giving the whole neuron the piece’s size would hand it that advantage. Before running this, we set a pass mark for each swap: at least 85% of HarmBench prompts still refused for the first, and at most 75% for the second.

What is added Size we divide by HarmBench refused Fully comply Maths accuracy
Piece along Arditi's direction its own (normal) 68.6% 15.7% 87%
Piece along Arditi's direction the whole neuron's 91.2% 4.4% 85%
Whole neuron its own (normal) 92.5% 3.8% 86%
Whole neuron the piece's 84.9% 10.1% 64%

All rows use the pin of 14.8. The unchanged model refuses 98.7% and scores 85% on maths.

The first swap passed. With the same addition and only the divisor changed, the piece goes from 68.6% to 91.2% refused and loses almost all of its lead over the whole neuron. The second swap did not pass. With the piece’s gentler divisor, the whole neuron only goes from 92.5% to 84.9%, which closes about a third of the gap. Maths also falls from 86% to 64%, so even this gain may partly come from damaging the model. In the second swap, the whole neuron moves the layer’s output along Arditi’s direction about as far as the piece does in its normal run (measured at layer 21, at the last prompt token), yet many more prompts stay refused. So the neuron’s other piece also matters, not only through the shrinking it causes.

We also divided by the size of the output without any edit, which removes the extra shrinking altogether. At the pin of 14.8 this gives no fair comparison: with the whole neuron, maths drops to 11%, and a random addition of the same size also breaks maths (33%). At a pin of 7.4, where maths mostly holds, the piece is still a little ahead of the whole neuron (86.2% against 92.5% refused, maths 85% and 81%). At 3.7 the two are about the same (94.3% and 93.7%).

So on Gemma, the neuron writes along the direction, but the model’s own rescaling dilutes what it writes, and none of the five candidates from the search controls refusal of clearly harmful requests. The push test and the swap test show that the rescaling matters a great deal. It explains part of why the piece along the direction beats the whole neuron, but not all of it: the neuron’s other piece also plays a role that we do not yet understand. These swaps were run on this one Gemma neuron only. This is the clearest case in our study where the two pictures come apart.

What the Neuron Writes Outside the Direction

On Llama, the neuron’s right-angled part is tied to refusal in other ways too. The three tables below remove it, add it to harmless WildJailbreak prompts, and ask how well each direction tells refused from answered prompts. On Qwen these checks say less, because the right-angled part is almost the neuron’s own direction there (cosine 0.98): about 96% of the neuron’s output is outside Arditi’s direction, so the neuron writing something outside the direction is true by construction.

On Llama, removing the right-angled part alone takes HarmBench refusals from 83.0% to 77.4% and OR-Bench-Hard refusals from 28.0% to 18.7%, while removing the comparison neuron’s direction changes almost nothing. Added to harmless prompts it raises refusals from 1.0% to 74.0% at size 4.25 (Arditi’s direction: 100%). It tells refused from answered OR-Bench-Hard prompts about as well as Arditi’s direction (AUROC 0.70 against 0.72). On Qwen, removing it lowers HarmBench refusals to 64.8%, close to removing Arditi’s whole direction (59.1%), adding it makes Qwen refuse 44.0% of harmless prompts (Arditi’s direction: 4.0%), and its AUROC for refused against answered prompts is 0.61 (Arditi’s direction: 0.51). On Gemma that AUROC is 0.44, close to chance, and removing the right-angled part leaves HarmBench refusals at 97.5% and OR-Bench-Hard at 68.7%, while removing Arditi’s direction at the same layer gives 34.0% and 3.3%. So on Gemma, removing the part changes almost nothing.

This fits the later work that finds more than one direction for refusal . What we add is that, on Llama, one such extra direction is written by the very neuron Kazemi et al. found. Two cautions: Arditi’s direction is estimated from 128 prompts, so “at right angles to it” means at right angles to an estimate, and directions at right angles are not necessarily independent.

So the answer to the second question depends on the model. On Llama the neuron’s direction carries more of the effect than the rest of Arditi’s direction, and pushed by the same amount, it works about as well as Arditi’s. On Qwen the neuron’s direction, which is mostly outside Arditi’s, is the stronger handle. On Gemma removing the rest of Arditi’s direction does the work, and pushed in the same place where the neuron writes, Arditi’s direction is far stronger than the neuron’s (44.7% against 92.5%).

Question 3: Does Alignment With the Direction Find Other Refusal Neurons?

If the neuron and the direction are linked, the neurons that line up with the direction should be refusal neurons too, and listing them would be a cheap way to find more. We tried this, and a second cheap shortcut, ranking neurons by how well their activity tells prompts apart.

Following the Direction

We pinned the next neurons in the same layer, ranked by alignment with Arditi’s direction (on Llama ranks 2 to 7; on Qwen and Gemma ranks 2 to 4, together with ranks 2 to 4 by the search score of Kazemi et al. and three comparison neurons).

Here is what happens at the strongest setting (-4 on Llama, -13.7 on Qwen and 14.8 on Gemma). We say a neuron does a large part of the job when it lowers refusals sharply while maths still works, as the paper’s neuron does on Llama and Qwen.

Maths accuracy stays within a few points of the unchanged model on Qwen and Gemma. On Llama it does not: at -4, 4258 itself loses 9 points, 11295 loses 6, 5147 and 12227 lose 12 and 14, 4421 loses 23 and 13247 loses all of it.

The same push relative to each neuron’s activity. Pinning every neuron to the same value makes each one add about the same amount to the hidden state, because their output vectors have about the same length. But compared with what each neuron normally does, it is a very different push. On Llama, 12227, 4421, 13247 and 11295 are almost silent on harmful prompts (activity on direction prompts between -0.10 and 0.03), so -4 was roughly 40 to 300 times that activity. So we also pinned each neuron at 2, 4 and 8 times its activity on direction prompts, against refusal.

Measured this way, the picture gets sharper. On Llama only 10096 does a large part of the job: at 8 times its activity on direction prompts it leaves 25.2% of HarmBench prompts refused (72.3% fully comply, maths 81%). That is still weaker than 4258 at only 2 times its activity (20.8%). The other five leave at least 73.6% refused. On Qwen none of the three aligned neurons comes close to 17011 (69.2% to 80.5% at 8 times, against 10.1%). On Gemma none does much (93.1% to 98.7%), and neither does the search’s own neuron (93.7%). This also explains most of the broken maths: at 8 times its activity, 13247 leaves maths at 87%, so it was the very large push that broke the model. A large enough push breaks even the paper’s neuron: at 8 times its activity, 4258 leaves maths at 0%.

So being high on the alignment list is a hint, not a test. Of the 12 neurons we chose this way across three models, only 10096 does a large part of the job under both ways of sizing the pin. The others did something only when pushed far beyond their usual activity, if at all, and some of them then broke the model.

The explorer below has all the neurons we changed in each model’s layer. You can choose the axes and the setting, and click a neuron for its details.

Is Separating Enough?

A natural shortcut is to rank neurons by how well their activity tells two kinds of prompts apart (AUROC): harmful against harmless, and refused against answered harmless prompts. On Llama, neuron 4258 ranks 8th of 14,336 at telling harmful from harmless, but 287 neurons score above 0.9.

With every neuron pinned to the same value, on Llama, of the four best neurons at telling harmful from harmless, only one (10096) behaves like 4258. One lowers refusals only by breaking the model, one changes little, and one raises refusals. On Qwen and Gemma none of the top neurons does much (73.0% to 79.2% on Qwen, 91.8% to 98.7% on Gemma).

The same push relative to each neuron’s activity. As with alignment, we then pinned each of these neurons at 2, 4 and 8 times its activity on direction prompts, with the same sign as before.

Measured this way, only 10096 does a large part of the job, and alignment had already found it. At 8 times their activity on direction prompts, the other four on Llama leave 71.1% to 84.9% of HarmBench prompts refused (from 83.0%). The largest of these effects is neuron 3653’s, where full compliance rises from 14.5% to 22.6%. The five on Qwen leave 77.4% to 81.1% (from 80.5%), and the five on Gemma 96.9% to 98.7% (from 98.7%). Maths accuracy stays within a few points of the unchanged model; neuron 9056, whose maths drops to 28% at -4, keeps 84% here. Most of these neurons are nearly silent, so pins sized to their activity are small, and little effect is not surprising.

So neither shortcut finds refusal neurons reliably. With pins sized to each neuron’s activity on direction prompts, the only neuron picked either way that does a large part of the job is 10096, which is on both lists. Some others lower refusals only when pushed much harder, and some of those by breaking the model. Telling prompts apart shows what a neuron reads, and alignment shows what it writes along one direction. In our tests, neither was enough to tell which neurons control refusal.

Conclusion: Two Handles, Not One

We asked how the refusal neuron of Kazemi et al. and Arditi’s refusal direction are connected. In all three models we studied, the neuron writes along the direction, so the two pictures do touch. But they are not the same handle, and how closely they are tied depends on the model. On Llama the neuron writes far more of the direction than any other neuron in its layer, the neuron’s direction carries more of the effect than the rest of Arditi’s direction, and the two directions work about equally well. On Qwen the neuron writes only a small share of the direction, yet its own direction is a much stronger handle than Arditi’s. On Gemma the neuron is again the largest writer of the direction in its layer, but pinning it, or any of the other four candidates from the search, barely touches refusal of clearly harmful requests, while removing Arditi’s direction, or pushing along it where the neuron writes, cuts refusals by more than half.

One way to read this: Arditi’s direction is a difference of averages. It describes how harmful and harmless prompts differ, which need not be the direction along which a push changes behaviour most. The neuron of Kazemi et al. is found by its effect, so it can point to parts of refusal that the average blurs, in line with work that describes refusal with more than one direction . But a neuron is also tied to the model’s architecture: on Gemma, the model’s own rescaling of the MLP output decides how much of a neuron’s push survives.

Four practical lessons follow:

Limitations

AI Disclosure

Generative AI tools were used to assist with experiment implementation; however, the ideation of experiments and the interpretation of results were done by the authors. Generative AI was used for creating some of the artifacts for the blog post; however, the text is mostly written by the authors, with generative AI used only for fixing typos and grammar. All the code and text have been verified by the authors, and we take full responsibility for the content.

Enjoy Reading This Article?

Here are some more articles you might like to read next: