What Should Looped Transformers Pass Between Loops? How MoLT Recovers Efficiency with KV Memory

A look at MoLT, which tackles the persistent inefficiency of looped transformers by redesigning what passes between repeated layers: key-value (KV) memory.
← All posts
온
온틀 리서치
2026년 11월 27일 33 min read views 0

Looped transformers gain “depth” by running the same layers repeatedly. They offer strong expressivity, but have a persistent weakness: they are slow. This paper traces that weakness back to a question: “What should pass between adjacent loops?” Its proposed design passes attention keys and values (KV) as memory instead of hidden states in the residual stream. The resulting U-MoLT outperforms OLMo3 at multiple scales in pretraining on 400B tokens, while bringing inference latency almost level with a non-looped model: 996.6ms versus 1,000.6ms at the S scale.

The Problem This Paper Addresses

Conventional transformers build depth by stacking distinct layers. More layers mean more parameters, which in turn require more memory and cost more to run. Looped transformers take a different approach: build one layer, or one block, and run it repeatedly. Three passes through the same block make the computation path three times deeper without changing the parameter count. It is a clever trade: greater expressivity—the complexity of the functions a model can represent—without more parameters.

The problem is efficiency. Each additional loop effectively adds another forward pass, with all the computation that entails. The loops are also sequential. The second pass cannot begin until the first produces its output. This dependency limits both training parallelism and inference speed. Expressivity comes free in parameter terms, but carries a steep computational price.

The paper asks a simple but consequential question: what travels along the connection between loops? Its answer is that this choice determines the balance between efficiency and expressivity. Conventionally, each loop passes its hidden states—the current vector at each token position, carried in the residual stream—directly to the next. This is the connection the authors redesign.

The Core Idea

Consider someone working through a problem over several rounds. In the conventional approach, they carry their entire written answer into each new round. As the answer grows, it becomes heavier to carry, and the next round cannot begin until the previous answer is complete. MoLT changes what gets passed along. Instead of the whole answer, it passes a set of key notes marked as useful references in the previous round.

Those “notes” are attention keys and values, or KV. Transformer attention creates keys and values for each token; a query searches those keys to retrieve values. MoLT’s central mechanism, MoLA (Mixture-of-Loops Attention), treats this KV as memory and selectively reads it again across depth and loops. The design centers on passing reusable KV memory rather than a bulky hidden state.

The paper develops two variants around this idea.

MoLT-R (loop residual). This variant retains the residual stream while also reading local KV across loops. It keeps the written answer and consults the notes as well, favoring expressivity. The authors describe it as a design for expressivity.

MoLT-KV (loop KV). This variant goes further. Each loop starts again from the embeddings rather than inheriting the previous loop’s hidden states. It reads the current loop’s local KV alongside “memory KV” from previous positions in earlier loops. The aim is efficiency. Crucially, this removes “same-position cross-loop dependence.” In plain terms, computing a token in the next loop no longer requires waiting for that same token’s result from the previous loop.

Why does that separation matter? Removing the sequential dependency allows parallel training. The paper pairs this design with a parallel training technique called “loop forcing.” At inference time, it also enables “single-traversal MoL decoding”: decoding in a single traversal, even beyond the number of loops set during training, or the training loop horizon. This is the key to avoiding the cost of sequential repetition. The clever part is that the design adds depth for expressivity while breaking the sequential dependencies that depth would otherwise impose.

U-MoLT (U-shaped MoLT). To further balance efficiency and quality, the authors introduce a U-shaped architecture. Its central move is to separate “memory construction” from “prediction readout.” Separating the work of building memory from the work of predicting the next token using that memory allows decoder traversals that do not contribute to predictions to be skipped. The crucial qualification is that these traversals can be skipped “without changing predictions.” The output stays the same; unnecessary computation is removed.

How the Experiments Were Designed

The abstract describes three strands of experiments.

First, the authors compare three model configurations against OLMo3 in pretraining on 400B tokens: 700M and 1.5B dense models, and a 3B MoE (Mixture-of-Experts) model. Including both dense and sparse (MoE) models appears intended to test whether the technique applies broadly rather than working only with a particular architecture.

Second, they run continued pretraining on Qwen3.5-0.8B-Base for 100B tokens. Rather than training from scratch, this approach adapts an existing public pretrained model to U-MoLT. That has practical significance: it tests whether teams without the resources to train on 400B tokens from scratch can apply the design to an existing model.

