There Is No Free Loop: When Does Looping a Trained Model Pay for Its Inference Compute?
Abstract
Looping re-applies a block of layers so that each token passes through the block more than once. Adding a loop to a trained model is attractive because it leaves the parameter count, and hence the disk size, the memory footprint and the training cost unchanged. Unfortunately, every generated token pays for the loop. Re-applying m of N layers makes each token about (N+m)/N times as expensive. Loops that a model learns during large-scale pretraining justify this price, but whether loops added after pretraining justify this cost remains unclear. We compare a looped model with two simple baselines. We first compare it with the same model trained identically without the loop (equal parameters). Secondly, we compare it with the best unlooped use of the same inference floating-point operations (equal FLOPs). Across Qwen3 and Qwen3.5 models from 0.8B to 9B parameters, only the looped 0.8B model beats both baselines. At 4B and 9B, the looped model does not beat the first baseline, i.e. the same model trained without the loop. This is not because the benchmarks are too easy, since on the same benchmarks the unlooped 9B model still scores up to 13 points higher than the 4B model, showing that there is ample room for improvement. Introducing loops in an already pretrained model therefore only pays for small models with a fixed parameter budget.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI
Related papers
UpLoop: Training Looped Transformers via Upcycling at No Extra Pretraining Compute
Shared title terminologycs.LGCheng Liang, Tengfei Zhang, Ya Zhang et al.
AlignPre: Skill-Aligned Post-Training for Latent-Free Generative Precipitation Nowcasting
Shared title terminologycs.LGDemin Yu, Kenghong Lin, Xutao Li
Unified dynamics of training, learning, inference, and reinforcement in neural networks
Shared title terminologycs.LGMian Wang
Inference First, Training Underneath: Layer-Granular LoRA Co-Serving with LayerLoom
Shared title terminologycs.LGZongpu Zhang, Yishu Yin, Xuehai Qian
What We Keep of What We Forget: Replacement Operators and Routing Semantics in Training-Free MoE Expert Pruning
Shared title terminologycs.LGEzza Ali, Sehrish Bibi, Momina Moetesum et al.
bf16 Rounding Silently Discards Most RL Policy Updates: A Hidden Training-Inference Mismatch and an Unbiased One-Line Fix
Shared title terminologycs.LGAndrew Gao, William Gao