Attention Projections, Not Loop Controllers, Fix a Looped Transformer at Extra Depth
· code
I tested Ex0bit/Inkblot-2-mini, a recent reinforcement-learning edit of Thinking Machines Lab’s looped MoE model Inkling-2-Mini, to see how much of its 4-pass stability comes from editing the model’s loop-control weights (the model card describes an intermediate closed-form FP-Solve step on loop-control weights reaching 27/64 before full RL, from which we inferred our 193-tensor ctrl-only split). The 4-pass recovery holds up on MATH-500 Level-5, and so does a smaller 3-pass gain, but the loop-controller weights only carry part of it: bridged through a 144-tensor attention+router+convolution split that matched full Inkblot, splicing only the 90 edited attention projection tensors onto the base GGUF reproduces essentially the full 4-pass accuracy and stability recovery, whereas the loop controllers alone leave ~60% of runs hitting the cap (10/32 solved) and the router and short-convolution edits alone collapse (0/32 solved). Splitting those 90 attention projections one step further shows the recovery comes from the 60 projections inside the 12 recurrent blocks (blk.6..17, 21/32 and 20/32 solved on a fourth Level-5 slice, retaining 80.8% of same-slice 90-tensor attn4-s1’s 26/32) rather than the 30 projections in the 6 unlooped coda blocks (blk.18..23, 0/32 solved in both seeds).
Short version: Inkling-2-Mini runs its middle 12 blocks (blk.6..17) three times per token by default and collapses (0/32 solved under both greedy and sampled decoding) when forced to 4 passes. Inkblot-2-mini patches 337 non-expert tensors (247 F32 and 90 Q8_0 in our GGUF build across blk.6..23 plus the top-level output_res_query tensor, with bit-identical IQ3_XXS routed experts) and restores 4-pass accuracy. On our second fresh 32-problem MATH-500 Level-5 slice, patching only the 193 F32 loop-controller and residual-query tensors (ctrl4) avoided most word-salad collapse (3/32 and 1/32 frozen COLLAPSE) but stalled in long math and reached only 10/32 in both seeds against full Inkblot’s 25/32 and 27/32, while the 144-tensor attention+router+conv bundle (attnr4) matched full Inkblot (25/32 and 26/32). On a third fresh 32-problem slice, splitting attnr4 showed that the 54 F32 router and post-convolution tensors (rconv4) solved 0/32 in both seeds (30/32 and 22/32 COLLAPSE), whereas the 90 Q8_0 attention projections alone (attn4) solved 29/32 and 30/32 with 0/32 collapses in both seeds, matching attnr4 (29/32 and 31/32). On a fourth fresh 32-problem slice (cap = 4,096, two seeds), splitting those 90 attention projections between the 12 looped blocks (blk.6..17, 60 tensors, looped4) and the 6 unlooped coda blocks (blk.18..23, 30 tensors, coda4) gave 21/32 and 20/32 solved (0/32 and 1/32 COLLAPSE) on looped4 vs 0/32 and 0/32 solved (14/32 and 16/32 COLLAPSE) on coda4 (p = 9.54e-7 and 1.91e-6; same-slice 90-tensor attn4-s1 solved 26/32 before the 2.4500 GPU-h Priority-2 budget cap skipped attn4-s2, and the 60 vs 30 split reflects the model’s 12 recurrent vs 6 coda block counts rather than an equal-tensor random subset). At the default 3 passes and a 4,096-token cap, Inkblot beat base by +8 and +7 problems (30/32 and 29/32 vs 22/32) through fewer cap truncations, with no accuracy edge on the problems both models finished (base3 solved 22/22 of the runs it finished on both seeds, without ruling out an uncapped difference on the 10 harder capped problems).
Setup and surgical GGUFs
Inkling-2-Mini is a 24-layer Mixture-of-Experts model split into three sections: 6 unlooped stem blocks (blk.0..5), 12 recurrent middle blocks (blk.6..17) applied loop.count = 3 times per token by default, and 6 unlooped coda blocks (blk.18..23).
Ex0bit/Inkblot-2-mini (revision fb0b924f46, from eelbaz/Recursive-Self-Improving-Loopers, released November 26, 2026) edits non-expert weights while leaving all routed expert tensors untouched. Between our base Inkling-2-Mini file and patched Inkblot-2-mini, 337 non-expert tensors differ (0 expert diffs verified by inkblot_pair_check.py): 193 F32 loop-controller and residual-query tensors, 90 Q8_0 attention projections (attn_q, attn_k, attn_v, attn_output, attn_gate across blk.6..23), and 54 F32 short-convolution (attn_post_conv, ffn_post_conv) and MoE router (ffn_gate_inp) tensors across blk.6..23.
Because none of the routed experts changed, I patched the edited tensors onto the same Q8_0 base conversion and quantized every variant with the same importance matrix to an IQ3_XXS-attnQ8 recipe that fits all-GPU in 16 GB VRAM. Every ablation file shares byte-for-byte identical IQ3_XXS expert weights, keeps all 247 F32 controller, router, and short-convolution tensors in exact F32, and stores the 90 attention projections in Q8_0 rather than stock IQ3_XXS’s IQ2_S/IQ3_XXS/IQ3_S attention types.
Caveats on Q8_0 attenuation, harness match, and scope:
Q8_0attenuates the 90 attention weight edits (cosine similarity 0.80–0.88, with0.42–0.75xorthogonal rounding noise), while allF32edits (ctrl,rconv) are exact. That biases the surgical ablations pittingQ8_0attention edits (attn4,attnr4) against exact-F32edits (ctrl4,rconv4) against the attention-edited files (for the descriptivevar4baseline in Stage 3, the quantization asymmetry runs the opposite way becausevar4uses plainIQ3_XXSwithIQ2_S/IQ3attention).- Patching Inkblot’s non-expert edits onto our base GGUF isolates those edits on base
Inkling-2-MiniIQ3_XXSexperts rather than testing the authors’NVFP4/bf16checkpoint or unpublished 64-problem greedy DeepScaleR-Test slice directly. - All runs used stock
llama.cppbuildb12600(29b52d398) on one RTX 5060 Ti 16 GB (-ngl 99 -fa off --load-mode none --jinja -np 1 --no-cache-prompt --cache-ram 0,cache_n == 0asserted per request; Stage 4 additionally wrappedllama-serverin abwrapsandbox with$HOMEmasked afterverify-model.pychecks), setting pass depth via--override-kv inkling2_loop.loop.count=int:N(matched to the authors’ loop wrapper by readinginkling2-loop.cpp, not verified numerically) and template-defaultreasoning_effort(0.9, assumed to match their evaluation). - Everything here is one model family (
Inkling-2-Mini), graded with our frozenmath_grade_v2LaTeX string-normalization and numeric equivalence grader, and run-to-run GPU determinism was not re-checked inside these jobs.
To avoid reusing test problems across stages, I shuffled the 134 MATH-500 Level-5 indices once (Random(20261130)) into four pairwise-disjoint 32-problem sets: positions 0–31 for Stage 1, 32–63 for Stage 2, 64–95 for Stage 3, and 96–127 for Stage 4 (leaving positions 128–133 untouched). Exploratory splits before Stages 3 and 4 ran on a separate quarantined 24-problem grpo_pool/dev24 development set verified to have zero normalized problem-text overlap with all 500 MATH-500 problems.
Stage 1 kill-gate check: greedy vs sampled 4-pass collapse (MATH-500 Level-5 slice 1, n = 32, cap 2,048)
Before ablating tensor groups, an initial Stage 1 kill-gate run (red-team checked; single sampled seed) tested the basic 4-pass claim at the model card’s 2,048-token cap under both greedy decoding and Inkling’s default sampling (temperature = 1.0, top_p = 1.0, top_k = 0, min_p = 0.0, Seed 1; 6 of 8 arms ran in 1.81 GPU-h before the 2.0 GPU-h budget rule skipped sampled 3-pass):
Arm (stage1-subset, n = 32, cap 2,048) | Decode | Solved (v2) | Capped | D1 verbatim loop | D2 end 8-gram | Mean tokens |
|---|---|---|---|---|---|---|
base4-g (base Inkling-2-Mini, 4 passes) | greedy | 0/32 | 32 | 31 | 17 | 2,048 |
base4-s (base Inkling-2-Mini, 4 passes) | T = 1.0, s1 | 0/32 | 28 | 0 | 1 | 1,972 |
ink4-g (Inkblot-2-mini 337-tensor patch, 4 passes) | greedy | 23/32 | 7 | 0 | 0 | 1,128 |
ink4-s (Inkblot-2-mini 337-tensor patch, 4 passes) | T = 1.0, s1 | 23/32 | 9 | 0 | 0 | 1,120 |
base3-g (base, default 3 passes) | greedy | 18/32 | 14 | 0 | 0 | 1,384 |
ink3-g (Inkblot, default 3 passes) | greedy | 22/32 | 8 | 0 | 0 | 1,079 |
Base Inkling-2-Mini at 4 passes solved 0/32 under greedy decoding and 0/32 under T = 1.0 sampling. The surface failure mode depends on the sampler: greedy decoding fell into strict verbatim repetition (31/32 D1 loops; note our D1 periodic-tail detector is narrower than the model card’s "repeat loops" metric), while T = 1.0 sampling produced 0/32 verbatim D1 loops and instead dissolved into non-verbatim word salad (…SteveStevie SteveSteveStevenSteve… on problem 11, plac places placing placed… on problem 24). Full Inkblot fixed both (23/32 in each decode, 23/0 discordant pairs, exact two-sided McNemar p = 2.4e-7 per decode). At 3 passes greedy, ink3-g beat base3-g 22/32 to 18/32, which was not statistically significant (5/1 discordant, exact McNemar p = 0.22) and came entirely from cap differences (8 vs 14 caps, labeled conciseness at 2,048). A disclosed post-hoc read found one v2 false negative on problem 96 (1-\sqrt{19},\,1+\sqrt{19} vs 1 \pm \sqrt{19}), which raises ink4-g to 24/32 (p ≈ 1.2e-7) and ink3-g to 23/32 (6/1, p = 0.125) without changing any verdict.
Because a verbatim loop detector misses sampled word salad completely, I froze a composite COLLAPSE = D1 LOOP or DEGEN metric before Stage 2 (DEGEN flags capped non-D1 runs whose 600-char tail has >= 15 LaTeX-stripped alphabetic words of length >= 3 with >= 20% outside /usr/share/dict/american-english plus math/Greek vocabulary). Caveat: COLLAPSE is a lower bound; it misses dictionary-word loops and non-Latin or short-token salad.
Stage 2: loop controllers vs attention+router, and 3-pass conciseness (MATH-500 Level-5 slice 2, n = 32, cap 4,096)
For Stage 2, I split the 337 differing tensors into two disjoint GGUFs on CPU and raised the completion cap to 4,096 tokens (-c 6144) across two sampled seeds (T = 1.0, Seeds 1 and 2, never pooled):
ctrl(193F32tensors): all loop-controller and residual-query edits, stored in exactF32.attnr(144tensors): the90Q8_0attention projections plus the54F32short-convolution (attn_post_conv,ffn_post_conv) and MoE router (ffn_gate_inp) tensors.
Stage 2 also ran base3 vs ink3 at 3 passes (cap = 4,096) across both seeds (10 of 13 queued arms completed in 3.96 GPU-h before the 4.0 GPU-h stop rule skipped the 3 remaining arms var4-s1, var4-s2, and base4-s1; consequently Stage 2 compares ctrl4 and attnr4 directly against ink4 rather than a same-slice base4 arm):
Arm (stage2-subset, n = 32, cap 4,096) | Seed 1 solved [Wilson 95%] | Seed 2 solved [Wilson 95%] | Capped (s1 / s2) | Frozen COLLAPSE (s1 / s2) | Mean tokens (s1 / s2) |
|---|---|---|---|---|---|
ink4 (all 337 tensors, 4 passes) | 25/32 [61.2, 89.0]% | 27/32 [68.2, 93.1]% | 5 / 3 | 0 / 0 | 1,493 / 1,405 |
attnr4 (144 attn+conv+router, 4 passes) | 25/32 [61.2, 89.0]% | 26/32 [64.7, 91.1]% | 5 / 3 | 0 / 0 | 1,582 / 1,342 |
ctrl4 (193 F32 loop controllers, 4 passes) | 10/32 [18.0, 48.6]% | 10/32 [18.0, 48.6]% | 21 / 19 | 3 / 1 (hand-read 4 / 0) | 3,084 / 3,036 |
base3 (base, 3 passes) | 22/32 [51.4, 82.0]% | 22/32 [51.4, 82.0]% | 10 / 10 | 0 / 0 | 2,118 / 2,235 |
ink3 (Inkblot, 3 passes) | 30/32 [79.9, 98.3]% | 29/32 [75.8, 96.8]% | 1 / 1 | 0 / 0 | 1,486 / 1,264 |
Two results came out cleanly:
attnr4carried the 4-pass restoration (r_attnr = 1.000and0.963, discordant3/3and2/3, exact McNemarp = 1.0vsink4in both seeds), whilectrl4lagged (10/32in both seeds,r_ctrl = 0.400and0.370;0/15p = 6.1e-5and0/17p = 1.53e-5vsink4). Hand-reading all 40 cappedctrl4tails showed thatctrl4prevented most Stage-1-style word salad (4/32true degeneration/loops on Seed 1,0/32on Seed 2; 2 of the 4 frozenDEGENflags were false positives on Asymptote/math text and 2 dictionary-word loops were missed), but without the attention/router edits the model stalled in disorganized math until hitting4,096tokens on21/32and19/32runs.- At 3 passes and
4,096tokens, Inkblot beat base by+8(8/0,p = 0.00781) and+7(8/1,p = 0.0391), and the pre-registered label is conciseness (a cap effect) rather than an accuracy gain at4,096.base3capped on10/32problems in each seed and solved22/22of the problems it finished in both seeds (finished-bothaccuracy:22 vs 22on Seed 1,21 vs 22on Seed 2;8/8and8/9discordant pairs were cap differences). Caveat:finished-bothconditions on post-treatment completion (base3finishing within4,096), which selects easier problems wherebase3is already at ceiling (22/22), so it does not rule out a small uncapped accuracy difference on harder problems. A full read of all 13 hedge-flagged solved finals, all non-exactv2accepts, and all 16 uncappedv2failures across Stage 2’s 320 rows found0false positives, 4 strictv2false negatives on problemi = 166(\frac{270}{7}^\circvs\frac{270}7\text{ degrees}), and 1 lenient-only form-violating miss (38\frac{4}{7}^\circwhere the prompt asked for a common fraction); none changes a verdict.
Stage 3: 90 Q8_0 attention projections vs 54 F32 router+postconv tensors (MATH-500 Level-5 slice 3, n = 32, cap 4,096)
Stage 2 left 144 tensors bundled together in attnr4. Before spending holdout budget, I ran a 3-way exploratory split on the quarantined 24-problem grpo_pool/dev24 set (0 MATH-500 IDs, cap = 1,024, Seed 1): attn-only (90 Q8_0 projections) had 0/24 COLLAPSE (6/24 solved), while router-only (18 F32 ffn_gate_inp) had 9/24 COLLAPSE (0/24 solved) and postconv-only (36 F32 attn_post_conv + ffn_post_conv) had 15/24 COLLAPSE (0/24 solved).
Stage 3 (mtclinton/paperloop#2) tested that orthogonal partition on the third fresh 32-problem MATH-500 Level-5 slice (docs/inkblot/stage3-subset.json, cap = 4,096, Seeds 1 and 2), pitting attn4 (90 Q8_0 attention projections across blk.6..23) directly against its exact 54-tensor rconv4 (F32 ffn_gate_inp + attn_post_conv + ffn_post_conv) complement, anchored against attnr4 (144 tensors; no same-slice base4 or ink4 arm was re-run on Slice 3) plus Thinking Machines’ native variable-loop checkpoint var4 (TML-d24-varloop-research-IQ3_XXS-from-Q8_0.gguf):
Arm (stage3-subset, n = 32, cap 4,096) | Solved [Wilson 95%] | Capped | D1 / D2 | DEGEN | COLLAPSE | Mean tokens | Eval GPU-h |
|---|---|---|---|---|---|---|---|
attnr4-s1 (144 tensors, Seed 1) | 29/32 [75.8, 96.8]% | 2 | 0 / 0 | 1 | 1 | 1,016.8 | 0.226 |
attnr4-s2 (144 tensors, Seed 2) | 31/32 [84.3, 99.4]% | 0 | 0 / 0 | 0 | 0 | 849.3 | 0.189 |
attn4-s1 (90 Q8_0 attn only, Seed 1) | 29/32 [75.8, 96.8]% | 2 | 0 / 0 | 0 | 0 | 986.2 | 0.220 |
attn4-s2 (90 Q8_0 attn only, Seed 2) | 30/32 [79.9, 98.3]% | 1 | 0 / 0 | 0 | 0 | 979.9 | 0.218 |
rconv4-s1 (54 F32 router+conv, Seed 1) | 0/32 [0.0, 10.7]% | 32 | 0 / 0 | 30 | 30 | 4,096.0 | 0.910 |
rconv4-s2 (54 F32 router+conv, Seed 2) | 0/32 [0.0, 10.7]% | 27 | 0 / 0 | 22 | 22 | 3,711.1 | 0.824 |
var4-s1 (native varloop plain IQ3_XXS, Seed 1) | 26/32 [64.7, 91.1]% | 6 | 0 / 0 | 0 | 0 | 1,744.6 | 0.352 |
(Note: Seed 1 and Seed 2 evaluate the same n = 32 problems as paired stochastic replicates, not n = 64 independent problems. var4-s2 was skipped by the pre-registered 3.200 GPU-h budget stop rule at 2.9386h + 0.3520h = 3.2906h; total wall time including server loads and smoke tests was 3.077h.)
The separation inside attnr4 is clean:
- 90
Q8_0attention projections carry 100% and 96.8% ofattnr4(29/32vs29/32on Seed 1, discordant2/2,p = 1.0;30/32vs31/32on Seed 2, discordant1/2,p = 1.0), with0/32collapses in both seeds. - 54 exact-
F32router and short-convolution edits solve0/32in both seeds and collapse on30/32and22/32runs. Paired againstrconv4,attn4won29/0(p = 3.73e-9) on Seed 1 and30/0(p = 1.86e-9) on Seed 2, passing the pre-registeredm = 2Holm-Bonferroni family (p_(1) <= 0.025, p_(2) <= 0.050, category"attn-only carries"). All 11 hedge-flagged solved finals across the 224 rows (i in [44, 189, 220, 301], hand-audited after initial automated scoring) were benign unit suffixes (\text{ miles},\text{ m},\text{ gallons},\text{ cents}); even reversing all 11 would leaveattn4vsrconv4at27/0(p = 1.49e-8) and26/0(p = 2.98e-8). Five of 14 pre-data 80% interval predictions missed (attnr429, 31vs[18, 28];attn429, 30vs[15, 27];rconv4-s1COLLAPSE30vs[10, 28]). - Descriptive
varloopcheck:var4-s1solved26/32with0collapses and1,744.6mean tokens (1/4discordant vsattn4-s1,p = 0.375). Caveat:var4is a plain-IQ3_XXScheckpoint (attention quantized atIQ2_S/IQ3), not a precision-matchedattnQ8ablation.
Stage 4: 60 looped (blk.6..17) vs 30 coda (blk.18..23) attention projections (MATH-500 Level-5 slice 4, n = 32, cap 4,096)
Those 90 edited attention tensors span two structurally different parts of Inkling-2-Mini: 60 projections (12 blocks × 5 projections attn_{q,k,v,output,gate}) inside the recurrent block blk.6..17 that executes four times per token (48 block applications per token), and 30 projections (6 blocks × 5 projections) inside the unlooped coda blk.18..23 that reads the final loop output once (6 block applications per token).
Before touching the fourth MATH-500 slice, I split Inkblot-2-mini-attn-only-IQ3_XXS-attnQ8.gguf on CPU into two orthogonal GGUFs (60 looped vs 30 coda Q8_0 tensors, 0 expert diffs across all 6 pairwise GGUF checks) and ran a quick single-seed check (T = 1.0, Seed 1, cap = 1,024) on the quarantined 24-problem grpo_pool/dev24 split (19.27 eval GPU-minutes): looped4-s1 solved 5/24 [9.2, 40.5]% (20 capped, 922.7 mean tokens) with 0/24 COLLAPSE [0.0, 13.8]% (matching prior 90-tensor attn4-s1 at 6/24 [12.0, 44.9]% solved, 18 capped, 0/24 COLLAPSE, 908.5 mean tokens, p = 1.0), whereas coda4-s1 solved 0/24 [0.0, 13.8]% (23 capped, 1,018.5 mean tokens) with 9/24 COLLAPSE [21.2, 57.3]% (9 DEGEN; collapse discordant 0/9, exact McNemar p = 0.00391).
Stage 4 (mtclinton/paperloop#4) promoted that split to a pre-registered two-seed 4,096-token run on the fourth untouched 32-problem MATH-500 Level-5 slice (docs/inkblot/stage4-subset.json, positions 96–127), running all four looped4 and coda4 arms unconditionally (Priority 1) followed by 90-tensor attn4 (Priority 2) under a 2.4500 eval GPU-h pre-arm admission cap (2.4819 eval GPU-h / 8,934.94s total across 5 completed arms; post-smoke wall 9,011s = 2.5031h):
Arm (stage4-subset, n = 32, cap 4,096) | Solved [Wilson 95%] | Capped | D1 / D2 | DEGEN | COLLAPSE [Wilson 95%] | Mean tokens | Eval GPU-h |
|---|---|---|---|---|---|---|---|
looped4-s1 (60 Q8_0 looped blk.6..17, Seed 1) | 21/32 [48.3, 79.6]% | 8 | 0 / 0 | 0 | 0 [0.0, 10.7]% | 1,714.9 | 0.3824 |
coda4-s1 (30 Q8_0 coda blk.18..23, Seed 1) | 0/32 [0.0, 10.7]% | 19 | 0 / 1 | 14 | 14 [28.2, 60.7]% | 2,903.7 | 0.6468 |
looped4-s2 (60 Q8_0 looped blk.6..17, Seed 2) | 20/32 [45.3, 77.1]% | 7 | 0 / 0 | 1 | 1 [0.6, 15.7]% | 1,630.2 | 0.3636 |
coda4-s2 (30 Q8_0 coda blk.18..23, Seed 2) | 0/32 [0.0, 10.7]% | 22 | 1 / 1 | 15 | 16 [33.6, 66.4]% | 3,412.0 | 0.7577 |
attn4-s1 (all 90 Q8_0 attn blk.6..23, Seed 1) | 26/32 [64.7, 91.1]% | 4 | 0 / 0 | 0 | 0 [0.0, 10.7]% | 1,489.3 | 0.3314 |
(Note: Seed 1 and Seed 2 evaluate the same n = 32 problems as paired stochastic replicates, not n = 64 independent problems. attn4-s1 started at spent_P1 = 2.1505h <= 2.2300h (2.1505h + 0.2200h = 2.3705h <= 2.4500h), and attn4-s2 was skipped by the pre-registered Priority-2 rule at 2.4819h + 0.3314h = 2.8133h > 2.4500h.)
The two-seed holdout results confirm the recurrent-core split:
- The 60 looped-core attention projections (
blk.6..17) beat the 30 unlooped coda projections (blk.18..23)21/0(p = 9.54e-7) on Seed 1 and20/0(p = 1.91e-6) on Seed 2, clearing them = 2Holm-Bonferroni family (p_(1) <= 0.025, p_(2) <= 0.050). Patching only the coda projections solved0/32in both seeds and collapsed on14/32and16/32runs (1verbatimD1loop plus14and15DEGENword-salad runs; secondary pairedCOLLAPSEdiscordant0/14,p = 0.000122on Seed 1 and0/15,p = 6.10e-5on Seed 2). All 10 pre-data 80% interval predictions across the 5 completed arms landed inside their intervals (0/10outside). - Retention against 90-tensor
attn4and Stage 4 caveats: On Seed 1,looped4-s1retained21/26 = 80.8%ofattn4-s1’s solves (0/5discordant pairs, exact two-sided McNemarp = 0.0625,21 vs 22on the24problems both finished). Caveats: first, becauseattn4-s2was skipped under the2.4500hPriority-2 cap, Seed 2 uses the unanchored split union (20/20 = 1.000, pre-registered label"looped-attn dominates split"), which measures within-split dominance rather than anchored>= 80%retention againstattn4on Seed 2 (and while21 vs 26on Seed 1 isp = 0.0625, the0/5discordant split is consistent with the 30 coda projections contributing a modest secondary boost on top of the looped core). Second, the60vs30split reflectsInkling-2-Mini’s12recurrent vs6coda block architecture rather than an equal-tensor-count random subset ofblk.6..17. - Hedge and
v2grader checks: Two solved predictions matched the hedge regex (i = 321onlooped4-s1andlooped4-s2, both10 \text{ meters}for gold10), both benign unit suffixes (0genuine hedges; reversing both would nudger_looped_s1from21/26 = 0.808to20/26 = 0.769, shifting the categorical label to"partial / mixed"while leavinglooped4 > coda4Holm significance unchanged at20/0,p = 1.91e-6and19/0,p = 3.81e-6). A secondary pure-Python check formath_grade_v2formatting false negatives found6hits across the160rows (unordered root order-2,1vs1,-2oni = 25and\frac15/-\frac{18}{5}vs1/5/-18/5inside\begin{pmatrix}...\end{pmatrix}oni = 408acrosslooped4-s1,looped4-s2, andattn4-s1), which descriptively liftslooped4to23/32and22/32andattn4-s1to28/32(23/28 = 82.1%), leaving both the Q1 category and Holm result unchanged.
Weight-delta spectral anatomy: why coda solved 0/32 and why Q8_0 held up
Stage 4 leaves two weight-level questions open: did coda4 solve 0/32 simply because Inkblot-2-mini barely edited blk.18..23, and why did Q8_0 attention quantization preserve the 4-pass recovery despite 0.42–0.75x orthogonal rounding noise? Running exact float64 eigendecompositions (tools/inkblot_spectral_anatomy.py, post-hoc descriptive CPU audit across all 337 differing tensors in partial-base-f32.gguf vs partial-inkblot-f32.gguf and the 90 Q8_0 attention matrices) answers both:
| Projection × section | n | ||ΔW||_F / ||W||_F | σ_1(ΔW) / σ_1(W) | (σ_1(W_ink) - σ_1(W)) / σ_1(W) | cos(W, ΔW) | Stable rank (ΔW) | Top-1 / Top-16 energy | Q8_0 Frob SNR | Q8_0 Spec SNR | Q8_0 Top-1 / Top-8 overlap |
|---|---|---|---|---|---|---|---|---|---|---|
attn_output looped (blk.6..17) | 12 | 1.290% | 5.91% | -0.0023% | -0.0057 | 7.9 | 13.7% / 30.6% | 1.77 | 15.7 | 0.999 / 0.991 |
attn_output coda (blk.18..23) | 6 | 1.407% | 8.34% | -0.0146% | -0.0066 | 10.3 | 10.7% / 25.5% | 1.93 | 15.4 | 0.999 / 0.992 |
attn_gate looped (blk.6..17) | 12 | 1.080% | 1.31% | -0.0037% | -0.0055 | 12.9 | 8.1% / 20.5% | 1.52 | 11.0 | 0.998 / 0.983 |
attn_gate coda (blk.18..23) | 6 | 1.234% | 1.21% | -0.0112% | -0.0070 | 12.6 | 8.1% / 21.5% | 1.74 | 12.5 | 0.998 / 0.989 |
attn_q looped (blk.6..17) | 12 | 0.753% | 2.37% | +0.0095% | -0.0049 | 23.3 | 4.4% / 14.0% | 1.34 | 7.1 | 0.995 / 0.956 |
attn_v looped (blk.6..17) | 12 | 0.759% | 2.40% | -0.0039% | -0.0048 | 15.5 | 6.7% / 20.0% | 1.30 | 6.0 | 0.993 / 0.947 |
attn_k looped (blk.6..17) | 12 | 0.747% | 1.28% | +0.0052% | -0.0048 | 51.6 | 2.1% / 13.9% | 1.30 | 3.5 | 0.971 / 0.940 |
(Coda q / v / k means: relF = 0.932% / 0.912% / 0.924%, relS = 2.86% / 2.45% / 1.51%, stable_rank = 14.6 / 13.8 / 32.6, Q8_0 top-8 overlap 0.969 / 0.964 / 0.960. Non-attention F32 groups: router 18 tensors 1.362%, ctrl 193 tensors 0.836%, postconv 36 tensors 0.086%.)
coda4failed (0/32) despite larger weight updates thanlooped4: Relative edit magnitude increases with depth acrossblk.6..23, averaging1.081%Frobenius ([0.824%, 1.454%]) and3.27%spectral across the 30 coda projections (coda attn_outputmean8.34%, peaking at11.35%onblk.23.attn_output.weight) vs0.926%Frobenius ([0.687%, 1.503%]) and2.65%spectral across the 60 looped projections (looped attn_outputmean5.91%,7.55%and7.34%at exit blocksblk.16andblk.17).coda4did not fail for lack of weight movement; once the 4th recurrent pass diverges insideblk.6..17, post-loop coda edits cannot recover it.- Tangential low-stable-rank rotation rather than
Altum-style scalar gain scaling: UnlikeAltum’s radial1.1xoutput scaling or naive spectral damping, the 12 loopedattn_outputmatrices haveσ_1(ΔW) / σ_1(W_base) = 5.91%while leavingσ_1(W)and||W||_Falmost untouched (-0.0023%mean spectral-norm shift,+0.0009%Frobenius-norm shift, and radialcos(W_base, ΔW) = -0.0057or90.3°; across all 60 looped matrices,(σ_1(W_ink) - σ_1(W_base)) / σ_1(W_base)averages+0.0010%across[-0.0904%, +0.0902%],Δ||W||_F / ||W||_Faverages-0.0003%, andcos(W_base, ΔW)averages-0.0051or90.3°). All five projections are edited as BF16-rounded full-matrix updates (s_64 / s_65in[1.0001, 1.0125], not a rank-cutoff LoRA) with a sharp low-stable-rank outlier spike onattn_output(stable_rank = 7.9, tightening to4.9and5.3atblk.16andblk.17) andattn_gate(stable_rank = 12.9, whose top-8 right singular vectors inR^nalign withW_baseat2.41xisotropic||W_base||_F / sqrt(n)RMS vs0.79xonattn_output, spread evenly across heads atmax/mean = 1.08x–1.18x). - Why
Q8_0preserved the fix: Elementwise Frobenius SNR||ΔW_f32||_F / ||ΔW_q8 - ΔW_f32||_Fis only1.77on loopedattn_output(cos = 0.869),1.52onattn_gate, and1.30–1.34onk/v/q, but becauseQ8_0rounding noise spreads across1,024–2,304singular dimensions whileΔW_f32concentrates in low stable rank, spectral SNRσ_1(ΔW_f32) / σ_1(ΔW_q8 - ΔW_f32)jumps to15.7on loopedattn_output(21.5atblk.16) and11.0onattn_gate, preserving99.9%of the rank-1 direction and99.1%of the top-8 singular subspace (98.3%onattn_gate,94.0%–95.6%onk/v/q). Caveat: static parameter SVDs characterizeΔW = W_ink - W_baseandQ8_0rounding error rather than activation-weighted multi-pass Jacobians onMATH-500hidden states.
Prior work
- The edited checkpoint and base model:
Ex0bit/Inkblot-2-miniandeelbaz/Recursive-Self-Improving-Loopers(November 26, 2026) introduced the post-hoc edit onthinkingmachines/Inkling-2-Miniand reported greedyn = 64DeepScaleR-Test results of2/64 -> 45/64at 4 passes and32/64 -> 44/64at 3 passes, plus an intermediate closed-formFP-Solvestep reaching27/64at 4 passes (mappingFP-Solveto our193-tensorctrl-onlysplit is an inference from their card description rather than an exact specification). - Silent multi-iteration drift and weight-rewriting in looped transformers: Kolawole, Jim, Busoye, and Smith (Intelligence per Iteration: Auditing the Cost of Looped Models on Edge Devices /
FirstLight,arXiv:2611.39471) audit 7 looped models across 47 devices (280quantized/compiled builds), showing94/280(33.6%) run without error yet silently collapse (84% -> 0%), catching broken builds via 2-iteration hidden-state drift and repairing them dynamically by running trailing iterations at higher precision. Fan et al. (Language Models Can Manufacture and Scale Looped Transformers via Weight Rewriting /Altum,arXiv:2611.38273) diagnose depth-extrapolation failure past trained depth on dense BF16Ouro(T_train = 4) as"Wait"/"Hmm"hesitation restarts plus degraded finished answers, scalingOurofromT = 3(+6%) toT = 16(+72%) without training via uniform1.1xMLP output-gain scaling paired with a 5-row0.8xhesitation-token edit onW_U. Fixed-depth looped transformers collapsing atK + 1passes is documented in prior recurrent-depth literature, and ourD1detector implements the periodic-tail rule fromarXiv:2611.20419. - What this post adds:
- An independent greedy and single-seed sampled check (
n = 32Level-5 problems) on stockllama.cpp(-np 1, prompt cache off) showing that base 4-pass collapse switches from verbatim loops under greedy decoding (31/32) to non-verbatim word salad underT = 1.0sampling (0/32D1,28/32capped). - Two-seed surgical GGUF tensor-group ablations at fixed
IQ3_XXSexpert precision (0expert diffs,0output.weight/W_Uedits, zero runtime precision switching) across three disjoint 32-problem Level-5 slices atcap = 4,096: Stage 2 pittingctrl4(10/32, 10/32) andattnr4(25/32, 26/32) againstink4(25/32, 27/32); Stage 3 splittingattnr4(29/32, 31/32) intoattn4(29/32, 30/32) vsrconv4(0/32, 0/32); and Stage 4 splittingattn4into the60recurrent projections inblk.6..17(21/32, 20/32solved;0/32, 1/32COLLAPSE;80.8%ofattn4-s1’s26/32) vs the30unlooped coda projections inblk.18..23(0/32, 0/32solved;14/32, 16/32COLLAPSE), paired with a full-matrix SVD showing that coda edits were slightly larger (1.081%vs0.926%Frobenius) and that the looped edits act as norm-preserving (90.3°) low-stable-rank subspace rotations (stable_rank = 7.9onattn_output,15.7Q8_0spectral SNR,99.1%top-8 subspace overlap). - Two-seed verification at a
4,096cap that Inkblot’s 3-passMATH-500Level-5 gain (+8and+7problems) comes from fewer cap truncations with no accuracy edge on the problems both models finish (22 vs 22and21 vs 22, wherebase3is already at ceiling).
- An independent greedy and single-seed sampled check (
Takeaways
- Check the actual tensor diff before trusting an architectural label. Ablating the 337 differing non-expert tensors byte-by-byte across four disjoint Level-5 slices showed that the 193 loop-controller and residual-query tensors yielded only partial recovery (
10/32solved on Slice 2), the 54 router and short-convolution tensors solved0/32on Slice 3, the 30 unlooped coda attention projections solved0/32on Slice 4 despite larger relative updates (1.081%vs0.926%), and the 60 attention projections inside the recurrentblk.6..17core carried the 4-pass collapse prevention and21/32,20/32accuracy recovery (21/26 = 80.8%of 90-tensorattn4-s1). - Preserve edited recurrent attention projections at
Q8_0or higher when quantizing weight-edited looped GGUFs. Even with elementwiseQ8_0rounding noise (looped projection-meancos 0.791–0.869, Frobenius SNR1.30–1.77) and fixedIQ3_XXSrouted experts, low stable rank (7.9on loopedattn_output,12.9onattn_gate) liftsQ8_0spectral SNR to15.7and11.0, preserving99.1%and98.3%of their top-8 singular subspaces without runtime precision switching. - Separate verbatim loops, word-salad degeneration, and budget caps. Greedy and sampled decoding failed in completely different surface forms on the same broken 4-pass base model, and at 3 passes a
+7to+8score jump at4,096tokens came from fewer cap truncations (withbase3at22/22on the problems both finished, without ruling out an uncapped difference on the 10 harder capped problems).