Scaling Latent Reasoning via Looped Language Models

Vizuara (Substack) · 10 min read · original
  1. Introduction
  2. The Information Hypothesis: Intelligence as Symmetry
  3. Scaling Laws: The Predictability of Power

  4. The Kaplan Law (OpenAI, 2020)

  5. The Chinchilla Law (DeepMind, 2022)
  6. The Broken Neural Scaling Law (BNSL)
  7. The Architectural Ceiling: Why Transformers Struggle to Reason
  8. The Ideal Case
  9. Methodology

  10. Data Pipeline and Scaling

  11. Model Architecture: The Recurrent Transformer Block
  12. Training Pipeline: The Entropy-Regularized Objective
  13. Inference: The Dynamic Exit and Token-Level Pondering
  14. KV Cache Sharing for Inference Efficiency
  15. HRMs vs CTMs vs Looped LMs
  16. Results/Outcomes
  17. Thoughts
  18. Conclusion

For the last half-decade, the “Intelligence” of Large Language Models has been treated as a function of Scale and Sequence. We assumed that if we stacked enough layers and fed them enough tokens, reasoning would emerge as a byproduct of next-token prediction. This led to the era of the “One-Pass” Transformer: a massive, feed-forward monolith that attempts to solve multi-hop logic problems in a single, lightning-fast traversal from input embeddings to output logits.

However, we are hitting a wall. True reasoning; possibly the kind that human cognition performs through internal deliberation cannot be captured by a fixed-depth circuit. Ouro (Looped Language Models and the topic we are discussing today;named after the recursive Ouroboros) represents one of the first serious architectural rebellion against this static depth.

The Ouroboros is an ancient symbol depicting a serpent or dragon consuming its own tail, representing the eternal cycle of life, death, and rebirth, as well as unity, infinity, and self-reflexivity**

It suggests that intelligence shouldn’t be scaled by adding more parameters (N), but by scaling the Recursive Depth (T) of the computation. It falls in line with recent works like Continuous Thought Machine (CTMs) and Hierarchical Reasoning model (HRMs) with more tweaks and adaptations.

That said, let’s start with understanding why we need a new dimension to explore for reasoning and why it is restricted by lossy compression of information in modern day “One-pass” architectures like transformers.


To understand why “Looping” works, we have to look at the fundamental relationship between data and intelligence.

Intelligence is, at its core, the ultimate form of Lossy Compression. A model is “intelligent” not because it remembers every pixel in an image, but because it discovers the Symmetries; i.e. the underlying rules that remain invariant across different data points.

The Logic is simple; If a model understands the symmetry of a mathematical operation (e.g., commutativity), it no longer needs to store A+B and B+A as separate facts. Hence, Intelligence is the process of stripping away the “Noise” of the high-dimensional data space to find the “Signal” of the low-dimensional manifold.

The “Information Hypothesis” posits that while our data exists in a massive, high-dimensional Data Subspace (millions of pixels or thousands of vocabulary tokens), the actual Information or the semantic/contextual truth lies in a much lower-dimensional Latent Subspace.

(\mathcal{Z} \ll \mathcal{X})

Consider a 1000-word essay. In the Data Subspace, this is a sparse sequence of discrete tokens. In the Latent Subspace, this can be compressed into a single, dense vector which is like a “Contextual DNA” that carries the entire semantic weight of the prose.

Grey region is data dimensions; red sub-space is information

The problem with current Transformers is that they spend the majority of their FLOPs navigating the high-dimensional Data Subspace (calculating attention between every literal word for reasoning though methods like CoT, COCONUT, etc.) rather than operating directly on the Latent Manifold. By moving the reasoning process into the latent space through Recursive Looping, we allow the model to navigate this lower-dimensional manifold repeatedly, refining its “thought” before ever committing to a high-dimensional (and expensive) text token.


Scaling laws describe the empirical relationship between a model’s performance (usually measured as Test Loss) and three primary variables: the number of model parameters (N), the size of the training dataset (D), and the total amount of compute used during training (C).

Without these laws, building an LLM would be a multi-million dollar gamble. We need scaling laws to answer the “What if?” questions:

If I double my budget, should I build a deeper model or collect more data? At what point does adding more parameters yield diminishing returns?

Red boundary condition is Pareto frontier

