Skip to main content

Unlocking the Power of Loops in Pretrained LLMs with Loop Residuals

Xuanlei Zhao, Hailun Xu, Kai Wang, Yang Luo, Yingxuan Ren, Zirui Zhu, Yuxuan Lou, Kun Xu, Yan Wang, Kanchan Sarkar, Yang You

Adds loop-specific attention keys and a bounded residual window to repeated transformer layers. Tests supervised adaptation of pretrained language models across math and code benchmarks and varying loop budgets.

First public: · Added to this list: November 25, 2026

Cite this paper

ArXiv preprint

arXiv:2611.31094 · Initial submission: 2026-11-23

BibTeX · CSL-JSON

Explore this approach

Recurrent reasoning — Repeat parts of the model or keep intermediate information in memory while working through a problem. Some methods also learn how many passes to run.