betaFeedback

WorksComputer Science

Simpler Tiny Recursive Models

Abstract

Small models that execute deep looped computational graphs have shown great experimental results on puzzle-like problems like Sudoku, finding shortest paths through mazes, etc. The most well-known one is TRM (tiny recursive model), a simplification of HRM (hierarchical reasoning model). However, the underlying recursion is complicated and involves a high-level and a low-level state, a nested loop recursion, and the network calls with different input and output signatures depending on where we are in the loops. These mechanisms are needed to avoid memorization and overfitting. We propose STRM, a simplified design with a single state and a uniform update. STRM does not sacrifice generalization, improves training speed and final performance. Our key architectural choices that allow our simpler recursion to work are exponential moving updates on the states with varying rates that are jittered during training and readout of the solution on slow-updating channels only. We test STRM on Sudoku-Extreme, PPBench and Maze-Hard with the same data, parameters and compute as TRM: we improve over TRM by 3.83.8 points on Sudoku-Extreme and 8.48.4 points on PPBench and match it on Maze-Hard. On ARC-AGI-1 and ARC-AGI-2, STRM improves over the published TRM results by 5.45.4 and 0.50.5 points. We will release our code upon acceptance of the paper.

Introduction

Recently, small looping models have attracted great attention since they allow to attack problems which need much compute but few parameters [11, 16, 33]. However, simply looping small models is not working and a few mechanisms have to be adopted to make the recursion train stably, keep backprop in the large computational graph manageable and regularize so that overfitting does not lead to a large generalization gap. One of the most elegant approaches for small puzzle-like problems is the tiny recursive model approach [24], borne out of earlier work on hierarchical reasoning models [43].

The Hierarchical Reasoning Model (HRM) [43] splits the recursion into a fast and a slow recurrent module, inspired by hierarchical processing in the brain. The slow module is updated only after the fast one has run for several steps, and only the slow state is decoded into the answer. This hierarchy delays and funnels the flow of information, since intermediate results reach the output only through a slowly changing state, which we argue also regularizes the network. To keep the long computational graph tractable, HRM back-propagates only through the final steps of the recursion and supervises it repeatedly along the way.

The Tiny Recursive Model (TRM) [24] strips this design down to a single small network that alternately refines a latent state and an answer state, without the biological motivation and with simpler gradient and halting schemes. This simplification also improves accuracy considerably, e.g. from 55.0% to 87.4% on Sudoku-Extreme.

Yet, we argue, we can still go further simplifying this recursive scheme. First, we show how we can get rid of two states and keep only one. Accompanying that, we also reduce the two different updates arranged in nested loops to a single one. Doing this naively has been done in the TRM paper, but has not been satisfactory: The author reports on Sudoku-Extreme a performance drop of 87.4% to 71.9%. To stabilize training and add regularization we use an exponentially averaged state with log-spaced rates. During training, we jitter the rates additionally. Readout is performed on slow channels only. These three simple tricks make our scheme work and match or improve results throughout all experiments we have performed.

In summary, our contributions are:

Simplicity: We propose a simplified, single state scheme for recursive models.

Stability: To make training stable and prevent overfitting we propose exponential moving averages on the state with log-spaced rates jittered during training and readout on slow channels only.

Experiments: With the same data, parameters and compute, STRM improves over TRM at the best checkpoints by 3.8 points on Sudoku-Extreme and 8.4 points on PPBench and matches it on Maze-Hard. Unlike TRM for Sudoku, STRM does not collapse late in training. On ARC-AGI-1 and ARC-AGI-2, it improves over the published TRM results by 5.4 and 0.5 points.

Related work

Recursive reasoning with tiny networks. The Hierarchical Reasoning Model (HRM) [43] solves hard constraint-satisfaction puzzles with a small recurrent model trained from about one thousand examples, without pre-training or chain-of-thought. It couples a slow high-level and a fast low-level recurrent module, motivated by multi-timescale processing in the brain, and trains them with a one-step gradient approximation, deep supervision and adaptive halting. HRM also introduced Sudoku-Extreme, the benchmark we use, on which it reaches 55.0%. The Tiny Recursive Model (TRM) [24] simplifies HRM to a single two-layer network that alternately updates a latent state zz and an answer state yy. It backpropagates through one full recursion instead of relying on a fixed-point gradient and reaches 87.4% on Sudoku-Extreme with 5M parameters. Both build on weight-shared recurrent depth as in Universal Transformers [11], on adaptive computation time [18] and PonderNet [5], and on the implicit-depth view of deep equilibrium models [4], from which HRM’s one-step gradient derives.

Is the hierarchy needed? Several analyses question whether the two-level state of HRM and TRM matters: a model with only the low-level module performs about as well as HRM [17], HRM’s ARC-AGI performance stems mainly from the outer refinement loop [1], single-state recurrent Transformers are comparable to HRM [36], and the Universal Reasoning Model reaches strong ARC-AGI results with a plain looped Transformer [16]. TRM’s own ablations, however, point the other way: a single state loses 15.5 points on Sudoku-Extreme (Sec. 1), and a “multi-scale” variant with more latent features drops the accuracy from 87.4% to 77.6% [24]. In language modelling, Han Han [20] likewise report a gap between a two-speed shared-weight model and a flat Universal Transformer. The closest prior work, the Simple Recursive Model (SRM) [28], conjectures that yy helps by giving access to earlier steps and replaces it by a skip connection that adds a context f(z0)f(z_0), computed once per supervision step, to every inner update of a single state. Experimental results are very scarce, only Sudoku was tested and no proper number was given, however from a convergence plot the result looks roughly on par. We share the single-state premise but replace this skip connection by a parameter-free bank of log-spaced exponential moving averages whose slow part alone is decoded, and evaluate on Sudoku-Extreme, six puzzle types of PPBench, Maze-Hard and ARC-AGI.

