Skip to content

Source paper

Mixture-of-Loops Transformer

Lianghui Zhu, Shijie Wang, Xinggang Wang and 3 more

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

arXiv 2611.34923 · 202674 upvotes on Hugging Face

Research ideas from this paper (3)

Generated by AI. The paper’s authors did not write these.

AI summary

This paper presents the Mixture-of-Loops Transformer (MoLT), an architecture that rethinks looped Transformers by replacing residual-state feedback with key-value (KV) memory passing via Mixture-of-Loops Attention (MoLA). It introduces loop-forcing for parallelized training and single-traversal Mixture-of-Loops (MoL) decoding to eliminate the sequential multi-loop inference bottleneck. Across dense and MoE models up to 3B parameters and continued pretraining on Qwen3.5, MoLT and its encoder-decoder variant U-MoLT achieve higher token efficiency and lower perplexity while matching the latency of non-looped baselines.

How it works (AI summary)

The core technique is Mixture-of-Loops Attention (MoLA), which enables attention layers to attend simultaneously to current-loop local depth KV at the current token and strict-prefix memory KV projected from the preceding loop's output. To circumvent sequential multi-loop decoding, MoLT-KV and U-MoLT employ embedding restart and strict-prefix masking, transforming loop feedback into a token-ordered triangular recurrence trained in parallel via loop forcing and executed during decoding in a single pass. U-MoLT further separates memory construction in a looped encoder from next-token prediction readout in an independent causal cross-only decoder.