HuggingFace Daily Papers· Xuanlei Zhao, Hailun Xu, Kai Wang, Yang Luo, Yingxuan Ren, Zirui Zhu, Yuxuan Lou, Kun Xu, Yan Wang, Kanchan Sarkar, Yang You·· 4 天前AI 评分56
LoopRes 用循环残差让预训练 LLM 微调获得显著增益
Unlocking the Power of Loops in Pretrained LLMs with Loop Residuals
AI 导读
Xuanlei Zhao 等提出 LoopRes,在 Attention Residuals 基础上让每个循环层直接关注此前循环的输出,并用可训练的循环感知 key 区分结构身份、限制残差窗口为最近 W 次循环。
正文 · 原文
Authors:Xuanlei Zhao, Hailun Xu, Kai Wang, Yang Luo, Yingxuan Ren, Zirui Zhu, Yuxuan Lou, Kun Xu, Yan Wang, Kanchan Sarkar, Yang You
Abstract:Looped Transformers iterate a shared block of layers to increase computation without adding parameters, offering stronger performance and test-time scaling. However, this power has so far required training from scratch and yielded only modest gains for LLMs. Finetuning existing models into loops is far cheaper, yet also brings only marginal gains over SFT. We propose LoopRes, an effective, scalable, and simple approach that turns loops into significant and consistent gains for pretrained LLMs. Building on Attention Residuals, LoopRes lets each looped layer attend directly to the outputs of earlier loops. Since these outputs are iterates of the same layers and become harder to tell apart, we give each a trainable loop-aware key that encodes its structural identity. Attending to all earlier loops also lets layers skip intermediate ones, so we restrict each layer to a residual window of the latest W loops, forcing every loop to build incrementally on recent ones. Across 6 pretrained LLMs from 3 model families and 9 benchmarks, LoopRes delivers significant and consistent gains: at 2x compute, it improves Qwen3-1.7B-Base by 29.1% over SFT, 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, LoopRes scales more steeply than SFT as compute grows, reaching a higher ceiling while needing less compute on long outputs. These results establish LoopRes as an effective looping approach, delivering both better performance and better test-time scaling.
| Subjects: | Computation and Language (cs.CL); Machine Learning (cs.LG) |
| Cite as: | arXiv:2611.31094 [cs.CL] |
| (or arXiv:2611.31094v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2611.31094 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Xuanlei Zhao [view email]
[v1]
Mon, 23 Nov 2026 17:38:43 UTC (572 KB)
来源:HuggingFace Daily Papers · arxiv.org