Successors of TRM. Most follow-up work keeps TRM’s state structure and changes inference or training. Test-time scaling. Dillon Dillon [12] use halting time as a confidence signal, reaching 97% on Sudoku-Extreme by selecting the first-halting ensemble member and 96.9% at single-model cost by training four parallel latent states. The Probabilistic TRM [38] selects among noisy parallel trajectories with the halting head (98.75% on Sudoku-Extreme, 91.2% on Pencil Puzzle Bench), and Corbett et al. Corbett et al. [10] frame such perturbations as approximate inference over latent trajectories. Inference-time noise escapes initialization-dependent attractors in TRM [14] and fixed-point trapping in HRM [35], and related samplers exist for latent-reasoning language models [46]. Generative and denoising formulations. GRAM [3] makes recursive reasoning a latent-variable generative model trained with amortized variational inference. Drozdova et al. [13] iterate a timestep-free diffusion denoiser with a persistent hidden state to arbitrary depth (99.90% on Sudoku-Extreme). Looped Flows [42] train looped models with local denoising objectives, and Flow Reasoning Models [21] self-condition a flow model on its own outputs and inference-time states. Attractors and stability. Equilibrium Reasoners [22] train task-conditioned attractors whose fixed points are solutions, the Contraction Mapping Model [15] enforces convergence to a stable equilibrium, and the Recursive Stem Model [19] grows recursion depth with a detached state history and stochastic depth. Krishna et al. Krishna et al. [27] show that running TRM far beyond its training recursion budget keeps raising the exact-solve rate on hard Sudokus. Other variants use Mamba-2 hybrids [44], reweighted recursion steps [25], a depth curriculum [34], or a policy-improvement view [2]. Their highest accuracies use many parallel trajectories, whereas all our numbers are single-trajectory.

Controlled and damped state updates. Closest to our damping mechanism, Shakhnalieva et al. [39] compare HRM, TRM and URM in one pipeline, find the hierarchy unnecessary and identify recurrent-state stability as the main bottleneck, and gate the latent update per token, z←Norm⁡(z+α⊙Δ)z \leftarrow\operatorname{Norm}(z + \alpha\odot\Delta), a learned single-rate leaky integrator, while keeping both zz and yy. In looped language models, Parcae [33] stabilizes training with a decaying, negative-diagonal carry, which Buehlmaier [6] attribute to stabilization alone. Sapunov [37] show that a single-block Universal Transformer fails on Sudoku-Extreme without learned memory tokens, for which our slow averages are a parameter-free alternative. To our knowledge, no prior HRM or TRM variant uses a bank of multi-timescale averages of the latent state.

Multi-timescale recurrence. Recurrent networks with several timescales are a classical idea: Clockwork RNNs [26] update groups of units at different clock periods, hierarchical multiscale RNNs [9] learn when to update each level, and leaky-integrator echo state networks [23] use the update x←(1−a)x+af(⋅)x \leftarrow(1-a)x+a f(\cdot), of which our averages are a fixed-rate, log-spaced instance. We bring this idea into recursive reasoning models as a replacement for the two-level state.

Method

We first recall the recursion of the Tiny Recursive Model (TRM) [24] (§ 3.1) and then introduce STRM, which replaces TRM’s two learned states by a single state: a bank of parameter-free exponential moving averages of the network’s outputs at many fixed timescales (§ 3.2). Training follows TRM and is summarized in § 3.3.

Notation. A puzzle is a token sequence of length LL (a flattened grid), embedded together with PP learned register tokens into x∈R(P+L)×Dx \in\mathbb{R}^{(P+L)\times D}. All states have the same shape as xx. fθf_\theta denotes the single shared network: given a state zz and an injection uu it returns fθ(z,u)=B2(B1(z+u))f_\theta(z,u)=B_2(B_1(z+u)), and we write fθ(u)=fθ(0,u)=B2(B1(u))f_\theta(u)=f_\theta(0,u)=B_2(B_1(u)) when there is no state input, with two post-norm residual blocks B1,B2B_1,B_2 (token mixing followed by a SwiGLU MLP [40]), each with RMSNorm [48]. Token mixing is a self-attention layer with rotary position embeddings [41] or, for Sudoku, an MLP over the sequence axis, as in TRM. RMSNorm(⋅)(\cdot) normalizes over the channel axis, and ⊙\odot is the element-wise product.

Background: the Tiny Recursive Model

TRM keeps two states, both updated by the same network: yy: the answer state from which output is decoded (HRM’s slow high-level state meant for abstract planning), zz: the latent state, the reasoning that improves yy (HRM’s fast low-level state meant for detailed computation).

In each cycle, the latent state is refined nn times from the input and the current answer, and the answer is then updated from the refined latent state. One segment repeats this cycle HH times (Algorithm 1) and therefore applies the network H(n+1)H(n+1) times in total.

Algorithm 1: One segment of the TRM recursion.
Input: input embedding xx, carried states (y,z)(y,z), cycles HH, latent updates per cycle nn
1 for h=1,…,Hh=1,\ldots,H do
// without gradient for h<Hh<H
2 for i=1,…,ni=1,\ldots,n do
3 z←fθ(z,y+x)z \leftarrow f_\theta(z,y+x);
4 y←fθ(y,z)y \leftarrow f_\theta(y,z);
5 return y,zy,z

Table 1.

Only the last cycle is differentiated. The first H−1H-1 cycles run without gradient and both states are detached between segments. The output head decodes yy token-wise and a halting head reads the first register position of yy to determine whether to stop the recursion. The deep supervision and adaptive halting of TRM is described together with the training of STRM in § 3.3.

The two-state approach is necessary in TRM, since ablations in [24] show that a plain direct update with a single state overfits (in our runs more than 99% training accuracy but only 52.5–57.4% test accuracy at the end of training, Table 5). We argue that the role of yy in TRM is regularization through a slow and delayed update. Reading off the solution happens only through yy as well, acting as another information bottleneck for regularization purposes.

