Hierarchical Reasoning Model
arXiv:2506.21734v4 · This workspace stays on this version. Check arXiv for newer versions
Some source details need review 1 to check
Original formulas, table values and figures are preserved. Comparison can miss differences; use the original PDF to check details.
Reading view checked: 162 math expressions, 5 rendering failures; 8 of 8 images available.
Compared 127 of 127 source passages against 24 of 24 PDF pages.
- Some formulas could not be rendered; their original TeX is shown. Check the original PDF. (5)
8 of 8 figure, table and graphic images captured. Open original PDF
Abstract
Reasoning, the process of devising and executing complex goal-oriented action sequences, remains a critical challenge in AI. Current large language models (LLMs) primarily employ Chain-of-Thought (CoT) techniques, which suffer from brittle task decomposition, extensive data requirements, and high latency. Inspired by the hierarchical and multi-timescale processing in the human brain, we propose the Hierarchical Reasoning Model (HRM), a novel recurrent architecture that attains significant computational depth while maintaining both training stability and efficiency. HRM executes sequential reasoning tasks in a single forward pass without explicit supervision of the intermediate process, through two interdependent recurrent modules: a high-level module responsible for slow, abstract planning, and a low-level module handling rapid, detailed computations. With only 27 million parameters, HRM achieves exceptional performance on complex reasoning tasks using only 1000 training samples. The model operates without pre-training or CoT data, yet achieves nearly perfect performance on challenging tasks including complex Sudoku puzzles and optimal path finding in large mazes. Furthermore, HRM outperforms much larger models with significantly longer context windows on the Abstraction and Reasoning Corpus (ARC), a key benchmark for measuring artificial general intelligence capabilities. These results underscore HRM’s potential as a transformative advancement toward universal computation and general-purpose reasoning systems.

Deep learning, as its name suggests, emerged from the idea of stacking more layers to achieve increased representation power and improved performance 33, 38. However, despite the remarkable success of large language models, their core architecture is paradoxically shallow 84. This imposes a fundamental constraint on their most sought-after capability: reasoning. The fixed depth of standard Transformers places them in computational complexity classes such as or 14, preventing them from solving problems that require polynomial time 62, 17. LLMs are not Turing-complete and thus they cannot, at least in a purely end-to-end manner, execute complex algorithmic reasoning that is necessary for deliberate planning or symbolic manipulation tasks 51, 9. For example, our results on the Sudoku task show that increasing Transformer model depth can improve performance, but performance remains far from optimal even with very deep models (see Figure 2), which supports the conjectured limitations of the LLM scaling paradigm 63.
The LLMs literature has relied largely on Chain-of-Thought (CoT) prompting for reasoning 93. CoT externalizes reasoning into token-level language by breaking down complex tasks into simpler intermediate steps, sequentially generating text using a shallow model 64. However, CoT for reasoning is a crutch, not a satisfactory solution. It relies on brittle, human-defined decompositions where a single misstep or a misorder of the steps can derail the reasoning process entirely 16, 98. This dependency on explicit linguistic steps tethers reasoning to patterns at the token level. As a result, CoT reasoning often requires significant amount of training data and generates a large number of tokens for complex reasoning tasks, resulting in slow response times. A more efficient approach is needed to minimize these data requirements 90.
Towards this goal, we explore “latent reasoning”, where the model conducts computations within its internal hidden state space 15, 82. This aligns with the understanding that language is a tool for human communication, not the substrate of thought itself 29; the brain sustains lengthy, coherent chains of reasoning with remarkable efficiency in a latent space, without constant translation back to language. However, the power of latent reasoning is still fundamentally constrained by a model’s effective computational depth. Naively stacking layers is notoriously difficult due to vanishing gradients, which plague training stability and effectiveness 33, 91. Recurrent architectures, a natural alternative for sequential tasks, often suffer from early convergence, rendering subsequent computational steps inert, and rely on the biologically implausible, computationally expensive and memory intensive Backpropagation Through Time (BPTT) for training 57.
The human brain provides a compelling blueprint for achieving the effective computational depth that contemporary artificial models lack. It organizes computation hierarchically across cortical regions operating at different timescales, enabling deep, multi-stage reasoning 69, 99, 40. Recurrent feedback loops iteratively refine internal representations, allowing slow, higher-level areas to guide, and fast, lower-level circuits to execute—subordinate processing while preserving global coherence 49, 6, 44. Notably, the brain achieves such depth without incurring the prohibitive credit-assignment costs that typically hamper recurrent networks from backpropagation through time 57, 56.

Inspired by this hierarchical and multi-timescale biological architecture, we propose the Hierarchical Reasoning Model (HRM). HRM is designed to significantly increase the effective computational depth. It features two coupled recurrent modules: a high-level (H) module for abstract, deliberate reasoning, and a low-level (L) module for fast, detailed computations. This structure avoids the rapid convergence of standard recurrent models through a process we term “hierarchical convergence.” The slow-updating H-module advances only after the fast-updating L-module has completed multiple computational steps and reached a local equilibrium, at which point the L-module is reset to begin a new computational phase.
Furthermore, we propose a one-step gradient approximation for training HRM, which offers improved efficiency and eliminates the requirement for BPTT. This design maintains a constant memory footprint ( compared to BPTT’s for timesteps) throughout the backpropagation process, making it scalable and more biologically plausible.
Leveraging its enhanced effective depth, HRM excels at tasks that demand extensive search and backtracking. Using only 1,000 input-output examples, without pre-training or CoT supervision, HRM learns to solve problems that are intractable for even the most advanced LLMs. For example, it achieves near-perfect accuracy in complex Sudoku puzzles (Sudoku-Extreme Full) and optimal pathfinding in 30x30 mazes, where state-of-the-art CoT methods completely fail (0% accuracy). In the Abstraction and Reasoning Corpus (ARC) AGI Challenge 20, 19, 18 - a benchmark of inductive reasoning - HRM, trained from scratch with only the official dataset (~1000 examples), with only 27M parameters and a 30x30 grid context (900 tokens), achieves a performance of 40.3%, which substantially surpasses leading CoT-based models like o3-mini-high (34.5%) and Claude 3.7 8K context (21.2%), despite their considerably larger parameter sizes and context lengths, as shown in Figure 1. This represents a promising direction toward the development of next-generation AI reasoning systems with universal computational capabilities.
We present the HRM, inspired by three fundamental principles of neural computation observed in the brain:
- •
- •
- •
Recurrent Connectivity: The brain features extensive recurrent connections. These feedback loops enable iterative refinement, yielding more accurate and context-sensitive representations at the cost of additional processing time. Additionally, the brain largely avoids the problematic deep credit assignment problem associated with BPTT 57.
The HRM model consists of four learnable components: an input network , a low-level recurrent module , a high-level recurrent module , and an output network . The model’s dynamics unfold over high-level cycles of low-level timesteps each. We index the total timesteps of one forward pass by . The modules and each keep a hidden state— for and for —which are initialized with the vectors and , respectively.
The HRM maps an input vector to an output prediction vector as follows. First, the input is projected into a working representation by the input network:
At each timestep , the L-module updates its state conditioned on its own previous state, the H-module’s current state (which remains fixed throughout the cycle), and the input representation. The H-module only updates once per cycle (i.e., every timesteps) using the L-module’s final state at the end of that cycle:
Finally, after full cycles, a prediction is extracted from the hidden state of the H-module:
This entire -timestep process represents a single forward pass of the HRM. A halting mechanism (detailed later in this section) determines whether the model should terminate, in which case will be used as the final prediction, or continue with an additional forward pass.

