Scheduled Loop-Forcing and Multi-Horizon Unrolling for Recursive Memory Alignment
Mitigate cross-loop exposure bias in single-traversal decoding by training looped Transformers across multi-step recursive feedback unrolls with scheduled sampling.
Time
Compute level
Resources
What the paper used
Prerequisites
Scope
The Gap
Section 3.4 and Section B.2 ('Cross-loop alignment and continuation quality', page 31) examine the mismatch between training and inference in MoLT. Training relies on N=2 loop-forcing where Ft receives only memory projected from loop 1, whereas MoL decoding recursively feeds Ft's own outputs across hundreds of continuation tokens.
“The hardest extrapolation setting is N = 2, where Ft never sees its own outputs during training. Analogous to exposure bias in autoregressive decoding, 2-loop training evaluates Ft only on memory KV projected from loop-1 outputs z1<t.”
Limitation
Loop-forcing trains only a 1-step feedback transition (z^1 to z^2), introducing exposure bias and preventing the model from learning to correct representation drift during long recursive generation unrolls.
Proposed Solution
Develop a multi-loop scheduled loop-forcing curriculum: during pretraining, train with N in {2, 3, 4} loops where feedback memory is dynamically formed as a mixture between ground-truth preceding-loop outputs (z^{r-1}) and autoregressively accumulated single-traversal memory caches. Introduce an auxiliary consistency loss between single-traversal continuation representations and multi-loop unrolled representations, encouraging representation stability across multi-thousand token generation windows.
Why This Matters
Closing the exposure gap between parallel loop forcing and recursive MoL decoding is expected to prevent representation degradation and maintain low perplexity over long-horizon autoregressive sequence generation.
How to Get Started
How to test it: Evaluate long-context free-form autoregressive generation (e.g., 2,048 continuation tokens) and track token drift / perplexity on WikiText-103 and C4 against standard 2-loop trained U-MoLT. Stop if scheduled loop forcing increases training wall-clock time by more than 20% without improving 2,048-token generation perplexity.
- Instrument MoLT-KV and U-MoLT decoding scripts to log hidden state divergence between fixed 2-loop and MoL decoding over 2,048 tokens.
- Implement a custom PyTorch training loop supporting N=3 loop forcing with stochastic injection of single-traversal prefix KV.
- Train S-size models on 10B FineWeb tokens using 1:1, 1:2:2, and scheduled mix loop weights.
- Evaluate downstream generative performance on long-context benchmarks like GSM8K with Chain-of-Thought.
Code linked to this paper on Hugging Face: github.com/hustvl/MoLT
Suggested by AI. Adapt it to your setup.
Has This Been Done?
Memory-Efficient Looped Transformer touches upon looped language models and memory mechanisms, but it does not propose the specific scheduled loop-forcing curriculum with mixed ground-truth feedback and auxiliary consistency losses for recursive memory alignment as described.
- Memory-Efficient Looped Transformer: Decoupling Compute from Memory in Looped Language Models · 2026 · 26 citations
We searched OpenAlex and arXiv for “looped transformer exposure bias scheduled loop forcing” and “Scheduled Loop-Forcing and Multi-Horizon Unrolling for Recursive Memory Alignment” and an AI compared the idea with the top 10 results. A small search can miss relevant work.
Source Paper
Mixture-of-Loops TransformerLianghui Zhu, Shijie Wang, Xinggang Wang +3 more · 2026
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.
Related Ideas
- Recursive Associative-Memory Graph Traversal for Multi-Step Scientific ReasoningWeight-Space Programming Doesn't Need Transformers🟡Fairly easy
- Decoupled Asymmetric Modality Branching in Vision-Language TransformersMulti-Branch Transformer🔴Hard
- Controlled Block-Level Comparison of Content-Gated Recurrent Depth ReadersLoopback Transformer: Towards a Unified View of Residual Looped Transformers🟡Fairly easy
- Hybrid Sliding-Window and Fixed-State Depth Memory for Deeply Looped TransformersLoopback Transformer: Towards a Unified View of Residual Looped Transformers🔴Hard
- Incremental Curvature Accumulation for Continual Multi-Stage Learning and UnlearningCurvDelta: Low-Curvature Delta Modeling For Surgical Learning and Unlearning🟠Medium