Scaling laws provide the Pareto Frontier (optimal operating space for optimization) which is the most efficient path to maximizing intelligence for every dollar spent on GPUs.

Neural scaling follows a Power Law distribution. As we increase scale, the error decreases predictably, following the general form:

(L(x) \propto x^{-\alpha})

Where L is the loss and x is the scale (parameters or data). The exponent alpha determines how quickly we hit “diminishing returns.” This predictable decay suggests that as long as we can scale the inputs, we can continue to squeeze “Surprise” (Entropy) out of the data.

To understand where we are, we must look at the three laws that defined the era of the “Large” Language Model:

The first major flag in the ground. Kaplan and his team suggested that Model Size (N) was the most dominant factor in performance. They argued that you could train massive models on relatively small amounts of data and still see massive gains. This led to the “Parameter Arms Race,” where models ballooned from 1B to 175B (GPT-3) in record time.

DeepMind’s Hoffmann et al. challenged the Kaplan paradigm. They discovered that most models were significantly over-parameterized and under-trained.

Law states that; for every doubling of compute, parameters and data should grow in equal proportions. This shifted the industry from “Bigger Models” to “Better Trained Models.” It’s the reason why Llama-3 (8B) trained on 15 trillion tokens can outperform older models ten times its size.

While Kaplan and Chinchilla assume smooth curves, BNSL accounts for “Phase Transitions” or “Emergence.” It describes how certain capabilities (like coding or multi-step math) don’t appear gradually; they stay at zero until the model hits a critical “Compute Threshold,” at which point performance spikes. This suggests that scale isn’t just about reducing loss (it’s like unlocking skills by learning essays).

As we look at these laws, the bottleneck becomes clear: they all assume a "one-pass" architecture. Scaling N and D is becoming prohibitively expensive. This leads us to our next section: why the current attention-heavy, fully connected architectures are starting to break under their own weight.

While Scaling Laws give us the map, the Transformer architecture is the vehicle and right now, that vehicle is overheating. To understand why we need Looped Models, we have to look at the structural decay occurring in our current “Attention-is-all-you-need” orthodoxy.


The standard transformer is a fully connected graph over time. While this makes it incredibly powerful at capturing global context, it introduces a series of scaling and representational bottlenecks that make deep reasoning prohibitively expensive.

The core of the issue is the Quadratic Bottleneck. In standard Self-Attention, every token must attend to every other token.

To fight the O(N2) explosion, we’ve developed approximations like Sliding Window Attention (SWA) and Interleaved Attention.

Perhaps the most subtle issue is Tokenization. As discussed in the Byte Latent Transformer (BLT) framework, forcing a model to “reason” in discrete text tokens is fundamentally sub-optimal.

This also holds for images/visual domain; in text we have a markovian chain assumption whereas in 2d space we have markovian blanket assumption.

Solutions like FlashAttention (optimizing IO/SRAM usage) and PagedAttention (managing KV cache like OS memory) are brilliant engineering feats, but they are Optimization, not Innovation. They make the quadratic bottleneck faster to calculate, but they don’t remove the bottleneck itself. They ease the memory handling, but the fundamental representational inefficiency remains.

To escape the O(N^2) trap, many have looked back at Recurrent Architectures.

We are stuck in a loop:

  1. Attention has the power but hits a memory wall.
  2. Recurrence has the efficiency but hits a quality wall.
  3. Text-based Reasoning is too slow and sparse.

We need a model that can navigate the latent manifold with the precision of Attention but the iterative efficiency of a Recurrent system. This is where the Ideal Case the Looped Latent Reasoning model emerges (which is our topic of discussion).


To move beyond the architectural ceiling, we must transition from models that simply store and retrieve to systems that ruminate and refine. The “Ideal Case” for a next-generation architecture isn’t just a deeper stack of unique layers; it is a system that balances its data, parameter space, and computational budget by shifting the heavy lifting into the latent dimension.

In the “One-Pass” era, intelligence is a fixed cost. Whether a model is answering “What is 2+2?” or “Solve this differential equation,” it uses the same number of layers. The Goal is to find an ideal architecture which could introduce a third axis of scaling: T (Time/Depth).

Instead of scaling N (Parameters), we should scale how many times a hidden state circulates through the model’s weights. This shifts the focus from Knowledge Capacity (storage) to Knowledge Manipulation (processing), allowing for “Slow Thinking” on complex tasks.

