Looped Transformers as Optimizers
Read the original on arXiv Machine Learning →The Flow has not summarised this story yet — read it at arXiv Machine Learning.
The Flow has not summarised this story yet — read it at arXiv Machine Learning.
Rectified Looped Transformer (RLT) improves looped Transformers by redesigning feedback between loops with a linear interpolation schedule inspired by flow-based modeling. Each loop’s input is a blend of the current state and its prediction, which distributes state changes and keeps hidden-state norms bounded. Experiments show RLT achieves lower perplexity, greater robustness to perturbations, and more stable hidden-state trajectories without adding parameters or extra block evaluations.
The paper investigates how looping—reusing transformer weights to deepen models without adding parameters—affects performance under different constraints. Experiments on dense decoder‑only transformers up to 1 B parameters show that looping the full transformer yields best quality for a fixed parameter budget, while looping a middle block is preferable when training FLOPs are limited. Adding loop‑specific low‑rank adapters improves quality, but decoding slows linearly with loops; a parallel loop design that passes hidden states across token positions can mitigate this slowdown, though careful handling of token embeddings is needed to retain gains.
The paper introduces LOOM, a method for scaling looped mixture‑of‑experts (MoE) Transformers beyond the typical two‑loop limit. LOOM addresses two key obstacles: it stabilizes deep recurrence by bounding residual variance and re‑injecting the input embedding, and it prevents expert selection collapse by using per‑loop routers and a looping residual to maintain computational diversity. Experiments on 100 M–1.7 B parameter models show stable scaling to 9–12 loops, with significant perplexity reductions and zero‑shot accuracy gains under near‑iso‑FLOP conditions.
Looped transformers and Mixture-of-Experts (MoE) offer complementary routes to efficient scaling: recurrence increases computational depth at fixed parameters, while MoE sparsity expands total capacit...
arXiv:2610.35556v1 Announce Type: new Abstract: Looped Transformers increase computation per token by repeatedly applying a shared backbone, offering a way to improve language modeling and downstream...
UpLoop introduces a pretraining schedule that trains looped Transformers by upcycling early training computations, allowing the model to increase execution depth without adding extra parameters or training FLOPs. The method starts with a shallow Transformer, progressively copies learned layers to deepen the network, and reuses saved computation to support repeated execution of a shared middle block. Experiments across various model sizes demonstrate that UpLoop improves language modeling and downstream task performance, raising the average score across 22 tasks from 22.99 to 27.52 for a 1.3B‑parameter model, and also benefits mathematical reasoning after fine‑tuning.