Third, they measure inference latency, directly comparing an S-scale model with approximately 113M parameters against non-looped OLMo3.

The evaluation metrics differ by experiment. Pretraining uses token efficiency measured by validation cross-entropy (CE), perplexity, and task accuracy. Token efficiency can be understood as how many fewer tokens are needed to reach the same quality, measured by CE; this is an interpretation based on the abstract. Inference is measured in milliseconds of latency.

It is also useful to distinguish what these metrics measure from what they do not. Validation CE and perplexity are proxies for next-token prediction quality. They do not directly measure usefulness on agent tasks such as multistep reasoning or tool use. Accuracy across 10 tasks partly bridges that gap, but the excerpt alone does not establish exactly which tasks were included.

Results and What They Mean

The results need to be read with their experimental conditions attached. Numbers from different models and experiments should not be combined into a single performance claim.

In pretraining on 400B tokens, U-MoLT outperformed OLMo3 across the 700M and 1.5B dense models and the 3B MoE model. Specifically, the 700M dense model achieved 1.7× token efficiency based on validation CE. This means it needed proportionally fewer tokens to reach the same validation quality, based on an interpretation of the abstract. The 3B MoE model reported different metrics: perplexity across 10 domains fell by 0.75, and accuracy across 10 tasks rose by 2.1 percentage points. The 1.7× token-efficiency figure belongs to the 700M dense model; the 0.75 and 2.1 percentage-point improvements belong to the 3B MoE model. These are different metrics from different models and should be kept separate.

In the experiment that continued training Qwen3.5-0.8B-Base on 100B tokens, the U-MoLT adaptation reduced CE across all 11 domains relative to its matched baseline, with average token efficiency of 1.4×. The result was a CE reduction in every domain, rather than a mix of wins and losses. The efficiency figure also comes from continued pretraining, not training from scratch.

For inference, U-MoLT combined with MoL-Hybrid-2 achieved almost the same latency as non-looped OLMo3 at the S scale, approximately 113M parameters: 996.6ms versus 1,000.6ms. This suggests that, at least at this scale and under these conditions, the usual speed penalty of looped transformers was effectively eliminated. Gaining expressivity from looped depth while matching the speed of a non-looped model is the key numerical support for the paper’s claim to push the expressivity-efficiency frontier.

Taken together, the design passes KV memory between loops instead of hidden states (MoLT-KV), removes same-position cross-loop dependencies to enable parallel training and single-traversal decoding (loop forcing and MoL decoding), and separates memory construction from prediction readout to skip unnecessary traversals (U-MoLT). The result is a step toward gaining the expressivity of a looped architecture without paying for it in latency.

Limitations and Open Questions

Start with the trade-off the authors explicitly address. U-MoLT is introduced to “balance efficiency and quality,” which acknowledges a trade-off between the two variants: MoLT-R favors expressivity, while MoLT-KV favors efficiency. The tension between pushing one objective and giving up some of the other is built into the design.

The limitation I see concerns how far the results can be interpreted. The latency parity of 996.6ms versus 1,000.6ms was measured at the S scale, with approximately 113M parameters. This excerpt alone does not establish whether the same relative parity holds at larger scales such as 700M, 1.5B, or 3B. Latency often behaves differently in small and large models because of factors such as memory bandwidth and KV cache size. Absence from the excerpt does not mean the experiment was never done. The main paper or appendix may contain latency measurements at larger scales, so anyone considering adoption should verify performance at their intended scale.

There is another gap to keep in mind. The pretraining results are reported through validation CE, perplexity, and task accuracy. Improvements in those metrics do not automatically translate into better perceived quality in long reasoning chains or agent workflows. How broadly the 1.7× token efficiency at 700M and 1.4× in Qwen3.5 continued pretraining generalize across task families deserves careful scrutiny.

Comparison with Other Approaches

There are three broad routes to greater depth. Dense models stack more layers, increasing parameters and cost together. MoE expands capacity by adding experts while activating only some of them for each token to save computation, though total parameter count and memory requirements grow. Looped transformers keep parameters fixed and gain depth by repeating the same block. MoLT follows this third route and directly targets its traditional weakness: latency from sequential repetition.

An interesting aspect of MoLT is that it can coexist with these other approaches. Its gains over OLMo3 when applied to a 3B MoE model suggest that looped designs can be combined with other efficiency techniques such as MoE. The distinction from earlier looped transformers comes down to what the authors describe as “what passes between loops”: replacing hidden states with KV memory, then using that change to unlock parallel training and single-traversal decoding. The excerpt does not provide a broader comparison beyond the specific OLMo3 and Qwen3.5 baselines, so the comparison here stays within the scope presented by the paper.

