Retrieved article excerpt
Open article · Retrieved 2026-11-11T19:22:30.770024+00:00
Contents
- [Introduction](https://mvakde.github.io/blog/looped-mdlarc/#top)
- [Offline results](https://mvakde.github.io/blog/looped-mdlarc/#offline-results)
- [How it works](https://mvakde.github.io/blog/looped-mdlarc/#how-it-works)
- [Results](https://mvakde.github.io/blog/looped-mdlarc/#results)
- [Why looping works](https://mvakde.github.io/blog/looped-mdlarc/#why-does-looping-work)
- [Appendix](https://mvakde.github.io/blog/looped-mdlarc/#appendix)
demos +test input +output so farB1B2B3B4B5B6B7B8headnext cell× 6preludecodapasses 1–5 also exit(training only, weight 0.3)token embeddings reach every block through a learned skip; the prelude output is re-added at each pass28 block passes from 8 blocks: 2 + 4 × 6 + 2
Figure 1. Looped mdlARC. Blocks 3–6 run six times, so 8 blocks of weights give 28 block passes. Dashed: during training only, passes 1–5 also exit early and are scored. Green: the input reaches every block directly.
This is the third version of mdlARC, a series where I try to find out how far an autoregressive transformer can get on ARC when only trained on ARC puzzles -- no text, no LLMs ([Vakde, 2025](https://mvakde.github.io/blog/looped-mdlarc/#ref-vakde25), [Vakde, 2026](https://mvakde.github.io/blog/looped-mdlarc/#ref-vakde26)).
- **Likely one of the highest scores without an LLM.** 3x higher than next best among all 746 ARC Prize 2026 writeups37.08 is the Kaggle public score of my final submission (57908007); Kaggle’s public leaderboard is scored on ARC-AGI-2’s semi-private tasks. The submission was made before the deadline but scored after the leaderboard froze, so the official leaderboard shows my previous looped model at 35.69, rank 141 ([screenshot](https://mvakde.github.io/blog/looped-mdlarc/#fig-shot)).
- **Likely the smallest high-scoring submission.** 100M parameters. Top submissions all seem to be Qwen/Deepseek LLMs with 4B, 27B or more
- **Peaked at 6th place** on this leaderboard, before the late surge of Qwen entries.
- **It beats last year’s winning LLM.** NVARC fine-tuned a 4B Qwen model on generated puzzles, and scored 27.64% ([Sorokin and Puget, 2025](https://mvakde.github.io/blog/looped-mdlarc/#ref-nvarc)).
- **Room for improvement.** Final model is severely undertrained and unoptimised. I added looping in the last week of the competition and took the score from 33% → 35% → 37%
#### What's new and different?
- Looping gives extraordinary gains
- Different from HRM/TRM -- [see below](https://mvakde.github.io/blog/looped-mdlarc/#vs-trm)
- Demo pairs in context
- Hub and Spoke Attention
- Truly tiny models
- We don't hide trained parameters like HRM/TRM' 430M+ parameters
- Eg: An actual 1M looped model beats my old 76M one
[More details below](https://mvakde.github.io/blog/looped-mdlarc/#how-it-works)
#### Why do it without an LLM?
Because I care about sample efficiency, and LLMs are trained on so much data, (including ARC puzzles), that it can't be measured. It is now OBVIOUS that with enough training data, ARC-1/2 becomes trivial to solve. OTOH it is still super interesting to see how well a model can perform when the data is restricted to ARC puzzles, especially very few of them.
To test ideas for sample efficiency, I am launching a new Benchmark, [ARC Data Squeeze](https://mvakde.github.io/blog/looped-mdlarc/#arc-data-squeeze). More details below
## Offline results on ARC-AGI Public Eval
30405060701M10M100MParameters (log scale)← fewer parameters is betterARC-AGI-1 top-2 (%)higher is better →TRM (reported): 44.6 with a 7M network plus about 430M of per-puzzle embeddingsTRM: 44.67M + 430M embeddingsSame 8.4M model, no loop: 47.44Unlooped 75.6M, today's recipe: 53.758.4M, no loop75.6M unloopedmdlARC v1, Dec 2025, 28M: 27.5v1 (Dec 2025): 27.5mdlARC v2, Mar 2026, 76.6M: 44v2 (Mar 2026): 44Looped ×6, 0.71M: 33.38Looped ×6, 1.05M: 49.0Looped ×6, 2.0M: 55.625Looped ×6, 8.4M: 66.25Looped ×6, 18.9M: 68.38Looped ×6, 0.9M: 41.25Looped ×6, 0.99M: 41.5Looped ×6, 2.1M: 51.25Looped ×6, 18.9M, plus likelihood ranking (the ARC Data Squeeze record): 70.251.05M: 49.002.0M: 55.638.4M: 66.2518.9M: 68.38record: 70.25Looped ×6 (this work)Unlooped, today's recipeEarlier mdlARC versionsTRM (reported)
Figure 2. ARC-AGI-1 top-2 against parameter count, all trained from scratch on the 1,307 public tasks. The looped 1.05M model beats both 76M unlooped models. Hover a point for its exact score.
I used ARC-1 Public Eval to test ideas, training from scratch only on the 1307 public puzzles
Looped mdlARC scores 70.25% on ARC-1 -- the current SOTA on this restricted set
Just 19M parameters. Also scores 15.14% on ARC-2 Beats my prev results with far fewer parameters: 44% in March (76M) and 27.5% last December (28M)
- **Looping is a huge win.** A 8.4M model goes from 47.44 to 66.25% when its middle four layers run six times. At the same depth, the looped model beats stacks of unique layers with up to 4× more parameters, by 2.3 to 7.6 points.
- **Truly sub-1M models on ARC.** A 1M model scores 49.00%, above my 76M model from March (44)This measures all the progress since March, not just the loop. The loop alone is measured in [Looping alone adds 15–19 points](https://mvakde.github.io/blog/looped-mdlarc/#looping-alone).
- Still cheap to train: The 70% score requires 3.7 H200 hours -- about $13
Full results are in [appendix B](https://mvakde.github.io/blog/looped-mdlarc/#b-squeeze).
The biggest surprise: all of this with almost no hand-written knowledge. No object detectors, no program search, no generated data. ARC is a remarkably well-made dataset.
New to ARC? Click here for a quick intro to how it works.
The Abstraction and Reasoning Corpus ([Chollet, 2019](https://mvakde.github.io/blog/looped-mdlarc/#ref-chollet19)) is a test of abstract reasoning. Each task shows a few demonstration pairs: an input grid and the output grid it should become. All the pairs follow one hidden rule, and you must produce the exact output for a new test input in at most two attempts. Every task uses a different rule, so solving them means learning concepts like objects, counting and symmetry, and combining them into new ones. It’s fascinating to watch a transformer learn that from so little data. Try one:
Demo pairs: what is the rule?
Test input
→
Your answer?
Show the answer
Next puzzle →
Figure 3. Real ARC-AGI-1 evaluation tasks. Work out the rule from the demo pairs, guess the output for the test input, then reveal the answer. The 8.4M looped model, trained only on the 1,307 public tasks, solved every task shown here.
ARC-AGI-1 has 400 public training and 400 public evaluation tasks. ARC-AGI-2 ([Chollet et al., 2025](https://mvakde.github.io/blog/looped-mdlarc/#ref-arcagi2)) is harder: 1,000 training and 120 public evaluation tasks, and the competition is scored on hidden ones, with 12 hours on four L4 GPUs and no internet. Most entries start from a pretrained LLM ([Akyürek et al., 2024](https://mvakde.github.io/blog/looped-mdlarc/#ref-akyurek24); [Franzen et al., 2024](https://mvakde.github.io/blog/looped-mdlarc/#ref-architects24); [Sorokin and Puget, 2025](https://mvakde.github.io/blog/looped-mdlarc/#ref-nvarc)); mdlARC starts from random weights and learns only from ARC grids. Its name comes from the minimum description length principle (MDL; [Rissanen, 1978](https://mvakde.github.io/blog/looped-mdlarc/#ref-rissanen78); [Grünwald, 2007](https://mvakde.github.io/blog/looped-mdlarc/#ref-grunwald07)): the model that explains the data in the fewest bits, counting its own size, should generalise best.
## How it works
mdlARC is an ordinary autoregressive transformer, the same kind of model as GPT. It reads the demo pairs and the test input, then writes the test output one cell at a time.
### The loop
The looped model ([Figure 1](https://mvakde.github.io/blog/looped-mdlarc/#fig-arch), at the top) has 8 transformer blocks. Blocks 1–2 run once, blocks 3–6 run six times in a row, and blocks 7–8 run once. That gives 28 block passes, or 28 layers of depth, from only 8 blocks of weights.
Two details help a little. During training, the first five passes also try to exit early through blocks 7–8 and are scored (deep supervision; [Lee et al., 2014](https://mvakde.github.io/blog/looped-mdlarc/#ref-dsn)). And every block gets a direct copy of the input token embeddings, so the loop never loses track of what it is looking at. A plain loop without either still does most of the work ([appendix B.4](https://mvakde.github.io/blog/looped-mdlarc/#b4-what-the-loop-needs)).
### Hub-and-spoke attention
Full attentionHub-and-spoke attentionD1D1D2D2D3D3ininoutoutD1D1D2D2D3D3ininoutoutcost grows with (number of demos)²cost grows linearly with the number of demosattends (own pass)test tokens to all demos: second, separately normalised attention, gated per headRows attend to columns. D = demo pair, in/out = test input and output (output is causal).
Figure 4. Who attends to whom, for three demo pairs. In hub-and-spoke attention each demo sees only itself and the test input, and the test tokens reach the demos through a second attention.
Long tasks are a problem. Ten 30×30 demo pairs make a sequence of about 20,000 tokens, and full attention costs grow with the square of that. On Kaggle’s L4 GPUs, fine-tuning on such tasks would not fit.
The fix comes from how a person solves a task: you compare each demo with the test input, but you rarely compare demo 2 with demo 5. In hub-and-spoke attention, each demo pair attends only to itself and to the test input, the hub. The test tokens attend to themselves and, through a second attention with its own softmax, to all the demos. A learned gate in each head mixes the two. The demos share information only through the hub, and the cost grows linearly with the number of demos.
### An ARC task as a sequence
One demo pairinputoutput…becomes these tokens, read left to rightS↵|↵Einput rowsoutput rowsS start (once, at the very beginning) · ↵ new row · | input ends, output begins · E end of pairA whole task is one sequence: the demo pairs, then the test input. The model writes the answer.demo 1demo 2demo 3test inputtest outputone cell at a time; loss only hereread all at once (bidirectional)Each token also gets a 3D position: its row, its column, and which grid it belongs to.Nothing records which demo comes first, so the demos are an unordered set.
Figure 5. How a task becomes a sequence. Colours are tokens; four special tokens mark the structure.
Each grid is written row by row, with one token per cell. The vocabulary has just 14 tokens: the 10 colours, plus start, new row, a separator between input and output, and end. A whole task becomes one sequence: the demo pairs, then the test input. The model writes the test output token by token and decides for itself when to stop, so the output size is never fixed in advance.
Every token gets a 3D position: (row, column, grid)grid1234(row, col, grid)(1, 2, 1)demo inputsevery demo shares this plane(1, 2, 2)demo outputsevery demo shares this plane(1, 2, 3)test input?(1, 2, 4)test outputbeing written001122columnrowNew-row, separator and end tokens take the column after their row's last cell; the start token is (0, 0, 0).
Figure 6. Every token’s position is (row, column, grid), and rotary embeddings act on all three. A cell in an output grid lines up with the same cell in every input grid, and all the demos share the same two planes.
Positions use rotary embeddings ([Su et al., 2021](https://mvakde.github.io/blog/looped-mdlarc/#ref-rope)) in three dimensions: row, column and which grid a token belongs to. Because the input and output grids share row and column coordinates, a cell in the output can find the matching cell in the input directly. The training loss covers only the output tokens.
The full recipe behind the 37% submission (its data, pretraining, fine-tuning inside Kaggle’s 12 hours, and answering) is in [appendix A](https://mvakde.github.io/blog/looped-mdlarc/#a-submission).
## What