Scaling to Tens of Thousands of Test-Time Iterations with Loop-Native Attention Residuals

Pengxiang Li, Dilxat Muhtar, Di He, Guinan Su, Lu Yin, Shiwei Liu

The Hong Kong Polytechnic University · Independent Researcher · Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences · Peng Cheng Laboratory · University of Chinese Academy of Sciences · ELLIS Institute Tübingen

Published October 8, 2026 · on the feed October 9, 2026 · ▲ 8 · arXiv 2610.11570

Reasoning & math arXiv ↗Hugging Face ↗

The abstract

In this paper, we argue that looped Transformers need their own residual connections to prevent performance degradation as the number of iterations grows. We observe that increasing loop iterations can reduce reasoning accuracy: noisy state updates overwrite correct intermediate deductions and even undo completed solutions. This leaves subsequent iterations to recover lost information from an already degraded representation: once an error arises in an earlier loop, often as a result of long-range propagation through the recurrence, later loops find it difficult to correct. In this paper, we introduce InfiLoop, a loop-native residual connection that learns which past computations to retain and how much to accept from each new update. InfiLoop combines content-based weighting with learned temporal decay to maintain a running summary of recurrent states. An exact streaming recurrence keeps its persistent aggregation memory constant as the loop count grows. The resulting adaptive update suppresses unreliable proposals and preserves useful intermediate states. Across extensive reasoning tasks, a 7M-parameter InfiLoop model outperforms existing recursive architectures, reaching 97.9% exact accuracy on Sudoku-Extreme, and 13.6% pass@2 on ARC-AGI-2. Notably, on Sudoku-Extreme, InfiLoop continues to improve with test-time looping beyond 20,000 effective steps, showing that added depth translates directly into stronger reasoning. Our code is available at https://github.com/pixeli99/InfiLoop.

The Brief

2:35

A short podcast summary of the paper. Written and voiced by AI.

Transcript

Scaling to Tens of Thousands of Test-Time Iterations with Loop-Native Attention Residuals. By Pengxiang Li and five others, from the Hong Kong Polytechnic University, Independent Researcher, and seven other institutions. Published on the eighth of October.

Looped Transformers reuse the same block over and over, and in principle more iterations should mean more reasoning. The authors observe the opposite can happen. Adding loop iterations can lower reasoning accuracy. Noisy state updates overwrite intermediate deductions that were correct, and can even undo solutions that were already complete. Later iterations are then left trying to recover lost information from a representation that has already degraded. Once an error appears in an early loop, often through long-range propagation in the recurrence, later loops find it hard to correct. The extra iterations that were supposed to add reasoning are then spent trying to repair damage. That is the degradation the paper sets out to prevent, and it is why simply looping longer has not been a reliable way to buy more accuracy.

Their argument is that looped Transformers need residual connections of their own. InfiLoop is that connection, a loop-native residual that learns two things: which past computations to retain, and how much of each new update to accept.

It combines content-based weighting with a learned temporal decay, and uses the two to maintain a running summary of the recurrent states. An exact streaming recurrence keeps the persistent aggregation memory at a constant size, no matter how large the loop count grows. The result is an adaptive update. Proposals that are unreliable get suppressed, and intermediate states that are useful are preserved instead of being overwritten. The constant memory is what makes the title's scale possible. If the summary grew with every loop, running for tens of thousands of iterations would become impractical long before it became useful.

Across a broad set of reasoning tasks, an InfiLoop model with seven million parameters outperforms existing recursive architectures. It reaches ninety seven point nine percent exact accuracy on Sudoku-Extreme, and thirteen point six percent pass at two on ARC-AGI-2.

The most telling result is on Sudoku-Extreme, where InfiLoop keeps improving as test-time looping continues past twenty thousand effective steps. The authors take this as evidence that added depth translates directly into stronger reasoning.

The diagnosis is that recurrence without protection forgets. Each pass can damage what the previous passes got right. InfiLoop gives the loop a memory that decides what to keep and what to accept, and with that in place the number of iterations stops being a liability and starts being a resource, out to tens of thousands of steps.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.