Papers · 2026 · Reading: 21 min, plus 3 in closed details. +6h 55m of resources. Data as of 30 November 2026.
Paper · arXiv preprint · arXiv 2611.34923

Mixture-of-Loops Transformer (MoLT)

Lianghui Zhu, Shijie Wang, Xinggang Wang, Jinze Bai, Bo Wang, Xiang Bai
ByteDance Seed with Huazhong University of Science and Technology (HUST) and the University of Toronto · 25 November 2026 (arXiv v1, the only version on 30 November 2026)

In one line: On 700M and 1.5B dense and 3B MoE models trained once each for 400B tokens, U-MoLT, a two-loop transformer whose second loop reads the first loop's outputs as keys and values, lowered validation perplexity in all 10 domains and raised mean 10-task accuracy by 1.4 to 2.5 points over the authors' own OLMo3-style baselines, at about twice their training FLOPs; on 113M-parameter models, decoding with one pass per token kept continuation cross-entropy within 0.0014 of running both loops, at the latency of the non-looped model.

1.7× tokens at 2.01× FLOPs
700M U-MoLT reaches OLMo3's final mean validation CE after 232.8B of 400B tokens, but every token costs about twice the training compute (14,026 against 7,049 H20 GPU-hours)
derived: about 1.17× OLMo3's compute to reach its loss · Table 11
24 → 12 blocks per token
decoding MoLT-KV with one traversal per token instead of two full loops: 4,096-token prompt plus 64 steps in 0.990 s against 1.980 s (OLMo3 without loops: 1.001 s)
113M models, one H20, batch 1 · Table 7
+2.1 / −0.75 points / PPL
3B MoE (660M active) U-MoLT against OLMo3 after 400B tokens: mean accuracy over 10 tasks, mean perplexity over 10 domains; every task and every domain improves
one run each, final checkpoint, two full loops · Tables 4 and 5

How far to trust it: Believe the mechanism: single-pass decoding follows from a short exact argument that our toy reproduces bit for bit, and the latency tables add up. Treat the quality gains as compute bought, not saved: the looped models train with 2.01x the baseline's FLOPs, so the 1.7x token efficiency is about 1.17x the compute to reach the baseline's loss, there is no compute-matched baseline, every run is a single seed, and the fast decoding was measured only at 113M parameters. The evidence, judged.

Fig. 1 · What one query can read, four ways to loop

Redrawn from the paper's Fig. 3: columns are tokens, rows are layers of two loops of a 3-layer stack. The query sits at layer 1 of loop r, token t = 3. Filled cells are the keys and values it reads: sequence or memory KV along tokens, depth KV at its own token.

The idea in one sentence

abstract

A looped transformer runs the same layers several times per token; MoLT changes what the next loop receives: instead of only the previous loop's residual stream, each layer reads the previous loop's outputs as keys and values (KV), and in the variant that matters most, MoLT-KV, it reads them only at earlier tokens, so a token never waits for its own previous loop and decoding needs one pass through the stack per token instead of one per loop (abstract and §1).

Fig. 1 is the whole design in four steps. Each step is one way to connect loop r−1 to loop r, shown by which cells one query can read:

  1. Loop model (the baseline). The query reads layer 1's keys at tokens 0 to 3 of its own loop, as in any decoder. The previous loop reaches it only through the residual stream: loop r starts from loop r−1's output at the same token (purple arrow). 4 KV entries; each token must finish loop r−1 before loop r starts.
  2. MoLT-R: add depth reads. Same residual feedback, plus the keys of earlier layers at the same token: layer 0 of this loop and all three layers of the previous loop. 8 entries, no new parameters. Better quality, same sequential loops.
  3. MoLT-KV: restart and read memory. Loop r starts again from the token embedding, not from the previous loop. Sequence context comes from memory KV, projected from the previous loop's normalised output zr−1, at tokens 0 to 2 only; token 3's own previous-loop output is excluded (the cross). Depth KV: layers 0 and 1 of this loop at token 3, its own included. 5 entries. Nothing at token 3 depends on token 3's earlier loop.
  4. U-MoLT: split building from reading. The looped stack becomes an encoder that only builds memory; a separate, unlooped decoder (top rows) predicts the next token, reading the encoder output zr at tokens 0 to 3 as KV. The decoder never feeds back, so it can be skipped at every position and loop whose prediction nobody asked for.

