Back to paper library
Paper notesarXiv 2026

MoLT

Round and Round

Original paper

Mixture-of-Loops Transformer

Paper authors

Lianghui Zhu · Shijie Wang · Xinggang Wang · Jinze Bai · Bo Wang · Xiang Bai

Publication
Publication venue not yet verified
First submitted to arXiv
arXiv:2611.34923
Cite this paper · BibTeX

The citation identifies the linked source version. It cites the original paper and its authors.

@misc{transformersmolt2026,
  title = {{Mixture-of-Loops Transformer}},
  author = {Lianghui Zhu and Shijie Wang and Xinggang Wang and Jinze Bai and Bo Wang and Xiang Bai},
  year = {2026},
  eprint = {2611.34923},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.34923}
}
On this page

On November 23, 2026, Zhipu (Z.ai) introduced GLM-5.4 on its official blog, with a title calling it “our first Loop Transformer.”

If you haven't heard of Loop Transformers, here's a little background first. An ordinary Transformer runs from the bottom up, each layer once; a Loop Transformer runs a stretch of layers (or the whole network) several times over, reusing the same set of weights on the second pass. The parameter count stays the same, while computation grows with the number of loops. The idea goes back to the Universal Transformer of 2018, and ALBERT later used cross-layer parameter sharing to compress BERT.

GLM-5.4 takes 28 layers out of the GLM-5 base model and runs them for two loops, for a model of about 750B parameters in total. The post quickly climbed past a thousand points on Hacker News, and some commenters complained that the flagship model came with almost no public benchmark scores.

Two passages in the blog post bear directly on this note. In the first, Zhipu says that looped models trained from scratch still fall short of models that don't share weights under the same pretraining compute budget, so they chose to convert an already-trained model into a looped architecture. In the second, they write that the most direct implementation keeps a full KV cache for each loop, so memory use multiplies with the number of loops; GLM-5.4's solution is to have the second loop reuse the sparse KV selected by the first loop, keeping only an extra sliding window of its own.

Two days later, on November 25, the hustvl team at Huazhong University of Science and Technology (HUST), the group whose Vim paper has a note on this site, posted MoLT on arXiv together with ByteDance Seed and the University of Toronto. The paper starts from one question. When a Transformer goes round and round, what exactly should pass from one loop to the next?

Defining the Problem

First, let's pin down how a looped model is written. The input is a sequence of tokens x0,…,xT−1x_0,\dots,x_{T-1}, the shared network has LL layers, and it runs NN loops in total. After each loop, the last layer's output is normalized and written as zrz^r.

The most common way to connect the loops is called loop residual, where the previous loop's output serves directly as the next loop's input:

Xtr,0={e(xt),r=1ztr−1,r>1X_t^{r,0}= \begin{cases} e(x_t), & r=1\\ z_t^{r-1}, & r>1 \end{cases}

e(xt)e(x_t) is the token's embedding vector, and Xtr,0X_t^{r,0} is the input to layer 0 of loop rr at position tt.

The authors see two problems with this connection.

The first is expressiveness. In each loop, every token hands just one vector to the next loop, and everything the intermediate layers compute gets squeezed into the same residual stream, growing more diluted the further it goes. This is the authors' claim; the same team made the same argument about deep networks without loops in their MoDA paper of March 2026. The evidence only shows up in the ablations later on.

The second is inference cost, and this one is easier to see. Token tt in loop 2 takes its own output from loop 1 as input, so for every token generated, the network has to run through both loops in order before producing a result. Each loop's attention also needs its own KV cache. The paper measured a set of numbers on a small 113M model (one H20, batch size 1): with a 128-token prompt plus 64 decoding steps, the non-looped OLMo3 takes 0.98 seconds to decode, while the same network turned into a two-loop model takes 1.96 seconds.

GLM-5.4, as the blog describes it, still continues from the previous loop's hidden states. From this we can infer that what shared KV saves is cache memory; each token still has to run two loops.

So is there a way to keep the depth that looping brings, yet pay only the non-looped price at decode time?

Solving the Problem

Figure 1 of the paper, four architectures side by side. (a) Loop Model: from the embedding layer up through several attention layers to the LM head, with an orange dashed line connecting the top layer's output back to the bottom layer, labeled loop residual. (b) MoLT-R: the same route back is relabeled loop residual and KV at j = t, every layer is replaced by a MoLA layer, and a green line on the right sends each layer's local KV to the layers above. (c) MoLT-KV: the orange dashed line becomes loop KV at j < t, sent into each MoLA layer separately, with local KV on the right as well. (d) U-MoLT: on the left is the MoLT encoder, with the embedding layer at the top and MoLA layers arranged downward, and an orange dashed line for loop KV at j < t; on the right is a MoLT decoder made of Cross Layers, with a blue line projecting the encoder output into decoder KV sent into each layer, and the LM head at the very top.
Original Figure 1, Zhu et al., from PDF page 1, arXiv license, scholarly quotation.

The authors' answer is to pass KV instead. The keys and values computed by earlier layers and by the previous loop are all kept, and later layers read them with attention whenever they need them. This read mechanism is called Mixture-of-Loops Attention (MoLA), and panels (b) through (d) show the three architectures built from it:

  • MoLT-R: keeps loop residual and additionally lets each layer read the KV of earlier layers and of the previous loop, aiming for expressiveness.
  • MoLT-KV: every loop restarts from the embedding, and information from the previous loop comes in only through KV, aiming for decoding efficiency.
  • U-MoLT: splits the network into a looped encoder and a decoder that takes no part in the feedback, striking a balance between the two.

MoLA: One Softmax, Two Directions

Ordinary self-attention looks only along the sequence; the query at position tt of layer ℓ\ell reads the keys and values of the same layer at positions j≤tj\le t. MoLA adds a depth direction, so it can read the KV that the same token left at other layers or in the previous loop. The paper names the two sources:

  • sequence KV: the context laid out along token positions.
  • depth KV: KV at the same position tt, from shallower layers, from this layer itself, or from the previous loop. Each layer projects these KV from its own input, and the paper calls them local KV.

MoLA concatenates the two sets of KV into one set K=S⊔D\mathcal{K}=\mathcal{S}\sqcup\mathcal{D} and computes the weights with a single softmax (loop and layer superscripts omitted):

ot=∑(k,v)∈Kexp⁡(s(qt,k)) v∑(k,v)∈Kexp⁡(s(qt,k))o_t=\frac{\sum_{(k,v)\in\mathcal{K}}\exp\big(s(q_t,k)\big)\,v}{\sum_{(k,v)\in\mathcal{K}}\exp\big(s(q_t,k)\big)}

S\mathcal{S} is the sequence KV, D\mathcal{D} is the depth KV, and ⊔\sqcup means the two sets are concatenated. The score is s(q,k)=q⊤k/hs(q,k)=q^\top k/\sqrt{h}, where hh is the per-head dimension. Which loop's or which layer's information matters more is decided entirely by the query–key scores; no separate gate is learned.

Since the two sets of keys compete in the same softmax, their numerical scales have to be aligned first. The authors apply a learnable RMSNorm to each head's query and key separately, then apply RoPE. This “sequence plus depth, one shared softmax” formulation is carried over directly from MoDA, mentioned above.

The formula alone doesn't tell you which KV each architecture reads, so the paper uses the figure below to show it:

Figure 3 of the paper, titled Visible Attention Relationships across Loops and Depths, with four grid diagrams, from left to right (a) Loop Model, (b) MoLT-R, (c) MoLT-KV, (d) U-MoLT. In each, the upper half is the current loop r and the lower half the previous loop r−1; the horizontal axis is token positions 0 to 5, the vertical axis is layers 0 to 3, and the top row is that loop's output z. The query Q is always at layer 2, position 3. (a) Positions 0 to 3 of layer 2 are purple, and the previous loop is entirely gray, relying only on residual feedback. (b) Positions 0 to 3 of layer 2 are purple, layers 0 and 1 at position 3 are green, and layers 0 to 3 at position 3 in the previous loop are all orange. (c) The input becomes embeddings e0 to e5, layers 0 to 2 at position 3 are green, positions 0 to 2 of the previous loop's output z are orange, and position 3 is crossed out. (d) The encoder part is the same as (c), with an extra decoder query Q_D on top that reads positions 0 to 3 of this loop's output z, colored blue. Legend: purple is current-loop sequence KV, green is current-loop local KV, orange is previous-loop local or memory KV, blue is decoder KV, and gray is KV that cannot be seen.
Original Figure 3, Zhu et al., from PDF page 6, arXiv license, scholarly quotation.

This figure can be dizzying at first, so let's focus on a single query. In all four diagrams, QQ sits at layer 2, token position 3, of a 4-layer network; the upper half is the current loop and the lower half the previous loop. Count the colored cells in each diagram and you know how many keys are in this query's softmax:

  1. (a) Loop Model: the purple cells are the KV at positions 0 to 3 of layer 2, 4 in total, which is just ordinary self-attention. The previous loop is entirely gray; whatever it computed can only come up through the residual stream (the dashed arrow).
  2. (b) MoLT-R: the same 4 purple cells, plus 2 green ones at layers 0 and 1 of the current loop at position 3, plus 4 orange ones at layers 0 to 3 of the previous loop at position 3, for 10 in total.
  3. (c) MoLT-KV: the input at the very bottom is replaced by the embeddings e0,…,e5e_0,\dots,e_5. The purple is gone, replaced by 3 orange cells from the previous loop's output zr−1z^{r-1} at positions 0, 1, and 2, with position 3 crossed out; add the 3 green cells at layers 0 to 2 of the current loop at position 3 (including QQ's own cell), for 6 in total.
  4. (d) U-MoLT: the encoder part is the same as (c). On top there's an extra decoder query QDQ_D, which reads 4 blue cells, this loop's output zrz^r at positions 0 to 3.

