Looped Layers After Pretraining: Who Pays the FLOPs?
Looping moves cost from parameters to per-token compute; across 0.8B to 9B only the looped 0.8B model beat both baselines, while 4B and 9B failed even the equal-parameter test, so loops pay only when the parameter budget is fixed.
On this page
The parameter count stays the same, but the bill goes up 25%. Was that in the quote? A loop re-runs a block of layers, so each token passes through the block more than once, and the model file, the memory footprint, and the training run all stay as they were. Most people stop there and read the loop as free. It is not free. Reuse 6 of 24 layers and every token walks 30 layers instead of 24, which is 30/24, or 1.25 times the compute.[1] The paper prices that trade, then asks who can afford it.
The parameters stay put. The bill does not.
The default reading of “no extra parameters” is “no extra cost”, with whatever remains treated as rounding error; both readings use the parameter count as a proxy for cost, and it is the wrong proxy, because the count sets disk, memory, and how many weights an optimizer touches, not how much arithmetic one token needs.[1]
A loop changes the second thing.
The same block runs again, each token passes through it twice or more, nothing is added to the file, and the path gets longer; that is the whole trick, and it is also where the invoice starts, because training cost stays flat only for as long as you do not retrain, while inference is metered per token and the multiplier lands on every generation you ever serve.
The file looks the same. The workload does not.
So the first question is not how much accuracy a loop buys, but how much compute it spends. The formula is one line: reuse m of N layers, and each token costs about (N+m)/N times as much.[1] Set m to 0 and the ratio is 1; set m equal to N and the ratio is 2.
Two baselines, and why both matter
The comparison deserves its own paragraph, because it decides how much weight the result can carry. The paper never asks whether a looped model beats its own starting point. It uses two baselines: the same model, trained the same way, with no loop (equal parameters), and the best unlooped use of the same inference FLOPs (equal FLOPs).[1] One guards capability, the other guards money.
Most evaluations run only the first.
The first answers “is a loop better than no loop”, the second answers “would the same budget do better elsewhere”; ask only the first and gains look easy to find, ask the second and a gain can turn into a loss. Across Qwen3 and Qwen3.5 from 0.8B to 9B parameters, only the looped 0.8B model beats both.[1]
At 4B and 9B it does not clear the first.
The version with identical training, identical parameters, and no loop scores higher at both sizes.[1] You could object that the benchmarks are too easy, that a ceiling hides the gap, and the paper closes that hole first: on the same benchmarks the unlooped 9B model scores up to 13 points above the 4B model, so thirteen points of headroom was available and the loop did not take it.
The space was there. The loop did not take it.
Turning loops into FLOPs
Expand (N+m)/N and more becomes computable. Take N=24: reuse 6 layers and the ratio is 1.25, reuse 12 and it is 1.5, reuse the whole block and it is 2; the ratio tracks the fraction, not the model size.
| Layers N | Reused m | (N+m)/N | Cost per token | Equal-FLOPs parameter count (0.8B / 4B / 9B) |
|---|---|---|---|---|
| 24 | 6 | 30/24 = 1.25 | +25% | 1.0B / 5.0B / 11.3B |
| 24 | 12 | 36/24 = 1.5 | +50% | 1.2B / 6.0B / 13.5B |
| 24 | 24 | 48/24 = 2.0 | +100% | 1.6B / 8.0B / 18.0B |
Column three is arithmetic. Column four is my conversion, and the paper does not write it this way: spend every extra FLOP on parameters, and a looped 4B at 1.25 times the compute lands near a 5B budget, 1.5 times near 6B, and 2 times near 8B. That equivalence holds for one spending pattern only, where the extra compute buys parameters rather than more tokens; I also dropped attention and other overheads, so spend it differently and the numbers move.
Memory is saved. Compute is spent on every token.
Read that row as a purchasing sentence: if memory is your hard constraint, the trade can pay, and if compute is the constraint it tightens the side that was already tight. Only 0.8B wins, and 0.8B is where parameter budgets tend to be pinned.
- What are m and N. Without both numbers the multiplier cannot be recomputed.
- Is there an equal-parameter baseline. Without it you are reading a loop against a smaller model, not against itself.
- Is there an equal-FLOPs baseline. Without it you cannot tell whether the same money would do better elsewhere.
- Which size class. A 0.8B result does not transfer to 9B.
Five questions before you believe a loop claim
- Ask for m and N. Without them, every estimate below is void.
- Compute the multiplier, (N+m)/N; at N=24, reusing 6 layers gives 1.25, 12 gives 1.5, the full block gives 2.
- Ask for the equal-parameter baseline: same data, same steps, same schedule, no loop. If this one fails, stop reading.
- Ask for the equal-FLOPs baseline: hand the extra compute to a larger unlooped model and see who wins.
- Check the size class. Near 0.8B the paper supports you; at 4B or 9B it hands you a counterexample, not a licence.
None of this needs an experiment, just a vendor who reported the numbers; write-ups tend to blur the first item, because once the multiplier is on the page half the pitch is gone.
If all you get is “more accurate at the same parameter count”, reply with one line: is the same model without the loop more accurate. That question is cheap, and it is hard to dodge.
Where the arithmetic stops
Three limits, all concrete. First, it covers loops added after pretraining; loops learned during pretraining are a different case, and the paper says those justify the price.[1] Second, it covers Qwen3 and Qwen3.5 from 0.8B to 9B, so changing the architecture, the data, or the scale to 30B puts the result out of scope. Third, it covers the benchmarks used; 13 points of headroom says the tests are not too easy, not that another set gives the same answer. The paper also reports totals, so a flat total could hide a broad small regression or a few large ones covered elsewhere.[1]
Latency is a different constraint from throughput.
So do not apply this arithmetic when your constraint is latency, or when your model already sits above 4B; in the first case (N+m)/N measures compute rather than delay, and in the second the paper has an answer, which is no.
A loop does not create compute. It moves the same compute to another line of the ledger. The total does not change.
