ASIA
    ←Latent
    Dispatch · Looped Transformers · 3 min
    BEIJING · ByteDance (China)

    Looped Transformer passes attention memory between loops to cut decoding cost

    A 2026 preprint from Huazhong University and ByteDance Seed reuses layers in loops but passes keys and values between them, beating OLMo3 at matched training tokens up to 3B parameters.

    3 December 2026 · arXiv preprint, not yet peer reviewed
    3D render, tangled glowing blue coil strands on black
    Photo: Logan Voss

    A looped Transformer runs the same stack of layers several times over its input, gaining depth without adding parameters. The price is speed. In the usual design, called the loop residual, each loop's output becomes the next loop's input, so every new token depends on its own previous-loop result and all loops must run one after another for every token generated. A 2026 preprint from Huazhong University of Science & Technology, ByteDance Seed and the University of Toronto, not yet peer reviewed, asks what should actually be passed from one loop to the next.

    The authors' answer is keys and values (KV), the vectors attention uses to look information up, which language models already cache so they need not recompute past tokens. Their Mixture-of-Loops Attention lets a query read two kinds of KV in a single softmax: context along the token sequence, and keys and values computed at the same token by other layers or loops. There is no separate learned gate; the query decides how much each source contributes, and queries and keys are normalised because their relative scales matter in the shared softmax. One variant, MoLT-R, keeps the residual loop and adds these extra reads for quality. Another, MoLT-KV, restarts every loop from the raw token embeddings and sees the previous loop's output only as memory at strictly earlier positions.

    That restart is what buys speed. Because a token no longer depends on its own previous-loop state, each loop can be trained in parallel across all token positions with its own next-token loss, a trick the authors call loop forcing by analogy with teacher forcing. At inference, each new token can pass through the shared layers once, reading cached memory from earlier tokens. Hybrid schedules process the prompt with one or two parallel loops first. A third variant, U-MoLT, uses the looped stack as an encoder that builds memory and adds a decoder, kept outside the loop's feedback path, that reads it through cross-attention, with each decoder layer projecting its own keys and values. Because the decoder does not feed back into the loop, unneeded decoder passes can be skipped.

    Small-scale tests on models of about 113M parameters, trained on 3B FineWeb tokens across 32 configurations, show why the design matters. Plain residual looping lowered validation cross-entropy, a measure of prediction error, from 3.318 to 3.299, but raised update time from 494 to 942 ms. Dense MoLT-KV without the same-token depth reads did worse than both baselines, at 3.322.

    At scale, the authors trained models on 400B tokens with the OLMo3 pipeline and compared them with non-looped OLMo3 on ten tasks including HellaSwag, ARC and MMLU. At 700M parameters, mean accuracy was 56.6 for OLMo3, 59.2 for MoLT-R and 59.1 for U-MoLT. At 1.5B, U-MoLT raised it from 61.2 to 62.6. In a 3B mixture-of-experts model, where only 660M parameters are active per token, it rose from 60.1 to 62.2, with every task improved, ARC-C going from 36.7 to 41.8. In a separate paired 700M run, U-MoLT matched OLMo3's 400B-token validation loss after 232.8B tokens. Retrofitting the design onto Qwen3.5-0.8B-Base during 100B tokens of further training lowered mean cross-entropy to 2.480, against 2.496 for the same model trained on the same tokens without the change.

    On speed, with a 4,096-token prompt and 64 decoding steps, U-MoLT with the two-loop hybrid schedule took 996.6 ms against 1,000.6 ms for OLMo3 and 1,974.3 ms for a two-loop residual OLMo3. Without parallel prompt processing, single-pass decoding was far slower: 73.8402 s for MoLT-KV on the same prompt.

    The limits are substantial. Latency was measured only at about 113M parameters, and the runs whose setup is stated used batch size 1. Comparisons are matched on training tokens, not compute, and looping doubled logical training FLOPs in the small study. No error bars are reported, the ablations use a single seed, and many ablation differences sit in the third decimal place. The best-scoring variants, including MoLT-R, cannot use the fast single-pass decoding. At scale the only baseline is OLMo3; other looped designs were not tested. The Qwen gains are small and are reported as validation cross-entropy.

    The work joins other attempts to let layers reach across depth. Loom attention also lets heads read earlier layers token by token, but its authors report a real cost in speed (earlier story). Work on hyper-connections instead rethinks how the residual stream itself is mixed between layers (earlier story).

    Paper
    Mixture-of-Loops Transformer
    Authors
    Lianghui Zhu, Shijie Wang, Xinggang Wang, Jinze Bai, Bo Wang, Xiang Bai et al.
    Venue
    arXiv preprint — not yet peer reviewed · 25 November 2026
    Link
    arxiv.org/abs/2611.34923
    Index
    stacks.braintank.ai
    Code
    github.com/hustvl/MoLT
    Cite

    Keep reading

    Photo: Umut Tuluoglu

    Latent · Medical multimodal models

    Sage-Med tops open medical AI models on image tests but lags GPT-6.2-Sol at pinpointing

    A Shanghai AI Laboratory preprint finds medical image-reading models trail general ones, then builds its own and tests it against 77 rivals on 238 clinical tasks.

    arXiv preprint · 25 November 2026
    surreal render: a person sits on a ledge in a void of hanging screens and cables
    surreal render: a person sits on a ledge in a void of hanging screens and cables

    Surreal render: a person sits on a ledge in a void of hanging screens and cables · Photo: Shubham Dhage

    Latent · residual stream mixing

    Pulling stream-mixing matrices toward the centre keeps hyper-connections blending

    A 2026 preprint shrinks the space that mHC-style hyper-connections draw their mixing from, in early layers only, for small and not always consistent loss gains.

    arXiv preprint · 20 November 2026

    Photo: Hal Gatewood

    Latent · Transformer architecture

    Loom attention lets each Transformer head pick, token by token, which earlier heads to read

    A per-token matrix memory lets attention heads rewire their connections across layers. The authors report gains equivalent to over 3x compute, at a real cost in speed.

    arXiv preprint · 23 November 2026