Back to articles

LoopRes Helps Pretrained LLMs Benefit More from Repeated Computation

3 min read

Looped Transformers increase computation by running the same block of layers more than once, rather than adding a separate set of parameters for every pass. This creates a way to spend more computation at inference time. Yet turning an existing pretrained model into a looped one has so far delivered only modest improvements, while training looped models from scratch is more expensive. LoopRes aims to make repeated computation more useful for pretrained language models.

What LoopRes changes

  • Layers can read earlier passes. Building on Attention Residuals, LoopRes allows a layer to attend directly to outputs from previous loops. Later computation can therefore draw on representations formed in earlier iterations, instead of relying only on ordinary residual flow.
  • Each iteration gets an identity. The same layers are reused, so their outputs across loops can become difficult to distinguish. LoopRes assigns each output a trainable, loop-aware key to encode which iteration it came from.
  • Access is limited to a recent window. Unrestricted access to all previous loops could let a layer bypass intermediate iterations. LoopRes restricts attention to the latest W loops, encouraging each pass to build incrementally on recent ones. The abstract does not specify the value of W.

The paper evaluates LoopRes across six pretrained LLMs from three model families and nine benchmarks, reporting significant and consistent gains. On Qwen3-1.7B-Base, at twice the compute, LoopRes improves on supervised fine-tuning (SFT) by 29.1%, more than doubling the gain of the state-of-the-art baseline cited by the authors. They also report that the gains hold for larger models up to 30B parameters. Between 1.7B and 8B, LoopRes is said to scale more steeply than SFT as compute increases, reach a higher ceiling, and require less compute on long outputs.

These results point to an important distinction: repeating computation is not, by itself, enough. How a model carries information from one pass to the next may determine whether looping delivers useful gains. LoopRes offers a fine-tuning approach for adding this behavior to existing pretrained models, and its results suggest that residual design can matter for test-time scaling as well as model size.

The evidence should still be read with the limits of the available summary in mind. It does not give the metric behind the 29.1% figure, individual benchmark scores, or details of statistical testing. That makes it difficult to judge how evenly the gains are distributed across tasks or to compare practical deployment costs. The paper presents a promising architectural recipe, but its boundaries and real-world trade-offs require fuller evaluation.

Source: Hugging Face Daily Papers

Comments

Checking sign-in status...

Loading comments...

Related articles