Citation and evidence

Mixture-of-Loops Transformer

Report a problem with this article

Edit article
More

Use this article

Raw MarkdownExplore connections

Improve this page

Revision historyDiscuss this article

Topics

Machine LearningModel ArchitectureTransformer Models

Cite this article

Mixture-of-Loops Transformer (MoLT) is a family of looped transformers that shares layer weights across repeated passes and uses attention keys and values to carry information between them. Lianghui Zhu, Shijie Wang, Xinggang Wang, Jinze Bai, Bo Wang and Xiang Bai introduced it in a preprint submitted on November 25, 2026. The authors were affiliated with Huazhong University of Science and Technology, ByteDance Seed and the University of Toronto. The paper presents three designs, including a U-shaped version in which a looped encoder builds memory and a separate decoder reads it to predict the next token. [1][2]

How MoLT shares information across loops

In a looped Transformer, each pass through the recurrent stack uses the same layer weights. A conventional residual feedback design passes the final hidden state from one loop into the next loop at the same token position. MoLT also lets an attention layer read selected intermediate representations through their key and value (KV) projections. Its Mixture-of-Loops Attention (MoLA) combines information from other sequence positions and information from layers at the current position in one softmax. The attention weights determine how much each source contributes without a separate loop-selection gate. [2]

VariantWhat passes between loopsStructure and generation
MoLT-RThe prior loop's final hidden state at the current token and the local key and value projections saved from its layers.A shared stack with residual feedback. Same-position dependence requires successive passes for each token under fixed-loop decoding. [2]
MoLT-KVMemory keys and values projected from the previous loop's output at positions strictly earlier than the current token.Each loop starts from the token embedding. Attention can also read local keys and values computed at the token in the current loop. It supports single-traversal decoding using cached prefix memory. [2]
U-MoLTThe looped encoder passes prefix memory forward. Its output also supplies keys and values for the decoder.A cross-attention decoder reads the encoder's outputs independently of other decoder positions in the pure-attention design. The decoder can be skipped on intermediate loops and prompt positions whose next-token predictions are unused. [2]

Expanded article table

Training and generation

The paper calls its training procedure for MoLT-KV and U-MoLT loop forcing. The shared network predicts the same ground-truth next tokens at each supervised loop, and the objective combines the losses from those loops. Each loop can train across all token positions in parallel using memory supplied by the previous loop. During generation, a token can instead read a KV cache built by earlier tokens and append its own contribution after one traversal. That works because restarting from the embedding and restricting earlier-loop reads to the prefix removes the need for the current token's previous-loop state. [2]

Starting that single-traversal process from an empty cache means processing the whole prompt one token at a time. MoL-Hybrid processes the prompt in parallel with one or two fixed loops, then continues with single-traversal decoding. The prompt cache therefore comes from a finite number of loops, while the continuation grows the cache one token at a time. The paper's equivalence result for the hybrid method applies to repeated computation on the continuation with the prompt memory fixed. [2]

Author-reported evaluations

OLMo3 with one loop took 1,000.6 ms, U-MoLT with two fixed loops took 1,467.5 ms, and U-MoLT using MoL-Hybrid-2 took 996.6 ms. Each total includes prompt prefill.
Reported prefill and decoding time for selected MoLT experiments. The models have about 113 million parameters. Each timed run processed a 4,096-token prompt and performed 64 single-token decoding steps. [6]

At a budget of 400 billion training tokens, the authors compared U-MoLT with non-looped OLMo 3-style baselines using the same training pipeline. The results below use the models' final checkpoints and final-loop predictions. The speed tests used separate, smaller models. [2]

Model scaleMean accuracy across 10 tasks, baseline to U-MoLTMean perplexity across 10 text domains, baseline to U-MoLT
700 million dense parameters56.6% to 59.1%15.64 to 14.86 [2]
1.5 billion dense parameters61.2% to 62.6%13.86 to 13.15 [2]
3 billion parameters, 660 million active, mixture of experts60.1% to 62.2%13.99 to 13.24 [2]

Expanded article table

