Research
modgrad started as research on Continuous Thought Machines (CTMs), Sakana AI’s recurrent architecture (Darlow et al., arXiv 2505.05522) that thinks over internal ticks instead of stacked layers. We ported it to Rust and build on it. We watch the runs on app.modgrad.com; the code is the Rust SDK.
The question
Can a small recurrent model think longer on a hard input, and keep and use memories of what it has seen, measurably?
- Ticks: do more ticks give better answers than one, on tasks a shallow circuit cannot just fit?
- Memory: identity, time and place. Given a cue (a chess position, a fact), can the model recall where it came from, and does a learned memory beat simple baselines at the same storage budget?
How we test
Each test is written down before it runs: the question, the arms, the metric, the number that decides YES or NO, and our prediction. It runs on 1 to 4 seeds (usually 3) with held-out data, and the verdict is recorded as it came out: YES, NO, INCONCLUSIVE, VOID when a sanity check fails, or a test’s own label such as DECENT. Most recent verdicts are NO, and we publish those too.
Status
- Mazes. A CTM that reads the maze as a pixel lattice (27.5k parameters) walk-solves 99.4% of held-out 11×11 mazes and 96.6% of 17×17 mazes, trained on 11×11 only. It predicts a per-square path mask, an easier task than the CTM paper’s route output, and a recurrent network that is not a CTM also solves 11×11; the CTM’s edge is on larger mazes. A CTM that reads the maze as a flat token sequence does not come close at the same size (2.7%; 53.5% with a shared local encoder).
- One block or many. A graph of CTM blocks did no better than one block at matched parameters, so new work uses one block.
- Do more ticks help? On mazes, yes: given more ticks at test time than it trained with, the 11×11 maze CTM solves more of the larger mazes (21×21: 72.9% at 40 ticks, 96.3% at 160, the most we tested). Elsewhere mostly no: eight ticks did not beat one at behaviour cloning a chess teacher, and extra ticks rarely paid in the two-hop recall tests. A first test of memory laid out on a 2D sheet, so that a CTM could follow links cell by cell as it does on a maze, did not learn its training task, so it said nothing either way; a corrected test is pre-registered.
- Memory. On recalling chess games from positions, a learned contrastive key beats raw-board and random-code stores on distant cues (by +0.20 to +0.27 over a random-code store with the same anchors). A CTM as that key beats designed codes but not a plain MLP.
- How networks grow. Two tests of whether a neuron’s new top inputs are close to its old ones both came out NO. A normalisation meant to remove the chess CTM’s sink coordinate made it larger instead (NO): the sink is a real unit. The note Is a recurrent network already clean? puts these and the other tests of the same outside hypothesis side by side, with figures.
Every number above, with its date and verdict: results.