You need: what a transformer block, a KV cache and grouped-query attention are (The transformer from zero, section 9; Attention variants); looped transformers and recurrent depth as test-time compute inside the network (Test-time compute and reasoning, section 9). The KV cache's size per token is owned by Long context; QK-norm by Normalisation, residuals and stability.

New terms

Loop, feedback loop
one pass through the shared stack; loops after the first are feedback loops (§3).
Loop residual, loop KV
the two ways a loop hands over: its output as the next loop's starting state (residual), or as KV the next loop attends to at earlier tokens while restarting from embeddings (loop KV).
Memory KV
keys and values projected, per layer and with their own weights, from the previous loop's normalised output zr−1, read only at tokens j < t.
Local and depth KV
the ordinary KV a layer projects from its own input; read at the query's own token by later layers, they are depth KV. A layer's own KV at t is its "own KV".
MoLA
Mixture-of-Loops Attention: one softmax over sequence KV and depth KV together, no gate.
Loop forcing
training every loop's next-token loss in parallel, each feedback loop reading the previous loop's memory, as teacher forcing trains a decoder (§3.4).
MoL decoding, MoL-Hybrid
one traversal of the stack per token, reading cached memory KV of earlier tokens; MoL-Hybrid-k first fills the prompt's memory with k parallel loops (§3.5).

The problem: what should pass between loops

§1

The standard answer, passing the loop's output as the next loop's input, costs a loop's worth of time and cache per token. Each token depends on its own previous-loop state, so at inference every new token runs all N loops in order, and each loop keeps its own KV cache: two loops of a 12-layer stack decode with 24 block passes per token and keep the cache of a 24-layer model (§3.5). The knowledge base's looped transformers article puts the same fact the other way: looping saves weights, not compute or cache. The authors add an expressivity complaint: squeezing every loop through one residual stream dilutes information across layers and loops (§1), which the MoLT-R ablations test.

MoLA: one softmax over sequence and depth

§3.2

Every MoLT layer attends to one pooled set of keys: the sequence KV along tokens and the depth KV at its own token, normalised together. For a query at loop r, layer ℓ, token t (Eq. (5)):

q = RoPEt(Norm(X WQ)),   o = Σ(k,v) ∈ S ⊔ D exp(qᵀk/√h) v / Σ(k,v) ∈ S ⊔ D exp(qᵀk/√h)
MoLT-KV: S = memory KV of zr−1 at j < t  (loop 1: its own sequence KV at j < t),   D = local KV of layers 0 to ℓ at t

The query alone decides how much weight goes to earlier tokens and how much to earlier layers; there is no learned gate over loops. Because both kinds compete in one softmax, their logit scales matter, so every query and key head gets its own RMS normalisation before RoPE, and stored depth keys keep their writer's normalisation (§3.2). This joint softmax is the authors' earlier Mixture-of-Depths Attention (MoDA, arXiv 2603.15619) carried across loops. The cost is small: a layer's depth KV are projections it computes anyway, and with full depth history a length-T loop adds attention work of order LE/T of the sequence attention (§B.3). Memory KV do need new projection matrices: 2D·Hkvh parameters per feedback layer, 3.54M on the 12-layer S model (Table 2).

The own-KV detail matters more than it looks. Memory reads stop at j < t, so without depth KV a feedback layer cannot see the current token at all through attention. Table 2's no-depth MoLT-KV rows (7) and (8) lose to the plain 2-loop baseline, and dense (7) even to the 1-loop model (3.322 against 3.318); adding own KV alone brings (10) to 3.296 (§4.2).

