Furkan Kadir YılmazWriting

the model knows but can't decide

i started repeating mit's astra experiment on a small scale. in this first post i ask qwen3.5-0.8b 50 math questions and look at its answers.

Translated from the Turkish original

type
experiment
model
qwen3.5-0.8b
data
math-500 · 50 questions
setup
greedy · 4096 tokens
gpu
colab t4
code
github
series
opening up the model · part 1
reading
5 min
lang
en · tr
status
ongoing

last week mit published a study. the researchers gave gpt-6 astra a small model, qwen3.5-0.8b, and basically told it "open it up, find what's broken, fix it". astra touched something like one in ten thousand of the weights and the model's math score went from 7.9% to 48.1%. there was no training and no new data, only a few weights changed.

my first reaction was "wow". then a reply under the post on x that shared the news caught my eye. the person said the gain didn't come from the model learning math. the model already knew it, and after astra's edits it just stopped getting stuck and repeating itself.

that bugged me a bit. a model knows the answer to a question but can't solve it? what does that even look like? telling astra "find it and fix it" is easy, but then i wouldn't understand what it found or why, and i'd skip the part where i learn by looking closely. at least that's how it is for me. so instead of leaving it to astra, i opened a t4 gpu on colab and decided to look inside the same model myself.

50 questions #

i gave the model the first 50 questions from math-500 (think of math-500 as a math exam for ai models: 500 questions, from easy to olympiad level, that openai picked out of 12,500 competition problems collected by researchers at berkeley). i set two rules. first, the model doesn't roll dice and always picks the most likely next word. this is called greedy decoding. it means the model gives the same answer to the same question every time, so the experiment can be repeated. second, a length limit for the answer. i started with 1536 tokens, roughly 1100 words.

here are the results:

resultcount
correct20 / 50 (40%)
answer never finished19 / 50 (38%)
unfinished and correct0

that's a lot higher than mit's 7.9%. i found out why later. mit kept the model's thinking mode on, i kept it off. in thinking mode the model loops inside its own thoughts before it even starts the answer, and 93% of the answers hit the limit.1

the part that really got me was the second row. in the first run, 23 answers never finished. "maybe it ran out of room," i thought, so i raised the limit from 1536 to 4096 tokens, roughly 3000 words, and ran it again. that's more than enough for a math solution, but i also wanted to see how the limit affects solving. are the unfinished answers unfinished because of the token limit or not? only 4 of them finished this time, the other 19 still didn't, and not a single one of those 19 was correct.

what getting stuck looks like #

by getting stuck i mean the model falls into a doubt somewhere and can't get out of it. copying and pasting the same sentence over and over only happened in 4 answers. the other 15 were stuck in a doubt like this.

in question 7 it had to find the angle between two lines. it made a simple arithmetic mistake somewhere and wrote -2/3 instead of -3/2. when the result came out strange it noticed that something was off, which is good so far. then instead of checking its arithmetic, it started looking for the mistake by rereading the question:

Is it possible the equation is 6x = -y AND -y = -4z? Yes.Is it possible the equation is 6x = -y AND -y = -4z? Yes.Wait, maybe I copied the numbers wrong?

it had read the question correctly, the mistake was in its own arithmetic, but it never went back there and spent 3000 words rereading the question.

can we see this inside the model #

you can think of a language model as a building. words go up through the floors one by one, and this model has 24 floors. on every floor there's a list of 1024 numbers that shows "what the model has in mind" at that moment. these are called activations.

what i wanted to know was this: before the model gets stuck, while it's still on the first lines of the answer, is there a sign in those numbers that says "this is going to take a while"?

i took the first 512 tokens of the answers that got stuck and the ones that didn't, and compared the average of the two groups on every floor. the difference between the two averages gives a direction. then, looking only at that direction, i guessed for each answer whether it would get stuck. to avoid cheating, i left the answer i was guessing out of the calculation every time.

  • always guessing "won't get stuck", without looking at anything: 62%
  • looking only at how hard the question is: 68%
  • looking at the numbers on the model's 11th floor: 78%

the sign is strongest on the middle floors. on the ground floor there's almost nothing.

first layerlast layer
hover to see each layer
figure 1. 50 answers. each one is predicted with a direction found without it

i have to be honest about one thing here. with 50 examples, the gap between 68% and 78% is only 5 questions. picking the best of 25 floors also inflates the result a little. so what i have is still a hint, but a hint strong enough to make me say "ok, i'm keeping at this" in front of colab at midnight.

what's next #

first i'll raise the number of questions (to 200, for example) to see whether this sign is real and how strong the hint is. if it's real, i'll turn that direction down inside the model and see whether the model stops getting stuck. roughly, it will be a hand-made version of what mit did.

the question i'm most curious about is a different one, though: does the same sign show up when the model thinks in turkish?

also, last week barış bayburtlu used astra to edit the weights of kumru, a turkish model, and found something interesting. ending the loops didn't move kumru's math score at all. so some models really don't know. in this series i'll try to tell apart which models don't know and which are only undecided.

the code and raw results are on github.

Footnotes

  1. mit's setup: thinking mode on, a 32,768-token limit, temperature 0.6, 4 tries per question (experiment notes). mine: thinking mode off, 4096 tokens, greedy, 50 questions. i first checked the answers with a rough string match and counted 17 correct. regrading with math-verify, which mit used, gave 20, and still 0 among the stuck answers. ↩

opening up the model

  1. 1 the model knows but can't decide
  2. 2 the model has a finish button
  3. 3 with thinking mode on, the model copies itself
  4. 4 does a turkish-speaking model think in english?