In (c), the embeddings in the bottom row, the missing residual-feedback arrow, and that cross correspond to the two key rules of MoLT-KV. We'll look at MoLT-R first, the smaller change, and then explain why MoLT-KV does things this way.

MoLT-R: Keep the Residual, Open a Few More Windows

MoLT-R keeps loop residual, so the input to loop rr is still ztr−1z_t^{r-1}. The change is only in attention. Besides the usual sequence KV, each layer can read two sets of depth KV: the local KV of shallower layers in the current loop at position tt, and the local KV of all layers of the previous loop at position tt. The previous loop has already finished, so even a query at layer 2 can read what layer 3 of the previous loop produced.

Each layer already projects these local KV when it computes attention; all you have to do is keep them around for later layers to read. So MoLT-R adds no parameters at all, and the only extra computation is a little depth attention.

Its inference cost, however, is the same as an ordinary looped model's. In loop 2, token tt has to wait for its own output from loop 1 and also read its own local KV from loop 1, so the two loops can only run one after the other, and the cache is one copy per loop.

MoLT-KV: Every Loop Starts Over

To spare a token from waiting for its own previous loop, every “same position, across loops” dependency has to be cut. MoLT-KV does it with two rules:

  1. Embedding restart: the input to layer 0 in every loop is always e(xt)e(x_t), no longer ztr−1z_t^{r-1}.
  2. Strict-prefix memory KV: the previous loop's output zr−1z^{r-1} goes through each layer's own projection to become that layer's memory KV, but only positions j<tj<t are open for the query to read; position tt's own output from the previous loop is outside the readable range.
kjℓ=RoPEj(Norm(zjr−1WKℓ))vjℓ=zjr−1WVℓ,j<t\begin{aligned} k_{j}^{\ell}&=\mathrm{RoPE}_j\big(\mathrm{Norm}(z_j^{r-1}W^{\ell}_{K})\big)\\ v_{j}^{\ell}&=z_j^{r-1}W^{\ell}_{V},\qquad j<t \end{aligned}

WKℓW^{\ell}_{K} and WVℓW^{\ell}_{V} are projection matrices dedicated to memory at layer ℓ\ell, separate from the matrices this layer normally uses to compute KV.

In the setting where every layer uses MoLA, a feedback layer's sequence KV is replaced entirely by this memory KV, and the KV of other tokens at the same layer in the current loop is no longer read. Within one loop, tokens don't exchange information directly; all the preceding context comes from the previous loop's output. (The paper also tried placing MoLA in alternating layers, where the non-feedback layers keep ordinary causal self-attention; the ablations come back to this later.) The depth KV is the local KV at position tt from layers 0 through ℓ\ell of the current loop, including this layer's own copy (which the paper calls own KV). The first loop has no previous loop to read yet, so it reads the current loop's sequence KV instead, again restricted to j<tj<t.

You can't do without own KV. Memory only covers j<tj<t, so if own KV were removed as well, the token couldn't see itself in attention at all. In the ablations later, the MoLT-KV that drops all depth KV reaches a cross-entropy of 3.322, worse than the single-loop baseline's 3.318.

With these two rules in place, the output at position tt in loop rr depends on only two things, its own token and the previous loop's outputs at earlier positions:

ztr=Ft(xt,  z<tr−1),r≥2z_t^{r}=F_t\big(x_t,\;z_{<t}^{r-1}\big),\qquad r\ge 2

The weights are shared across loops and every loop starts from the same embedding, so from loop 2 onward, every loop uses the same function FtF_t. The subscript tt only records this token's RoPE position and the prefix length.

This formula has a very useful property, so let's walk through it with 4 tokens:

  • t=0t=0: there are no tokens before it, so F0F_0 takes only x0x_0. From loop 2 on, every loop computes the same result, written z0⋆z_0^\star.
  • t=1t=1: loop 2 reads z01z_0^1, which the first loop computed under a different rule, so z12z_1^2 isn't guaranteed to be the final value. Loop 3 reads z02=z0⋆z_0^2=z_0^\star, and from then on z1r=F1(x1,z0⋆)z_1^r=F_1(x_1,z_0^\star) stays fixed, written z1⋆z_1^\star.
  • t=2t=2: it has to wait until both z0z_0 and z1z_1 are stable, which is loop 4.
  • t=3t=3: loop 5.

