A language model with 1.4 billion parameters solves 82% of MATH500, a set of 500 problems from secondary-school maths competitions. Qwen3-4B, Alibaba's open model with nearly three times as many parameters, solves 60%. The first is called Ouro. ByteDance Seed and several universities released it in October 2025, and its trick fits in one sentence: it has 24 layers, but every token goes through them four times in a row before the model writes anything.
There are two well-known ways to make a large language model (LLM) think harder before it answers. One is to make it bigger: more layers, more parameters, more memory. The other is to let it write out its reasoning step by step before giving the answer. This is called chain of thought, and it costs tokens, because every word of reasoning is another pass through the whole model. Looped models offer a third way: reuse layers you already have, with no new parameters and nothing written down.
This post is about that third way. It covers what a looped model is, how it's trained, where it resembles reasoning in writing and where it doesn't, how many passes are worth running, what the published numbers say, when it pays off and when it doesn't, and where the research is heading. Every figure comes from a published source, linked where it appears. None was measured here.
What a transformer does with each token
Nearly every current language model is a transformer: a stack of blocks that share the same shape but each have their own weights. Each token of the text enters the stack as a vector of a few thousand coordinates and climbs through it. Every block looks at the rest of the text through attention, transforms the vector with a perceptron and adds the result to the vector it received. That vector, which changes from block to block, is the token's hidden state. At the top, a final layer turns it into a probability for every word in the vocabulary, and the model picks the next one.
Two properties follow from this design, and both matter here.
The first is that depth is fixed. Every token goes through exactly the same blocks, once each, whether the next token is an obvious article or the result of a four-digit multiplication. The model decides how much work to do per token once, on the day it's designed, and that amount is the same for every token.
The second is that compute and parameters are tied together. Double the number of blocks and you double both the parameters and the operations per token. More depth also means more memory to hold the model, which is expensive. The model has to fit in the memory of the graphics card (GPU, graphics processing unit) that runs it, or in a phone's, and since text is generated one token at a time, speed is usually limited not by the arithmetic but by reading the weights out of that memory. The post on GPUs covers that bottleneck in detail.
Chain of thought loosens the first constraint from the outside: the model's depth stays fixed, but it can spend more passes on a hard problem by writing out intermediate steps. Looped models loosen it from the inside.
What a looped model is
A looped model applies the same block several times to each token's hidden state before predicting the next one. The number of passes is called the recurrent depth, and these models go by the names looped language model or recurrent-depth model. The recurrence runs through depth, not time: a classic recurrent neural network (RNN) repeats the same operation from one token to the next, while a looped model repeats it on the same token before moving on.
The simplest version puts the whole stack inside the loop, which is what Ouro does. Its 24 layers are traversed four times, so every token goes through 96 layers, yet the model stores the weights of only 24. It computes like a model four times as deep and takes up the space of a 24-layer one.
The more common version splits the model into three parts:
- a prelude, a few layers that run once and turn the tokens into a starting state;
- a shared core, the block that repeats;
- a coda, a few more layers that run once at the end and turn the state into probabilities.
Huginn, a 3.5-billion-parameter model released in February 2025 by the ELLIS Institute Tübingen, the University of Maryland and Lawrence Livermore National Laboratory, has 2 prelude layers, 4 core layers and 2 coda layers: only 8 "real" layers. At its usual 32 passes, every token goes through 132 layers.
On the left, each block has its own weights and is used once. On the right, the core is used r times with the same weights, and on every pass it receives the prelude's output again.
One detail in the diagram isn't decoration: the dashed arrow. On every pass, the core receives not only the state from the previous pass but also, once again, what came out of the prelude. The two are concatenated, and a matrix shrinks them back down to the size of the state. This is called input injection, and Huginn's authors explain why it's needed: if the core saw the input only on the first pass, the process wouldn't be stable.
The upshot is that the number of passes stops being a design decision and becomes a dial. The same model, with the same weights, can run one pass or thirty-two, and the parameter count doesn't change. What changes is the compute per token, and with it the time it takes and the quality of the answer.
An idea older than LLMs
Repeating layers isn't a 2025 idea. In 2018, a team from Google Brain and DeepMind proposed the Universal Transformer, published at ICLR 2019, one of the main machine learning conferences. It was a transformer whose single block was applied over and over, with a rule that let each position in the text decide when to stop iterating. That rule was adaptive computation time (ACT), which Alex Graves had proposed in 2016 for recurrent networks: on each pass the model computes a probability of stopping, and the position halts once the running total crosses a threshold. The paper also showed that, given enough memory and a number of passes that grows with the input, the model can compute anything a computer can. On English-to-German translation it beat the original transformer by 0.9 BLEU points, the standard metric for machine translation.
A year later, Google Research used the same trick for the opposite purpose. ALBERT (A Lite BERT) is a version of BERT, Google's 2018 model for understanding text, that shares its weights across all layers to take up less space: ALBERT-large has 18 million parameters against BERT-large's 334 million, at the same depth. ALBERT's lesson is the one most worth remembering here: sharing weights saves memory, not compute. Its largest model had fewer parameters than BERT-large and ran three times slower. It was much wider, and sharing weights doesn't save a single operation, because every shared layer still runs. Sharing every layer also cost it between 1.5 and 2.5 points on average across its benchmarks.
In 2023, a group from the University of Wisconsin-Madison and Princeton took the idea to its theoretical extreme: a looped transformer of fewer than 13 layers, with hand-set weights, that runs programs written in its own input, like a punched card. With 9 layers it executes SUBLEQ (subtract and branch if less than or equal to zero), a one-instruction language in which any program can be written, and with 13 it does linear algebra or runs gradient descent on a small neural network. Nobody trained that model. The point of the construction was to show that the loop is what lets a long program run without the model growing with the number of lines.
The current wave starts in 2025, when several groups showed that all this works in real language models. In February, Google Research published that many reasoning problems need depth, not parameters, and Huginn appeared. July brought Mixture-of-Recursions, in which a router decides how many passes each token gets. October brought Ouro, and November a way to turn an already trained model into a looped one.
How it's trained
Sharing weights isn't enough. Take an ordinary model and repeat its layers, and it doesn't get better: it has to learn to make use of the passes. That takes three training decisions that don't arise with an ordinary model.
A different number of passes at every step. Huginn draws the number of passes for each batch from a distribution with a mean of 32 and a long tail: most of the time it gets fewer than 32, and now and then many more. That way it learns to give a reasonable answer with few passes and a better one with many, which is why the number can be chosen later, at use time. Ouro, by contrast, trains with a maximum of four and learns when to exit at the same time, as the section on how many passes to run explains.
Backpropagating through the last passes only. Training works out how to change each weight by running the computation backwards (backpropagation), and for that it has to keep every layer's intermediate states. With 32 passes on average and tails of many more, memory wouldn't stretch that far. Huginn backpropagates through only the last 8, so training memory doesn't depend on the number of passes.
A lot of care over stability. The first two attempts to train Huginn at scale failed. In the first, every pass made the states of different tokens more alike, until they were all the same vector. In the second, the model learnt early on to ignore the state from the previous pass, so one pass or thirty-two made no difference. The third worked, with a different way of normalising inside each layer and a learning rate ten times smaller. Ouro started with eight passes, saw spikes in the loss and oscillating gradients, and dropped to four.
Training one from scratch is expensive: Huginn used 4,096 AMD GPUs on the Frontier supercomputer for 800 billion tokens, and Ouro 7.7 trillion. The cheap alternative comes from Sean McLeish and colleagues. They start from an already trained model (they tried three open ones of between 1.1 and 1.5 billion parameters: TinyLlama, an academic project; OLMo-2, from the Allen Institute for AI; and Llama-3.2, from Meta), use its first layers as the prelude and its last ones as the core and coda, drop a few from the middle, and keep training for some 50 billion tokens while the mean number of passes slowly rises. TinyLlama converted this way solves 51.2% of GSM8K (about 1,300 primary-school maths word problems that take several steps) with 32 passes, against 45.2% for the same model without the loop and the same training, and 26.5% with a single pass. One practical detail: if that extra training is all maths, the model gets worse at everything else. It has to start with a phase of general text and then continue on a mix to recover from the surgery.
Thinking out loud or thinking in silence
Chain of thought and the loop do the same thing with different resources: both give the model more compute before it answers. Chain of thought does it by writing, and every token written is another pass through the whole stack. The loop does it without writing, by repeating layers on the hidden state.
The connection is closer than it looks. The Google Research group proved that a looped transformer can simulate T steps of chain of thought with T passes, and sums it up with an image. Chain of thought is a looped model that can leave only one written token behind on each pass, whereas the loop can produce several "latent thoughts" per pass without putting them into words. That's why these models are associated with latent reasoning: reasoning that happens in the internal state rather than in the text.
Huginn's authors make the case for three advantages of latent reasoning:
- it needs no special training data, whereas teaching a model to reason in writing takes thousands of examples of long reasoning;
- it doesn't fill the context window, because it writes nothing, so it needs neither long contexts nor the memory they take up;
- it can capture reasoning that resists being put into words, such as spatial intuition.
They aren't mutually exclusive. The version of Ouro trained to reason writes a chain of thought, and every token of that chain goes through the stack four times. Ouro's best numbers come from combining the two.
The drawback is equally clear: what happens inside the loop can't be read. A written chain of thought is an imperfect explanation, but it's text, and it can be monitored. In 2025, 41 researchers from labs including OpenAI, Anthropic, Google DeepMind and the UK AI Security Institute signed a paper arguing that this monitoring is a safety opportunity as valuable as it is fragile. It names Huginn among the architectures that threaten it: a model that reasons in its internal state may never need to verbalise any of its thoughts. The authors recommend that anyone releasing an architecture like this should document that decision.
There is a partial window. Since the coda can turn any state into probabilities, you can read which token the model would pick after each pass. Ouro's authors did this on a task that asks whether two questions mean the same thing. The model changed its mind between passes (its answer after the second pass matched the one after the fourth in only 36% of cases), so the intermediate passes aren't a decorative justification of an answer already settled. But seeing which token would win after each pass isn't the same as reading reasoning; it's watching a vote shift.
How many passes
If the number of passes is a dial, the obvious question is where to set it. The short answer is that it depends on the task, that below a certain minimum the model is useless, and that overdoing it costs you too.
The chart below sums it up for Ouro. The base model was trained with four passes, and on MMLU (Massive Multitask Language Understanding, multiple-choice questions across 57 subjects, from history to medicine) it goes from 41% with one pass to 67% with four. The version trained to reason goes from zero to 65% on the questions of AIME 2024, the American Invitational Mathematics Examination that qualifies students for the US maths olympiad. With more passes than in training, MMLU barely drops, but AIME sinks to 39% at eight.
Ouro-1.4B, accuracy by number of passes (tables 10 and 12 of the paper). Up to four, more passes help. Beyond that the model is outside what it saw in training, and the hardest task shows it.
Two things stand out, and both hold for nearly all of these models. The first is that a model trained for many passes is useless with few: Ouro with one pass doesn't solve a single AIME problem, and Huginn with one pass solves none of GSM8K. The second is that the useful number of passes depends on the task. Huginn gets close to its best on HellaSwag, a test of completing sentences with common sense, at 8 passes, while on GSM8K it keeps improving at 32. Questions that need steps chained together get more out of extra passes than questions that only need something recognised.
That leads to the idea of letting each token decide how many passes it needs, as in the Universal Transformer. There are three ways to do it:
- Stop when the state stops changing. On each pass, Huginn compares its probability distribution with the previous pass's and stops when the difference (the Kullback-Leibler divergence, a measure of how far apart two distributions are) falls below a threshold. Nothing extra needs training, and on MT-Bench, a conversation benchmark scored from 1 to 10, the score goes from 5.63 to 5.56, a difference that isn't significant. Tokens in questions about moral scenarios take 3.5 more passes on average than those in secondary-school maths.
- Learn when to exit. Ouro has a small gate next to the output that estimates, on each pass, the probability that carrying on isn't worth it. Without a penalty that pushes it to spread its bets, the gate learns never to exit before the fourth pass. With one, plus a second phase that trains it on how much each pass improved the prediction, Ouro scores about 66% on MMLU with 2.5 passes on average, against 67.35% with a fixed four.
- Let a router decide during training. In Mixture-of-Recursions, a router picks which tokens carry on at each pass. With three passes, the first handles every token, the second two thirds and the third one third. The model learns from the start how to share out its compute.
Exiting early complicates a piece that's simple in an ordinary model: the KV cache (key-value). During generation the model keeps the keys and values that attention computed for every earlier token, so it doesn't have to recompute them at each step. A looped model has one per pass, and a token that exited at the second has nothing stored for the third. Huginn fills the gap by having later tokens attend to the deepest pass available for each earlier token, and it works with no extra training.
What the numbers say
The most quoted comparison is Ouro against standard Qwen3 models, using the base models, before any tuning for conversation.
| Benchmark | Ouro-1.4B | Qwen3-4B | Ouro-2.6B | Qwen3-8B |
|---|---|---|---|---|
| MMLU | 67.4 | 73.2 | 74.6 | 76.6 |
| GSM8K | 78.9 | 72.9 | 81.6 | 83.1 |
| MATH500 | 82.4 | 59.6 | 90.9 | 62.3 |
The authors sum this up as two to three times the efficiency per parameter: their 1.4- and 2.6-billion-parameter models match 4- and 8-billion-parameter ones on most benchmarks. The table also shows where they fall short. On MMLU, which is mostly about knowing things, both Qwen3 models stay ahead.
The other results point the same way, with caveats:
- Huginn, with 3.5 billion parameters and 800 billion tokens, is on a par with the first generation of OLMo at 7 billion, but behind the second. Its clearest result is the comparison with a twin without the loop, trained on the same 180 billion tokens: on GSM8K with chain of thought, the twin gets about 2% right and Huginn with 32 passes between 9 and 10%.
- The Google Research group compared a 24-layer model with a 12-layer one run twice: half the parameters and the same compute. The looped one is worse at predicting text in general (its perplexity, a measure of how surprised it is by the text, is 7.90 against 7.40), but better at maths problems, 34.3 against 29.3. The authors call this a bias towards reasoning.
- Mixture-of-Recursions, on the same compute budget and at around 360 million parameters, slightly beats the standard model (43.1 against 42.3 on average across its benchmarks) with nearly half the parameters. At the smallest size they tried, 135 million, it falls behind.
Before taking these numbers at face value, read the small print. Almost everything is measured on maths and reasoning, which is exactly where the loop helps. None of the looped models in these papers goes beyond 3.5 billion parameters. Public benchmarks like GSM8K may be in the training data, and a gap of a few points can come from that; the post on benchmarks explains how it happens. And one Ouro result doesn't make the abstract: at equal depth, a model with distinct layers beats one with repeated layers. In their scaling experiments, the model in which every layer has its own weights predicts better than the one that reaches the same depth by looping, and the gap widens with the number of passes. The loop's advantage is per parameter, not per operation: it does more with the same weights, not more with the same compute.
When to use them and when not to
To know where a looped model fits, you need to understand what it improves and what it doesn't. Ouro's authors measured this with two synthetic tasks. In the first, small models memorise invented biographies, and the measure is how much information fits per parameter: about 2 bits, with or without the loop. In the second, the models evaluate modular arithmetic expressions, and there the loop changes everything.
The loop doesn't increase what a model knows. It improves what the model does with it (section 6 of the Ouro paper).
The same 2 layers go from 7.5% to 78% accuracy with six passes, and beat a model of 12 distinct layers with the same compute. MMLU shows the same pattern subject by subject: from one pass to four, Ouro improves by 156% on elementary mathematics and 143% on formal logic, but only 8% on global facts. Huginn, for its part, gets 38% of a set of science questions right when it has to know the answer, and 49% when it's given the text that contains it. It has few facts memorised, but it reasons well over whatever is put in front of it.
With that, the cases sort themselves out.
A good fit:
- When memory is what's missing. On a phone or a small graphics card, a 1.4-billion-parameter model that does maths like a 4-billion one fits where the other doesn't.
- When the task is chaining steps: maths, logic, code, planning. That's where passes pay off.
- When the facts come in the context. If a search engine or a document supplies them, the model doesn't need to memorise them, and the loop goes into reasoning over them.
- When a compute dial helps: few passes for easy questions, many for hard ones, with the same model.
A poor fit:
- When the task is knowing things. General knowledge, specific facts: what counts there is parameters, and the loop adds none.
- When per-token latency rules. The passes run one after another, so four passes take as long as a model four times as deep, not as long as one the size of the weights.
- When the reasoning has to be readable, for auditing or for safety.
- When it has to be served today with the usual tools. The most widely used open-source inference engines, such as vLLM and SGLang, assume every token takes the same path through the model, and that breaks with a variable number of passes. Ouro's authors ran into this when they tried reinforcement learning.
As pros and cons:
| For | Against | |
|---|---|---|
| Weight memory | That of a small model | |
| Compute per token | Adjustable at use time | That of a large model, and in series |
| Memory traffic | Several tokens on different passes can share one read of the weights | A single token reads the same weights once per pass |
| KV cache | Keeping only the last pass during generation barely costs Ouro any accuracy | Reading the input text needs the cache of every pass |
| Reasoning | Better per parameter on multi-step tasks | Doesn't improve memorised knowledge |
| Training | Can start from an already trained model | Less stable, with more decisions to get right |
| Infrastructure | Today's inference engines don't expect it | |
| Oversight | You can see which token would win after each pass | The reasoning can't be read |
Two rows deserve a word of explanation. The first is memory traffic. If generation speed is limited by reading the weights, repeating the same layers doesn't improve it on its own, because every pass reads them again. What does help is grouping tokens that are on different passes so they share each read. That's what Mixture-of-Recursions does when serving the model, getting up to twice as many tokens per second at the cost of a little quality. The second is the cache. Ouro keeps one cache per pass, four times the memory of a standard model of its size, but during generation it can keep only the last pass's and go from 78.92% to 78.85% on GSM8K. When reading the input text, though, it needs all four: reusing one costs more than ten points.
Learning from its own recurrence
The most recent paper on the subject, by Hui Chen, Joshua Elsdon and Can Goksen (University of Wisconsin-Madison and Microsoft), came out on 24 November 2026. It doesn't propose a new model but a way to improve an existing one using its own work.
They start from OLMo-2 1B, which despite the name has about 1.5 billion parameters spread over 16 blocks, and convert it without dropping any: blocks 1 to 7 are the prelude, 8 to 11 the core (268 million parameters) and 12 to 16 the coda. They train it on 50 billion tokens with several mean numbers of passes: 4, 8 and 32. A control model, with the same data and no loop, solves 44% of GSM8K.
Before proposing anything, they look at what changes from one pass to the next. By running each pass's state through the coda, they see which token the model would pick at that moment, across more than 700,000 positions of generated text. The model's favourite token is the same across all four passes 95.6% of the time, and when it changes, the final winner was already among the first pass's top five in 99.4% of cases. The passes almost never discover a new answer: they reorder the ones already near the top, above all where the first pass was unsure.
That's where the idea comes from. The four-pass model answers thousands of maths questions, without knowing the right answer or filtering out the wrong ones, and those answers become the training target for the core run with a single pass. Only the core is trained; everything else stays frozen. They call it preference write-back: writing back into the weights the preferences the model forms by looping.
For the model trained with a mean of four passes, the results on GSM8K look like this:
| With 1 pass | With 4 passes | |
|---|---|---|
| Before | 40.9 | 56.2 |
| After | 48.5 | 62.7 |
The surprise is that training with one pass works better than training with four (62.7 against 56.9) and costs less. The authors explain it by measuring the gradient: when training with four passes, the signal that reaches the first pass is barely 7% of what arrives when training with one directly, and it points in an almost perpendicular direction. And what's learnt with one pass carries over to the rest: 97% of the improvement at four passes comes from using the updated block on passes 2 to 4.
The method has clear limits too. The advantage of training with one pass disappears if the model doesn't inject the input on every pass. Applied to other published looped models, it makes Ouro worse at four passes (from 79.7% to 77.2% on GSM8K) and barely moves Huginn. Everything is measured on maths, with a model of about 1.5 billion parameters. What doesn't break is everything else: across 17 non-maths tasks, the average changes by less than 0.2 points.
What makes it interesting for the future is the direction. If what the model computes with many passes can be written back into the weights so that it needs fewer, the loop isn't only a way to spend more compute at use time. It's also a way to improve the model without labelled data.
Where it's heading
What the papers themselves say is missing is fairly concrete:
- Extrapolation. Ouro degrades with more passes than it was trained with, and its authors list fixing that as the first piece of future work. Until it's solved, the dial has a ceiling.
- Reinforcement learning. It's the technique used today to train models that reason in writing. On Ouro it brought no improvement over supervised fine-tuning, partly because the infrastructure doesn't support paths of variable depth.
- Compressing the recurrence. Huginn proposed teaching the model to need fewer passes, and the November 2026 paper is a first step in that direction.
- Combining with mixture of experts. Huginn suggests pairing the loop with a mixture of experts (MoE), models that activate only part of their parameters for each token. The experts would hold the knowledge and the loop would do the computing.
- Native stopping. McLeish's group leaves for later the job of teaching converted models to decide for themselves how many passes to run.
- Free drafts. An early pass is a cheap version of the same model, and both Huginn and Ouro suggest using it as the draft for speculative decoding, the technique of generating several tokens with a fast model and checking them all at once with the slow one.
From here on it's my reading, not the papers'. The question that decides everything else is scale. The models in these papers reach 3.5 billion parameters at most, and nobody knows whether the per-parameter advantage holds in a model of a hundred billion. Ouro itself offers a hint in its favour: the disadvantage of repeating layers rather than having distinct ones shrinks as the model grows. But a hint isn't a measurement.
If it does hold, the loop will most likely reach small models before large ones. Where memory is the limit, on phones, laptops and modest graphics cards, doing more with the same weights is worth a lot, and converting an already trained open model costs a fraction of what training one does. In the largest models the tension with oversight will weigh more. The labs that signed the paper on monitoring reasoning are the same ones that would have to adopt an architecture that hides it, and the likeliest outcome is that they combine the loop with chain of thought, as Ouro already does, rather than swap one for the other.
What to take away
- A looped model repeats a block of layers on each token's hidden state before predicting the next one. It computes like a deeper model with the parameters of a small one, and the number of passes is chosen at use time.
- Sharing weights saves memory, not compute. Each pass costs as much as an extra layer, and the passes run in series. The advantage is per parameter, not per operation: at equal compute, a model with distinct layers still wins.
- The loop improves what the model does with what it knows, not how much it knows. The same 2 bits per parameter, but far better accuracy when chaining steps: maths, logic, code.
- Every task has its right number of passes. Below the training depth the model is useless, and above it the model degrades. Exiting early token by token, with a fixed rule, a learned gate or a router, cuts compute with almost no loss of accuracy.
- It's reasoning you can't read. It complements chain of thought; using it instead costs you the ability to monitor what the model is thinking.
- It's still research: models of up to 3.5 billion parameters, measured mostly on maths, with inference engines that don't expect them. The closest thing to practice is converting open models that are already trained, and the clearest use is on devices with little memory.
Ouro isn't smarter than Qwen3-4B because it knows more. It knows less, and MMLU shows it. It's better at maths because it thinks about every token four times over, with the little it knows. That's the whole idea, and also its limit.