Team lead: iam-saju (solo). Built for the White Circle Halo Competition, track ft-inkling.
White Circle Halo Competition, track ft-inkling. Team lead: @iam-saju.
Past the pass count it was trained at, giving Thinking Machines' looped model more passes does nothing, until you supervise each pass. Then loop passes become sequential computation steps: a program that needs d steps is answered once the model gets d passes (depth 3: 3% at 2 passes, 33% at 3), and the model's silent answer after each pass is the program's intermediate value at that step, readable with no text generated. Plain post-training gives silent answers on real code too: CRUXEval exact match with no chain of thought rose from 13.5% to 36.9% (63-66% on integer outputs).
Every number here comes from deterministic scoring on 1,200 fresh programs and the 800 CRUXEval functions, repeated three times with identical results; one command reproduces the headline, and every log is in the repo. Nine controlled experiments then map where it stops: each pass gets its step right only part of the time, so errors compound with depth.
Pass supervision trained the readout after pass k to give the value after step k. On the 1,200 test programs, never seen in training, that holds: the model's answer after k passes is the program's step-k value far more often than chance. The frontier model, trained on the final answer only, shows no trace.
| Pass k (before the last step) | Pass supervision: answer = step-k value | Frontier model |
|---|---|---|
| 1 | 89.4% | 3.5% |
| 2 | 65.4% | 3.2% |
| 3 | 18.3% | 1.8% |
| 4 | 8.3% | 2.1% |
The fall from pass 2 to pass 3 is the per-step limit made visible. Below are five test programs, picked by hand: four where the trace is right at every pass, one where it slips a pass late. Of 97 short test programs at depths 2-4 with distinct step values, the trace is right at every pass in 48. Drag the slider to run more passes.
e = 17 u = 16 c = 1 u = (u + c) % 100 e = (c + e + 7) % 100 u = (e * 3) % 100 c = (c * 2) % 100 u = (c - u) % 100 c = (e * 3) % 100
Asked: the final value of c (depth 2). Correct answer: 75.
c = 11 r = 0 s = 16 s = (s + r) % 100 s = (s + 9) % 100 r = (r + s + 2) % 100 c = (c - s) % 100 c = (s + c + 2) % 100 s = (r + c + 5) % 100
Asked: the final value of r (depth 3). Correct answer: 27.
p = 16
w = 19
q = 20
e = 1
n = 7
for _ in range(3):
e = (w + n + 5) % 100
for _ in range(3):
q = (q + w) % 100
Asked: the final value of q (depth 3). Correct answer: 77.
u = 14
q = 2
u = (q - u) % 100
u = (q + u) % 100
for _ in range(2):
q = (q + u + 8) % 100
for _ in range(2):
q = (u + 4) % 100
q = (q + 6) % 100
Asked: the final value of q (depth 4). Correct answer: 0.
b = 19 r = 0 b = (b + r) % 100 r = (r - b) % 100 b = (r - b) % 100 r = (r + b) % 100
Asked: the final value of r (depth 4). Correct answer: 43.
Each wrong answer after pass k falls into one of five kinds. At the break point (pass 3) the commonest is a stall: the pass runs but the answer stays at step 2's value. After it, the model mostly returns another value the program computes, a real value from the wrong variable or iteration, about five times as often as chance. Near misses sit at chance level. So the limit is advancing and keeping track of state from pass to pass, not the precision of each sum: which fits the dense expert graft not helping.
| Pass | correct | stalled | jumped ahead | another program value | near miss | unrelated |
|---|---|---|---|---|---|---|
| 1 | 90.3 | 0.0 | 1.0 | 8.2 | 0.2 | 0.2 |
| 2 | 67.0 | 10.1 | 3.6 | 7.3 | 5.0 | 7.0 |
| 3 | 19.9 | 29.8 | 7.7 | 10.7 | 9.6 | 22.3 |
| 4 | 9.8 | 11.2 | 8.1 | 30.2 | 10.4 | 30.2 |
| 5 | 5.6 | 5.9 | 7.9 | 35.5 | 6.0 | 39.1 |
Loops break it first. Split by program structure, programs with a for loop stall a pass earlier: after
pass 2, 13.1% of loop programs stall against 2.8% of straight-line ones, and after passes 4-5 loop programs return another
variable's value 34-38% of the time against 19-26%. Repeating the same source line seems to be where the model loses its place. Programs with more
variables trade stalls for wrong-variable answers, but they also have more values to hit by chance, so we read that as suggestive only.
| After pass | correct, loop / straight | stalled, loop / straight | another program value, loop / straight |
|---|---|---|---|
| 2 | 61.9 / 79.3 | 13.1 / 2.8 | 7.9 / 5.9 |
| 3 | 17.1 / 27.5 | 31.9 / 24.2 | 11.6 / 8.2 |
| 4 | 8.1 / 15.0 | 9.3 / 17.3 | 33.8 / 19.1 |
| 5 | 4.8 / 8.3 | 4.8 / 9.4 | 38.2 / 26.1 |
A looped model can run its layer stack several times on the same tokens. Each extra pass is compute without extra tokens, a candidate for hidden reasoning. If passes work like thinking, a model should answer harder problems silently when given more passes. We tested that on code tracing, where difficulty is easy to dial.
We generate short Python programs (2-5 variables, up to 12 statements, some for loops, arithmetic mod 100) and ask
for one variable's final value. Labels come from running the code. Depth, the longest chain of updates behind the asked
variable, is the difficulty dial. Every answer 0-99 is a single token, so one forward pass scores a 100-way choice (chance 1%).
| Set | Programs | Depths |
|---|---|---|
| Training | 35,000 | 1-12 |
| Test (fresh programs) | 1,200 | 1-12, 100 per depth |
| Held-out depths | 160 | 13-20 |
| CRUXEval output prediction | 800 | real functions |
No program text appears in two sets.
LoRA SFT with Halo (rank 16 on the text tower's attention, experts frozen) on replies that hold only the number. Final model: 4 epochs on 9,996 programs at depths 1-12, then 2 epochs on those plus 25,004 programs at depths 2-8, all at 3 loop passes. Each run used one RTX 6000 PRO on Hugging Face Jobs, running Halo's SFT script inside the Halo image.
Readable passes cost a few points on real code. The pass-supervised model, whose passes read as steps, also transfers: on the same 800 items it scores 30.8% at 3 passes against the base model's 13.5%, about 6 points below the headline model.
| CRUXEval exact match (%) | 1 pass | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| base model | 13.1 | 14.5 | 13.5 | 17.6 | 19.8 |
| headline adapter (frontier) | 24.9 | 32.4 | 36.9 | 38.0 | 38.2 |
| pass-supervised adapter | 19.0 | 24.1 | 30.8 | 32.8 | 31.5 |
b = a) the model follows chains 12 steps deep at
about 97%. On arithmetic it falls below 16% by depth 5. For the final-answer model, wrong answers are mostly garbled values, not values from a chain cut short; the failure x-ray above shows where the pass-supervised model's come from.| Idea | Result |
|---|---|
| Stepwise internalisation curriculum (write the steps, then remove them; Deng et al. 2024) | No gain over plain training with the same compute; 4 and 8 stages |
| Random loop pass count (1-5) per training step | Same as fixed 3 passes |
| Fully training the inter-pass message gates (36.1M parameters) | Within 4 points of the run without |
| Offline GRPO on the model's own sampled answers (Halo) | Depth 2 up (81% to 89%), depths 3-5 down |
| Training at 5 passes instead of 3 | Peak moves to 5+ passes, no extra depth |
| Passes matched to program depth (depth + 1, up to 8) in training | Peak at 4-5 passes, same as the frontier model or slightly below; no gain at depth 9+ |
Step loss plus training the inter-pass channel (message gates and message_input, 28.4M parameters at a lower learning rate), extra passes with a hold loss, message noise | Step accuracy stayed at the step-loss-only level (about 40%), then slipped; stopped after 480 programs |
| Step loss plus training the MoE routers (all 24 layers, 7.1M parameters), channel frozen | Step accuracy 43.3% then 40.8% over 480 programs, against 42.4% then 38.4% for an unchanged control on the same programs |
| Step loss plus a dense SwiGLU expert (width 512) grafted beside the MoE in each of the 12 loop layers, output projection starting at zero (42.5M parameters), channel and routers frozen | At 1x the LoRA learning rate, step accuracy 44.4% then 39.2% over 480 programs, against 42.4% then 38.4% for an unchanged control on the same programs; at 10x it fell to 31-32% |
| Self-halting at test time: stop at the first pass whose answer repeats the previous pass's | Mean accuracy over depths 1-12: 21.9%, against 24.7% at depth + 1 passes; it stops at 4-5 passes on deep programs, since wrong values repeat too |
The last four checks each continue the step-loss model for 60 optimizer steps on the same 480 programs in the same order, beside a control that changes nothing. Step accuracy, % of per-pass readouts correct:
| Continued with | Programs 1-200 | Programs 201-400 |
|---|---|---|
| No change (control) | 42.4 | 38.4 |
| Inter-pass channel trained | 43.2 | 38.9 |
| MoE routers trained | 43.3 | 40.8 |
| Dense expert graft, 1x learning rate | 44.4 | 39.2 |
| Dense expert graft, 10x learning rate | 30.7 | 32.4 |
Each window holds about 850 readouts, so differences of two or three points are within noise: nothing beats the control.
After loop pass k, the post-loop layers and LM head read the answer position, and a cross-entropy term asks for the value after step k of the queried variable's dependency chain. Trained on depths 1-8 (6,664 programs) at depth + 1 passes, warm-started from the frontier adapter. In training, the per-pass value was right 42% of the time by the end (13% at the start).
The figure at the top shows the result by depth and pass count.
A depth-d program now stays near 0% until it gets d passes, then jumps: each pass carries one step. Neither the frontier model (depth 2 at 1 pass: 18%) nor a control trained at the same depth + 1 pass counts without the step loss shows this. It does not raise accuracy: each step is unreliable, so accuracy falls with depth and stays below the frontier model. Depths 9-12 stay at 0-5%, and held-out depths 13-20 at chance even with 21 passes.
Depths 7 and up stay near chance; depths 13-20 at chance. Training programs are synthetic. Exact match on CRUXEval also requires stopping right after the value. Scoring is a deterministic teacher-forced forward pass, one run per model.
Our offline GRPO run helped only where the model was already often right: at depths 5-6 it sampled the correct answer 6-8% of the time, so most groups held no success to reinforce. This is the "shots on goal" problem that SemiAnalysis describes for hard RL tasks, along with its usual fix, splitting a task into individually graded subtasks (RL Environments and RL for Science). Our programs make that cheap: every intermediate variable value is known from execution, so each step can be rewarded, not only the final answer. We tested the supervised-learning version of this (per-pass step supervision, above): it makes each pass carry one step but does not make steps reliable. Training the inter-pass channel with the step loss did not raise the per-step ceiling either. Next would be:
for loop takes several values.LOTUS (Fan et al. 2026, arXiv:2606.31779) trains a looped, padded transformer with a cross-entropy loss on each latent position's gold chain-of-thought step, closes the gap to explicit chain of thought at 3B, and recovers the gold steps by projecting its latents through the LM head. Our step loss is the same kind of supervision, and our silent trace the same kind of readout. What we add: the supervision is placed on successive loop passes of an existing looped MoE release (Thinking Machines' research model) in post-training with LoRA, so pass k must hold step k; we measure where that stops (about 40% per step) and test nine ways to lift it. LoopMoE (Chen et al. 2026, arXiv:2606.04438) builds looped mixture-of-experts models from scratch and compares them with matched plain MoE models; it bears on our finding that the frozen experts are the likely limit. We found both papers after our experiments; neither was used to build this work.
python looptrace/score_trace.py --adapter sajuofficial/looptrace-sft-frontier:checkpoint-1562 \
--sets big --variants natural --passes 3
python looptrace/score_trace.py --adapter sajuofficial/looptrace-sft-frontier:checkpoint-1562 \
--sets cruxeval --variants natural,empty_think --passes 3,5
Drop --adapter to score the base model. One GPU. Code: looptrace/ in the submission's Halo fork; training
configs in looptrace/configs/; data generator looptrace/gen_programs.py.
thinkingmachines/TML-d24-varloop-research.