A Mechanistic Investigation Of False Abstention In Qwen-2.5-3B Instruct
Qwen 2.5 3B writes the right answer in its own note, then replies “unknown.” I traced why, down to two attention heads, and checked whether other models do it too.
It’s been a while since my last research entry. This project started as a way to figure out whether we can design better memory systems for LLMs in long-horizon tasks. And man oh man, I did not think we’d go down another rabbit hole. When I started this as my thesis work, I remember thinking to myself: no way I’m gonna pivot. Boy, was that unrealistic and naive of me.
- StartedA memory controller for long tasksAn RL policy over what the reader model sees
- ThenThe reader gets the facts and still fails
- ThenIt writes the answer, then says “unknown”
- Ended upTwo attention heads
In my last entry, I talked about the new and exciting paradigm of weight space programming. I was really excited about it for a number of reasons, but mainly because it made me think: if LLMs are able to do “brain surgery” on other models, then, as the report suggested, we can use them to find where in a model’s hidden activations things go wrong, and edit them accordingly. But what’s more interesting to me is this: if frontier models can do that, can they also tell me why certain neurons or attention heads behave the way they do?
Now, I’ve been working on figuring out why small language models falsely abstain. That is: they have the answer to the question in their context window, they write down a note about the relevant fact (I ask them to), the answer is in that note, and they still answer “unknown”.
At first I didn’t think much of it. I thought, ok, it’s a small model, it has poor reasoning capabilities, and it just hallucinates. But the more I worked on it, the more that question stuck with me. It feels like a cop-out to just blame reasoning capabilities when there could be more at play. So I said: let me take a stab at mapping out what really goes on.
The final work
Ok, so our earlier results showed that Qwen 2.5 3B falsely abstains quite a bit. First, let’s see whether other people have run into this. I had Claude run a deep literature scan, and from it I picked the 20 most relevant papers to read. A few stood out:
Ok, so this is a pretty dense field. But one thing still stood out. In their work, the answer stays hidden inside the model: it never shows up in the output, and they read the decision from the model’s internals (in the commit-abstain paper, at the last token of the question, before the model writes anything). In my case, the model writes the right answer, then says “unknown”. You can watch it change its mind, line by line.
The other thing I wondered about was whether models from different families have different levels of caution, and whether my analysis needed to take that innate “caution level” into account. A more cautious model will say “unknown” more often for that reason alone, so the fair comparison is between models that are equally careful.
The main question I set out to answer: why does this false abstention happen? In particular, I wanted to know:
- Does the answer get lost? If I use some sort of layer lens, can I see the right answer token disappear as we get closer to the output layer?
- What inside Qwen causes the refusal? A set of neurons? A set of attention heads? One particular head?
- Under what scenarios does Qwen choose to abstain?
In the more general case, I also wanted to see whether the results in Qwen hold in other model families:
- Do other models falsely abstain too? If yes, why? If not, what makes Qwen different?
- Is there a trade-off with answering the unanswerable?
- Can we fix it? (Maybe with weight space programming?)
- 1Does the answer get lost?
- 2What inside Qwen causes the refusal?
- 3Under what scenarios does Qwen abstain?
- 4Do other models falsely abstain too?
- 5Is there a trade-off with answering the unanswerable?
- 6Can we fix it?
The setup
To test the models, I generated a synthetic dataset of made-up people, the cities they live and work in, their jobs, and who supervises whom. For instance, the memory can hold facts like:
- Alice lives in Leeds.
- Alice works as a chef.
- Alice’s supervisor is Bob.
- Bob works in Brighton.
This gives me a straightforward way to test false abstention in a few ways:
- Direct lookup: the fact is in the memory. The model just needs to retrieve it. “Where does Alice live?”
- Two-step: the model has to chain two facts. “In which city does Alice’s supervisor work?” It needs to chain “Alice’s supervisor is Bob” and “Bob works in Brighton”, and answer Brighton.
- Update: I tell the model someone moved cities, and ask where they live now.
Each question also has an unanswerable twin, where the needed fact is missing or belongs to someone else. That is how I measure caution: how often a model answers a question it can’t actually answer.
- Alice lives in Leeds.
- Alice works as a chef.
- Alice’s supervisor is Bob.
- Bob works in Brighton.
The prompt I used looks like this (one direct lookup):
Below is your memory of a long conversation, followed by a question about it. Answer with a short phrase that states the fact asked for. If the memory does not state the answer, reply: unknown Each memory line shows who said it and when. First write a brief note of at most 80 words: name the facts that bear on the question in a few words each (do not copy whole lines), then do any counting, adding or date arithmetic. [...] Reply unknown only if the memory does not state the answer. End with one line of the form 'Answer: <short phrase>'. ## Memory user, 2023/03/01 (Wed) 10:00: Paul lives in Liverpool. user, 2023/03/02 (Thu) 10:00: Paul works as a manager. ## Current input Question: (asked on 2023/03/03 (Fri) 12:00) Where does Paul live? Note:
Does the answer get lost?
First, some ground truth on this made-up city data. I ran Qwen 2.5 3B on it and found that in 91% of its false abstentions, the right answer is already in the little note I told it to write.
So I applied the logit lens, which reads off what the model would predict at each layer. I initially also fit a Jacobian lens, a fancier version, but on Qwen the two told the same story (they agreed on 99.8% of calls), and the logit lens works on every model family without fitting anything, so it became the main read-out. Interestingly, what I saw was the opposite of my hypothesis. I thought the answer token would disappear somewhere. But no: on 64% of Qwen’s failures the right answer is still among the final layer’s top-10 predicted tokens. It only becomes readable late, in the last few layers (layers 30–33 of 36). Something pushes the model toward abstaining right at the end...
layers 30–33
I also trained a logistic regression classifier on each model’s hidden activations at a middle layer, to see whether those activations could tell an answerable question from an unanswerable one. It reached an AUROC of 0.994–0.999 across 5 model families. So the information about whether a question can be answered is linearly readable in every model. This probe shows that the information is there but makes no statement about whether the model actually uses that information.
So the answer doesn’t just magically disappear. Something else must be pushing the model away from giving it...
What causes the refusal?
To figure this out, I tried a lot of approaches, and most of them taught me what the mechanism isn’t:
- Pushing the hidden state toward “answer” at one layer released most false “unknown”s, but so did a push that carried no information about the answer at all. Any nudge works, which means the push isn’t telling us where the decision lives.
- Activation patching, layer by layer showed the answer is causally usable from about three-quarters of the way through the model, earlier than the lenses can read it.
- Looking for a small set of neurons: the push toward “unknown” is spread thin. Half of it needs about 15,000 of the model’s 396,288 MLP neurons, across layers 6–35. No small neuron circuit to point at.
Then one day I was told about weight space programming, and I decided to try it for mech interp. I gave Opus 5.5 a sandbox and a set of tools. It could run numpy code, ask a metered service to run Qwen on development questions and return its outputs and hidden activations, and save weight edits for us to test. It could change only a few kinds of weights (attention outputs, MLP down-projections, layer norms), with hard limits on the size of each edit, and it had three submissions. I asked it to find a fix for false abstention and not stop there: it also had to give me a plausible explanation of why the component it changed matters.
- 1Qwen answers
- 2Claude reads activations
- 3Claude edits weights
- 4Qwen answers again
The agent came back with two edits. One was a rank-1 change to the last layer’s attention output. On sealed held-out questions it released 82% of false “unknown”s to the right answer, while barely increasing wrong answers to unanswerable questions (3.5% → 4.2%). The other zeroed the outputs of two attention heads, layer 32 head 2 and layer 33 head 10. On a new split it released 75% of false abstentions, against at most 46% for 20 random pairs of heads from the same layers. The humbling part, though, is that neither edit was able to beat the simplest fix, a flat bias subtracted from the “unknown” token’s score. So while the agent found out this really cool insight, it turns out a simple fix works too.
To test the agent’s theory further, I ran my own head search: I switched off each of Qwen’s 576 attention heads, one at a time, at the answer position, on development questions. The top two were layer 28 head 2 and layer 33 head 10, which shares a head with the agent’s pair.
Then I tested those two heads on a held-out set of questions I hadn’t touched. Zeroing them released 96.7% of the false abstentions where the answer was written, against at most 11.2% for the best of 20 random pairs. This wasn’t exactly a free edit. Zeroing out these heads also made the model answer 6.4% of the questions it had correctly called “unknown” because they were genuinely unanswerable.
What are they doing? Layer 33 head 10 spends 61% of its attention on the “unknown” option text in the prompt. Blocking just the two heads’ view of those option words released 77% of false abstentions, while blocking random words of the same count released nothing. But the push isn’t special to false abstentions: zeroing the heads also lowers the “unknown” score on questions the model already answered correctly. So these two heads aren’t a dedicated “false abstention circuit”, and I didn’t find one elsewhere. What I can say though is that these heads seem to carry a general push towards the “unknown”, read off the option text, and false abstentions are the close calls it tips over.
When does Qwen abstain?
Weirdly, it’s worst where the answer is easiest to find. On development questions, Qwen falsely abstains on 69% of direct lookups, 33% of two-step questions and 12% of updates, and more often when there are more distractor facts (25% → 39% → 50%). Take the “unknown” option out of the prompt and false abstention drops to under 1%.
To be honest, I don’t really understand / know why Qwen falsely abstains more on these direct lookups. It seems counterintuitive to what one might think. The fact that we add more distractor facts and it falsely abstains makes sense intuitively. Maybe instruction tuning has taught Qwen to abstain when it’s shaky in its answer confidence. I do not have any data to suggest this though, it is merely speculation.
Do other models do it? Why only Qwen?
This is where my “small models just do this” assumption fell apart. I graded free-form answers from ten models with a Claude judge that I’d checked against my own hand labels. Among every model I could score, only Qwen 2.5 3B falsely abstains (42%). Llama 3.2 3B, Gemma 3 4B, Phi-4-mini and Granite 3.3 2B all stay at or below 3.6%. Even Qwen’s own siblings don’t do it: Qwen 2.5 7B is at 1.3%, Qwen 3 1.7B at 1.0%, Qwen 3 8B at 0%.
And the other models fail in the other direction: when they’re wrong, they give a real city from the memory, but it’s the wrong person’s city.
So why only Qwen? I compared Qwen 2.5 3B with its base model (before instruction tuning) on the same questions. The base model already falsely abstains (22%, against 44% for the instruct model), but differently: it mostly misses the fact. The answer is in its note in only 21% of its false abstentions, against 96% for the instruct model. On direct lookups it refuses 13 of 120, while the instruct model refuses 100 of 120. The base model already says “unknown” sometimes, but because it misses the fact. Refusing an answer it has already written mostly arrives with instruction tuning.
Is it a trade-off with answering the unanswerable?
Qwen is also the most cautious model of the five: it answers only 2.3% of unanswerable questions, while the others answer 6.7–27.7%. So maybe it’s just caution? I tested that by making the others more careful. With a stricter instruction (“reply unknown unless the memory states the answer exactly”), Llama and Phi became as cautious as Qwen (answering 1% of unanswerable questions), and their false abstention stayed at 3% and 0%. On the same questions, Qwen’s was 58%.
Honest caveat: forcing the issue with a logit push toward “unknown” can bring Llama and Gemma close to (or past) Qwen’s level, so the pre-registered caution test failed, and I can’t rule caution out completely.
Can we fix it?
Yes, several ways, and every fix has a price:
| Fix | Cost | False “unknown” |
|---|---|---|
| Switch off the two heads | 6% of correct refusals become answers | 97% released |
| Flat bias against “unknown” | 6% of correct refusals become answers | 87% released |
| A few worked examples in the prompt | Answers 18% of unanswerable questions (was 2%) | 42% → 2% |
| Remove the “unknown” option | Answers 66% of unanswerable questions | 40% → 0% |
The head switch-off and the plain bias cost about the same, which tells you something: the heads explain the behaviour, but as a fix they’re no better than the blunt tool.
Learnings
I think this was such an interesting project for my thesis, though I feel like I’m in a weird space. The thesis is supposed to be finished next semester, and I don’t think there’s much more to pursue here. Maybe I’m wrong? I don’t know. Some questions I genuinely still have: why couldn’t we find a general mechanism across models? And does zeroing these heads affect anything else in the model’s usual work? I only measured it on this task.
Part of me thinks I wouldn’t have dug this deep had I tried to establish a baseline across model families first. Instead, I went deeper and deeper into Qwen, and only after talking to grad students from other universities did I seriously ask whether the behaviour generalised to other models. That’s tunnel vision and the oil drilling paradox for ya HAHA.
If I had to sum up my learnings:
- Don’t jump the gun into experiments. Figure out the landscape first: what have people tried, and what haven’t they? Science is a collective endeavour, and there’s too little time in one’s life to make the same mistakes other people already have.
- Talk to people about your ideas more. Have them break your theories and challenge your beliefs. It helps avoid tunnel vision. The flip side: don’t let criticism get you down too much. Receiving feedback is a balancing act.
What’s next
Research is never ending haha, so I’ll try to publish this result at workshops and see if I can get meaningful reviews and if there’s room for improvement. I’d never done this process myself so that should be interesting. Next though, I’m moving to a new research project. We’re still working out the details but my personal goal is to find a meaningful way to extend the work in “Are Large Reasoning Models Interruptible?” on their self-doubt behaviour.
As I’m writing this, I will be attending a hackathon tomorrow with a company called Autolab. I’m curious how their agentic harnesses are built to support research. I have one of my own that I used for this work, but I always made sure to keep my hands and brain behind the wheel. Anyway I’m starting to just yap, if you stuck around this long, I appreciate it :)!
Have questions? Concerns? Feedback? Criticism? Send them my way at qamilmirza@berkeley.edu, and I’ll gladly have a look. Thanks for your time :)