Although convergence is crucial for recurrent networks, standard RNNs are fundamentally limited by their tendency to converge too early. As the hidden state settles toward a fixed point, update magnitudes shrink, effectively stalling subsequent computation and capping the network’s effective depth. To preserve computational power, we actually want convergence to proceed very slowly–but engineering that gradual approach is difficult, since pushing convergence too far edges the system toward instability.
HRM is explicitly designed to counteract this premature convergence through a process we term hierarchical convergence. During each cycle, the L-module (an RNN) exhibits stable convergence to a local equilibrium. This equilibrium, however, depends on the high-level state supplied during that cycle. After completing the steps, the H-module incorporates the sub-computation’s outcome (the final state ) and performs its own update. This update establishes a fresh context for the L-module, essentially “restarting” its computational path and initiating a new convergence phase toward a different local equilibrium.
This process allows the HRM to perform a sequence of distinct, stable, nested computations, where the H-module directs the overall problem-solving strategy and the L-module executes the intensive search or refinement required for each step. Although a standard RNN may approach convergence within iterations, the hierarchical convergence benefits from an enhanced effective depth of steps. As empirically shown in Figure 3, this mechanism allows HRM both to maintain high computational activity (forward residual) over many steps (in contrast to a standard RNN, whose activity rapidly decays) and to enjoy stable convergence. This translates into better performance at any computation depth, as illustrated in Figure 2.
Recurrent models typically use BPTT to compute gradients. However, BPTT requires storing the hidden states from the forward pass and then combining them with gradients during the backward pass, which demands memory for T timesteps. This heavy memory burden forces smaller batch sizes and leads to poor GPU utilization, especially for large-scale networks. Additionally, because retaining the full history trace through time is biologically implausible, it is unlikely that the brain implements BPTT 57.
Fortunately, if a recurrent neural network converges to a fixed point, we can avoid unrolling its state sequence by applying backpropagation in a single step at that equilibrium point. Moreover, such a mechanism could plausibly be implemented in the brain using only local learning rules 79, 8. Based on this finding, we propose a one-step approximation of the HRM gradient–using the gradient of the last state of each module and treating other states as constant. The gradient path is, therefore,
Output head → final state of the H-module → final state of the L-module → input embedding
The above method needs memory, does not require unrolling through time, and can be easily implemented with an autograd framework such as PyTorch, as shown in Figure 4. Given that each module only needs to back-propagate errors through its most recent local synaptic activity, this approach aligns well with the perspective that cortical credit assignment relies on short-range, temporally local mechanisms rather than on a global replay of activity patterns.

The one-step gradient approximation is theoretically grounded in the mathematics of Deep Equilibrium Models (DEQ) 3 which employs the Implicit Function Theorem (IFT) to bypass BPTT, as detailed next. Consider an idealized HRM behavior where, during high-level cycle , the L-module repeatedly updates until its state converges to a local fixed point . This fixed point, given the current high-level state , can be expressed as
The H-module then performs a single update using this converged L-state:
With a proper mapping , the updates to the high-level state can be written in a more compact form as , where , and the fixed-point can be written as . Let be the Jacobian of , and assume that the matrix is invertible at and that the mapping is continuously differentiable. The Implicit Function Theorem then allows us to calculate the exact gradient of fixed point with respect to the parameters without explicit backpropagation:
Calculating the above gradient requires evaluating and inverting matrix that can be computationally expensive. Given the Neumann series expansion,
the so-called 1-step gradient 32 approximates the series by considering only its first term, i.e. , and leads to the following approximation of Equation 1:
The gradients of the low-level fixed point, and , can also be approximated using another application of the 1-step gradient:
By substituting Equation 3 back into Equation 2, we arrive at the final simplified gradients.
Before defining our loss function, we must first introduce two key elements of our proposed method: deep supervision and adaptive computational time.
Inspired by the principle that periodic neural oscillations regulate when learning occurs in the brain 7, we incorporate a deep supervision mechanism into HRM, as detailed next.
Given a data sample , we run multiple forward passes of the HRM model, each of which we refer to as a segment. Let denote the total number of segments executed before termination. For each segment , let represent the hidden state at the conclusion of segment , encompassing both high-level and low-level state components.
At each segment , we apply a deep supervision step as follows:
- 1.
Given the state from the previous segment, compute the next state and its associated output through a forward pass in the HRM model:
- 2.
Compute the loss for the current segment:
- 3.
Update parameters:
The crucial aspect of this procedure is that the hidden state is “detached” from the computation graph before being used as the input state for the next segment. Consequently, gradients from segment do not propagate back through segment , effectively creating a 1-step approximation of the gradient of the recursive deep supervision process 2, 77. This approach provides more frequent feedback to the H-module and serves as a regularization mechanism, demonstrating superior empirical performance and enhanced stability in deep equilibrium models when compared to more complex, Jacobian-based regularization techniques 2, 4. Figure 4 shows pseudocode of deep supervision training.
The brain dynamically alternates between automatic thinking (“System 1”) and deliberate reasoning (“System 2”) 42. Neuroscientific evidence shows that these cognitive modes share overlapping neural circuits, particularly within regions such as the prefrontal cortex and the default mode network 55, 10. This indicates that the brain dynamically modulates the “runtime” of these circuits according to task complexity and potential rewards 76, 95.
Inspired by the above mechanism, we incorporate an adaptive halting strategy into HRM that enables “thinking, fast and slow”. This integration leverages deep supervision and uses the Q-learning algorithm 87 to adaptively determine the number of segments. A Q-head uses the final state of the H-module to predict the Q-values of the “halt” and “continue” actions:
where denotes the sigmoid function applied element-wise. The halt or continue action is chosen using a randomized strategy as detailed next. Let denote the maximum number of segments (a fixed hyperparameter) and denote the minimum number of segments (a random variable). The value of is determined stochastically: with probability , it is sampled uniformly from the set (to encourage longer thinking), and with probability , it is set to 1. The halt action is selected under two conditions: when the segment count surpasses the maximum threshold , or when the estimated halt value exceeds the estimated continue value and the segment count has reached at least the minimum threshold .
The Q-head is updated through a Q-learning algorithm, which is defined on the following episodic Markov Decision Process (MDP). The state of the MDP at segment is , and the action space is . Choosing the action “halt” terminates the episode and returns a binary reward indicating prediction correctness, i.e., . Choosing “continue” yields a reward of 0 and the state transitions to . Thus, the Q-learning targets for the two actions are given by
We can now define the loss function of our learning procedure. The overall loss for each supervision segment combines both the Q-head loss and the sequence-to-sequence loss:
Minimizing the above loss enables both accurate predictions and nearly optimal stopping decisions.
Selecting the “halt” action ends the supervision loop. In practice, sequences are processed in batches, which can be easily handled by substituting any halted sample in the batch with a fresh sample from the dataloader.
Figure 5 presents a performance comparison between two HRM variants: one incorporating ACT and another employing a fixed computational step count equivalent to ACT’s parameter. It shows that ACT effectively adapts its computational resources based on task complexity, achieving significant computational savings with minimal impact on performance.

