Furkan Kadir YılmazWriting

the model has a finish button

on 200 questions i could predict from the first paragraph of an answer whether the model would get stuck. turning that direction inside the model makes it get stuck more or less, a random direction doesn't. the number of correct answers went up in none of the runs.

Translated from the Turkish original

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

in the first post i looked at 50 questions. by looking at the numbers on the model's 11th floor, i could predict with 78% accuracy whether an answer would get stuck. on 50 questions that gap came to just 5 questions, so i called it a hint.

i did two things in this post. first i raised the number of questions to 200 and checked whether the hint was real. then i turned that direction down and up inside the model and measured whether the model's behavior changed.

200 questions #

same setup as before. greedy decoding, thinking mode off, a 4096-token limit.1

resultcount
correct91 / 200 (45.5%)
answer never finished72 / 200 (36%)
repeating the exact same text16 / 72

in most of the stuck answers the model again falls into a doubt and circles around it in different sentences.

my favorite example was question 5. a hexagon is split into six equilateral triangles. the perimeter of a triangle is 21 inches, and the question asks for the perimeter of the hexagon. the answer is 42. the model first finds 84, then switches to 42, then goes back to 84. around word 435 it settles on 42 and spends the next 2000 words checking 42. it runs out of room right after writing this:

Perimeter of hexagon = $6 \times 7 = 42$.Final check.

the answer is right there in the text, but the model never says "done". there are 3 answers like this out of 200.

is the hint real #

i applied the same method as in the first post to the 200 answers. i took the first 512 tokens of each answer, subtracted the average of the finished answers from the average of the stuck ones on every floor, and left the answer i was predicting out of the calculation every time.

  • always saying "won't get stuck", without looking at anything: 64%
  • looking only at how hard the question is: 68%
  • looking at the numbers on the 15th floor: 79.5%

every floor from 5 to 20 lands between 76% and 80%. so there's no single lucky floor. mit's 50-pass edit was also on floors 15 and 19.2

in the first post i said that picking the best of 25 floors inflates the result. to check this, i tried the 11th floor i picked in the pilot on 150 questions the model hadn't seen before. it came out at 75%, with chance at 64%. the hint got a little weaker, but it's still there.

what i really wanted to know was whether this direction just says "the question is hard". the model already gets stuck more on hard questions. the correlation between the two is 0.54, so they're related but not the same thing. on the same 200 questions there are 44 where the direction is right and difficulty is wrong, and 21 the other way around.3 looking at questions of the same difficulty level one level at a time, the direction stays above chance too. at the hardest level chance is 58% and the direction predicts 84%. at level 4 it doesn't help at all, and i still don't know why.

i sorted the 200 answers by their score on this direction and split them into five groups of 40. in the group with the lowest score, 1 answer out of 40 gets stuck. in the highest, 36.

groupstuck answers
group 11 / 40
group 24 / 40
group 39 / 40
group 422 / 40
group 536 / 40
figure 1. groups by the score in the first 512 tokens of the answer, and how many answers got stuck in each

turning the knob #

so far all i have is a prediction. a fever tells you you're sick, but bringing the fever down doesn't cure you. the way to find out whether this direction really causes the model to get stuck is to change it inside the model and see what happens.

i had found the direction on questions 0-199. i ran the experiments on questions 200-299, which the model had never seen, and tried four things:

  • removing: i took that share out of the weights that write to this direction. so the model can no longer say anything along it
  • reversing: the same operation with a factor of 1.5, the factor mit used too
  • a light push: without touching the weights, i shifted the output of the 15th floor a little toward the "finished" side at every token
  • a strong push: the same thing at twice the strength
runstuckcorrectavg. tokens
unedited34412013
remove72283211
reverse93253844
light push25391686
strong push21301577

with the direction removed, stuck answers go from 34 to 72, and with it reversed 93 of the 100 answers never finish. pushing the other way brings it down to 21.

the first objection here is this. removing or pushing any direction this hard across 15 floors of the model could break it in general. maybe the model gets stuck more because i'm roughing it up, whichever direction i touch. to see this, i repeated the same two operations with two randomly picked directions.4

runstuckcorrect
unedited3341
random direction 1, reverse3236
random direction 2, reverse4035
random direction 1, strong push4137
random direction 2, strong push3834

