How does a Tiny Recursive Model reuse one network to revise an answer?

Trace repeated state updates in a small scheduling example, then inspect the Tiny Recursive Model paper and its training and evaluation code.

A small network can be used several times on the same problem. Each pass changes its working state, then the next pass uses that new state. The weights can stay the same throughout those passes.

The Tiny Recursive Model, or TRM, explores this approach for puzzle tasks. The first distinction to keep is simple: storing more learned numbers and performing more computation are different ways to enlarge a model's capacity to solve a task.

Keep the question, revise the state

Use x for an embedded input, y for the current answer representation, and z for a working state. These are arrays of numbers. The answer representation is not yet a decoded answer, and the working state is not a readable explanation.

The same learned update network F serves both jobs:

OperationUpdateWhat stays available
Work on the current answer, repeated n timesz ← F(z + y + x)Input x and current y
Revise the answer representationy ← F(y + z)The resulting work state z

An output head reads y to produce answer scores. Extra rounds reuse F's parameters rather than creating new copies with independent weights. Whether the extra computation improves an answer must be measured.

Count calls before thinking about benchmarks

Run this small Python model of the schedule. Its handpicked update halves a sum so the states remain easy to inspect. It is a scheduling example, not a trained TRM or a puzzle solver.

The same scale is used in every call. It is manually set here; a real network has many learned parameters. Increasing rounds does not allocate another scale.

Change n from 2 to 4. Before running, predict the total calls and the number of stored scale values. Do you have enough evidence to say the answer is better?

Read the training schedule separately

A training pass can compute a state without recording all operations for backpropagation. The published implementation does early recursion rounds under no_grad, records the final round, and detaches the carried states between supervision steps. A supervision step compares the predicted answer with a training target. Detaching keeps the state values but stops gradients from crossing back into the earlier computation. Repeated computation therefore does not imply one backward pass through every earlier update.

Inspect the original method: Read Figure 1 and Figure 3 of Less is More: Recursive Reasoning with Tiny Networks. Then find z_H, z_L and .detach() in the pinned inner implementation. Map y to z_H and z to z_L. Notice that both updates call self.L_level.

The same file's outer wrapper has a learned early-halting branch guarded by if self.training. Evaluation in that implementation runs to the configured step limit. Do not assume that a training halt signal automatically saves inference steps.

Read a result with its task attached

The paper reports strong task-specific results from small networks. Its best Sudoku result uses a 5M-parameter variant, while its 7M attention variant has different results. In the ARC comparison, some larger models score above TRM. This is not evidence that a 7M model generally beats trillion-parameter models.

Check Table 5: Pick one ARC column and compare TRM with the Grok-4 rows. Then read the evaluation and attempt-count labels before comparing another column. Parameter count, test-time computation, training data and the task all belong in the comparison. The interesting research question is what repeated use of a small learned update buys under a stated budget.

  • TRM reuses one learned update network to change a work state z and an answer representation y while retaining the embedded input x.
  • More update calls add computation without allocating independent copies of the network's parameters.
  • With n work updates plus one answer update in each of T rounds, the schedule makes T(n + 1) network calls.
  • Detaching keeps state values while stopping gradients from crossing into earlier computation. The training schedule records only selected rounds.
  • In the cited implementation, learned early halting applies during training; evaluation runs to its configured limit.
  • Results are task-specific. The strongest Sudoku variant has 5M parameters; ARC tables include larger models above TRM. Parameter count alone is not a complete comparison.