Here's a table of whether each cell is guaranteed to equal its final value:

Table: Compiled for this note from Proposition 1 of the paper. ✓ means the position is guaranteed to already equal the stabilized solution zt⋆z_t^\star.
Loopt=0t=0t=1t=1t=2t=2t=3t=3
Loop 1
Loop 2✓
Loop 3✓✓
Loop 4✓✓✓
Loop 5✓✓✓✓

The dependency is strictly lower-triangular; position tt stops changing from loop t+2t+2 on, with no convergence condition needed at all (Proposition 1 of the paper). The authors also note in the appendix that LCKV proved a similar finite-iteration equivalence for an architecture that feeds back only the top layer's KV, and MoLT generalizes it to memory KV projected separately at each layer.

The last row of the table can be computed directly. First compute z0⋆z_0^\star and store its memory KV; next compute z1⋆z_1^\star, which only needs to read z0⋆z_0^\star from the cache; then z2⋆z_2^\star… Each token runs through the network only once. The paper calls this way of decoding Mixture-of-Loops (MoL) decoding. The recurrent_step in the official code (only U-MoLT is released so far) is exactly this procedure:

python
residual, source = self.encoder(self.embed_tokens(input_ids), pos, cache=state["encoder"])
for i in self.config.feedback_ids:
    kv = self.encoder.layers[i].attn.project_memory(source, pos)
    state["encoder"][i] = _append_kv(state["encoder"][i], kv)
hidden = self.decoder(residual, source, pos, cache=state["decoder"])

Excerpt from u_molt.py in hustvl/MoLT (commit 0e84679).

A new token runs the encoder once (reading the memory KV of earlier tokens from the cache), projects its own normalized output source into memory KV for each feedback layer, appends that to the end of the cache for the next token to use, and finally runs the decoder once. The whole step is one encoder pass and one decoder pass.

There's an easy-to-miss point hiding here. The model runs only two loops during training, but according to the table above, in a two-loop unroll only t=0t=0 is guaranteed to be at the stabilized solution; no other position is guaranteed to have stabilized yet. The zt⋆z_t^\star that MoL decoding computes equals the result of unrolling the network for t+2t+2 loops, far beyond the number of loops seen in training.

Training: loop forcing

Training directly on the stabilized solutions means computing token by token in order; a sequence of length 4,096 would take 4,096 sequential steps, which nobody could put up with. The authors borrow the idea of teacher forcing. When an autoregressive model is trained, its own prediction isn't fed back as the next step's input; the correct answer is fed in directly, so the whole sequence can be computed in parallel.

The same goes for loop forcing. Loop rr doesn't wait for a stable prefix; it directly reads zr−1z^{r-1}, which the previous loop computed in parallel, so every loop can be computed in parallel along the entire sequence, and what were TT sequential steps become NN parallel passes. Every loop's output goes to the LM head for its own next-token cross-entropy, and the losses are summed with weights:

L=∑r=1NαrLr,αr=wr∑kwk\mathcal{L}=\sum_{r=1}^{N}\alpha_r\mathcal{L}_r,\qquad \alpha_r=\frac{w_r}{\sum_k w_k}

As with teacher forcing, the price is that training and inference see different things. In two-loop training, the memory FtF_t reads always comes from the first loop's output z1z^1; during MoL decoding, it reads outputs it computed itself. The authors liken this to exposure bias in autoregressive models and list three design choices that keep the gap from getting out of hand:

  1. Every loop is supervised through the same readout (the LM head for MoLT-KV, the decoder plus LM head for U-MoLT), encouraging z1z^1 and z2z^2 to land in similar representation spaces.
  2. Embedding restart makes every token's residual stream start from e(xt)e(x_t); preceding context can only come in through attention, so drift can't pile up loop after loop on the same token.
  3. Output normalization and QK normalization keep the values bounded.

The authors also say plainly that two-loop training supervises only a single feedback step from z1z^1 to z2z^2, and doesn't train the recursion to gain anything extra over longer chains. A deeper unroll won't necessarily be more accurate; the goal is that it doesn't get worse.

So where did the loop go? During MoL decoding, a token passes through the network only once, but its layer 0 can already read the previous token's final output, and the previous token in turn read the output of the one before it. The paper works out that information from position jj to position tt can pass through as many as (t−j+1)L(t-j+1)L blocks in MoLT-KV, and (t−j+1)LE+LD(t-j+1)L_E+L_D in U-MoLT. The loop goes from “the same token runs twice” to “passed down the line of tokens.”

In its related-work comparison table, the paper places this structure alongside the 2020 Feedback Transformer. The Feedback Transformer's abstract says that “the lowest representation of the current timestep is formed from the highest-level abstract representation of the past.” This dependency means every step has to wait for the previous step to finish its top layer, so training can't be parallelized along the sequence. MoLT-KV's data flow during decoding is very close to this; during training, it gets the parallelism back through loop forcing.

