Research ·
Unlocking the Power of Loops in Pretrained LLMs with Loop Residuals
Hugging Face shared a paper introducing LoopRes, a finetuning method that turns looped Transformer computation into significant gains for pretrained LLMs, improving Qwen3-1.7B-Base by 29.1% over SFT at 2x compute.

Looped Transformers reuse a shared block of layers to add computation without extra parameters, but until now this required training from scratch and gave only modest gains for LLMs. Finetuning existing models into loops was cheaper but yielded marginal improvements over supervised finetuning. LoopRes, proposed by researchers in a paper shared on Hugging Face, makes looping deliver significant and consistent gains for pretrained LLMs.
LoopRes builds on Attention Residuals by letting each looped layer attend directly to the outputs of earlier loops. Because these outputs come from the same layers and become hard to distinguish, each gets a trainable loop-aware key encoding its structural identity. Attending to all earlier loops could let layers skip intermediate ones, so each layer is restricted to a residual window of the latest W loops, forcing incremental building on recent iterations.
Across 6 pretrained LLMs from 3 model families and 9 benchmarks, LoopRes improved Qwen3-1.7B-Base by 29.1% over SFT at 2x compute, more than doubling the gain of the state-of-the-art baseline. Gains held on models up to 30B, and from 1.7B to 8B LoopRes scaled more steeply than SFT as compute grew, reaching a higher ceiling while needing less compute on long outputs.
For builders, LoopRes offers a cheaper route to test-time scaling: finetune an existing pretrained model into a looped form rather than training from scratch, and trade extra inference compute for better accuracy.
References
- Hugging Face · huggingface.co
Read the full story at Hugging Face ↗Like, save or discuss on Buzz