We expect a model to have a higher Degree of Freedom in how it navigates its own trained manifold; as the inference process is realisitically a mapping/retrieval task. This concept, rooted in Hierarchical Reasoning Models (HRM) and Continuous Thought Machines which I mentioned earlier, suggests that retrieval should be an internal, iterative process.

A theoretical ideal would involve a high-level “Planner” performing abstract reasoning in the latent space, while a low-level “Executor” handles the rapid, detailed generation. By looping information, the model effectively “re-reads” its own internal state, boosting its ability to retrieve and compose distant facts that a single pass would inevitably skip.

The ultimate expectation is Latent Pondering. When a model “thinks” in text (Chain-of-Thought), it is limited by a 15-bits-per-token vocabulary. A true reasoner should operate in the continuous latent space, accessing ~40,000 bits per hidden vector.

However, latent reasoning is only effective if it includes a Grounding and Verification Loop:

  1. Iterative Refinement: The model generates a candidate latent “thought.”
  2. The Quality Check: An internal mechanism evaluates the Entropy of the latent state. If the information is “fuzzy” or inconsistent, the model should refuse to emit a token.
  3. Recursive Feedback: Instead of moving forward, the model loops the state back through its blocks, refining the vector until the internal “thought” stabilizes.
  4. Informed Emission: Only when the internal logic is verified in the latent space does the model commit to a high-dimensional text token.

This Recursive Pipeline represents the shift from a stochastic parrot to a latent reasoner model that consumes its own internal context to ensure accuracy before it ever speaks.

Moving from our theoretical "Ideal Case" to engineering reality, we arrive at Ouro. This architecture by ByteDance is the first large-scale proof that we can build reasoning into the pre-training phase by treating "Loop Depth" as a first-class citizen.


In the “One-Pass” era, data is often treated as fuel for parameter memory. In Ouro, data is treated as a substrate for Computational Depth. The training process is a multi-stage evolution designed to teach the model how to “polish” its internal representations over 7.7 trillion tokens.

As illustrated in the training pipeline diagram above, the journey from raw tokens to a reasoning model is highly structured:

Through controlled “Physics-of-LMs” experiments, researchers found a critical scaling divergence:


The Ouro architecture departs from the traditional “deep stack” of unique layers in favor of a LoopLM to a recurrent structure that simulates massive depth through weight-sharing and iterative latent refinement.

Unlike a standard transformer that passes a hidden state through L distinct layers (L_1 → L_2 → … → L_n), Ouro groups layers into a “Loop Unit.”

(h_{t+1} = f_\theta(h_t))

where theta represents the shared parameters. This architecture forces the model to learn a differential update by iteratively nudging the latent vector toward the correct semantic manifold rather than attempting to reach it in one “leap.”

Deep recurrence is notoriously unstable. To prevent gradient explosion and maintain signal integrity over many loops, Ouro implements a specific normalization strategy:

The architectural magic of Ouro lies in its Compute-to-Memory ratio.

The architecture includes a specialized Classification Head attached to each loop. This head acts as a “Readout” or “Exit Gate.” During training, it learns to predict the probability of exiting given current hidden state from any given loop t. This multi-exit architecture is what enables the training pipeline to supervise the model at every stage of its “thinking” process, rather than just at the end. If probability (lambda here) is greater then a threshold, we exit out with the token/output of current head.

The core innovation of Ouro’s training lies in how it supervises the latent trajectory. Unlike standard models that only care about the final output, Ouro uses a multi-staged approach to teach the model how to “think” during the loops.

During the initial pre-training on 7.7T tokens, the model doesn’t just learn next-token prediction; it learns to distribute its “confidence” across the loop steps.

Most adaptive models have an inductive bias (hence could fall into reward hacking problem) toward shallow computation (exiting early to save loss). By forcing a uniform prior, Ouro encourages the model to explore the full depth of the 4x loops uniformily, ensuring that the parameters in the shared block are optimized for deep latent refinement rather than just quick shortcuts.
- Intermediate Supervision: The next-token-prediction loss is calculated at every loop iteration t. This ensures that the latent state h_t is semantically meaningful at every stage of the reasoning process.

Once the base model has learned how to refine its latent state, the second stage focuses purely on the Gating Mechanism (λ).