U-MoLT: Separating Memory from Prediction

MoLT-KV still has one awkward spot. Each loop's output zrz^r does double duty, feeding the LM head to predict the next token and also being projected into the next loop's memory KV. The authors think these two tasks pull against each other. Representations near the output converge toward “what is the next token” and throw away details of the current token, yet later tokens need exactly those details as context.

U-MoLT separates the two, borrowing the architecture of YOCO. YOCO is a language model architecture proposed in 2024 by Microsoft Research and Tsinghua University, in which the lower self-decoder computes a global KV cache only once and the upper cross-decoder reads that cache entirely through cross-attention. U-MoLT's correspondence is drawn in the figure below:

Figure 4 of the paper, three panels. (a) U-MoLT architecture (loop r, r > 1): on the left is the L_E-layer MoLT encoder, which restarts from the embedding every loop, with MoLA and FFN alternating downward; orange dashed lines send the memory KV of the previous loop's output z^{r−1} at j < t into each layer, and green lines are local KV at position t; the encoder's bottom output X^{r,L_E} goes through Norm to give z^r. On the right is the L_D-layer MoLT decoder, made of Cross-Attn and FFN, going upward from X^{r,L_E} to the LM head, with blue lines projecting z^r at j ≤ t into decoder KV sent into each layer. (b) MoLT encoder block: input X is projected into a query, current-loop local KV (layers 0 to ℓ, including its own KV), and memory KV projected from the previous loop's output (strict prefix j < t), all sent together into the Mixture-of-Loops Attention kernel and then an FFN. (c) MoLT decoder block: input Y is projected into a query that reads decoder KV, which each layer projects separately from the shared z^r (j ≤ t), through causal cross-attention and an FFN.
Original Figure 4, Zhu et al., from PDF page 9, arXiv license, scholarly quotation.

Let's walk through (a) once:

  1. The MoLT encoder on the left has LEL_E layers; it is a MoLT-KV, responsible for looping and building memory. Its output Xr,LEX^{r,L_E} is normalized to give zrz^r, which also serves as the memory source for the next loop.
  2. The MoLT decoder on the right has LDL_D layers and works upward from the encoder's raw output Xr,LEX^{r,L_E}. It has no self-attention; each layer does only cross-attention, reading decoder KV projected from zrz^r (positions j≤tj\le t), and each layer has its own projection matrices.
  3. The decoder's output goes only to the LM head; it isn't fed back to the encoder and provides no KV to later tokens.

Point 3 brings a benefit (Proposition 2 of the paper). The decoder's computation at position tt depends only on its own state at position tt and the encoder's outputs at j≤tj\le t, and has nothing to do with the decoder's states at other positions. So at inference, the decoders of the intermediate loops can be skipped entirely, and when processing the prompt, the decoder only needs to run at the last position, with the next-token prediction completely unchanged.

Let's count the cost using the paper's small-model sizes. The non-looped OLMo3 has 12 layers; U-MoLT splits them into a 6-layer encoder plus a 6-layer decoder:

Table: Block counts and cache computed from Section B.3 and Table 12 of the paper; measured times from the 128-token column of Table 7, with 64 decoding steps after the prompt, on one H20 in BF16 at batch size 1.
Architecture and decodingBlocks per decode stepPersistent KV cache (layers)Measured decode time
OLMo3 (12 layers, non-looped)12120.98 s
Loop OLMo3 (12 layers, two loops)24241.96 s
U-MoLT (6+6), fixed two loops6+6+6=186×2+6=181.43 s
U-MoLT (6+6), MoL decoding12120.95 s

The fixed two-loop U-MoLT goes from 24 down to 18 just by skipping the first loop's decoder. Switch to MoL decoding and the encoder runs only once per step, bringing it back to 12 blocks and 12 layers' worth of cache, the same as the non-looped OLMo3. The ratios of the measured times follow the block counts as well.

What About the Prompt: MoL-Hybrid

The obvious drawback of MoL decoding is that the prompt, too, has to be processed one token at a time. The paper measured a 4,096-token prompt on the same H20, where pure MoL processing takes 46.2 seconds for U-MoLT and 72.9 seconds for MoLT-KV; parallel prefill takes only a few hundredths of a second.

MoL-Hybrid joins the two. The prompt is first prefilled in parallel with 1 or 2 loops (called MoL-Hybrid-1 and MoL-Hybrid-2 respectively), that loop's output is projected into memory KV and placed in the cache, and the tokens generated afterward use MoL decoding. The prompt's states stop at loop 1 or loop 2 and aren't the stabilized solution; for the continuation tokens, though, the dependency is still the same lower triangle (Corollary 2 of the paper). Hybrid-1 has the fastest prefill, with only one loop's worth of depth for the prompt; Hybrid-2 spends one more loop on prefill, and its prediction for the first continuation token is exactly the same as with fixed two loops.

