Unlocking the Power of Loops in Pretrained LLMs with Loop Residuals
Summary
LoopRes enables pretrained LLMs to benefit from looped computation by letting layers attend to recent earlier loops with trainable loop-aware keys, delivering consistent gains and improved test-time scaling over SFT across 6 models and 9 benchmarks.
View Cached Full Text
Cached at: 11/24/26, 08:02 PM
Paper page - Unlocking the Power of Loops in Pretrained LLMs with Loop Residuals
Source: https://huggingface.co/papers/2611.31094 Authors:
,
,
,
,
,
,
,
,
,
Abstract
LoopRes enables pretrained large language models to benefit from looped computation by letting layers attend to recent earlier loops with trainable loop-aware keys, yielding consistent gains and improved test-time scaling.
Looped Transformersiterate ashared block of layersto increase computation without adding parameters, offering stronger performance andtest-time scaling. However, this power has so far requiredtraining from scratchand yielded only modest gains forLLMs.Finetuningexisting models into loops is far cheaper, yet also brings only marginal gains overSFT. We proposeLoopRes, an effective, scalable, and simple approach that turns loops into significant and consistent gains for pretrainedLLMs. Building onAttention Residuals,LoopReslets eachlooped layerattend directly to the outputs ofearlier loops. Since these outputs are iterates of the same layers and become harder to tell apart, we give each atrainable loop-aware keythat encodes itsstructural identity. Attending to allearlier loopsalso lets layers skip intermediate ones, so we restrict each layer to aresidual windowof thelatest W loops, forcing every loop to build incrementally on recent ones. Across 6 pretrainedLLMsfrom 3 model families and 9 benchmarks,LoopResdelivers significant and consistent gains: at 2x compute, it improves Qwen3-1.7B-Base by 29.1% overSFT, more than doubling the gain of the state-of-the-art baseline. The gains hold on larger models up to 30B and across all three families. More importantly, from 1.7B to 8B,LoopResscales more steeply thanSFTas compute grows, reaching a higher ceiling while needing less compute on long outputs. These results establishLoopResas an effective looping approach, delivering both better performance and bettertest-time scaling.
View arXiv pageView PDFProject pageGitHub34Add to collection
Get this paper in your agent:
hf papers read 2611\.31094
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2611.31094 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2611.31094 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2611.31094 in a Space README.md to link it from this page.
Collections including this paper1
Similar Articles
@rosinality: https://arxiv.org/abs/2611.31094 Attention Residuals + Loop.
The paper introduces Loop Residuals (AttnRes and LoopRes) to unlock the power of looping in pretrained LLMs, showing gains on math and code benchmarks across Qwen3 backbones with 2x and 4x compute.
LoopUS: Recasting Pretrained LLMs into Looped Latent Refinement Models
LoopUS is a post-training framework that converts pretrained LLMs into looped architectures for improved reasoning performance via latent-refinement and adaptive early exiting. It addresses computational costs and capability preservation issues found in existing looped computation methods.
@arXivBangers: Closing the Loop: Practical Training Recipes for Looped Language Models New training recipes enable looped language mod…
The paper introduces practical training recipes that cut looped (recurrent) language model training from 7.7T to 310B tokens, with a 1.4B LoopLM outperforming a parameter-matched dense baseline on all 12 benchmarks, and shows how to convert pretrained dense models like Qwen3-1.7B-Base into looped ones with minimal added parameters.
Skip a Layer or Loop It? Learning Program-of-Layers in LLMs
This paper introduces Program-of-Layers (PoLar), a method that allows LLMs to dynamically skip or loop pretrained layers per input, improving accuracy and efficiency over fixed-depth inference.
DeepLoop: Depth Scaling for Looped Transformers
DeepLoop introduces a residual scaling method for looped Transformers that adjusts for parameter visits, improving stability and performance when physical blocks are reused across multiple rounds.