Why one pass per token is enough

§B.1

Under loop KV, every feedback loop is the same map, and position t depends only on earlier positions of the previous loop. Embedding restart fixes each loop's input at e(xt), memory reads stop at j < t, and depth KV come from the current loop. So for every r ≥ 2 the paper writes (Eq. (9)) zrt = Ft(xt, zr−1<t): a strictly triangular recurrence. Position 0 has no prefix, so it is final after one feedback loop; position 1 is final one loop after that; and so on. Proposition 1: from loop t + 2 on, position t equals a unique solution z*, from any first-loop state and with no contraction assumption (§B.1).

Mixture-of-Loops (MoL) decoding computes z* directly. Walk the tokens in order; for each, run the stack once from its embedding, reading the cached memory KV of the tokens before it, then append its own memory KV. That is one traversal per token, and Corollary 1 says the logits equal those of an unroll as deep as the sequence is long. So the claim "decoding beyond the training loop horizon" is exact in this sense: a model trained with two loops is decoded as if it ran T + 1 of them. It does not say the extra depth helps; the model was trained on one feedback step only, and the paper's evidence is that quality does not drop (next section).

Fig. 2 runs this on a tiny U-MoLT, written for this page from the paper's equations and checked against the structure of the released code: 2 encoder and 2 decoder layers of width 8, 8 tokens, random weights (the proposition holds for any weights). Each cell is how far loop r's logits at token t are from a 20-loop unroll; a green "same" means identical to the last bit. Predict before you switch to the loop-residual twin (the same weights with residual feedback, our variant): will any of its cells ever read "same"?

The loop KV grid fills with "same" in a staircase one loop per token, and MoL decoding (one pass per token, 8 traversals) matches the 20-loop unroll exactly. In the residual twin nothing settles: the same token is reworked every loop, so there is no finite answer to stop at and no way to skip loops. One finding beyond the paper: with the real first loop, position t is final from loop t + 1, one loop before the bound, because loop 1 at position 0 already computes F0 (it has the same empty prefix); the bound t + 2 covers an arbitrary first loop. Checked: the page's JavaScript against an independent numpy version, all logits within 6 × 10⁻¹³ (src/check_forward.mjs).

Training stays parallel: loop forcing. Training the recurrence token by token would take T sequential steps. Instead each feedback loop runs over all positions at once, reading memory from the previous loop's outputs, and every loop gets a next-token loss with positive weight (Eq. (8)), as teacher forcing parallelises a decoder: N parallel passes instead of T steps. The catch, which the authors name: two-loop training only ever shows Ft memory built from loop 1, while MoL decoding feeds it its own outputs, an exposure-bias gap. Three choices are meant to close it: the shared readout supervises both loops so z1 and z2 align, embedding restart anchors every token to e(xt), and normalisation bounds activations (§B.2). Raising loop 2's weight from 1:1 to 1:4 lowers loop-2 CE from 3.279 to 3.272 and raises loop-1 CE from 3.306 to 3.322 (Table 3).

How the toy was built and checked

Width 8, 2 query heads and 1 KV head of size 4, SwiGLU of width 16, vocabulary 12, RoPE (θ = 10,000) after per-head QK RMS normalisation, pre-norm blocks, tied embeddings; every encoder layer is a feedback layer with its own memory projections (dense placement), full depth history; the decoder is cross-only and reads the encoder's normalised output at j ≤ t with per-layer projections ("re-proj."). Weights are mulberry32 normals with standard deviation scale/√fan-in. The structure follows the released u_molt.py (commit 1313b83): loop 1's feedback layers read their own KV at j < t; memory KV get their own key norm; non-final decoder work is skipped. We did not run the released code; src/molt_toy.py (numpy) and parts/22_js_toy_model.js are two independent implementations of the same model, compared logit by logit at three seeds and weight scales.

