Unlocking the Power of Loops in Pretrained LLMs with Loop Residuals
November 22, 2026
LoopRes enables fine-tuning pretrained LLMs into looped architectures by allowing layers to attend to all previous loop iterations. By using trainable loop-aware keys to distinguish between identical layer outputs, this method achieves significant performance gains and test-time scaling without the cost of training from scratch.