Discussion

Component Ablations on Small Models

The ablations use small models of about 113M: width 768, 12 layers, or a 6+6 U-MoLT; 3B tokens of FineWeb, a context of 1,024, the Muon optimizer, the same random seed and initialization throughout, and a 1:1 loss weight between the two loops. The table below excerpts the validation cross-entropy (lower is better) of a few key configurations:

Table: Excerpted from Table 2 of the paper (32 configurations). Time per step is the median over the last 500 update steps.
No.ArchitectureSettingCross-entropyTrain time per step
(1)OLMo31 loop3.318494 ms
(2)OLMo32 loops, loop residual3.299942 ms
(5)MoLT-RReads current-loop + previous-loop layers, MoLA in all layers3.2841,029 ms
(7)MoLT-KVNo depth KV, all layers3.322968 ms
(12)MoLT-KVReads current-loop layers, MoLA in alternating layers3.291997 ms
(24)U-MoLTCurrent-loop layers, alternating, decoder self-attention3.296969 ms
(25)U-MoLTSame, decoder shares one KV projection3.289940 ms
(26)U-MoLTSame, separate projection per decoder layer3.279965 ms
(29)U-MoLTCurrent + previous-loop layers, all layers, per-layer projection3.2731,001 ms

This table tells us several things:

  1. One more loop helps by itself, but it's expensive. (1) and (2) have exactly the same parameters; cross-entropy drops by 0.019, while training time per step goes from 494 ms to 942 ms.
  2. The architecture changes push it lower at the same two-loop cost. MoLT-R (5) is another 0.015 below (2) without adding a single parameter, and its logical FLOPs rise by only 0.16%. U-MoLT (26), which can use MoL decoding, is 0.020 below (2), with only 0.886M more parameters and 0.35% more FLOPs.
  3. You can't skip own KV. (7), which reads no depth KV at all, is worse than the single-loop baseline; within MoLT-KV, the more depth sources, the lower the cross-entropy.
  4. The decoder's KV projections should be independent per layer. In all six matched comparisons, “separate projection per layer” is best, “one shared projection” comes second, and “self-attention” is worst. Per-layer projection comes in 0.014 to 0.021 below self-attention, with the same parameter count.
  5. The best one, (29), can't use MoL decoding. It reads the previous loop's local KV at the same position, which reconnects the same-position cross-loop dependency. Among the settings that allow single-pass decoding, the best is 3.279 (a tie between the all-layer (23) and the alternating-layer (26)), and the official code releases the (26) configuration.

Placing MoLA in alternating layers means using MoLA and memory KV only every other layer (say layers 0, 2, and 4), with the other layers keeping ordinary causal self-attention. For MoLT-KV, alternating layers do better than all layers, with cross-entropy 0.011 to 0.012 lower and only half the memory-projection parameters.

These ablations use a single random seed, and most of the gaps are around 0.01. The ordering is broadly consistent across combinations, but the paper gives no error ranges for individual numbers.

The loss weights matter too. With a 1:1 weighting of the first and second loops, the two loops' cross-entropies are 3.306 and 3.279; change it to 1:4 and the second loop drops to 3.272 while the first rises to 3.322. The authors use 1:1 throughout the architecture comparisons.

Scaling Up to 700M, 1.5B, and a 3B MoE

The large-scale experiments follow the OLMo3 training recipe. OLMo 3 is a language model that AI2 released along with its data and training code, and the paper uses its architecture and recipe directly as the baseline. The data is OLMo-mix-0625-official, the context is 4,096, and every model is trained on 400B tokens; the MoE model has 3B total parameters, with 660M active per token. All evaluations use a fixed number of loops and the last loop's prediction, not MoL decoding:

Table: Compiled from Table 4 and Table 5 of the paper.
ScaleModelTen-task avg. accuracyTen-domain avg. perplexity
700MOLMo356.615.64
700MMoLT-R59.214.84
700MU-MoLT59.114.86
1.5BOLMo361.213.86
1.5BU-MoLT62.613.15
3B MoEOLMo360.113.99
3B MoEU-MoLT62.213.24

Perplexity drops at all three scales and in all ten domains. Average accuracy rises by 2.5, 1.4, and 2.1 percentage points respectively, and the 3B MoE improves on all ten tasks.

Looking at the breakdown, 700M U-MoLT's COPA jumps from 69.0 to 81.0, and this one task contributes 1.2 points of the average gain; leave COPA out, and the remaining nine tasks improve by about 1.5 points on average. MoLT-R's gains are spread more evenly, with nine tasks improving and OpenBookQA flat.

