Looped Transformers: Thinking in Depth Rather Than in Words
Depth and Parameters Are Not the Same Thing
A classic Transformer has as many layers as it has sets of weights: layer 12 has its own matrices, different from layer 11's. Doubling depth therefore doubles parameters, memory and training cost. The looped transformer separates the two notions: keep a small block of layers and traverse it several times before producing each token. Compute depth becomes a setting, not a fixed property of the model.
The idea is not new. The Universal Transformers of Dehghani and coauthors (2018) already applied the same block repeatedly, with a per-position halting mechanism inherited from Graves's Adaptive Computation Time (2016): each position decides how many rounds it takes. ALBERT (2019) shared weights across layers to compress BERT. And the Deep Equilibrium Models of Bai, Kolter and Koltun (2019) took the logic to its end: since the same layer is repeated, look directly for the fixed point it converges to, by a root-finding method rather than by iterating, and backpropagate through implicit differentiation. Result: training memory no longer depends on depth (up to 88% less), at the cost of a slower forward pass.
Why is the topic back in 2025? Because test-time compute showed that making a model think longer pays off, and the only way available until then, the written chain of thought, costs tokens, latency and KV cache. Looping through the layers is thinking longer without writing.
What Loops Bring, and What They Do Not
Saunshi and coauthors (ICLR 2025, Reasoning with Latent Thoughts) give the reference result: on synthetic reasoning problems (multi-digit addition, induction chains, small maths problems), a k-layer model looped L times nearly matches a kL-layer model, and clearly beats the k-layer model without a loop. Better: the looped model keeps that advantage on reasoning while its perplexity, the basic measure of language modelling, is worse. The loop is an inductive bias towards reasoning, not towards memorisation.
The Ouro paper (ByteDance, October 2025) sharpens the boundary with two controlled tasks. On a pure fact-memorisation task, a looped model and a classic model of the same size both store about two bits per parameter: looping does not increase storage capacity. On a composition task (chaining modular operations, answering multi-hop questions), the looped model wins by a wide margin. Looping serves to manipulate what one knows, not to know more. It is the same distinction as between active and total parameters in MoE models, taken the other way round: MoE adds memory without compute, the loop adds compute without memory.
Huginn: The Proof of Concept at 3.5 Billion Parameters
The first looped model trained at serious scale is that of Geiping and coauthors (February 2025), nicknamed Huginn. Its architecture fits in three blocks: a two-layer prelude that embeds tokens into latent space, a four-layer core traversed r times, and a two-layer coda that produces output probabilities. Three and a half billion parameters in total, 1.5 billion of them in the core, trained on 800 billion tokens with 4,096 AMD GPUs on the Frontier supercomputer.
Three training choices are worth knowing, because every later paper comes back to them:
- The number of rounds is drawn at random for each example, with a mean of 32, so that the model learns to be useful at every depth.
- The gradient only flows back through the last 8 rounds: backpropagating through 32 passes of the same block would cost too much memory, and the bet is that earlier rounds have already converged.
- The input is re-injected at every round: the block's output is not simply fed back to its input, the token embedding is concatenated to it every time. The authors describe two failed training runs before getting there: in one, the hidden states collapsed to a single value; in the other, the model learned to ignore the incoming state, which makes the loop useless.
At inference, the model decides on its own when to stop (when the output distribution no longer moves from one round to the next), and its KV cache is capped by cycling modulo across rounds. At 32 rounds it reaches 38.2% on ARC-Challenge and 42% under strict scoring on GSM8K, far from 2025 models of comparable size trained on much more data, but with a curve that rises with the number of rounds. The authors observe latent trajectories that orbit on arithmetic tokens, suggesting an iterative computation. An independent probing study (July 2025) tempered that reading: by tracking the rank of intermediate results across rounds, it finds "little evidence" of an interpretable latent chain of thought. The model does compute something across rounds, but not a sequence of readable steps.
Ouro: Industrial Scale and Its Limits
Ouro (ByteDance, October 2025) is the first looped model trained like a production model: two sizes, 1.4 and 2.6 billion parameters, 7.7 trillion tokens in four stages, four loop rounds over the whole stack. The model also learns to choose its depth: exit gates produce a halting probability at each round, trained with an entropy penalty so the model does not always take the maximum. The result is the figure that got the paper talked about: the 1.4-billion model matches Qwen3-4B on most evaluations and clearly beats it on MATH500 (82.4% against 59.6%). The 2.6-billion model beats Qwen3-8B on reasoning tasks.
The paper is also valuable for what it admits. Training had to drop from eight rounds to four midway to stay stable, and performance degrades beyond the training depth: a model trained at four rounds gains nothing from doing eight. The KV cache raises a new question: when reading the context (prefill), each round needs its own cache, and sharing one loses more than ten points; in generation, reusing the last round's cache divides memory by four for a negligible loss (78.9 against 78.8 on GSM8K). Finally, dynamic early exit is incompatible with common inference engines (vLLM, SGLang), which assume every token in a batch goes through the same number of layers. A smarter model that cannot be served fast remains a prototype.
The Real Problem: Decoding Latency
A loop is sequential: three rounds means three times the time per token. In prefill, all tokens are processed in parallel and the overhead is diluted; in decoding, where tokens come one at a time and the GPU already waits for memory more than it computes (see batching), tripling the number of passes is prohibitive.
The Parallel Loop Transformer (ByteDance Seed, October 2025) solves it with a shift in time. Instead of running the three rounds of token t before moving to the next, it executes in a single pass the first round of token t, the second round of token t-1 and the third round of token t-2. Rounds stay sequential for each token, but overlap across tokens: decoding regains almost the latency of an unlooped model. The KV cache is handled the same way: only the later rounds reuse the keys and values of the first round, with a local sliding window of 64 tokens and a learned gate mixing local and global. The paper's figures, on models from 1 to 13 billion parameters: at equal parameter count, a two-round version goes from 34.7 to 39.7 on average across benchmarks, like a naive loop, but at 4.9 ms per token instead of 9.4, that is 2% above a classic model; the KV cache grows by only 1.4%. At equal latency, a looped 1.7-billion model beats a classic 2.5-billion model while being 30% faster.
Speculative decoding rests on one assumption: the next-token distribution is obtained in a single pass of the large model over the sequence. As soon as producing that distribution takes several rounds, verifying candidates in bulk gets complicated. Huginn proposes a "self-speculative" variant (draft with few rounds, verify with many), and the Parallel Loop Transformer does not address the question. It is the kind of friction between an architecture idea and the serving chain that decides, in practice, what gets deployed.
Looping Across Tokens, Not Only in Depth
A second family of work, published in August 2026, does not repeat layers: it feeds the previous token's deep state back into the next token's low layers. The model becomes a kind of recurrent network, no longer over words (like RNNs) but over its own activations.
The full-bandwidth transformer (Johns Hopkins, Princeton, Microsoft, August 9, 2026) fuses the last-layer state at token t-1 with the embedding of token t through a gate: the state carries the information, the token only modulates it, which stops the model from bypassing the latent path. The classic problem with this kind of feedback is training: strictly, tokens would have to be processed one after another. The authors get around it with a multi-pass parallel objective, the second pass using the first pass's states shifted by one token, introduced late in pre-training (75% of batches with one pass, 22% with two, 3% with three). The detail that matters: those 3% of three-pass batches are enough to turn the learned recurrence, divergent without them, into a map that converges to a fixed point. At 1 billion parameters and 400 billion tokens, the overhead per generated token is under 1%, the model is worth a classic model trained on about 1.5 times more tokens, and the base models produce markedly shorter chains of thought at equal or better accuracy, since part of the intermediate computation stays in the hidden state.
Recirculation (Google DeepMind, August 18, 2026) is more radical in its frugality: no training at all. On existing Gemma 3 models, a fraction (15%) of a deep layer's output for the current token is injected into a low layer for the next token (layer 11 into layer 4 on the 1-billion model), relying on the fact that a Transformer's residual stream acts as a shared "blackboard" where layers speak the same language. The motivation is theoretical: a Transformer without recurrence can only make a number of state updates bounded by its depth, which prevents it from tracking a belief state through a long text. Result: perplexity down 8.5% with fixed coefficients, 23% with a light adaptive variant, and 21% fewer errors on GSM8K, at zero cost in generation but with a prefill that has become sequential. The authors themselves flag a measurement bias (a missing beginning-of-sequence token) that exaggerates the perplexity figures without changing their direction.
What It Really Costs
An April 2026 paper (How Much Is One Recurrence Worth?) asks the question the spectacular results avoid: at equal compute, is the loop worth its unique parameters? The authors train models of the same effective depth (20 layers) with 1, 2, 4 or 8 repetitions, over six compute budgets, and measure an equivalence exponent of 0.46: repeating a block r times is worth r to the power 0.46 unique blocks. Looping four times therefore brings the equivalent of 1.9 blocks, not four. Concretely, a 410-million-parameter model looped four times reaches the loss of a classic 580-million model, but consumes the training compute of a 1-billion model. Truncated backpropagation, Huginn's choice, drops the exponent to 0.38; parallel residual connections between rounds (hyperconnections) raise it to 0.65. The authors' conclusion is blunt: until the exponent rises substantially, at equal compute looped models do worse than classic ones. Their interest lies elsewhere: memory (fewer weights to store and load) and the ability to modulate depth per token, which Mixture-of-Recursions (July 2025) exploits with lightweight routers choosing each token's number of rounds, from 135 million to 1.7 billion parameters.
The press reported, from an anonymous source, that OpenAI's Astra model (September 2026) uses a "constrained" form of recurrent depth. OpenAI has not confirmed it, and writes in its system card that the drop in chain-of-thought legibility "is not differentially caused" by an architecture change. What is measured is that Astra solves in a single pass, without text, problems a human takes half an hour to work through (see the OpenAI profile). Whether or not through loops, the direction is this lesson's, and it has a flip side: what is computed in latent space cannot be read. The full-bandwidth transformer shortens chains of thought, Ouro claims its traces are more faithful to its output than an explicit chain of thought's, and the Huginn probing study finds no readable steps in it. The question raised in encrypted reasoning and in safety and alignment becomes an architecture question.
Key Takeaways
- Compute depth and parameter count are two separate settings: looping a block adds compute without memory, the reverse of an MoE. On reasoning, k layers looped L times are worth almost kL layers; on fact memorisation, nothing changes.
- Training a loop takes precautions: re-inject the input at every round, draw the number of rounds at random, truncate the gradient, and obtain convergence to a fixed point. Huginn failed twice before getting there, Ouro had to cut its rounds from eight to four.
- Decoding is the obstacle, not training: r rounds means r times the latency per token. The Parallel Loop Transformer overlaps the rounds of successive tokens and shares the first round's cache to get back to 2% overhead.
- The loop can cross tokens: feeding the previous token's deep state into the next costs under 1% per token (full-bandwidth) or zero training (recirculation), and shortens chains of thought.
- At equal compute, the loop still loses: one round is worth r to the power 0.46 unique blocks. Its advantage is memory and per-token adjustable depth, not raw efficiency.
1. According to the controlled experiments in the Ouro paper, what does looping the layers change, and not change?
2. How does the Parallel Loop Transformer bring the decoding latency of a three-round model back to that of a classic model?
3. The full-bandwidth transformer feeds the previous token back into the next. How does it avoid sequential, token-by-token training?
4. What does the 0.46 equivalence exponent measured by « How Much Is One Recurrence Worth? » mean?