random directions leave stuck answers between 32 and 41. the finish direction, with the same operations, takes it up to 93 or down to 21. the effect comes from the direction itself, and the model really uses this direction when it decides whether to finish.

random directions have a side effect too. correct answers drop by 4 to 7. poking around inside the model has a general cost, and part of the drop in correct answers we'll see below comes from that cost.

the answers of the reversed model are interesting. in 18 answers the model writes the right number but just can't finish. it's like proof of the "the model knows but can't decide" line from the first post.

correct answers didn't go up #

what i expected was that pushing would make stuck answers finish, and some of them would come out correct. the stuck answers really did finish. with the light push 16 answers got unstuck, and 8 of them finished correctly. at the same time 15 other correct answers turned wrong, and 13 wrong answers turned correct. in the end the total barely moved. with the strong push it was worse. 19 answers got unstuck, 5 finished correctly, and correct answers dropped from 41 to 30. as we saw above, 4 to 7 of that 11-question drop is the general cost of pushing any direction this hard.

since 100 questions is not a lot, i tried the light push on 100 more questions the model had never seen (300-399).

run (300-399)stuckcorrect
unedited2947
light push2742

here the light push barely changed how often the model got stuck. 12 answers got unstuck, but 10 finished answers got stuck this time. correct answers dropped again. counting both groups of 100 together, the light push unsticks 28 answers and pushes 17 into getting stuck, and that can't be told apart from chance (p ≈ 0.14). the light push is weaker than it looked on the first 100 questions. the strong push and reversing are clearly effective. correct answers went up in none of the runs.

when you think about it, it makes sense. when you force the model to finish, it also writes down the answer it was unsure about and moves on. sometimes it's right to be unsure, and the answer really is wrong. the button tells the model "finish", but it doesn't tell it what the right answer is.

this result also corrects the title of the first post a little. i had said "the model knows but can't decide". on 200 questions that turned out to be only partly true. in some answers the model really knows and can't finish, like the hexagon question. in most of them the indecision is a signal. the model keeps circling because it's not sure, and most of the time it's right not to be sure.

barış bayburtlu reached a similar place with kumru. astra removed kumru's loops, but its turkish math score didn't move. he used a different model and a different method, and i pushed a single direction by hand. we both ended up in the same place. breaking the loop doesn't bring correct answers on its own.

so how did mit get to 48% #

honestly, i don't know yet. i have two suspicions.

first, the direction i found might not be the same as mit's. i found a direction that looks at "will it get stuck", while mit may have looked at the moments when the model repeats itself. i pulled out a separate direction for that and tried it too. i'll cover the result in the next post.

second, thinking mode. mit ran the model with thinking mode on, and 93% of the answers hit the limit. in my setup that share is 34%. breaking the loop in a model that gets stuck that often can bring a big gain. in my case i'm only pushing a model that can already finish to finish sooner.

the code and raw answers are on github.

Footnotes

  1. this time the first 50 questions came out with 18 stuck and 23 correct. in the first post it was 19 and 20. the transformers version on colab had changed in between. even with greedy decoding, a library version can make this much of a difference. ↩

  2. mit's two edits are described in their experiment notes. the 10-pass one removes a loop direction from the attention and mlp outputs on floors 8-22 with a factor of 1.5. the 50-pass one removes the same direction only from the mlps of floors 15 and 19, from the 64 columns that write it most. the 93% of thinking-mode answers that hit the limit is in the same notes. ↩

  3. two-sided binomial test, p ≈ 0.006. for the push runs i applied the same test to the "stuck→finished" and "finished→stuck" counts. light push 16 to 7 (p ≈ 0.09), strong push 19 to 6 (p ≈ 0.015). on questions 300-399 the light push was 12 to 10 (p ≈ 0.83). the random directions ranged from 10 to 9 up to 11 to 18, none of them significant. ↩

  4. the random directions were drawn from a normal distribution and scaled to unit length (seeds 1 and 2), and their similarity to the finish direction is close to zero. "reverse" is W − 1.5u(uᵀW) on floors 8-22, "strong push" is −0.6u added to the output of the 15th floor, both the same settings as for the finish direction. these controls ran later, in a session where the library version had changed. so i compare them to the unedited baseline i reran in the same session (33 stuck instead of 34, still 41 correct). ↩

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?