This table compares OLMo3 with MoLT, and a “just run OLMo3 for two loops” baseline is missing in between. The small-model ablations tell us that roughly half the gain comes from the extra loop and half from MoLT's architecture changes; after scaling up, this set of experiments can't tell how much each contributes.

1.7× the Token Efficiency, 2× the Training Compute

The 1.7× token efficiency claimed in the abstract comes from a separate 700M, 400B-token comparison run in the appendix:

Figure 6 of the paper, two line charts, both with training tokens (billions) on the horizontal axis, from 80B to 400B. The left chart is the smoothed last-loop training cross-entropy, with a blue line for OLMo3-700M and an orange line for U-MoLT-700M, the orange line staying below the blue throughout; a green arrow runs horizontally left from the blue line's endpoint to the orange line, labeled 1.5×, and a gray arrow marks the final gap of 0.035. The right chart is validation cross-entropy averaged over 11 domains; both lines fall smoothly, with orange below; the green arrow is labeled 1.7×, and the final gap is 0.045.
Original Figure 6, Zhu et al., from PDF page 25, arXiv license, scholarly quotation.

To read the right chart, draw a horizontal line to the left from the endpoint of the blue line (OLMo3) at 400B; it meets the orange line (U-MoLT) at 232.8B tokens, and 400 divided by 232.8 gives 1.7×. Looking at the 11 domains separately, the speedup ranges from 1.4× to 2.1×.

The horizontal axis is tokens, not compute. Table 11 in the same appendix lists the costs too:

Table: Excerpted from Table 11 of the paper.
ItemOLMo3U-MoLTRatio
Parameters700.53M711.02M+1.50%
Network38 layers × 1 loop19+19 layers × 2 loopsShared weights
Blocks run per token (train/eval)38/3876/572.00×/1.50×
Theoretical training FLOPs (PFLOPs)2.446 × 10⁶4.918 × 10⁶2.01×
Training time (64 H20s)110.1 h219.2 h1.99×
Peak GPU memory43.6 GiB58.4 GiB1.34×

Each token takes twice the compute, and that buys 1.7× the token efficiency. Converted to FLOPs, by the time U-MoLT matches OLMo3's endpoint, it has already used about 1.17 times the baseline's compute (4.918×232.8/400≈2.864.918\times232.8/400\approx2.86, versus 2.446). This conversion is only a ballpark figure, because at that point U-MoLT's cosine learning-rate schedule hadn't finished. The authors state clearly in the appendix that U-MoLT used up the baseline's entire FLOP budget at 198.9B tokens, and that a truly compute-matched comparison would require a separate run that finishes decaying the learning rate within that budget.

In the paper's alphaXiv discussion, a reader raised the same question on November 29, arguing that a compute-matched comparison with a standard Looped Transformer is essential. The next day, an account signed Shijie Wang (same name as the paper's project lead, writing as “we”) replied that they had listed the 2.01× FLOPs explicitly precisely because “token efficiency is not training-FLOP efficiency,” and cited the gaps between (2) and the various MoLT settings in the small-model ablations as compute-matched evidence; as for scaling the standard two-loop and iso-FLOPs baselines to 700M and beyond, the reply called it “high on our list.” (alphaXiv thread)

Looking back at Zhipu's blog, they likewise admit that looped models trained from scratch still can't catch up under matched compute, which is why they turned to continued pretraining. The MoLT paper doesn't answer this question head-on, and that reply also admits the large-scale compute-matched comparison hasn't been done yet.

Single-Pass Decoding: Quality and Speed

MoL decoding computes a depth unroll that training never saw. Does quality drop? The authors trained a separate pair of small-model checkpoints (with detached cross-loop gradients, not the same models as in the ablation table) and measured them on 8 text passages. Each passage uses 128 tokens as the prompt, and the following 896 tokens are scored with teacher forcing to compute cross-entropy, for 7,168 prediction targets in total.

Table: Excerpted from Table 6 of the paper. Total time is the per-passage average of a 128-token prefill plus 895 decoding steps, on one H20 at batch size 1.
ModelDecodingCross-entropyDiff. from fixed two loopsTotal time
MoLT-KVFixed two loops3.320031.5 s
MoLT-KVMoL3.321+0.000219.1 s
MoLT-KVMoL-Hybrid-23.321+0.000216.9 s
U-MoLTFixed two loops3.280023.4 s
U-MoLTMoL3.280+0.000218.1 s
U-MoLTMoL-Hybrid-23.280−0.000516.9 s

Across the four schedules, the cross-entropy differences fall between −0.0005 and +0.0014, almost imperceptible. MoL-Hybrid cuts MoLT-KV's total time by about 47% and U-MoLT's by about 30%; U-MoLT's fixed two-loop schedule already skips the first loop's decoder, so it saves less.