An effective neural model should exploit additional computational resources during inference to enhance performance. As illustrated in Figure 5-(c), HRM seamlessly achieves inference-time scaling by simply increasing the computational limit parameter, without requiring further training or architectural modifications.
Additional compute is especially effective for tasks that demand deeper reasoning. On Sudoku—a problem that often requires long-term planning—HRM exhibits strong inference-time scaling. On the other hand, we find that extra computational resources yield minimal gains in ARC-AGI challenge, as solutions generally require only a few transformations.
The deep Q-learning that underpins our ACT mechanism is known to be prone to instability, often requiring stabilization techniques such as replay buffers and target networks 67, which are absent in our design. Our approach, however, achieves stability through the intrinsic properties of our model and training procedure. Recent theoretical work by Gallici et al. Super shows that Q-learning can achieve convergence if network parameters are bounded, weight decay is incorporated during training, and post-normalization layers are implemented. Our model satisfies these conditions through its Post-Norm architecture that employs RMSNorm (a layer normalization variant) and the AdamW optimizer. AdamW has been shown to solve an -constrained optimization problem, ensuring that model parameters remain bounded by 97.
We employ a sequence-to-sequence architecture for HRM. Both input and output are represented as token sequences: and respectively. The model includes an embedding layer that converts discrete tokens into vector representations, and an output head that transforms hidden states into token probability distributions . For small-sample experiments, we replace softmax with stablemax 75 to improve generalization performance. The sequence-to-sequence loss is averaged over all tokens, , where is the probability that distribution assigns to token . The initial hidden states are initialized by sampling from a truncated normal distribution with standard deviation of 1, truncation of 2, and kept fixed throughout training.
Both the low-level and high-level recurrent modules and are implemented using encoder-only Transformer 89 blocks with identical architectures and dimensions. These modules take multiple inputs, and we use straightforward element-wise addition to combine them, though more sophisticated merging techniques such as gating mechanisms could potentially improve performance and is left for future work. For all Transformer blocks in this work—including those in the baseline models—we incorporate the enhancements found in modern LLMs (based on Llama 65 architectures). These improvements include Rotary Positional Encoding 86, Gated Linear Units 81, RMSNorm 100, and the removal of bias terms from linear layers.
Furthermore, both HRM and recurrent Transformer models implement a Post-Norm architecture with weights initialized via truncated LeCun Normal initialization 47, 41, 50, while the scale and bias parameters are excluded from RMSNorm. All parameters are optimized using the Adam-atan2 optimizer 27, a scale-invariant variant of Adam 46, combined with a constant learning rate that includes linear warm-up.
This section begins by describing the ARC-AGI, Sudoku, and Maze benchmarks, followed by an overview of the baseline models and their results. Figure 6-(a,b,c) presents a visual representation of the three benchmark tasks, which are selected to evaluate various reasoning abilities in AI models.

ARC-AGI Challenge The ARC-AGI benchmark evaluates general fluid intelligence through IQ-test-like puzzles that require inductive reasoning 20. The initial version, ARC-AGI-1, presents challenges as input-label grid pairs that force AI systems to extract and generalize abstract rules from just a few examples. Each task provides a few input–output demonstration pairs (usually 2–3) and a test input. An AI model has two attempts to produce the correct output grid. Although some believe that mastering ARC-AGI would signal true artificial general intelligence, its primary purpose is to expose the current roadblocks in AGI progress. In fact, both conventional deep learning methods and CoT techniques have faced significant challenges with ARC-AGI-1, primarily because it requires the ability to generalize to entirely new tasks 19.
Addressing the limitations identified in ARC-AGI-1, ARC-AGI-2 significantly expands the benchmark by providing a more comprehensive and carefully refined collection of tasks. These new tasks emphasize deeper compositional reasoning, multi-step logic, contextual rule application, and symbolic abstraction. Human calibration studies show these tasks are challenging but doable for people, while being much harder for current AI systems, offering a clearer measure of general reasoning abilities 18.
Sudoku-Extreme Sudoku is a 99 logic puzzle, requiring each row, column, and 33 block to contain the digits 1–9 exactly once. A prediction is considered correct if it exactly matches the puzzle’s unique solution. Sudoku’s complex logical structure makes it a popular benchmark for evaluating logical reasoning in machine learning 71, 59, 25.
The most frequently used Sudoku dataset in research, namely the Kaggle dataset 73, can be fully solved using elementary single-digit techniques 83. The minimal 17-clue puzzles 71, another widely-used collection, might seem more challenging due to its small number of clues. However, this perception is misleading—since 17 represents the minimum number of clues required to guarantee a unique Sudoku solution, these hints need to be highly orthogonal to each other. This orthogonal arrangement leads to many direct, easily-resolved solution paths 24.
We introduce Sudoku-Extreme, a more challenging dataset that is compiled from the aforementioned easy datasets as well as puzzles recognized by the Sudoku community as exceptionally difficult for human players:
- •
Easy puzzles compiled from Kaggle, 17-clue, plus unbiased samples from the Sudoku puzzle distribution 24: totaling puzzles.
- •
Challenging puzzles compiled from Magictour 1465, Forum-Hard and Forum-Extreme subsets: totaling puzzles.
The compiled data then undergo a strict 90/10 train-test split, ensuring that the test set puzzles cannot be derived through equivalent transformations of any training samples. Sudoku-Extreme is a down-sampled subset of this data containing 1000 training examples. We use Sudoku-Extreme in our main experiments (Figure 1), which focuses on small-sample learning scenarios. To guarantee convergence and control overfitting effects in our analysis experiments (Figures 2, 3 and 5), we use the complete training data, Sudoku-Extreme-Full, containing examples.
We measure puzzle difficulty by counting the number of search backtracks (“guesses”) required by a smart Sudoku solver program tdoku, which uses propositional logic to reduce the number of guesses 24. Our Sudoku-Extreme dataset exhibits a mean difficulty of backtracks per puzzle, significantly higher than existing datasets, including recent handmade puzzles Sudoku-Bench 80 which average just backtracks per puzzle. These subset complexity levels are shown in Figure 6-(d).
Maze-Hard This task involves finding the optimal path in a 3030 maze, making it interpretable and frequently used for training LLMs in search tasks 22, 85, 52. We adopt the instance generation procedure of Lehnert et al. Super, but introduce an additional filter to retain only those instances whose difficulty exceeds 110. Here, “difficulty” is defined as the length of the shortest path, which aligns with the linear time complexity of the wavefront breadth-first search algorithm on GPUs 45. A path is considered correct if it is valid and optimal—that is, the shortest route from the start to the goal. The training and test set both include 1000 examples.
For all benchmarks, HRM models were initialized with random weights and trained in the sequence-to-sequence setup using the input-output pairs. The two-dimensional input and output grids were flattened and then padded to the maximum sequence length. The resulting performance is shown in Figure 1. Remarkably, HRM attains these results with just ~1000 training examples per task—and without pretraining or CoT labels.
For ARC-AGI challenge, we start with (1) all demonstration and test input-label pairs from the training set, and (2) all demonstration pairs along with test inputs from the evaluation set. The dataset is augmented by applying translations, rotations, flips, and color permutations to the puzzles. Each task example is prepended with a learnable special token that represents the puzzle it belongs to. At test time, we proceed as follows for each test input in the evaluation set: (1) Generate and solve 1000 augmented variants and, for each, apply the inverse-augmentation transform to obtain a prediction. (2) Choose the two most popular predictions as the final outputs. All reported results are obtained by comparing the outputs with the withheld test labels from the evaluation set.
We augment Sudoku puzzles by applying band and digit permutations, while data augmentation is disabled for Maze tasks. Both tasks undergo only a single inference pass.
For ARC-AGI, the scores of the CoT models are taken from the official leaderboard 18, while for Sudoku and Maze, the scores are obtained by evaluating through the corresponding API.
In Figure 1, the baselines are grouped based on whether they are pre-trained and use CoT, or neither. The “Direct pred” baseline means using “direct prediction without CoT and pre-training”, which retains the exact training setup of HRM but swaps in a Transformer architecture. Interestingly, on ARC-AGI-1, “Direct pred” matches the performance of Liao and Gu Super, who built a carefully designed, domain-specific equivariant network for learning the ARC-AGI task from scratch, without pre-training. By substituting the Transformer architecture with HRM’s hierarchical framework and implementing ACT, we achieve more than a twofold performance improvement.
On the Sudoku-Extreme and Maze-Hard benchmarks, the performance gap between HRM and the baseline methods is significant, as the baselines almost never manage to solve the tasks. These benchmarks that demand lengthy reasoning traces are particularly difficult for CoT-based methods. With only 1000 training examples, the “Direct pred” baseline—which employs an 8-layer Transformer identical in size to HRM—fails entirely on these challenging reasoning problems. When trained on the larger Sudoku-Extreme-Full dataset, however, “Direct pred” can solve some easy Sudoku puzzles and reaches accuracy (see Figure 2). Lehnert et al. Super showed that a large vanilla Transformer model with 175M parameters, trained on 1 million examples across multiple trials, achieved only marginal success on 30x30 Maze tasks, with accuracy below using the evaluation metric.