ONTLE’s Perspective

Consider a practical bottleneck in AI PM products. When a user brings a complex project to a PM agent, the agent needs to break down requirements, work through dependencies, plan backward from deadlines, and identify risks. These tasks call for multistep reasoning, and models that “think more deeply” tend to produce better results. Production constraints push in the opposite direction. Larger models increase both cost and latency, and in settings such as SaaS that deploys agents to handle work, where response speed shapes perceived quality, a 1-second delay directly affects usability.

MoLT offers a concrete direction for this setting. It gains reasoning depth through loops without increasing the parameter count, then uses single-traversal decoding and a U-shaped architecture to bring latency in line with a non-looped model: 996.6ms versus 1,000.6ms at the S scale. That fits the goal of a PM agent that thinks more deeply without becoming slower. In particular, adapting Qwen3.5-0.8B-Base through continued training on 100B tokens and reducing CE across all 11 domains could offer a practical entry point for product teams that cannot afford pretraining from scratch. They could apply the design to a public base model. As noted above, however, the latency parity comes from a small model. Measuring it at the scale intended for an actual PM agent must come first.

A Checklist for Practitioners

  • Does your workload benefit more from depth than width? MoLT gains come from keeping parameters fixed while deepening the computation path. First assess whether your task improves with deeper reasoning. Simple classification or retrieval may gain little from looped depth.
  • Check the latency-parity conditions at your own scale. The 996.6ms versus 1,000.6ms result comes from the S scale, approximately 113M parameters, with MoL-Hybrid-2. If you intend to use 700M or more, measure latency at that scale to see whether parity holds.
  • Are you training from scratch or continuing pretraining? The 400B-token pretraining results and Qwen3.5-0.8B-Base 100B-token continued-pretraining results come from different conditions. If you plan to build on a public base model, the latter figures are relevant: lower CE across 11 domains and average token efficiency of 1.4×.
  • Set expectations according to whether your model is dense or MoE. The 1.7× token efficiency of the 700M dense model and the 0.75 perplexity reduction and 2.1 percentage-point accuracy gain of the 3B MoE model are separate metrics. Use the results that match your architecture.
  • Understand the quality metrics and validate them on your tasks. The reported metrics center on validation CE, perplexity, and task accuracy. Assess quality in your actual agent or RAG pipeline using an evaluation set from your own domain.
  • Establish a reproducible path through the code first. A public repository is available at github.com/hustvl/MoLT. Begin an adoption assessment with a small-sample reproduction rather than relying on the paper’s reported numbers.
What exactly is a looped transformer?

It is an architecture that gains depth by repeating the same layer or block instead of stacking distinct layers. This deepens the computation path and increases expressivity without adding parameters, but sequential repetition carries an efficiency penalty. This paper focuses on reducing that penalty.

Should I use MoLT-R or MoLT-KV?

According to the abstract, MoLT-R (loop residual) retains hidden states and favors expressivity, while MoLT-KV (loop KV) restarts from embeddings and favors efficiency. The designs serve different purposes, so the choice depends on whether expressivity or efficiency matters more to you. For a balance between the two, the authors present U-MoLT, which separates memory construction from prediction readout.

Why does single-traversal decoding matter?

Looped architectures usually require multiple sequential loops, making them slower. By removing same-position cross-loop dependencies, MoLT-KV enables decoding in a single traversal, even beyond the number of loops set during training. This is the key to avoiding latency from repetition and directly supports the result of matching inference latency to a non-looped model.

Can this be applied to an existing pretrained model?

The Qwen3.5-0.8B-Base experiment in the abstract demonstrates that route. Instead of training from scratch, the authors adapted a public base model to U-MoLT and continued training on 100B tokens. CE fell across all 11 domains, with average token efficiency of 1.4×. These are continued-pretraining results and should be distinguished from the 400B-token results for pretraining from scratch.

Did it also work on MoE models?

Yes. On the 3B MoE model, perplexity across 10 domains fell by 0.75 and accuracy across 10 tasks rose by 2.1 percentage points relative to OLMo3. This suggests that looped designs can be combined with sparse (MoE) architectures as well as dense models. These figures belong to the 3B MoE model and are separate from the 1.7× token efficiency reported for the 700M dense model.

References