In the 128-token measurement from the cost table earlier, U-MoLT with MoL-Hybrid-2 has a total time of 0.9944 seconds, against 0.9905 seconds for the non-looped OLMo3. The abstract's claim of matching non-looped OLMo3 latency (996.6 vs. 1,000.6 ms) comes from the same kind of comparison with a 4,096-token prompt, and the paper doesn't separately state the hardware and batch size for those cells.

These speed numbers hold under narrow conditions. The model is only 113M, the batch size is 1, each decoding step takes about 15 ms, prefill takes only a few hundredths of a second, and latency comes down almost entirely to how many blocks each step runs. Large-batch throughput and the prefill cost of long prompts on large models were not measured. Quality, too, has been verified only on this pair of small models and 7,168 targets; whether accuracy changes once models of 700M and above decode with MoL or MoL-Hybrid, the paper doesn't report.

Grafting onto Qwen3.5

The last set of experiments grafts MoLT onto an existing pretrained model. Qwen3.5-0.8B-Base has 24 layers, of which 18 are Gated DeltaNet (GDN), a kind of linear attention layer, and 6 are ordinary full attention. The authors split it into a 12-layer encoder plus a 12-layer decoder, each half with 9 GDN layers and 3 attention layers. The 3 attention layers in the encoder become MoLA feedback layers that read the previous loop's memory KV; the GDN layers' states are reset every loop.

The decoder's GDN layers can be wired in two ways. U-MoLT-CT1 lets them build memory from their own inputs; U-MoLT-CT2 projects from the encoder output instead, which is closer to the cross-only design of pure-attention U-MoLT. The three models (the original architecture, Qwen3.5-CT, and the two adaptations) receive continued pretraining on the same 100B tokens:

Table: Excerpted from Table 8 of the paper.
Model11-domain avg. cross-entropy
Qwen3.5-CT (original architecture)2.496
U-MoLT-CT12.480
U-MoLT-CT22.483

Both adaptations come in below the original architecture in all 11 domains, with only 3.15M (0.42%) more parameters. CT1 matches the cross-entropy the original architecture reaches at 100B tokens after 66.3B to 78.3B tokens, depending on the domain, for about 1.4× token efficiency on average.

Two caveats apply when reading these results. First, CT1's decoder GDN depends on its own state at earlier positions, and CT2's GDN also keeps a short cross-position dependency because of its length-4 convolution, so neither can run the decoder only at the last position the way pure-attention U-MoLT can. Second, the paper's appendix says that loop forcing runs the decoder in every loop during training; inferring from this, the continued pretraining here also costs about twice the original architecture's training compute, a number the paper doesn't list directly.

Conclusion

Returning to the paper's opening question, MoLT's answer is to pass KV instead of the residual. Each of the three variants strikes its own trade-off:

  1. MoLT-R: zero extra parameters in exchange for more cross-layer and cross-loop reads; its ten-task average of 59.2 at 700M is the highest, but inference still has to run each loop in order, with one cache per loop.
  2. MoLT-KV: cuts the same-position cross-loop dependency with embedding restart and strict prefixes, gaining MoL decoding, where each token runs only once.
  3. U-MoLT: separates memory from prediction on top of MoLT-KV, with lower cross-entropy in the small-model ablations; at inference, both its block count and its KV cache match a non-looped model of the same depth.

The half of this paper that stands on firmest ground is inference cost. The lower-triangular dependency has a complete proof, the block and cache counts are clear, and the measured decoding times on the small model are proportional to the block counts. The long-standing complaint about looped models, that “one more loop means double the decoding cost and one more cache,” gets a clean solution with loop KV as the interface. Zhipu shrinks the cache in GLM-5.4 with shared KV plus a sliding window; MoLT instead changes what passes between loops, so the extra caches never need to exist in the first place.

The quality half needs more evidence. The large-scale gains mix the compute of an extra loop with MoLT's architecture changes, and the paper separates the two only at 113M; as for the compute-matched comparison, that alphaXiv reply says it is on the priority list; MoL decoding quality has been measured only on small models. As of the December 1 commit, the official code releases only a minimal U-MoLT implementation and the MoLA Triton kernel; MoLT-R, MoLT-KV, MoL-Hybrid decoding, and the large-scale training recipes are all still on the README's to-do list.

The discussion in Section 5 of the paper also mentions a preliminary experiment that splits the network into a non-looped encoder, a looped “neck,” and a decoder that only reads and never writes, jokingly called a “giraffe” network; it says the preliminary results were the best but gives no numbers. At the end of its blog post, Zhipu also says its next, much larger model will carry forward what GLM-5.4 taught it. How the loop should go round and round is a question likely to get quite a few more answers in the months ahead.