Although HRM demonstrates strong performance on complex reasoning tasks, it raises an intriguing question: what underlying reasoning algorithms does the HRM neural network actually implement? Addressing this question is important for enhancing model interpretability and developing a deeper understanding of the HRM solution space.
While a definitive answer lies beyond our current scope, we begin our investigation by analyzing state trajectories and their corresponding solution evolution. More specifically, at each timestep and given the low-level and high-level state pair ( and ) we perform a preliminary forward pass through the H-module to obtain and its corresponding decoded prediction . The prediction is then visualized in Figure 7.
In the Maze task, HRM appears to initially explore several potential paths simultaneously, subsequently eliminating blocked or inefficient routes, then constructing a preliminary solution outline followed by multiple refinement iterations. In Sudoku, the strategy resembles a depth-first search approach, where the model appears to explore potential solutions and backtracks when it hits dead ends. HRM uses a different approach for ARC tasks, making incremental adjustments to the board and iteratively improving it until reaching a solution. Unlike Sudoku, which involves frequent backtracking, the ARC solution path follows a more consistent progression similar to hill-climbing optimization.
Importantly, the model shows that it can adapt to different reasoning approaches, likely choosing an effective strategy for each particular task. Further research is needed to gain more comprehensive insights into these solution strategies.

A key principle from systems neuroscience is that a brain region’s functional repertoire—its ability to handle diverse and complex tasks—is closely linked to the dimensionality of its neural representations 78, 61. Higher-order cortical areas, responsible for complex reasoning and decision-making, must handle a wide variety of tasks, demanding more flexible and context-dependent processing 66. In dynamical systems, this flexibility is often realized through higher-dimensional state-space trajectories, which allow for a richer repertoire of potential computations 60. This principle gives rise to an observable dimensionality hierarchy, where a region’s position in the processing hierarchy correlates with its effective dimensionality. To quantify this phenomenon, we can examine the Participation Ratio (PR), which serves as a standard measure of the effective dimensionality of a high-dimensional representation 1. The PR is calculated using the formula
where are the eigenvalues of the covariance matrix of neural trajectories. Intuitively, a higher PR value signifies that variance is distributed more evenly across many dimensions, corresponding to a higher-dimensional representation. Conversely, a lower PR value indicates that variance is concentrated in only a few principal components, reflecting a more compact, lower-dimensional structure.
The dimensionality hierarchy can be observed, for example, in the mouse cortex, where the PR of population activity increases monotonically from low-level sensory areas to high-level associative areas, supporting this link between dimensionality and functional complexity 74 (Figure 8 (a,b)).
We evaluated whether HRM reproduces this neuroscientific principle by calculating the PR for both recurrent modules after training on the Sudoku-Extreme Full dataset. The PR computation used the covariance matrix derived from neural states gathered across multiple Sudoku-solving trajectories. The results show a striking parallel to the biological findings. The low-level module’s state () occupies a relatively small subspace with a participation ratio of 30.22, whereas the high-level module’s state () operates in a substantially larger subspace with a participation ratio of 89.95, as shown in Figure 8(c). Furthermore, Figure 8(d) shows that increasing the number of unique tasks (trajectories) from 10 to 100 causes dimensionality to scale up accordingly, while dimensionality remains stable. These results suggest an emergent separation of representational capacity between the modules that parallels their functional roles.
To confirm that this hierarchical organization is an emergent property of training, and not an artifact of the network’s architecture, we performed a control analysis using an identical but untrained network with random weights.
We initialized an identical HRM architecture with random weights and, without any training, measured the PR of its modules as the network processed the same task-specific inputs given to the trained model.
The results, shown in Figure 8(e,f), reveal a stark contrast: the high-level and low-level modules of the untrained network exhibit no hierarchical separation, with their PR values remaining low and nearly indistinguishable from each other. This control analysis validates that the dimensionality hierarchy is an emergent property that arises as the model learns to perform complex reasoning.
The high-to-low PR ratio in HRM () closely matches that measured in the mouse cortex (). In contrast, conventional deep networks often exhibit neural collapse, where last-layer features converge to a low-dimensional subspace 72, 28, 101. HRM therefore departs from the collapse pattern and instead fosters a high-dimensional representation in its higher module. This is significant because such representations are considered crucial for cognitive flexibility and are a hallmark of higher-order brain regions like the prefrontal cortex (PFC), which is central to complex reasoning.
This structural parallel suggests the model has discovered a fundamental organizational principle. By learning to partition its representations into a high-capacity, high-dimensional subspace () and a more specialized, low-dimensional one (), HRM autonomously discovers an organizational principle that is thought to be fundamental for achieving robust and flexible reasoning in biological systems. This provides a potential mechanistic explanation for the model’s success on complex, long-horizon tasks that are intractable for models lacking such a differentiated internal structure. We emphasize, however, that this evidence is correlational. While a causal link could be tested via intervention (e.g., by constraining the H-module’s dimensionality), such methods are difficult to interpret in deep learning due to potential confounding effects on the training process itself. Thus, the causal necessity of this emergent hierarchy remains an important question for future investigation.
Given the central role of reasoning problems and their close relation to algorithms, researchers have long explored neural architectures that enable algorithm learning from training instances. This line of work includes Neural Turing Machines (NTM) 34, the Differentiable Neural Computer (DNC) 35, and Neural GPUs 43–all of which construct iterative neural architectures that mimic computational hardware for algorithm execution, and are trained to learn algorithms from data. Another notable work in this area is Recurrent Relational Networks (RRN) 71, which executes algorithms on graph representations through graph neural networks.
Recent studies have integrated algorithm learning approaches with Transformer-based architectures. Universal Transformers extend the standard Transformer model by introducing a recurrent loop over the layers and implementing an adaptive halting mechanism. Geiping et al. Super demonstrate that looped Transformers can generalize to a larger number of recurrent steps during inference than what they were trained on. Shen et al. Super propose adding continuous recurrent reasoning tokens to the Transformer. Finally, TransNAR 9 combine recurrent graph neural networks with language models.
Building on the success of CoT-based reasoning, a line of work have introduced fine-tuning methods that use reasoning paths from search algorithms (like A*) as SFT targets 58, 52, 85.
We also mention adaptive halting mechanisms designed to allocate additional computational resources to more challenging problems. This includes the Adaptive Computation Time (ACT) for RNNs 36 and follow-up research like PonderNet 5, which aims to improve the stability of this allocation process.
HRM further pushes the boundary of algorithm learning through a brain-inspired computational architecture that achieves exceptional data efficiency and model expressiveness, successfully discovering complex and diverse algorithms from just 1000 training examples.
Developing a model with the reasoning power of the brain has long been a goal in brain-inspired computing. Spaun 26 is one notable example, which uses spiking neural networks to create distinct modules corresponding to brain regions like the visual cortex and prefrontal cortex. This design enables an architecture to perform a range of cognitive tasks, from memory recall to simple reasoning puzzles. However, its reasoning relies on hand-designed algorithms, which may limit its ability to learn new tasks. Another significant model is the Tolman-Eichenbaum Machine (TEM) 96, which is inspired by the hippocampal-entorhinal system’s role in spatial and relational memory tasks. TEM proposes that medial entorhinal cells create a basis for structural knowledge, while hippocampal cells link this basis to sensory information. This allows TEM to generalize and explains the emergence of various cell types like grid, border, and place cells. Another approach involves neural sampling models 11, which view the neural signaling process as inference over a distribution, functioning similarly to a Boltzmann machine. These models often require hand-made rules to be set up for solving a specific reasoning task. In essence, while prior models are restricted to simple reasoning problems, HRM is designed to solve complex tasks that are hard for even advanced LLMs, without pre-training or task-specific manual design.
The hierarchical multi-timescale structure also plays an important role in how the brain processes memory. Models such as Hierarchical Sequential Models 39 and Clockwork RNN 48 use multiple recurrent modules that operate at varying time scales to more effectively capture long-range dependencies within sequences, thereby mitigating the forgetting issue in RNNs.
Similar mechanisms have also been adopted in linear attention methods for memorizing long contexts (see the Discussions section). Since HRM focuses on reasoning, full attention is applied for simplicity. Incorporating hierarchical memory into HRM could be a promising future direction.
Like earlier neural reasoning algorithms including the Universal Transformer 23, HRM is computationally universal when given sufficient memory and time constraints. In other words, it falls into the category of models that can simulate any Turing machine, overcoming the computational limitations of standard Transformers discussed previously in the introduction. Given that earlier neural algorithm reasoners were trained as recurrent neural networks, they suffer from premature convergence and memory intensive BPTT. Therefore, in practice, their effective computational depth remains limited, though still deeper than that of a standard Transformer. By resolving these two challenges and being equipped with adaptive computation, HRM could be trained on long reasoning processes, solve complex puzzles requiring intensive depth-first search and backtracking, and move closer to practical Turing-completeness.
Beyond fine-tuning using human-annotated CoT, reinforcement learning (RL) represents another widely adopted training methodology. However, recent evidence suggests that RL primarily unlocks existing CoT-like capabilities rather than discovering fundamentally new reasoning mechanisms 92, 68, 94, 53. Additionally, CoT-training with RL is known for its instability and data inefficiency, often requiring extensive exploration and careful reward design. In contrast, HRM takes feedback from dense gradient-based supervision rather than relying on a sparse reward signal. Moreover, HRM operates naturally in a continuous space, which is biologically plausible and avoids allocating same computational resources to each token, even though tokens vary in their reasoning and planning complexity 82.
Recurrence has been explored not only for its capability in universal computation, but also as a means to replace the attention mechanism in Transformers, which suffers from quadratic time and memory complexity 21. Recurrent alternatives offer a more efficient design by processing input tokens sequentially and predicting the next token at each time step, similar to early RNN-based language models.
Some linear-attention variants, such as Log-linear Attention 37, share an RNN-like state-update that can be interpreted as propagating multi-timescale summary statistics, thereby retaining long-range context without the quadratic memory growth of standard self-attention. However, substituting the attention mechanism alone does not change the fact that Transformers are still fixed-depth, and require CoT as a compensatory mechanism. Notably, linear attention can operate with a reduced key-value cache over extended contexts, making them more suitable for deployment on resource-constrained edge devices.
This work introduces the Hierarchical Reasoning Model, a brain-inspired architecture that leverages hierarchical structure and multi-timescale processing to achieve substantial computational depth without sacrificing training stability or efficiency. With only 27M parameters and training on just 1000 examples, HRM effectively solves challenging reasoning problems such as ARC, Sudoku, and complex maze navigation–tasks that typically pose significant difficulties for contemporary LLM and chain-of-thought models.
Although the brain relies heavily on hierarchical structures to enable most cognitive processes, these concepts have largely remained confined to academic literature rather than being translated into practical applications. The prevailing AI approach continues to favor non-hierarchical models. Our results challenge this established paradigm and suggest that the Hierarchical Reasoning Model represents a viable alternative to the currently dominant chain-of-thought reasoning methods, advancing toward a foundational framework capable of Turing-complete universal computation.
Acknowledgements We thank Mingli Yuan, Ahmed Murtadha Hasan Mahyoub and Hengshuai Yao for their insightful discussions and valuable feedback throughout the course of this work.
References
- Altan et al. (2021) E. Altan, S. A. Solla, L. E. Miller, and E. J. Perreault Estimating the dimensionality of the manifold underlying multi-electrode neural recordings. PLoS Computational Biology 17 (11), pp. e1008591. External Links: Document Cited by: §4.Source
- Bai et al. (2022) S. Bai, Z. Geng, Y. Savani, and J. Z. Kolter Deep Equilibrium Optical Flow Estimation . In 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 610–620. Cited by: §2.
- Bai et al. (2019) S. Bai, J. Z. Kolter, and V. Koltun Deep equilibrium models. In Advances in Neural Information Processing Systems, pp. 690–701. Cited by: §2.
- Bai et al. (2021) S. Bai, V. Koltun, and J. Z. Kolter Stabilizing equilibrium models by jacobian regularization. In International Conference on Machine Learning, Cited by: §2.
- Banino et al. (2021) A. Banino, J. Balaguer, and C. Blundell PonderNet: learning to ponder. ArXiv abs/2107.05407. Cited by: §5.
- Bastos et al. (2012) A. M. Bastos, W. M. Usrey, R. A. Adams, G. R. Mangun, P. Fries, and K. J. Friston Canonical microcircuits for predictive coding. Neuron 76 (4), pp. 695–711. Cited by: §1.
- Begus and Bonawitz (2020) K. Begus and E. Bonawitz The rhythm of learning: theta oscillations as an index of active learning in infancy. Developmental Cognitive Neuroscience 45, pp. 100810. External Links: ISSN 1878-9293, Document Cited by: §2.Source
- Bellec et al. (2020) G. Bellec, F. Scherr, A. Subramoney, E. Hajek, D. Salaj, R. Legenstein, and W. Maass A solution to the learning dilemma for recurrent networks of spiking neurons. Nature Communications 11, pp. . External Links: Document Cited by: §2.Source
- Bounsi et al. (2024) W. Bounsi, B. Ibarz, A. Dudzik, J. B. Hamrick, L. Markeeva, A. Vitvitskyi, R. Pascanu, and P. Velivckovi’c Transformers meet neural algorithmic reasoners. ArXiv abs/2406.09308. Cited by: §1, §5.
- Buckner et al. (2008) R. L. Buckner, J. R. Andrews-Hanna, and D. L. Schacter The brain’s default network: anatomy, function, and relevance to disease. Annals of the new York Academy of Sciences 1124 (1), pp. 1–38. Cited by: §2.
- Buesing et al. (2011) L. Buesing, J. Bill, B. Nessler, and W. Maass Neural dynamics as sampling: a model for stochastic computation in recurrent networks of spiking neurons. PLoS computational biology 7 (11), pp. e1002211. Cited by: §5.
- Buzsáki (2000) G. Buzsáki Gamma, alpha, delta, and theta oscillations govern cognitive processes. International Journal of Psychophysiology 39, pp. 241–248. Cited by: 2nd item.
- Buzsáki (2006) G. Buzsáki Rhythms of the brain. Oxford university press. Cited by: 2nd item.
- Bylander (1991) T. Bylander Complexity results for planning. In Proceedings of the 12th International Joint Conference on Artificial Intelligence - Volume 1, IJCAI’91, San Francisco, CA, USA, pp. 274–279. External Links: ISBN 1558601600 Cited by: §1.
- Chen et al. (2025) X. Chen, A. Zhao, H. Xia, X. Lu, H. Wang, Y. Chen, W. Zhang, J. Wang, W. Li, and X. Shen Reasoning beyond language: a comprehensive survey on latent chain-of-thought reasoning. External Links: 2505.16782 Cited by: §1.
- Chen et al. (2024) X. Chen, R. A. Chi, X. Wang, and D. Zhou Premise order matters in reasoning with large language models. ArXiv abs/2402.08939. Cited by: §1.
- Chiang (2025) D. Chiang Transformers in DLOGTIME-uniform $\text{TC}^{0}$. Transactions on Machine Learning Research. Cited by: §1.
- Chollet et al. (2025) F. Chollet, M. Knoop, G. Kamradt, B. Landers, and H. Pinkard ARC-agi-2: a new challenge for frontier ai reasoning systems. arXiv preprint arXiv:2505.11831. Cited by: §1, §3.1, §3.2.
- Chollet et al. (2024) F. Chollet, M. Knoop, G. Kamradt, and B. Landers ARC prize 2024: technical report. ArXiv abs/2412.04604. Cited by: §1, §3.1.
- Chollet (2019) F. Chollet On the measure of intelligence (abstraction and reasoning corpus). Note: arXiv preprint arXiv:1911.01547 Cited by: §1, §3.1.
- Dao and Gu (2024) T. Dao and A. Gu Transformers are ssms: generalized models and efficient algorithms through structured state space duality. ArXiv abs/2405.21060. Cited by: §6.
- Darlow et al. (2025) L. Darlow, C. Regan, S. Risi, J. Seely, and L. Jones Continuous thought machines. arXiv preprint arXiv:2505.05522. Cited by: §3.1.
- Dehghani et al. (2018) M. Dehghani, S. Gouws, O. Vinyals, J. Uszkoreit, and L. Kaiser Universal transformers. Note: arXiv preprint arXiv:1807.03819 Cited by: §6.
- Dillion (2025) T. Dillion Tdoku: a fast sudoku solver and generator. Note: https://t-dillon.github.io/tdoku/ Cited by: 1st item, §3.1, §3.1.Source
- Du et al. (2024) Y. Du, J. Mao, and J. Tenenbaum Learning iterative reasoning through energy diffusion. ArXiv abs/2406.11179. Cited by: §3.1.
- Eliasmith et al. (2012) C. Eliasmith, T. C. Stewart, X. Choo, T. Bekolay, T. DeWolf, Y. Tang, and D. Rasmussen A large-scale model of the functioning brain. science 338 (6111), pp. 1202–1205. Cited by: §5.
- Everett et al. (2024) K. E. Everett, L. Xiao, M. Wortsman, A. A. Alemi, R. Novak, P. J. Liu, I. Gur, J. Sohl-Dickstein, L. P. Kaelbling, J. Lee, and J. Pennington Scaling exponents across parameterizations and optimizers. In Forty-first International Conference on Machine Learning, Cited by: §2.
- Fang et al. (2021) C. Fang, H. He, Q. Long, and W. J. Su Exploring deep neural networks via layer–peeled model: minority collapse in imbalanced training. Proceedings of the National Academy of Sciences 118 (43), pp. e2103091118. External Links: Document Cited by: §4.Source
- Fedorenko et al. (2024) E. Fedorenko, S. T. Piantadosi, and E. A. Gibson Language is primarily a tool for communication rather than thought. Nature 630 (8017), pp. 575–586. Cited by: §1.
- Gallici et al. (2025) M. Gallici, M. Fellows, B. Ellis, B. Pou, I. Masmitja, J. N. Foerster, and M. Martin Simplifying deep temporal difference learning. External Links: 2407.04811 Cited by: §2.
- Geiping et al. (2025) J. Geiping, S. McLeish, N. Jain, J. Kirchenbauer, S. Singh, B. R. Bartoldson, B. Kailkhura, A. Bhatele, and T. Goldstein Scaling up test-time compute with latent reasoning: a recurrent depth approach. External Links: 2502.05171 Cited by: §5.
- Geng et al. (2021) Z. Geng, X. Zhang, S. Bai, Y. Wang, and Z. Lin On training implicit models. ArXiv abs/2111.05177. Cited by: §2.
- Goodfellow et al. (2016) I. Goodfellow, Y. Bengio, and A. Courville Deep learning. MIT Press. Note: http://www.deeplearningbook.org Cited by: §1, §1.Source
- Graves et al. (2014) A. Graves, G. Wayne, and I. Danihelka Neural turing machines. External Links: 1410.5401 Cited by: §5.
- Graves et al. (2016) A. Graves, G. Wayne, M. Reynolds, T. Harley, I. Danihelka, A. Grabska-Barwińska, S. G. Colmenarejo, E. Grefenstette, T. Ramalho, J. Agapiou, et al. Hybrid computing using a neural network with dynamic external memory. Nature 538 (7626), pp. 471–476. Cited by: §5.
- Graves (2016) A. Graves Adaptive computation time for recurrent neural networks. ArXiv abs/1603.08983. Cited by: §5.
- Guo et al. (2025) H. Guo, S. Yang, T. Goel, E. P. Xing, T. Dao, and Y. Kim Log-linear attention. arXiv preprint arXiv:2506.04761. Cited by: §6.
- He et al. (2015) K. He, X. Zhang, S. Ren, and J. Sun Deep residual learning for image recognition. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 770–778. Cited by: §1.
- Hihi and Bengio (1995) S. Hihi and Y. Bengio Hierarchical recurrent neural networks for long-term dependencies. In Advances in Neural Information Processing Systems, D. Touretzky, M.C. Mozer, and M. Hasselmo (Eds.), Vol. 8, pp. . Cited by: §5.
- Huntenburg et al. (2018) J. M. Huntenburg, P. Bazin, and D. S. Margulies Large-scale gradients in human cortical organization. Trends in cognitive sciences 22 (1), pp. 21–31. Cited by: §1, 1st item.
- JAX Developers (2025) JAX Developers Jax.nn.initializers.lecun_normal. Google Research. Note: Accessed June 22, 2025 External Links: Link Cited by: §2.Source
- Kahneman and Egan (2011) D. Kahneman and P. Egan Thinking, fast and slow (farrar, straus and giroux, new york). Cited by: §2.
- Kaiser and Sutskever (2016) L. Kaiser and I. Sutskever Neural GPUs learn algorithms. In ICLR, Cited by: §5.
- Kaleb et al. (2024) K. Kaleb, B. Feulner, J. Gallego, and C. Clopath Feedback control guides credit assignment in recurrent neural networks. Advances in Neural Information Processing Systems 37, pp. 5122–5144. Cited by: §1.
- Kapadia et al. (2013) M. Kapadia, F. Garcia, C. D. Boatright, and N. I. Badler Dynamic search on the gpu. In 2013 IEEE/RSJ International Conference on Intelligent Robots and Systems, Vol. , pp. 3332–3337. External Links: Document Cited by: §3.1.Source
- Kingma and Ba (2017) D. P. Kingma and J. Ba Adam: a method for stochastic optimization. External Links: 1412.6980 Cited by: §2.
- Klambauer et al. (2017) G. Klambauer, T. Unterthiner, A. Mayr, and S. Hochreiter Self-normalizing neural networks. In Neural Information Processing Systems, Cited by: §2.
- Koutník et al. (2014) J. Koutník, K. Greff, F. J. Gomez, and J. Schmidhuber A clockwork rnn. In International Conference on Machine Learning, Cited by: §5.
- Lamme and Roelfsema (2000) V. A. Lamme and P. R. Roelfsema The distinct modes of vision offered by feedforward and recurrent processing. Trends in neurosciences 23 (11), pp. 571–579. Cited by: §1.
- LeCun et al. (2002) Y. LeCun, L. Bottou, G. B. Orr, and K. Müller Efficient backprop. In Neural networks: Tricks of the trade, pp. 9–50. Cited by: §2.
- Lehnert et al. (2024a) L. Lehnert, S. Sukhbaatar, D. Su, Q. Zheng, P. McVay, M. Rabbat, and Y. Tian Beyond a*: better planning with transformers via search dynamics bootstrapping. In First Conference on Language Modeling, Cited by: §1.
- Lehnert et al. (2024b) L. Lehnert, S. Sukhbaatar, D. Su, Q. Zheng, P. McVay, M. Rabbat, and Y. Tian Beyond a*: better planning with transformers via search dynamics bootstrapping. In First Conference on Language Modeling, Cited by: §3.1, §3.2, §5.
- Li et al. (2025) X. Li, H. Zou, and P. Liu LIMR: less is more for rl scaling. External Links: 2502.11886 Cited by: §6.
- Liao and Gu (2025) I. Liao and A. GuARC-agi without pretraining(Website) External Links: Link Cited by: §3.2.Source
- Lieberman (2007) M. D. Lieberman Social cognitive neuroscience: a review of core processes. Annu. Rev. Psychol. 58 (1), pp. 259–289. Cited by: §2.
- Lillicrap et al. (2020) T. P. Lillicrap, A. Santoro, L. Marris, C. J. Akerman, and G. Hinton Backpropagation and the brain. Nature Reviews Neuroscience 21 (6), pp. 335–346. Cited by: §1.
- Lillicrap and Santoro (2019) T. P. Lillicrap and A. Santoro Backpropagation through time and the brain. Current Opinion in Neurobiology 55, pp. 82–89. External Links: ISSN 0959-4388, Document Cited by: §1, §1, 3rd item, §2.Source
- Liu and Low (2023) T. Liu and K. H. Low Goat: fine-tuned llama outperforms gpt-4 on arithmetic tasks. ArXiv abs/2305.14201. Cited by: §5.
- Long (2023) J. Long Large language model guided tree-of-thought. ArXiv abs/2305.08291. Cited by: §3.1.
- Maass (2002) W. Maass Real-time computing without stable states: a new framework for neural computation based on perturbations. Neural Computation 14 (11), pp. 2531–2560. External Links: Document Cited by: §4.Source
- Mante et al. (2013) V. Mante, D. Sussillo, K. V. Shenoy, and W. T. Newsome Context-dependent computation by recurrent dynamics in prefrontal cortex. Nature 503 (7474), pp. 78–84. External Links: Document Cited by: §4.Source
- Merrill and Sabharwal (2023a) W. Merrill and A. Sabharwal A logic for expressing log-precision transformers. In Neural Information Processing Systems, Cited by: §1.
- Merrill and Sabharwal (2023b) W. Merrill and A. Sabharwal The parallelism tradeoff: limitations of log-precision transformers. Transactions of the Association for Computational Linguistics 11, pp. 531–545. External Links: Document Cited by: §1.Source
- Merrill and Sabharwal (2024) W. Merrill and A. Sabharwal THE expressive power of transformers with chain of thought. In ICLR, Cited by: §1.
- Meta AI (2024) Meta AI Llama 3: state-of-the-art open weight language models. Technical report Meta. External Links: Link Cited by: §2.Source
- Miller and Cohen (2001) E. K. Miller and J. D. Cohen An integrative theory of prefrontal cortex function. Annual Review of Neuroscience 24 (1), pp. 167–202. External Links: Document Cited by: §4.Source
- Mnih et al. (2013) V. Mnih, K. Kavukcuoglu, D. Silver, A. Graves, I. Antonoglou, D. Wierstra, and M. A. Riedmiller Playing atari with deep reinforcement learning. ArXiv abs/1312.5602. Cited by: §2.
- Muennighoff (2025) N. Muennighoff S1: simple test-time scaling. arXiv preprint arXiv:2502.23456. Cited by: §6.
- Murray et al. (2014) J. D. Murray, A. Bernacchia, D. J. Freedman, R. Romo, J. D. Wallis, X. Cai, C. Padoa-Schioppa, T. Pasternak, H. Seo, D. Lee, et al. A hierarchy of intrinsic timescales across primate cortex. Nature neuroscience 17 (12), pp. 1661–1663. Cited by: §1, 1st item.
- Pahor and Jaušovec (2014) A. Pahor and N. Jaušovec Theta–gamma cross-frequency coupling relates to the level of human intelligence. Intelligence 46, pp. 283–290. Cited by: 2nd item.
- Palm et al. (2017) R. B. Palm, U. Paquet, and O. Winther Recurrent relational networks. In Neural Information Processing Systems, Cited by: §3.1, §3.1, §5.
- Papyan et al. (2020) V. Papyan, X. Y. Han, and D. L. Donoho Prevalence of neural collapse during the terminal phase of deep learning training. Proceedings of the National Academy of Sciences 117 (40), pp. 24652–24663. External Links: Document Cited by: §4.Source
- Park (2018) K. Park Can convolutional neural networks crack sudoku puzzles?. GitHub. Note: https://github.com/Kyubyong/sudoku Cited by: §3.1.Source
- Posani et al. (2025) L. Posani, S. Wang, S. P. Muscinelli, L. Paninski, and S. Fusi Rarely categorical, always high-dimensional: how the neural code changes along the cortical hierarchy. bioRxiv, pp. 2024–11. Cited by: Figure 8, Figure 8, §4.
- Prieto et al. (2025) L. Prieto, M. Barsbey, P. A. M. Mediano, and T. Birdal Grokking at the edge of numerical stability. In The Thirteenth International Conference on Learning Representations, Cited by: §2.
- Raichle (2015) M. E. Raichle The brain’s default mode network. Annual review of neuroscience 38 (1), pp. 433–447. Cited by: §2.
- Ramzi et al. (2021) Z. Ramzi, F. Mannel, S. Bai, J. Starck, P. Ciuciu, and T. Moreau SHINE: sharing the inverse estimate from the forward pass for bi-level optimization and implicit models. ArXiv abs/2106.00553. Cited by: §2.
- Rigotti et al. (2013) M. Rigotti, O. Barak, M. R. Warden, X. Wang, N. D. Daw, E. K. Miller, and S. Fusi The importance of mixed selectivity in complex cognitive tasks. Nature 497, pp. 585–590. External Links: Document Cited by: §4.Source
- Scellier and Bengio (2016) B. Scellier and Y. Bengio Equilibrium propagation: bridging the gap between energy-based models and backpropagation. Frontiers in Computational Neuroscience 11. Cited by: §2.
- Seely et al. (2025) J. Seely, Y. Imajuku, T. Zhao, E. Cetin, and L. Jones Sudoku-bench: evaluating creative reasoning with sudoku variants. arXiv preprint arXiv:2505.16135. Cited by: §3.1.
- Shazeer (2020) N. M. Shazeer GLU variants improve transformer. ArXiv abs/2002.05202. Cited by: §2.
- Shen et al. (2024) X. Shen, Y. Wang, X. Shi, Y. Wang, P. Zhao, and J. Gu Training large language models to reason in a continuous latent space. arXiv preprint arXiv:2412.07423. Cited by: §1, §5, §6.
- [83] Single-digit techniques. Note: https://hodoku.sourceforge.net/en/tech_singles.phpAccessed: 2025-06-16 Cited by: §3.1.Source
- Strobl (2023) L. Strobl Average-hard attention transformers are constant-depth uniform threshold circuits. External Links: 2308.03212 Cited by: §1.
- Su et al. (2025) D. Su, S. Sukhbaatar, M. Rabbat, Y. Tian, and Q. Zheng Dualformer: controllable fast and slow thinking by learning with randomized reasoning traces. External Links: 2410.09918 Cited by: §3.1, §5.
- Su et al. (2024) J. Su, M. Ahmed, Y. Lu, S. Pan, W. Bo, and Y. Liu RoFormer: enhanced transformer with rotary position embedding. Neurocomputing 568, pp. 127063. Cited by: §2.
- Sutton and Barto (2018) R. S. Sutton and A. G. Barto Reinforcement learning: an introduction. MIT Press, Cambridge, MA. Cited by: §2.
- Tort et al. (2009) A. B. Tort, R. W. Komorowski, J. R. Manns, N. J. Kopell, and H. Eichenbaum Theta–gamma coupling increases during the learning of item–context associations. Proceedings of the National Academy of Sciences 106 (49), pp. 20942–20947. Cited by: 2nd item.
- Vaswani et al. (2017) A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, Ł. Kaiser, and I. Polosukhin Attention is all you need. In Advances in neural information processing systems, pp. 5998–6008. Cited by: §2.
- Villalobos et al. (2022) P. Villalobos, A. Ho, J. Sevilla, T. Besiroglu, L. Heim, and M. Hobbhahn Will we run out of data? limits of llm scaling based on human-generated data. arXiv preprint arXiv:2211.04325. Cited by: §1.
- Wang et al. (2024) H. Wang, S. Ma, L. Dong, S. Huang, D. Zhang, and F. Wei Deepnet: scaling transformers to 1,000 layers. IEEE Transactions on Pattern Analysis and Machine Intelligence. Cited by: §1.
- Wang et al. (2025) Y. Wang, Q. Yang, Z. Zeng, L. Ren, L. Liu, B. Peng, H. Cheng, X. He, K. Wang, J. Gao, W. Chen, S. Wang, S. S. Du, and Y. Shen Reinforcement learning for reasoning in large language models with one training example. External Links: 2504.20571, Link Cited by: §6.Source
- Wei et al. (2022) J. Wei Y. Tay et al. Chain-of-thought prompting elicits reasoning in large language models. Note: arXiv preprint arXiv:2201.11903 Cited by: §1.
- Wen et al. (2025) L. Wen, Y. Cai, F. Xiao, X. He, Q. An, Z. Duan, Y. Du, J. Liu, L. Tang, X. Lv, H. Zou, Y. Deng, S. Jia, and X. Zhang Light-r1: curriculum sft, dpo and rl for long cot from scratch and beyond. External Links: 2503.10460 Cited by: §6.
- Westbrook and Braver (2015) A. Westbrook and T. S. Braver Cognitive effort: a neuroeconomic approach. Cognitive, Affective, & Behavioral Neuroscience 15, pp. 395–415. Cited by: §2.
- Whittington et al. (2020) J. C. Whittington, T. H. Muller, S. Mark, G. Chen, C. Barry, N. Burgess, and T. E. Behrens The tolman-eichenbaum machine: unifying space and relational memory through generalization in the hippocampal formation. Cell 183 (5), pp. 1249–1263. Cited by: §5.
- Xie and Li (2024) S. Xie and Z. Li Implicit bias of adamw: l inf norm constrained optimization. ArXiv abs/2404.04454. Cited by: §2.
- Xu et al. (2024) R. Xu, Z. Qi, and W. Xu Preemptive answer "attacks" on chain-of-thought reasoning. In Annual Meeting of the Association for Computational Linguistics, Cited by: §1.
- Zeraati et al. (2023) R. Zeraati, Y. Shi, N. A. Steinmetz, M. A. Gieselmann, A. Thiele, T. Moore, A. Levina, and T. A. Engel Intrinsic timescales in the visual cortex change with selective attention and reflect spatial connectivity. Nature communications 14 (1), pp. 1858. Cited by: §1, 1st item.
- Zhang and Sennrich (2019) B. Zhang and R. Sennrich Root mean square layer normalization. ArXiv abs/1910.07467. Cited by: §2.
- Zhu et al. (2021) Z. Zhu, T. Ding, J. Zhou, X. Li, C. You, J. Sulam, and Q. Qu A geometric analysis of neural collapse with unconstrained features. In Advances in Neural Information Processing Systems, NeurIPS, Vol. 34, pp. 29820–29834. Cited by: §4.