Resample the Answer: Where to Spend Test-Time Compute in Recursive Reasoning
Organizations: Concordia University · Mila – Québec AI Institute · Montréal, Canada
Abstract
Recursive reasoning models such as the Tiny Recursive Model (TRM) iteratively refine two latent states: an answer state y, decoded into the output, and a reasoning state z, which is never decoded. Many of their failures have been attributed to bad basins, regions of latent space that trap the recursion on wrong answers. Recent test-time approaches perturb y, z or both to recover these failures, but the impact of this choice on performance, test-time compute efficiency and scaling properties remains unclear. Through controlled experiments on TRM, we find that a failed trajectory carries its failure in its answer state. At equal compute, in depth and in width, resampling y recovers more failures than any perturbation of z we tested, and the performance gap widens as the test-time compute budget grows. Our approach, Gated Answer Resampling (GAR), pairs this resampling of the answer state with the model's own halting head and restarts only the puzzles that the head rejects. With at most 64 restarts per puzzle and no training or hyperparameter search, GAR takes TRM from 85.9% to 99.4% on Sudoku-Extreme and from 68.8% to 85.6% on Pencil Puzzle Bench validation. On the same checkpoints, GAR also outperforms Probabilistic TRM (PTRM), which perturbs z at each step, even when PTRM uses 42 to 197 times as much compute.
Figures & tables
| Sudoku-Extreme | PPBench validation | ||||
| TRM, standard pass: | TRM, standard pass: | ||||
| retries | retries | retries | retries | ||
| TRM, under the harness | |||||
| PTRM | |||||
| GAR | 0 | ||||
| instead of | |||||
| Sudoku-Extreme | PPBench validation | ||||||||
| state | method | runs on | cost | accuracy | lost | cost | accuracy | lost | |
| Deterministic TRM | |||||||||
| — | TRM, standard pass | all | — | — | |||||
| — | TRM, uniform unroll ( / ) | all | |||||||
| PTRM with its own protocol: rollouts (width) of steps (depth) | |||||||||
| PTRM ( , ) | all | ||||||||
Appendix figures & tables14 assets
Supplementary material from the paper’s appendix.
Appendix
| benchmark | split | standard pass (%) | recall (%) | false-positive rate (%) | |
|---|---|---|---|---|---|
| Sudoku-Extreme | test puzzles | ||||
| PPBench (5 types) | validation | ||||
| PPBench (5 types) | golden |
| training | validation | golden | |||
| type | ours | PTRM | ours | PTRM | both |
| sudoku | |||||
| lightup | |||||
| nurikabe | |||||
| heyawake | |||||
| tapa | |||||
| Sudoku-Extreme | PPBench | |
| model | ||
| variant | TRM-MLP (MLP across the positions) | TRM-Att (self-attention, heads) |
| positional encoding | none | RoPE |
| layers, width | , ; channel SwiGLU width | |
| , , | , , | |
| prefix | ||
| pass@ | best- @ | |
|---|---|---|
| (deterministic) | ||
| (PTRM’s value) | ||
| own protocol | fallback | |||||
| configuration | cost | accuracy (%) | pass@ | lost | accuracy (%) | lost |
| TRM, standard pass | — | — | — | — | ||
| TRM, uniform unroll ( ) | — | — | — | |||
| , | ||||||
| , | ||||||
| , | ||||||
| own protocol | fallback | |||||
| configuration | cost | accuracy (%) | pass@ | lost | accuracy (%) | lost |
| TRM, standard pass | — | — | — | — | ||
| TRM, uniform unroll ( ) | — | — | — | |||
| , | ||||||
| , | ||||||
| , | ||||||
| the retry | ||||
|---|---|---|---|---|
| no perturbation | adds PTRM’s noise to | resamples | resamples | |
| continues (depth) | / | / | / | / |
| restarts (width) | / | / | / | / |
| Sudoku-Extreme ( failures) | PPBench validation ( failures) | |||
| kept | resampled | kept | resampled | |
| kept | ||||
| resampled, fillable cells | ||||
| resampled, all cells | — | — | ||
| reset, fillable cells | ||||
| reset, all cells | ||||
| TRM, under the harness | PTRM | GAR | instead of | continue instead of restart | ||||||
| accuracy (%) | cost | accuracy (%) | cost | accuracy (%) | cost | accuracy (%) | cost | accuracy (%) | cost | |
| Sudoku-Extreme ( puzzles, failures) | ||||||||||
| minus | once minus noise | GAR minus PTRM | continue minus restart | |
| Sudoku-Extreme ( puzzles, failures) | ||||
| resampling | resampling , fillable cells | resampling , all cells | ||||||||||
| step | cells | solved | cells | solved | cells | solved | ||||||
| — | — | — | ||||||||||
| retries | retries | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| type | failures | standard pass (%) | GAR | instead of | continue instead of restart | PTRM | GAR | instead of | continue instead of restart | PTRM | |
| sudoku | |||||||||||
| lightup | |||||||||||
| nurikabe | |||||||||||
| heyawake | |||||||||||
| tapa | |||||||||||
| state | method | runs on | cost | accuracy (%) | recovered | lost |
| — | TRM, standard pass | all | — | — | ||
| Depth: one trajectory, continued | ||||||
| — | TRM, uniform unroll ( ) | all | ||||
| — | no perturbation ( ) | rejected | ||||
| resampling ( ) | rejected | |||||
| Width: trajectories drawn from the initial state | ||||||
| retries | method | sudoku | lightup | nurikabe | heyawake | tapa | aggregate |
|---|---|---|---|---|---|---|---|
| GAR | |||||||
| PTRM | |||||||
| GAR | |||||||
| PTRM |