varianttrain meantest seeds 0 / 1test mean
reference95.690.3 / 92.191.2
no averaging (all rates 1)99.357.4 / 52.555.0
single rate 1/796.182.6 / 81.281.9
heads read all channels97.183.4 / 90.586.9
no rate jitter (J=1J = 1)95.690.8 / 90.590.7
stronger rate jitter (J=2J = 2)96.590.5 / 90.690.6
amin⁡=1/13a_{\min} = 1/1394.087.1–
amin⁡=1/75a_{\min} = 1/7593.690.0–
amin⁡=1/100a_{\min} = 1/10093.389.9–
8 test-time segments–84.0 / 86.385.1
32 test-time segments–94.1 / 95.594.8
64 test-time segments–96.2 / 97.396.7

Table 5. Sudoku-Extreme ablations of STRM, exact accuracy (%) of the final weights on the full test set and on the training batches (online weights, last 5% of the steps, mean over the seeds). Each row changes one setting of the reference configuration (amin⁡=1/49a_{\min} = 1/49, R=1/7R = 1/7, J=1.5J = 1.5, weight decay 0.7, D=512D = 512). The rows on the slowest rate use weight decay 1.0 and one seed, and the last rows run the reference weights with different test-time segments (16 in training and in all other rows, including the reference).

STRM

STRM keeps TRM’s network, deep supervision and halting, while it replaces its two-level recursion by a single state ss with one update rule in one loop (Figure 1). The state is updated through exponential moving averages with fixed, channel-dependent rates. Implicitly, fast channels act similar to the latent state zz and slow channels to the answer state yy. With K=H(n+1)K = H(n + 1) calls per segment, STRM has the same parameters and compute as TRM.

Computation graph of one segment for TRM and STRM

Figure 1. Computation graph of one segment at equal compute (shown for H=2H=2, n=2n=2, i.e. K=6K=6, G=3G=3). (a) TRM has two learned states, two update rules and two nested loops: the inner loop refines the latent state zz for nn times from the answer yy and the input xx, and each cycle of the outer loop then updates yy from zz. Only the last cycle is backpropagated. (b) STRM has a single state ss, drawn as one line, and one update rule applied KK times: each call mixes the network output fθ(RMSNorm⁡(s)+x)f_\theta(\operatorname{RMSNorm}(s)+x) into the state with an exponential moving average, s←(1−a)⊙s+a⊙fθ(RMSNorm⁡(s)+x)s \leftarrow(1-a)\odot s+a\odot f_\theta(\operatorname{RMSNorm}(s)+x), where the share 1−a1-a of the previous state bypasses the network (bent arrows) and the rates ada_d differ per channel (Figure 2a). The heads read only the slow channels of ss. Both models have the same number of learnable parameters, the same number of network calls per segment and the same number of differentiated calls.

Multi-timescale state. STRM carries a single state ss whose channels are parameter-free exponential moving averages (EMAs) of the network’s outputs, with the fixed rates

ad=amax⁡(amin⁡amax⁡)d−1D−1,(1)a_d = a_{\max}\left(\frac{a_{\min}}{a_{\max}}\right)^{\frac{d-1}{D-1}}, \tag*{(1)}

log-spaced from amax⁡=1a_{\max} = 1 to amin⁡a_{\min} (a time constant of 1/amin⁡1/a_{\min} network calls) and sorted from fast to slow along the channel axis (Figure 2a). Algorithm 2 shows one segment of KK calls, of which the first K−GK - G run without gradient.

The state of STRM: multi-timescale EMA and slow-only readout

Figure 2. The state of STRM. (a) Multi-timescale EMA: unrolling the update gives sd=∑k≥0ad(1−ad)kod(−k)s_d = \sum_{k \ge0} a_d(1-a_d)^k o_d^{(-k)}, where od(−k)o_d^{(-k)} is the network output of kk calls ago. The shade shows its relative weight (1−ad)k(1-a_d)^k for 8 of the D=512D = 512 channels, with rates log-spaced from 1 to amin⁡=1/49a_{\min} = 1/49. The fastest channel holds only the latest output, while the slowest still holds a large share of outputs from 30 calls ago. (b) Slow-only readout: in every call the network reads and writes all channels of ss, but the output head (puzzle tokens) and the halting head (first register token) read only the RMS-normalized slow channels S={d:ad≤R}S = \{d : a_d \le R\}, so the fast channels act as a working memory that reaches the loss only through later calls.

Algorithm 2: One segment of the STRM recursion.

Input: input embedding xx, carried state ss, rates aa, calls KK, differentiated calls GG

  1. for k=1,…,Kk = 1, \ldots, K do // without gradient for k≤K−Gk \le K - G

  2. s←(1−a)⊙s+a⊙fθ(RMSNorm⁡(s)+x)s \leftarrow(1-a)\odot s+a\odot f_\theta(\operatorname{RMSNorm}(s)+x);

  3. return ss

Each network call computes and mixes the output o=fθ(RMSNorm⁡(s)+x)o = f_\theta(\operatorname{RMSNorm}(s)+x) into the state at the per-channel rates. Channels with rates close to 1 copy most of the latest output and act as working memory, while the slow channels with rates close to 0 aggregate outputs over many calls. We use RMSNorm without gain to bound the input of the network and stabilize the updates of ss. To match TRM’s compute, we set K=H(n+1)K = H(n+1) and G=n+1G = n+1. The state is carried across segments (detached) and reset to a fixed random vector s0s_0, shared by all tokens, when a new puzzle enters the slot.

Slow-only readout. If the heads read all channels of ss, including the rate-1 channels that copy the latest output, the loss can be reduced through the fast path alone. Instead, the output and halting heads read only the slow channels (Figure 2b) S={d:ad≤R}\mathcal{S} = \{d : a_d \le R\} of ss, for a cut-off rate RR:

r=RMSNorm⁡(s:,s),y^t=Woutrt,t=P+1,…,P+L,r = \operatorname{RMSNorm}(s_{:,s}), \qquad \hat{y}_t = W_{\mathrm{out}}r_t,\quad t=P+1,\ldots,P+L,
qhalt=wqTr1+bq.(2)q_{\mathrm{halt}} = w_q^\mathsf{T}r_1+b_q. \tag*{(2)}

Here rtr_t is the row of token tt, where tokens 1,…,P1,\ldots,P are the registers and P+1,…,P+LP+1,\ldots,P+L the puzzle cells. As in TRM (§ 3.1), the output head WoutW_{\mathrm{out}} decodes every puzzle token and the halting head reads the first register token, now of rr instead of yy. This reproduces TRM’s split between zz and yy inside the single state ss: whatever the network computes in its fast channels must be written into channels that average over many calls before it can affect the output. We use R=amin⁡R=\sqrt{a_{\min}}, which selects the slower half of the channels (256 of D=512D=512). § 4.5 compares against heads that read all channels.

Rate jitter. As an additional regularization, we randomly perturb the rates during training. The size of the perturbation is determined by the jitter strength J≥1J \ge1. Whenever a new puzzle enters a batch slot, we draw an exponent cc and replace every rate ada_d by a perturbed rate a~d\tilde{a}_d,

u∼U[−1,1],c=Ju∈[1/J,J],u\sim\mathcal{U}[-1,1],\qquad c=J^u\in[1/J,J],
a~d=adc=(amin⁡c)d−1D−1,(3)\tilde{a}_d=a_d^c=\left(a_{\min}^c\right)^{\frac{d-1}{D-1}}, \tag*{(3)}

and run all segments of this puzzle with the rates a~\tilde{a} instead of aa in Algorithm 2. The perturbed rates are still log-spaced, now from 1 to amin⁡ca_{\min}^c, so the channels keep their order and the rate-1 channels still copy the latest output oo. In terms of time constants, 1/a~d=(1/ad)c1/\tilde{a}_d=(1/a_d)^c, so all channels become slower for c>1c>1 and faster for c<1c<1. We use J=1.5J=1.5, so that for amin⁡=1/49a_{\min}=1/49 the slowest time constant 1/amin⁡c1/a_{\min}^c varies between 492/3≈1349^{2/3}\approx13 and 493/2=34349^{3/2}=343 calls. The jitter is meant as a regularizer: the model can rely on which channels are fast and which are slow, but not on their exact time constants. At evaluation we use the nominal rates (c=1c=1).

Training

Apart from the recursion, TRM and STRM are trained identically, following TRM.

Deep supervision. The recursion on a puzzle continues for up to Nsup=16N_{\mathrm{sup}}=16 segments, and the states are carried over from segment to segment (detached). Every segment receives the full loss and its own optimizer step.

Loss. A stable-max cross-entropy on the puzzle tokens trains the decoded solution. A binary cross-entropy, weighted by 0.5, trains the halting logit qhaltq_{\mathrm{halt}} (Eq. (2)) to predict whether the current answer is exactly correct.

Adaptive halting. In the style of ACT [18], training on a puzzle stops once qhalt>0q_{\mathrm{halt}} > 0. With exploration probability p=0.1p = 0.1, it stops only after running a random minimum number of segments.

Batch slots. A batch consists of a fixed number of slots, each holding one puzzle, and every optimizer step runs one segment on every slot. When a puzzle stops, it is replaced in its slot by a new puzzle with reset states (and, for STRM, a new jitter exponent cc). A batch therefore mixes puzzles at different stages of their recursion.

Evaluation. All NsupN_{\mathrm{sup}} segments are run without halting, with an exponential moving average of the model weights [32] (decay 0.999).

Experiments

We compare STRM with TRM on four benchmarks, on ARC-AGI against published results and otherwise under identical data, optimizer (up to the learning rate and weight decay stated below), deep supervision and evaluation, at equal compute per segment and with the same number of parameters. We also include other methods that try to improve upon TRM. If not stated otherwise, all numbers are exact accuracy (a puzzle counts only if every cell is correct), measured with the EMA weights after Nsup=16N_{\mathrm{sup}} = 16 segments.

Training recipe and hyperparameters. To keep hyperparameter tuning from deciding the comparison, both models, including our TRM baseline, use a modified version of the original TRM training recipe [24]. We replace the Adam-atan2 optimizer of the original code by AdamW, apply weight decay only to weight matrices instead of all parameters, and clip the gradient norm at 1.0, which the original code does not do. On Sudoku-Extreme we also decay the learning rate with a cosine schedule, whereas the original recipe keeps it constant after warm-up. With these changes, TRM reaches 88.3% at the best checkpoint on Sudoku-Extreme (Tab. 1), compared to the 87.4% reported by Jolicoeur-Martineau [24]. We also swept the hyperparameters of TRM thoroughly, so our TRM baseline is at least as well tuned as STRM. Apart from the recursion, the models differ only in the peak learning rate (10−410^{-4} for TRM, 1.5×10−41.5 \times10^{-4} for STRM), the weight decay, tuned per model, and on Sudoku-Extreme the final learning rate (Sec. 4.1). On Sudoku-Extreme we also trained TRM at 1.5×10−41.5 \times10^{-4}, and it did not improve (Tab. 1).

Sudoku-Extreme