In a separate paired run at 700 million parameters, U-MoLT reached the baseline's 400-billion-token validation cross-entropy after 232.8 billion input tokens. The authors report this as 1.7 times the token efficiency on their training schedule. Across the full 400-billion-token runs, the two-loop model used 2.01 times the theoretical FLOPs and 1.99 times the wall-clock training time. The comparison held the input-token budget constant. An exact comparison at a matched compute budget would require a separate run with a learning rate schedule designed for that budget. [2]

The authors also adapted Qwen3.5-0.8B-Base and continued pretraining for 100 billion input tokens. Both adaptations lowered validation cross-entropy in all 11 text domains compared with continued pretraining on the original architecture. The stronger variant, U-MoLT-CT1, reduced mean cross-entropy from 2.496 to 2.480. The authors also compared how many tokens each model needed to reach the same loss. For each domain, they took the original architecture's loss after 100 billion tokens and estimated when U-MoLT-CT1 reached it by interpolating between measurements. The matches ranged from 66.3 billion to 78.3 billion tokens, depending on the domain. Dividing 100 billion by each matching token count gave ratios of 1.28 to 1.51, averaging 1.4. These ratios measure training data used along the same learning-rate schedule. The looped model does extra computation per token. [2]

The Qwen adaptations retain decoder dependencies across positions, so the full decoder-skipping result for pure-attention U-MoLT does not transfer to them. [2]

In the approximately 113-million-parameter timing comparison, prompt prefill for 4,096 tokens plus 64 single-token decoding steps took 996.6 milliseconds for U-MoLT with MoL-Hybrid-2 and 1,000.6 milliseconds for the non-looped baseline. The authors tested continuation quality separately on fixed target text. The timing result is specific to the small models and schedules tested, while the largest quality comparison in the paper used 3-billion-parameter mixture-of-experts models. [2]

Research context and code

Earlier work on recurrent depth includes Universal Transformers, which introduced repeated self-attentive computation across depth, and Huginn, which used a recurrent block to vary the amount of computation at inference. MoLT studies which representations to pass between repeated passes and how to reduce the passes needed to produce a prediction. [2][3][4]

The authors announced an initial U-MoLT implementation on November 26, 2026. The project repository provides a minimal implementation on BlaGPT, a configuration for one of the small-model experiments, and a fused MoLA kernel with tests. The repository lists the other variants, hybrid decoding implementations and full large-scale training recipes as planned releases. [5]

Continue reading

More to read

Topics:Machine LearningModel ArchitectureTransformer Models

References

  1. ^Zhu, Lianghui, et al. Mixture-of-Loops Transformer. arXiv:2611.34923v1. Submitted November 25, 2026.
  2. ^1 ^2 ^3 ^4 ^5 ^6 ^7 ^8 ^9 ^10 ^11 ^12 ^13 ^14 ^15 ^16Zhu, Lianghui, et al. Mixture-of-Loops Transformer, full paper. Sections 3 to 5, Tables 4 to 8 and Appendix A, including the paired training cost in Table 11. November 2026.
  3. ^Dehghani, Mostafa, et al. Universal Transformers. ICLR 2019.
  4. ^Geiping, Jonas, et al. Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach. arXiv:2502.05171. February 2025.
  5. ^MoLT authors. Mixture-of-Loops Transformer repository. Release notes, implementation and evaluation configuration. November 2026.
  6. ^AI Wiki chart from Zhu et al., Table 7. Original chart based on published source data.

Improve this article

Add missing citations, update stale details, or write a clearer explanation. Anyone can edit: changes go live when you publish, and every edit is checked by an editor.

3 revisions · v3 · 1,247 words · full history

Fact-checks are independent of edits: a reviewer re-verifies the article against its sources and stamps the date. How we verify

Research and drafting on this wiki are AI-assisted, under named human editorial standards. How AI is used here

Cite this page: AI Wiki. "Mixture-of-Loops Transformer." aiwiki.ai, updated 1 Dec 2026. CC BY 4.0. https://aiwiki.ai/wiki/mixture_of_loops_transformer

Edit article

What links here