The residual twin uses the same weights, restarts loop r from zr−1 at the same token, reads ordinary causal KV at j ≤ t and has no depth or memory reads: the paper's "Loop Model" with U-MoLT's decoder. Its distances depend on the weights (at scale 0.5 they shrink slowly, at 2 they wander), but none becomes identical, because each loop feeds the same token's state back in.

Fig. 2 · Loop KV settles one token per loop; residual loops never do

Rows: loops 1 to 10; columns: tokens 0 to 7. Cell: largest absolute difference over the 12 logits from a 20-loop unroll, as a power of ten (e−3 means about 0.001); "same" means bit-identical. Random weights, computed in your browser (measured here, illustrative model).

U-MoLT, and what decoding costs

§3.3

U-MoLT gives memory and prediction separate layers. In MoLT-KV the loop output z must do two jobs: feed the vocabulary head and serve as clean memory for later tokens. U-MoLT keeps the loop KV stack as an encoder of LE layers and adds a cross-only decoder of LD layers that starts from the encoder's raw output and reads z through its own per-layer KV projections at j ≤ t, after YOCO (§3.3). The decoder's states never feed back and never become KV for other positions, so (Proposition 2, §B.3) its work can be skipped wherever no prediction is requested: at intermediate loops and at every prompt position but the last, with identical outputs.

Block passes per decoding step, for a 12-layer budget (calculated from Table 12): a two-loop residual model or MoLT-KV runs 24; U-MoLT 6+6 with two loops runs 2 × 6 + 6 = 18, since only the last loop's decoder runs; with MoL decoding both run 12, like the unlooped model. Persistent KV follows the same counts: under two fixed loops U-MoLT keeps 1.5× the cache of a 12-layer model instead of 2×, and under MoL decoding 1× (§B.3).

Measured (Fig. 3), the passes are the latency. On the 113M models, one H20 GPU, batch 1, a 4,096-token prompt and 64 decoding steps: OLMo3 1.001 s; two fixed loops 1.97 to 1.98 s for the residual baseline, MoLT-R and MoLT-KV; U-MoLT's fixed two loops 1.468 s; MoL-Hybrid 0.990 to 1.007 s for both (Table 7). Decode time follows the block count; prefill is a small share. Pure MoL decoding is the trap: it processes the prompt one token at a time, 72.9 s of prefill for MoLT-KV at 4,096 tokens, which is why MoL-Hybrid fills the prompt's memory with one or two parallel loops first.

Quality under the fast schedules (Table 6). The same 113M checkpoints, scored on 8 windows of 128 prompt tokens plus 896 teacher-forced targets (7,168 targets per schedule): continuation CE moves by −0.0005 to +0.0014 from fixed two-loop decoding, while total time on 895 steps falls 28.0% to 46.7% (Table 6). MoL-Hybrid-2 is the quality choice (prompt memory from loop 2), MoL-Hybrid-1 the speed choice. These are checkpoints trained with detached feedback gradients, not the Table 2 ones, and MoL-Hybrid trades exact equivalence for parallel prefill: its prompt states stay at k loops (Corollary 2, §B.1).

Path depth: why one pass per token is not a one-loop model

In a plain L-layer decoder, layer ℓ reads only layer ℓ of earlier tokens, so any causal path crosses at most L blocks. With memory KV every layer reads the finished output of earlier tokens, so information climbs the stack again at every token. Under MoL decoding the longest causal path from token j to t crosses (t − j + 1)L blocks in MoLT-KV, (t − j + 1)LE + LD in U-MoLT; under two fixed loops, 2L and 2LE + LD (§B.1). The current token itself still crosses the stack once: loop KV trades same-token looping for depth carried across tokens. This is the "recurrent cache" case of the looped transformers article, section 8, where a hidden chain grows with the answer instead of stopping at layers × loops.

Fig. 3 · One pass per token decodes at unlooped speed

Ablations: what each piece buys, at 113M

§4.2