We use the Sudoku-Extreme data of Wang et al. [43]: 1,000 training puzzles, each with 1,000 augmented copies, and 422,786 test puzzles. Both models use the MLP token mixer of TRM (TRM-MLP), with hidden size D=512D = 512, two blocks and P=16P = 16 register tokens. TRM uses H=3H = 3 and n=6n = 6. STRM uses K=21K = 21 calls per segment with gradient through the last G=7G = 7, rates from 1 to amin⁡=1/49a_{\min} = 1/49, readout cut-off R=1/7R = 1/7 and jitter J=1.5J = 1.5. Training runs for 50,000 epochs (65,104 optimizer steps, batch 768) with AdamW [29] (β=(0.9,0.95)\beta= (0.9, 0.95), weight decay 1.0 on matrices, gradient clipping at 1.0), 2,000 warm-up steps and cosine decay to zero. STRM uses weight decay 0.7 and decays the learning rate to 0.1×0.1\times its peak instead of zero, and with D=512D = 512 it has 5.03M parameters, same as TRM. We train FPRM [31], SFPRM [47] and RSM [19] with the authors’ code and hyperparameters on the same training data and budget. SFPRM uses Muon for the weight matrices and AdamW with peak learning rate 10−310^{-3} for the remaining parameters; FPRM and RSM use AdamW. During training we evaluate every 3,255 steps on the first 10,368 test puzzles. We report the full test set results both for the checkpoint with the best value on this subset (best) and for the final weights (final). Since the subset is part of the test set, best carries a small selection bias, whereas final does not.

Table 1. Sudoku-Extreme, exact accuracy (%) on the full test set (422,786 puzzles), two seeds. Best denotes the checkpoint with the highest accuracy on a subset of test puzzles and final the weights after the last step. FPRM [31], SFPRM [47] and RSM [19] are trained with the authors’ code and hyperparameters on our data and budget (§ 4.1).<br>†Peak learning rate of the authors’ recipe.

modelpeak lrbestfinal
seeds 0 / 1meanseeds 0 / 1mean
TRM10−410^{-4}88.4 / 88.188.370.0 / 84.677.3
TRM1.5×10−41.5 \times10^{-4}87.9 / 87.187.582.6 / 69.876.2
FPRM10−310^{-3} †66.1 / 76.171.163.5 / 75.569.5
SFPRM5×10−35 \times10^{-3} †74.1 / 73.073.612.2 / 17.114.7
RSM10−310^{-3} †20.3 / 20.620.520.3 / 18.319.3
STRM1.5×10−41.5 \times10^{-4}91.3 / 93.092.190.3 / 92.191.2

Table 1 (PDF p. 6).

Table 1 shows the main result. STRM is the most accurate model: its final weights are 2.9 points above the best checkpoint of TRM and 13.9 points above the final weights of TRM, since TRM’s held-out accuracy collapses late in training (§ 4.6) while STRM stays within one point of its best checkpoint. The fixed-point and recursive models fall far behind: the best of them at its peak, SFPRM, is 17.6 points below the final weights of STRM and then declines, and the best of them with the final weights, FPRM, trails by 21.7 points. SFPRM and RSM fit the training set almost perfectly while generalizing poorly (Figure 3). None of them seems to work on the restricted training set of 1,000 puzzles used by HRM and TRM. Their published results rely on more data or more compute. SFPRM reports 96.6% after training on 5,000 distinct puzzles, five times as many as here, and also collapses late in training on the 1,000-puzzle build [47]. RSM reports 97.5% with additional test-time recursion after training on the full training split of 3.8M distinct puzzles without augmentation [19]. FPRM reports 94.2% on the same 1,000-puzzle build, but with 60,000 epochs and up to 35,000 network applications per test puzzle, about 100 times our budget [31]. Zela et al. [47] find that FPRM retrained on this build stays well below that number.

Figure 3. Convergence on Sudoku-Extreme: training and held-out exact accuracy over the optimizer steps, mean over the seeds of Tab. 1 with the range shaded. TRM uses peak learning rate 10−410^{-4}. SFPRM and RSM solve every training puzzle while their held-out accuracy stays below 73%, TRM’s held-out accuracy declines late in training, while that of STRM holds.

PPBench

PPBench [45] contains pencil puzzles of many types. We use the six types heyawake, lightup, nurikabe, shakashaka, sudoku and tapa at grid size 10×1010 \times10 (L=100L = 100, a joint vocabulary of 675 tokens). The training set has 9,305 puzzles, each with 10 augmented copies (partially solved states under random dihedral transformations). We evaluate on a test set of 393 puzzles (heyawake 72, lightup 54, nurikabe 67, shakashaka 75, sudoku 95, tapa 30) and on the 61 puzzles of PPBench’s golden set at these types and size. Both models use self-attention with 1D rotary embeddings (TRM-Att), D=512D = 512, two blocks, 8 heads and P=16P = 16 registers. TRM uses H=3H = 3 and n=4n = 4. STRM uses K=15K = 15, G=5G = 5 and J=1.5J = 1.5. Training runs for 20,000 epochs (242,300 steps, batch 768) with the same AdamW settings as for Sudoku-Extreme, 2,000 warm-up steps and a constant learning rate thereafter (cosine decay to zero overfits strongly on this benchmark in the baseline experiments). We evaluate every

12,115 steps. Because the test and golden sets are small (the standard error of a single evaluation is about 2.2 and 6.3 points), we report the mean over the twelve evaluations in the second half of training (steps 109k–242k, late mean) in addition to the best and final evaluations. Table 2 shows the results. STRM is the best model on the test set, 7.6 points above TRM (8.4 points at the best evaluation), and on the golden set (+6.9 points), and it leads on every puzzle type.

modeltest latetest besttest finalheyawakelightupnurikabeshakashakasudokutapaaveragegolden lategolden bestgolden final
TRM (our implementation)73.476.376.377.793.780.696.141.455.374.160.767.257.4
STRM (2 seeds)81.084.784.290.897.988.796.450.369.082.267.674.672.2

Table 2. PPBench, exact accuracy (%) on the test set (393 puzzles) and on the golden set (61 puzzles). Late: mean over the twelve evaluations at steps 109k–242k, also per puzzle type, and best and final: the best and the last evaluation (§ 4.2). Average: unweighted mean of the six types, whereas the test columns weigh each type by its number of puzzles. STRM: mean over two seeds, TRM: one seed.

Maze-Hard

