A 27M-parameter model that reasons in two timescales.
The Hierarchical Reasoning Model pairs a fast, detailed L-module with a slow, strategic H-module, halts adaptively through a learned Q-head, and trains in constant memory — reaching 40.3% on ARC-AGI-1 from 1000 examples, with no pre-training and no chain-of-thought.
Two modules, two timescales, one halting decision.
Input is embedded as tokens plus a puzzle embedding and position encoding. From there the work splits between a module that moves every timestep and one that moves every cycle.
Input processing
Token embedding + puzzle embedding + position encoding.
L-module — fast, detailed
- 4 transformer layers
- Updates every timestep
- Participation ratio 30.22
H-module — slow, abstract
- 4 transformer layers
- Updates every L_cycles
- Participation ratio 89.95
Q-head for ACT
Halt or continue, chosen between Q(halt) and Q(continue).
One-step gradients, constant memory.
All intermediate states are detached, so there is no backpropagation through time. Memory stays O(1) where BPTT would be O(T) — which is what makes the deep supervision signal at every segment affordable.
What the hierarchy buys.
Hierarchical convergence
The L-module converges locally while the H-module supplies global context.
Multi-timescale
A fast L-module every step against a slow H-module every L_cycles.
No BPTT
One-step gradient approximation, O(1) memory.
Adaptive computation
Halting decided by Q-learning rather than a fixed step budget.
Deep supervision
A learning signal at every segment, not only at the end.
Brain correspondence
The PR ratio of 89.95 to 30.22 matches the mouse cortical hierarchy; the oscillatory schedule is drawn from theta-gamma coupling, and credit assignment stays local.
The forward pass.
Want the architecture applied to your reasoning workload?
We can walk through where a two-timescale model fits against your task mix, and what it costs to train and serve.