LoopRes reruns the middle of a 1.7B Qwen3 several times per token and reports 29 percent higher scores
An NUS method turns a pretrained LLM into a looped one by fine-tuning. On seven math and code benchmarks the authors report 55.8 against 43.2, at twice the compute per token.
- Model
- LoopRes-Qwen3-1.7B
- Maker
- NUS HPC-AI Lab
- Size
- 1.7B
- License
- MIT (code); weights license not stated in the repo
- Weights
- Promised
There are two familiar ways to make a small model think harder: let it write more reasoning tokens, or use a bigger model. LoopRes, from Xuanlei Zhao and colleagues at the National University of Singapore, works on a third: run some of the model’s layers more than once for every token. The repo ships training code, a paper, and a link to a fine-tuned Qwen3-1.7B checkpoint.
A note on status. The README links the checkpoint at oahzxl/LoopRes-Qwen3-1.7B on Hugging Face. Hugging Face was not reachable from our build machine during this run, so our tracker lists the weights as unconfirmed. Everything below comes from the GitHub repo and the paper PDF inside it.
How it works
A looped transformer reuses a block of layers, so depth comes from repetition and the parameter count stays the same. The paper says converting an existing model this way by fine-tuning has so far brought only small gains.
LoopRes splits a pretrained model’s layers into three parts: the first quarter (the prelude) runs once, the middle half (the core) runs L times, and the last quarter (the coda) runs once. For the 1.7B model that is 7, 14 and 7 layers. Running the core three times costs the same as two full passes through the model, which is what the paper calls 2x compute. Seven loops is 4x.
The problem the authors identify is what each loop gets to see. In earlier designs a loop receives only the previous loop’s output through one narrow path. LoopRes lets each looped layer attend over the outputs of earlier loops, building on a technique called Attention Residuals. Two changes make that work in a loop. Outputs from different passes through the same layers look alike, so each gets a trainable “loop-aware” key that says which pass it came from. And each layer may only look back a fixed window of loops, one by default, so later loops cannot skip the ones in between.
The benchmarks
These numbers are the authors’, from Table 1 of the paper. Every method is a fine-tune of Qwen3-1.7B-Base on the same data. SFT is the plain fine-tune with no looping. The authors reimplemented each baseline themselves. HE+ and MBPP+ are the HumanEval+ and MBPP+ code benchmarks.
| Method | Compute | AIME25 | AIME26 | AMC23 | Olympiad | MATH500 | HE+ | MBPP+ | Avg |
|---|---|---|---|---|---|---|---|---|---|
| SFT (no loop) | 1x | 14.6 | 11.7 | 48.6 | 40.7 | 73.4 | 57.3 | 56.2 | 43.2 |
| Ouro | 2x | 12.5 | 9.2 | 47.8 | 40.4 | 74.6 | 59.1 | 56.6 | 42.9 |
| Huginn | 2x | 19.6 | 14.4 | 54.1 | 46.5 | 80.4 | 64.2 | 64.0 | 49.0 |
| BRT | 2x | 21.7 | 15.4 | 53.6 | 45.0 | 79.0 | 66.6 | 63.2 | 49.2 |
| LoopRes | 2x | 27.9 | 19.4 | 64.7 | 53.8 | 84.0 | 71.8 | 68.9 | 55.8 |
| LoopRes | 4x | 30.2 | 24.6 | 67.5 | 52.9 | 84.2 | 75.3 | 69.8 | 57.8 |
LoopRes leads every column at 2x, and the average moves from 43.2 to 55.8, the 29.1 percent in the abstract. BRT is the strongest of the eight baselines in the paper; we left five out of the table for space.
Three things to read alongside that. First, the 2x row costs twice the layer passes per token, so the comparison with SFT is not at equal cost. The paper answers with curves of score against total decode compute, which do not fit in a table. Second, doubling compute again buys two more points on average, and OlympiadBench goes down, from 53.8 to 52.9. The paper says gains flatten beyond five loops. Third, one baseline, Ouro, scores below the unlooped model at 2x, so looping is not automatically an improvement.
On larger models at 2x, the paper reports average gains of 9.2 points on Qwen3-4B, 8.6 on Qwen3-8B and 5.5 on Qwen3-30B-A3B, over a different set of five math and code benchmarks. The looped 4B model’s average, 45.8, edges past the plain 8B model’s 42.9.
The paper’s stated limits: math and code only, and supervised fine-tuning only. We found no independent results.
Try it yourself
The code is MIT-licensed, a single commit. Per the README, install with pip install -e . plus flash-attn, download the checkpoint with huggingface-cli, and run python -m scripts.infer with --device cuda. The README does not say whether the published checkpoint is the 2x or the 4x configuration, and gives no hardware requirement.
We have not run the model. This is based on the README and the paper in the repo.