We use the Maze-Hard data of Wang et al. [43]: 1,000 training mazes of size 30×3030 \times30, each under 8 dihedral transformations with the shortest paths recomputed, and 1,000 test mazes. Both models use the attention setup of PPBench (TRM-Att). TRM uses H=3H = 3 and n=4n = 4, and STRM K=15K = 15, G=5G = 5, amin⁡=1/13a_{\min} = 1/13 and R=1/13R = 1/\sqrt{13}. Training runs for 65,100 steps at batch 768 with a constant learning rate after warm-up, and we evaluate every 3,255 steps on the full test set. TRM uses learning rate 10−410^{-4} and weight decay 1.0, and STRM learning rate 1.5×10−41.5 \times10^{-4} and weight decay 0.7. Both models have 6.82M parameters.

Note that we have corrected augmentations as compared to TRM’s setup. TRM’s code augments a maze by applying the dihedral transformation to the original shortest path. Shortest paths are in general not unique, and the original paths follow the tie-breaking rule of the search that generated them, which a transformed path violates. The transformed labels are therefore inconsistent with the test set. TRM trained on them drops from 84.6% without augmentation to 11.7%. We recompute the path of every transformed maze with the original tie-breaking rule. With this correction, our TRM baseline reaches 94.5% at its best checkpoint (Table 3), compared to the published 85.3% [24].

modelbestfinallate
TRM94.0 / 95.072.1 / 93.880.7 / 94.6
STRM95.1 / 93.394.3 / 92.294.0 / 92.7

Table 3. Maze-Hard, exact accuracy (%) on the 1,000 test mazes, seeds 0 / 1. Late: mean over the eleven evaluations at steps 32,550–65,100.

On Maze-Hard, STRM and TRM reach around the same accuracy at their best checkpoints (94.2% and 94.5%, Table 3). STRM learns much faster and keeps its accuracy until the end of training, whereas TRM is less stable (Figure 4).

Maze-Hard and PPBench training and held-out exact accuracy plots

Figure 4. Convergence on Maze-Hard and PPBench: training and held-out exact accuracy over the optimizer steps, mean over two seeds, except for TRM on PPBench (one seed). The held-out accuracy is measured on the test sets (1,000 mazes and 393 PPBench puzzles).

ARC-AGI

The abstract reasoning benchmarks ARC-AGI-1 [7] and ARC-AGI-2 [8] are designed to test the model’s ability to solve new tasks from minimal demonstrations. ARC-AGI-2 is harder than ARC-AGI-1, with more complex problems. Following TRM, we include the related ConceptARC dataset [30] as additional training instances and use identical training and test data splits and augmentations. The architecture is identical to that on PPBench, and training runs for a total of 100,000 epochs, as did TRM. TRM uses learning rate 10−410^{-4} and weight decay 0.1, and STRM learning rate 1.5×10−41.5 \times10^{-4}, weight decay 0.1, amin⁡=1/13a_{\min} = 1/13 and R=1/13R = 1/\sqrt{13}.

On ARC-AGI, STRM achieves 50.0% pass@2 accuracy on ARC-AGI-1 and 8.3% on ARC-AGI-2, 5.4 and 0.5 points above the published TRM results and 2.5 and 0.5 points above the best of TRM, FPRM and SFPRM, which use the same two-block network, see Table 4. The numbers for other methods are taken from the original papers. At approximately 50% training epochs on ARC-AGI-1 and 60% on ARC-AGI-2, STRM surpasses TRM’s best performance, and is still improving till the final step. There are approaches like URM [16] that report higher accuracies (53.8% and 16.0% pass@1), but typically are not matched regarding training. For example, URM uses four instead of two blocks and twice the epochs.

modelARC-AGI-1ARC-AGI-2
TRM44.67.8
FPRM47.56.2
SFPRM47.43.8
STRM50.08.3

Table 4. ARC-AGI benchmarks, exact accuracy (%) on the 400 test samples for ARC-AGI-1, and 120 for ARC-AGI-2. Each model is allowed two attempts (pass@2) to solve the geometric puzzles, and the accuracy is averaged on all tasks.

Ablations

Table 5 ablates the design choices of STRM on Sudoku-Extreme.

Averaging. The averaging is essential: without it, the single-state recursion overfits and loses 36 points.

Spread of timescales. A single shared rate recovers most of this, and the spread of timescales adds another 9 points. The single rate 1/7 is the geometric mean of 1 and amin⁡a_{\min}.

Slow-only readout. Reading only the slow channels adds 3 points. Heads that read all channels overfit the training set more and vary more between seeds.

Rate jitter. The rate jitter adds only little to the final accuracy. It does, however, reduce the late decline of the held-out accuracy: from its peak to the end of training it falls by 0.9 points with jitter and by 2.3 points without it (mean over two seeds).

Slowest rate. The slowest rates 1/75 and 1/100 work as

well as the reference 1/49, and only the much faster 1/13 is worse.

Test-time compute. More segments at test time raise the accuracy to 96.7% with 64 segments.

Training stability

TRM trained with AdamW on Sudoku shows a late collapse: the training accuracy keeps increasing while the held-out accuracy drops. None of the runs of STRM shows such a collapse (Figure 3).

Conclusion

We have proposed STRM, a simpler and more stable variant of the Tiny Recursive Model. It has shown strong performance on various puzzle-solving tasks under equal compute to other methods, with less overfitting than TRM and without its late decline of the held-out accuracy. The improvements come from using a single state whose channels average the network outputs at distinct timescales and from reading out solutions from slow channels only. We argue that fast channels serve as working memory and slow channels are responsible for compiling the answer. We believe that STRM is a drop-in replacement for TRM and can be used in follow-up approaches, for example with winner-takes-all training [12], parallel sampling [38] and other improvements that are based on the original TRM architecture.