here w_t is a target continuation probability based on the actual loss improvement between h_t and h_{t+1}. If looping again significantly reduces the loss, the gate is penalized for stopping; if it doesn’t, the gate is penalized for “overthinking.”

For the “Thinking” variants of Ouro, a final Supervised Fine-Tuning (SFT) stage is applied.

Inference in Ouro is a variable-depth process. Unlike a standard transformer that spends the same amount of FLOPS on every token, Ouro allocates its “thinking time” based on the complexity of the semantic transition.

Think of the exit gate as a binary router attached to each loop. At every iteration t, the gate evaluates the stability of the current latent state h_t:

Because Ouro is a probabilistic system, it uses Reach Probability to manage its trajectory. The probability of the model actually emitting a token at loop t is the joint probability that it didn’t exit at any previous step:

(P(\text{exit at } t) = \lambda_t \times \prod_{i=1}^{t-1} (1 - \lambda_i))

This ensures that the model’s depth is not just a hard switch but a weighted distribution of its internal certainty.

One of the most critical engineering advantages of Ouro’s inference is how it handles memory.

Example;

This Adaptive Computation is what allows Ouro to be fast when it can and slow when it must.

The recurrent architecture of Ouro presents a significant memory challenge: by looping a hidden state four times, the model effectively quadruples the required Key-Value (KV) cache storage if each iteration is treated as a unique layer. Since memory bandwidth is often the primary bottleneck in LLM inference, a 4x overhead would negate the efficiency gains of a smaller parameter count. To solve this, the researchers evaluated whether the model could function by sharing a single cache across all recurrent steps.

During the initial “prefill” stage; where the model processes the input prompt the experiment showed that KV cache sharing is non-viable. Each of the four recurrent passes transforms the input representation into a fundamentally different latent state. Because the early layers of a reasoning chain are semantically distinct from the later, refined states, attempting to force them into a single shared cache results in a massive loss of signal. Benchmark results showed a drop of over 10 points on GSM8K when prefill caches were merged, confirming that the model needs distinct “memory” for each stage of its initial thought process.

The dynamics shift during the auto-regressive decoding phase (generating one token at a time). The researchers tested three specific strategies to reduce the memory footprint by 4x:

The Last-step Reuse strategy emerged as the optimal engineering solution. It achieved a near-perfect recovery of the original performance (78.85 vs. 78.92 on GSM8K) while successfully reducing the memory requirement by 75%.

This finding implies that while the model needs “space to think” during the initial prompt processing, the subsequent tokens only need to reference the most refined version of the previous context. By discarding the intermediate “draft” states from loops 1, 2, and 3, Ouro-2.6B can operate with the VRAM footprint of a standard 2.6B model while utilizing the reasoning depth of a much larger system. This optimization is critical for maintaining high throughput on consumer-grade GPUs where memory capacity is limited.


In our earlier articles we discussed and very similar reasoning paradigm, namely CTMs and HRMs/TRLs. All of them have a shared subspace for reasoning which is refined iteratively; but, HRMs/CTMs tackled this problem at smaller scale whereas LoopedLMs is an attempt of realizing the same dream at larger scale. Lets have a look to understand potential differences between them.


The core finding of the base model evaluation is the 2–4x parameter efficiency gain. Ouro doesn’t just compete with models in its own size class; it consistently defeats much larger “dense” (one-pass) architectures.

When fine-tuned for deep reasoning (SFT), the LoopLM architecture shows its true strength in high-difficulty academic and competitive benchmarks (AIME, GPQA).

The researchers tested how the model performs if you change the number of loops (T) during inference. Since the model was trained with T=4, this created a clear “performance curve.”

  1. T=1 (The Failure): At a single pass, the models perform poorly, especially the Thinking variants (often near 0% on math). This proves the weights are specifically optimized for cooperative iteration, not one-pass intuition.
  2. T=4 (The Peak): Performance generally peaks at the trained depth. This is where the model is most “comfortable” and accurate.
  3. T=5 to 8 (Extrapolation):

  4. Task Performance: Generally degrades. Pushing the model to think “longer” than it was trained for causes its internal logic to drift or falter.

  5. The Safety Exception: Interestingly, while benchmark scores drop, Safety Alignment actually improves at higher depths. The model becomes more certain of its refusals the longer it iterates.

The move toward Looped Language Models and Latent Reasoning represents a shift from “Intelligence as a Product” (the output token) to “Intelligence as a Process” (the latent trajectory). It challenges the assumption that scaling requires more parameters, suggesting instead that we can scale by increasing the time a model spends navigating its own internal manifold.

However, as we transition from static towers to recursive loops, we encounter new theoretical and practical friction points:

In the current Ouro implementation, the hidden state passes through the same weights for every iteration. While parameter-efficient, this assumes that the “logic” required to start a thought is identical to the logic required to finish it. In human cognition, we often switch from abstract planning to detailed execution. Future architectures might benefit from Heterogeneous Looping, where the weights themselves are modulated by the loop index t, allowing the shared parameters to “shift gears” as the reasoning matures.

Recursive models run the risk of Latent Collapse, where the hidden state iterates into a fixed-point attractor that no longer represents the input data accurately. While Ouro uses entropy regularization to prevent this, there is a delicate balance between “refining” a thought and simply “echoing” an error. We need more robust Topological Constraints/loss functions that ensure the latent state remains anchored to the semantic reality of the prompt even after dozens of iterations.

Currently, the “quality check” for whether to exit a loop is largely based on entropy which is a measure of certainty. But certainty is not the same as correctness. A model can be very certain of a hallucination. The next evolution of the “Exit Gate” should move toward Structural Verification: an internal mechanism that checks if the latent state satisfies the logical constraints of the task (e.g., does the math add up? is the code syntactically valid?) before allowing the token to be emitted.

Ouro processes recurrence sequentially, which preserves the causal chain but limits the potential for parallel “brainstorming.” If we look toward Multi-path Recurrence, we could imagine a model that explores several latent trajectories in parallel, using a “consensus mechanism” to decide which path reaches a stable state first. This would turn the linear loop into a tree-search within the latent space, potentially unlocking the reasoning depth required for scientific discovery or complex system design.

The most immediate takeaway from Ouro’s success is that the VRAM-to-Intelligence ratio is not fixed. By proving that a 2.6B model can simulate the depth of a 12B model, we are opening the door for high-intelligence agents on edge devices. The challenge now is to optimize the hardware for this new paradigm. Current GPUs are designed for massive, parallel one-pass matrix multiplications; they are not yet optimized for the rapid, iterative state-updates required by recursive reasoning.

Ultimately, Ouro proves that the “Token Tax” is a choice, not a law. We no longer have to wait for the model to speak to know that it is thinking. By shifting the focus to the Latent Loop, we are finally building architectures that respect the complexity of the problems they are asked to solve.


At its core, Ouro reframes intelligence as a function of iterative refinement rather than static capacity. By abandoning the fixed-depth orthodoxy of the “one-pass” Transformer and treating the architecture as a recursive operator, we move closer to a machine that doesn’t just predict the next token, but actually ruminates on the underlying logic.

In this article, we started by looking at the Information Hypothesis, seeing how intelligence arises from finding the low-dimensional symmetries in high-dimensional data. We revisited the Scaling Laws of the past from Kaplan to Chinchilla and identified the architectural ceiling where adding parameters no longer yields a proportional increase in reasoning depth. We explored the theoretical “Ideal Case” of Latent Reasoning, framing a future where models navigate their own manifolds through internal quality gates.

We then dissected the Ouro methodology, seeing how it realizes this vision through Weight-Shared Recurrence and an Entropy-Regularized training pipeline. We saw how engineering hurdles like the KV Cache bottleneck were solved through last-step reuse, proving that a model can be deep in thought without being heavy in memory. Finally, the results spoke for themselves: a 2.6B model punching up to match 12B giants, proving that Computational Depth (T) is the new frontier of scaling.

The key takeaway is that the “Token Tax” of traditional LLMs which is basically the need to externalize every thought into text is an inefficiency we can finally bypass. When we decouple Knowledge Storage from Reasoning Depth, we don’t just get smaller, more efficient models; we get a new class of “Slow Thinking” agents that respect the complexity of the problems they are asked to solve. Personally, I am excited for a future where our models stop “reading” our queries and start modeling the structural symmetry of the answers.

Paper: Scaling Latent Reasoning via Looped Language Models

That's all for today.
Follow me on LinkedIn and Substack for more such posts and recommendations, till then happy Learning. Bye👋