Table 2 is 32 models of about 113M parameters, each trained once on 3B FineWeb tokens with the same seed (11) and initialisation, compared by final-loop validation CE at update 5,722 (§4.2). Fig. 4 places every row; the readings that matter:

  • Looping itself: two residual loops (2) against one (1): 3.318 to 3.299, −0.019, for twice the training FLOPs (494 to 942 ms an update).
  • MoLT-R: depth reads add −0.006 (current loop, 3) and −0.015 (previous loop too, 5) on top of (2), with no new parameters.
  • MoLT-KV needs depth KV to work at all (see MoLA above); with them, sparse placement (MoLA at alternating layers) beats dense in all four source settings by 0.011 to 0.012.
  • U-MoLT's decoder: independent per-layer projections of z ("re-proj.") beat decoder self-attention ("self") by 0.014 to 0.021 and one shared projection by 0.009 to 0.018, in all 6 matched triplets, the most consistent effect in the table.
  • The best row is not the fast one. (29), 3.273, reads the previous loop's local KV at the same token, which reintroduces same-position dependence: it cannot use MoL decoding. The best decodable rows, (23) and (26), reach 3.279, 0.020 below the plain two-loop baseline: about the size of looping's own gain.

All gaps here are single runs at one seed. The differences between neighbouring rows (0.002 to 0.006) are of a size a second seed could move; the paper reports no seed spread, so the orderings are suggestive one by one, and the consistent triplet ordering is the strongest evidence.

Fig. 4 · Every ablation, and which ones can decode in one pass

Final-loop validation CE of the 32 models of Table 2 (lower is better). Filled dots allow single-pass MoL decoding (loop KV with current-loop depth KV only); hollow dots need fixed loops. Grey lines: the 1-loop (1) and 2-loop (2) baselines. Every value is also in the tables tab.

At scale: 700M, 1.5B and 3B MoE, 400B tokens

§4.3

Against OLMo3-style models the authors trained in the same pipeline, U-MoLT improves every scale they ran. The baselines are not Ai2's released OLMo 3 checkpoints but OLMo3-architecture models of 700M, 1.5B and 3B MoE (660M active) parameters, trained for 400B tokens of OLMo-mix-0625-official with 4,096-token contexts; the looped models use two loops and are evaluated with two fixed loops, not with MoL decoding (§4.1, §4.3). Mean accuracy over 10 tasks rises 2.5, 1.4 and 2.1 points (MoLT-R at 700M: 2.6), and perplexity falls in all 10 domains at every scale, from 13.99 to 13.24 on the MoE (Tables 4 and 5).

The 1.7× is tokens, not compute (Fig. 5, first view). In a separate paired 700M run, U-MoLT reaches OLMo3's final 11-domain mean CE after 232.8B tokens, 400/232.8 = 1.7× (Table 10). But each U-MoLT token costs 2.01× the training FLOPs (76 block executions against 38), 1.99× the GPU-hours (14,026 against 7,049 on 64 H20s) and 1.34× the peak memory (Table 11). So matching the baseline's loss took about 232.8 × 2.01 / 400 = 1.17× its compute (derived). The authors say so in their own way: U-MoLT spends the baseline's whole FLOP budget by 198.9B tokens, and a fair equal-compute comparison needs a run decayed at that budget (§A.1). Only ICE, at 187.9B, matches before that line. That point is mid-schedule, before the learning rate decayed, which flatters the baseline; the honest summary is that the equal-compute comparison was not run.

The accuracy gains are broad except where one small task carries them (second view). At 700M, COPA alone (its scores move in whole points, consistent with a 100-question set) moves from 69.0 to 81.0, 12.0 of the 25.4 summed points: 47% of U-MoLT's mean gain; the other nine tasks average 1.49 points. At 3B MoE the gain survives without COPA (2.00 over the other nine) and every task improves; at 1.5B nine tasks improve and ARC-E ties (derived from Table 4).

Fig. 5 · Fewer tokens to the baseline's loss, more compute per token

Retrofitting a pretrained model: Qwen3.5-0.8B

§4.5

Looping an existing hybrid model helps a little, everywhere. From Qwen3.5-0.8B-Base (24 layers: 18 Gated DeltaNet and 6 full attention), the authors continue pretraining three variants on the same 100B tokens: the unchanged model (Qwen3.5-CT) and two U-MoLT conversions that split it 12+12 and loop the encoder twice, with the encoder's 3 attention layers as MoLA feedback layers and its GDN states reset every loop (§4.5). Mean CE over 11 domains: 2.496, 2.480 (CT1) and 2.483 (CT2); both lower in every domain, for 3.15M added parameters (0.42% of 752.39M). CT1 reaches the baseline's final CE after 66.3B to 78.3B tokens, 1.4× on average (Table 8, Fig. 5). Two caveats from the text: the encoder runs twice, so per-token training compute rises, and the better variant (CT1) lets its decoder GDN layers keep their own recurrent state, so it is not strictly cross-only and loses U-MoLT's exact decoder skipping. The CE gain (0.016) is a third of the 700M from-scratch gain (0.045, Table 10).

How much of this to believe

§5

What holds up. The mechanism is exact and checkable: the stabilisation argument is a few lines of induction, the released code implements the token-by-token recurrence, and our independent toy reproduces Proposition 1 bit for bit. The numbers are internally consistent: all 104 printed values we recomputed agree (Table 4 and 5 means, every speedup and ΔPPL of Table 10, every latency sum and percentage in §4.4, all of §4.2's deltas). The latency table makes physical sense: decode time tracks block passes per token (24, 18, 12). Comparisons are like for like in data, tokenizer, context and pipeline, and the gains appear at all three scales and in every domain. Several weaknesses below are the authors' own, which counts in their favour: they say an equal-compute run is missing, that scaling stopped at 3B for lack of compute, and that MoL-Hybrid is not exactly equivalent.

The weaknesses, concretely.

  • Compute is not matched. Every looped model trains with about twice the baseline's FLOPs; no baseline gets the same compute (a deeper or longer-trained OLMo3). The 1.7× token efficiency is about 1.17× compute to reach the baseline's loss (derived from Tables 10 and 11). The quality gains are what two loops buy, not a saving.
  • Single runs. One seed for all 32 ablations, one run per model at scale, no error bars; gaps of 0.002 to 0.006 CE between neighbouring ablations have no measured noise to be compared with (§4.2).
  • Small benchmarks carry part of the accuracy story. At 700M, 47% of U-MoLT's mean gain is COPA's 12 points, on a task scored in whole points; perplexity, which improves in every domain, is the sturdier evidence (Table 4).
  • The fast decoding is shown only at 113M, on checkpoints trained differently (detached gradients) from the ablations, on 8 windows; the 700M to 3B quality numbers all use two fixed loops (§4.4). Whether MoL decoding stays within 0.001 CE at scale, and over thousands of generated tokens, is untested.
  • "Beyond the training loop horizon" is a statement about the computation, not a measured gain: decoding computes an unroll of depth T + 1, but the measured quality equals two loops, no more (§B.2).
  • Latency is batch-1 on a 113M model, where decoding is bound by passes over small weights; at serving batch sizes and model sizes the ratio of block passes still holds, absolute times will not (Table 7).
  • The best ablation is not the deployable one: method (29) at 3.273 needs fixed loops; the decodable designs reach 3.279 (Table 2).

Verdict. Believe that loop KV makes looped models decode at the cost of an unlooped one with no measurable quality loss at 113M, and that two-loop U-MoLT beats an equal-parameter, half-compute OLMo3 baseline at 700M to 3B. Do not read it as a compute saving; whether a looped U-MoLT beats an unlooped model given the same FLOPs is the open question.

What it takes to use this

§5

Pick U-MoLT for a pure-attention model you will pretrain, decode it with MoL-Hybrid-2, and budget twice the training compute. That is the authors' own default (Table 9, §5): MoLT-R when quality under fixed loops is all that matters, MoLT-KV for a plain stack or a generation-heavy workload, U-MoLT otherwise. The code released so far covers U-MoLT only, at small scale.

The details: code, hardware, what worked
  • Code (hustvl/MoLT, commit 1313b83, read 30 November 2026): a 487-line PyTorch U-MoLT with fixed-loop unrolling and token-by-token recurrent inference, the S config of Table 2's method (26) (6+6 layers, width 768, 12 query and 3 KV heads, sparse loop KV at encoder layers 0, 2, 4, Muon at learning rate 0.001, 5,722 updates of 512 × 1,024 tokens, seed 11), and a fused MoLA Triton kernel with tests. Not released: MoLT-R, MoLT-KV, MoL-Hybrid decoding, the 700M to 3B recipes, the Qwen adaptation, any checkpoint. No licence file. Code and paper agree on what we read; the code's defaults (detached feedback gradients, loop weights 1:2) differ from the Table 2 config, which sets open gradients and 1:1, as the paper says.
  • Hardware: the 700M run took 219.2 hours on 64 H20 GPUs (14,026 GPU-hours) against 110.1 for the baseline, peak memory 58.4 GiB against 43.6 (Table 11).
  • Sizes: from scratch at 113M, 700M, 1.5B dense and 3B MoE; continued pretraining at 0.8B on a hybrid GDN backbone, where exact decoder skipping is lost. Nothing above 3B.
  • When it pays: decode-heavy serving where an unlooped model's latency and cache are the budget, and training compute is not. MoL decoding needs a parallel prefill (MoL-Hybrid) for any real prompt. Cross-loop depth reads (the best ablation) give up single-pass decoding.
Since the paper (checked 30 November 2026)

arXiv shows v1 only (25 November), with no HTML rendering; the e-print LaTeX is public, and the tables on this page are transcribed from it. The GitHub repository's latest commit is dated 26 November 2026 and its to-do list still names MoLT-R, MoLT-KV, MoL-Hybrid decoding and the large-scale recipes as to do. No checkpoints, no independent reproduction found.

Where it sits (beyond the paper)

Looped transformers moved from research to production the same week, and the open question became the cache. Z.ai's GLM-5.4 (documentation read 30 November 2026, maker) loops 28 middle layers of the about-750B GLM-5 base twice, adapted by continued training rather than from scratch, and avoids a second full cache the way MoLT's related work does: the second loop reuses the first loop's sparse KV selections and keeps only its own sliding window, "so an extra loop only costs one sliding window of KV cache" (GLM-5.4 overview). That is a shared-cache design in the family of LPT (arXiv 2610.02383), still two passes per token; MoLT-KV is the published design that removes the second pass. LoopRes (arXiv 2611.31094, 23 November) answers the paper's question the other way, letting looped layers of pretrained models attend to earlier loops' outputs, and Tencent's Loop-PP (arXiv 2611.30581) builds the pipeline schedule that looped stacks need in training. Thinking Machines' Inkling 2 Mini (20 November, 26.4B total, 3.4B active) runs its two middle blocks, layers 7 to 18 of 24, three times per token with shared weights (Thinking Machines, maker).

For the knowledge base, MoLT changes two standing statements. "Looping saves weights, not compute or cache" (Test-time compute and reasoning, section 9; Long context) holds for residual feedback; with loop KV, decoding compute and cache drop to the unlooped model's, while training compute stays doubled. And the looped transformers article's "recurrent cache" case is now a trained, published architecture.

Connections

Lineage: Universal Transformer and Huginn's residual loops (Test-time compute and reasoning, section 9); the authors' MoDA for the joint softmax; LCKV for the strict-prefix triangular argument; YOCO for the encoder-decoder split. In this knowledge base: the Topic: llm-architecture map, Attention variants (GQA, sparse and sliding-window attention), Mixture of experts (the 3B MoE), Beyond attention (Gated DeltaNet in Qwen3.5), Batching, KV cache and scheduling (why batch-1 decoding is pass-bound), and the OLMo 2 paper for the baseline recipe's lineage. Every source is in Further reading.