References

  1. [1]ARC Prize Team. The hidden drivers of HRM’s performance on ARC-AGI. ARC Prize blog, 15 August 2025, 2025. 2
  2. [2]Arip Asaludaev, Rayan Banerjee, Fakhri Karray, and Martin Takac. Latent reasoning in TRMs is secretly a policy improvement operator. In International Conference on Machine Learning (ICML), 2026. 2
  3. [3]Junyeob Baek, Mingyu Jo, Minsu Kim, Mengye Ren, Yoshua Bengio, and Sungjin Ahn. Generative recursive reasoning. arXiv preprint arXiv:2605.19376, 2026. 2arxiv.org/abs/2605.19376
  4. [4]Shaojie Bai, J. Zico Kolter, and Vladlen Koltun. Deep equilibrium models. In Advances in Neural Information Processing Systems, 2019. 2arxiv.org/abs/1909.01377
  5. [5]Andrea Banino, Jan Balaguer, and Charles Blundell. Ponder-Net: Learning to ponder. arXiv preprint arXiv:2107.05407, 2021. 8th ICML Workshop on Automated Machine Learning (AutoML 2021). 2arxiv.org/abs/2107.05407
  6. [6]Matthias M. M. Buehlmaier. Spectral margins and memory routing in looped transformers. arXiv preprint arXiv:2607.10681, 2026. 2arxiv.org/abs/2607.10681
  7. [7]François Chollet. On the measure of intelligence. arXiv preprint arXiv:1911.01547, 2019. 8arxiv.org/abs/1911.01547
  8. [8]François Chollet, Mike Knoop, Gregory Kamradt, Bryan Landers, and Henry Pinkard. ARC-AGI-2: A new challenge for frontier AI reasoning systems. arXiv preprint arXiv:2505.11831, 2025. 8
  9. [9]Juny Young Chung, Sungjin Ahn, and Yoshua Bengio. Hierarchical multiscale recurrent neural networks. In International Conference on Learning Representations (ICLR), 2017. 3arxiv.org/abs/1609.01704
  10. [10]Andrew Corbett, Archit Sood, Anna Tzatzopoulou, Sai-Aakash Ramesh, and Tim Dodwell. Boosting inference with guided reasoning: Stochastic exploration for recursive models. In Advances in Neural Information Processing Systems, 2026. 2arxiv.org/abs/2605.25230
  11. [11]Mostafa Dehghani, Stephan Gouws, Oriol Vinyals, Jakob Uszkoreit, and Lukasz Kaiser. Universal transformers. In International Conference on Learning Representations (ICLR), 2019. 1, 2arxiv.org/abs/1807.03819
  12. [12]Joshua V. Dillon. Speed is confidence. arXiv preprint arXiv:2601.19085, 2026. 2, 8arxiv.org/abs/2601.19085
  13. [13]Mariia Drozdova, Aidan Sirbu, Pietro Miotti, Robert Obryk, Mayalen Etcheverry, Eyvind Niklasson, and Blake Richards. Diffusion as a training curriculum for timestep-free iterative reasoning. arXiv preprint arXiv:2609.01449, 2026. NeurIPS 2026 Workshop on Beyond Next Token Prediction: Diffusion and Flow Models for Next-Generation Decoding. 2arxiv.org/abs/2609.01449
  14. [14]Andreas Efstrathiou and Aishwarya Balwani. Recursive reasoning as attractor landscape search: Mechanistic dynamics of the tiny recursive model. In ICLR 2026 Workshop on Latent & Implicit Thinking – Going Beyond CoT Reasoning, 2026. 2
  15. [15]Vasily A. Es’kin and Mikhail E. Smorkalov. The contraction mapping model: Ultra-compact algorithmic reasoning via neural stochastic differential equations. Neurocomputing, 709:135271, 2027. 2DOI
  16. [16]Zitian Gao, Lynx Chen, Yihao Xiao, He Xing, Ran Tao, Haoming Luo, Joey Zhou, and Bryan Dai. Universal reasoning model. arXiv preprint arXiv:2512.14693, 2025. 1, 2, 8arxiv.org/abs/2512.14693
  17. [17]Renee Ge, Qianli Liao, and Tomaso Poggio. Hierarchical reasoning models: Perspectives and misconceptions. arXiv preprint arXiv:2510.00355, 2025. 2arxiv.org/abs/2510.00355
  18. [18]Alex Graves. Adaptive computation time for recurrent neural networks. arXiv preprint arXiv:1603.08983, 2016. 2, 5arxiv.org/abs/1603.08983
  19. [19]Navid Hakimi. Form follows function: Recursive stem model. arXiv preprint arXiv:2603.15641, 2026. 2, 5, 6, 7arxiv.org/abs/2603.15641
  20. [20]Sang-Il Han. Hierarchical vs. flat iteration in shared-weight transformers. arXiv preprint arXiv:2604.14442, 2026. 2arxiv.org/abs/2604.14442
  21. [21]Alec Helbling, Andrey Bryutkin, Mauro Martino, Duen Horng Chau, Nima Dehmamy, and Hendrik Strobelt. Flow reasoning models: Turning flows into efficient recurrent reasoners. arXiv preprint arXiv:2606.029150, 2026. 2
  22. [22]Benhao Huang, Zhengyang Geng, and Zico Kolter. Equilibrium reasoners: Learning attractors enables scalable reasoning. In International Conference on Machine Learning (ICML), 2026. 2arxiv.org/abs/2605.21488
  23. [23]Herbert Jaeger, Mantas Lukosevičius, Dan Popovici, and Udo Siewert. Optimization and applications of echo state networks with leaky-integrator neurons. Neural Networks, 20(3):335–352, 2007. 3pubmed.ncbi.nlm.nih.gov/17517495
  24. [24]Alexia Jolicoeur-Martineau. Less is more: Recursive reasoning with tiny networks. arXiv preprint arXiv:2510.04871, 2025. 1, 2, 3, 4, 5, 8
  25. [25]Mieszko Komisarczyk, Saurabh Mathur, Maurice Kraus, Sriram Natarajan, and Kristian Kersting. Recursive inference machines for neural reasoning. arXiv preprint arXiv:2603.05234, 2026. 2arxiv.org/abs/2603.05234
  26. [26]Jan Koutník, Klaus Greff, Faustino Gomez, and Jürgen Schmidhuber. A clockwork RNN. In Proceedings of the 31st International Conference on Machine Learning, pages 1863–1871. PMLR, 2014. 2
  27. [27]Hare Krishna, Shubham Singh, Stephen Ebert, and Hao-Yu Sun. When recursive models finish computing. arXiv preprint arXiv:2609.26487, 2026. 2arxiv.org/abs/2609.26487
  28. [28]Qianli Liao and Tomaso Poggio. Simple recursive model: Simplified, single-state reasoning with skip connections. Research Square preprint, 2026. Code: https://github.com/liaoqg/SimpleRecursiveModel. 2DOI
  29. [29]Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In International Conference on Learning Representations (ICLR), 2019. 5
  30. [30]Arseny Moskvichev, Victor Vikram Odouard, and Melanie Mitchell. The ConceptARC benchmark: Evaluating understanding and generalization in the ARC domain. Transactions on Machine Learning Research, 2023. 8arxiv.org/abs/2305.07141
  31. [31]Sajad Movahedi, Vera Milovanović, Shlomo Libo Feigin, Alexander Theus, Thomas Hofmann, Valentina Boeva, T. Konstantin Rusch, and Antonio Orvieto. Fixed-point reasoners: Stable and adaptive deep looped transformers. arXiv preprint arXiv:2606.18206, 2026. 5, 6, 7arxiv.org/abs/2606.18206
  32. [32]Boris T. Polyak and Anatoli B. Juditsky. Acceleration of stochastic approximation by averaging. SIAM Journal on Control and Optimization, 30(4):838–855, 1992. 5DOI
  33. [33]Hayden Prairie, Zachary Novack, Taylor Berg-Kirkpatrick, and Daniel Y. Fu. Parcae: Scaling laws for stable looped language models. In Conference on Language Modeling (COLM), 2026. 1, 2arxiv.org/abs/2604.12946
  34. [34]Kaleem Ullah Qasim and Jiashu Zhang. Accelerating training speed of tiny recursive models with curriculum guided adaptive recursion. arXiv preprint arXiv:2511.08653, 2025. 2arxiv.org/abs/2511.08653
  35. [35]Zirui Ren and Ziming Liu. Are your reasoning models reasoning or guessing? A mechanistic analysis of hierarchical reasoning models. arXiv preprint arXiv:2601.10679, 2026. 2
  36. [36]Leo Raphael Rodrigues and Jian Kang. Dissecting hierarchical reasoning models: A mechanistic study. arXiv preprint arXiv:2609.22197, 2026. ICML 2026 Workshop on Mechanistic Interpretability. 2arxiv.org/abs/2609.22197
  37. [37]Grigory Sapunov. Universal transformers need memory: Depth-state trade-offs in adaptive recursive reasoning. arXiv preprint arXiv:2604.21999, 2026. 2arxiv.org/abs/2604.21999
  38. [38]Amin Shain, Ali Parviz, and Alexia Jolicoeur-Martineau. Probabilistic tiny recursive model. arXiv preprint arXiv:2605.19943, 2026. 2, 8
  39. [39]Yuliana Shakhvalieva, Dmitrii Kharchev, Viacheslav Bezrukov, Inessa Fedorova, Dmitry Bocharov, Ivan Oseledets, and Valerii Ternovskii. What limits recursive reasoning models: Optimization, architecture and test-time scaling. arXiv preprint arXiv:2609.39967, 2026. 2arxiv.org/abs/2609.39967
  40. [40]Noam Shazeer. GLU variants improve transformer. arXiv preprint arXiv:2002.05202, 2020. 3arxiv.org/abs/2002.05202
  41. [41]Jianlin Su, Yu Lu, Shengfeng Pan, Ahmed Murtadha, Bo Wen, and Yunfeng Liu. RoFormer: Enhanced transformers with rotary position embedding. Neurocomputing, 568:127063, 2024. 3arxiv.org/abs/2104.09864
  42. [42]Ayhan Suleymanzade, Chanhyuk Lee, Floor Eijkelboom, Nicholas M. Boffi, İsmail İlkan Ceylan, and Jinwoo Kim. Thinking with looped flows. arXiv preprint arXiv:2609.11801, 2026. 2arxiv.org/abs/2609.11801
  43. [43]Guan Wang, Jin Li, Yuhao Sun, Xing Chen, Changling Liu, Yue Wu, Meng Lu, Sen Song, and Yasin Abbasi Yadkori. Hierarchical reasoning model. arXiv preprint arXiv:2506.21734, 2025. 1, 2, 5, 7arxiv.org/abs/2506.21734
  44. [44]Wenlong Wang and Fergal Reid. Tiny recursive reasoning with Mamba-2 attention hybrid. arXiv preprint arXiv:2602.12078, 2026. ICLR 2026 Workshop on Latent & Implicit Thinking. 2arxiv.org/abs/2602.12078
  45. [45]Justin Waugh. Pencil puzzle bench: A benchmark for multi-step verifiable reasoning. arXiv preprint arXiv:2603.02119, 2026. 7arxiv.org/abs/2603.02119
  46. [46]Runyang You, Yongqi Li, Meng Liu, Wenjie Wang, Liqiang Nie, and Wenjie Li. Parallel test-time scaling for latent reasoning models. In Annual Meeting of the Association for Computational Linguistics (ACL), 2026. 2
  47. [47]Arber Zela, Artavazd Maranjyan, Pol Puidgemont, David Berghaus, Valentyn Boreiko, and Volkan Cevher. Spherical fixed-point reasoners: Adaptive loop halting on the hypersphere. arXiv preprint arXiv:2610.25646, 2026. 5, 6, 7arxiv.org/abs/2610.25646
  48. [48]Biao Zhang and Rico Sennrich. Root mean square layer normalization. In Advances in Neural Information Processing Systems, 2019. 3arxiv.org/abs/1910.07467

Paper details

vlnc:W_df78j9kj
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 4

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents