How Recurrent Reasoning Architectures Let LLMs Think with Fewer Tokens
This article explains how recurrent Transformer architectures reuse the same layers across multiple computation passes to increase a model's effective reasoning depth without proportionally increasing parameters. It covers the core mechanics of recurrent Transformers, why internal computation can reduce visible output tokens, how a pretrained base model can be converted into a recurrent one, and three inference optimizations—token-level gated write-back, cross-round KV Cache sharing, and sparse attention index reuse—needed to deploy these models at scale. Readers will also find benchmark results, deployment tradeoffs around throughput and latency, and practical guidance for application developers on shifting from longer outputs toward deeper internal verification.
As large models keep scaling, model size is not the only path to stronger capability. The conventional approach is to add layers, increase parameter count, or extend the chain of thought—but each of these raises training cost, memory usage, inference latency, and the number of output tokens at the same time. A more interesting direction in recent years is the recurrent Transformer: the same set of network layers is executed repeatedly, increasing the effective computational depth a model actually goes through without a proportional increase in parameters.
Public technical material indicates that a flagship-class large model has begun adopting this kind of recurrent reasoning architecture, converting some layers of the base model into a weight-sharing recurrent module and running two computation passes. The first pass mainly builds the context representation; the second pass continues to reason and refine the result based on the intermediate state formed by the first. The core goal is not simply to “compute one more time,” but to move part of the reasoning that would otherwise require a longer chain of thought into extra internal computation steps—achieving effective thinking with fewer output tokens.
How Recurrent Transformers Work
A standard Transformer executes multiple layers in a fixed order. If the input passes through layer 1 to layer L to produce the final output representation, it can be written simply as:
h1 = F1(h0)h2 = F2(h1)...hL = FL(hL-1)
Here, each layer usually has its own independent parameters. As model depth increases, expressive power and reasoning ability may improve, but parameter count, training cost, and deployment resources grow as well.
A recurrent Transformer instead tries to reuse the same set of parameters:
h' = F(h)h'' = F(h')
Here F can be understood as a group of Transformer layers with shared weights. Although the parameters do not grow in proportion to the number of executions, the information undergoes more transformations within the network, so the model has a larger effective computational depth.
This design differs clearly from simply adding layers. Adding independent layers means adding new parameter capacity, whereas recurrent execution emphasizes repeatedly processing existing representations. The first pass can handle information aggregation, global semantic modeling, and initial planning; the second pass then verifies, corrects, and refines the existing result. For tasks such as mathematical reasoning, code generation, and complex planning, this “form a plan first, then refine it” style of computation is especially valuable.
Why Recurrent Computation Reduces Output Tokens
A large model’s reasoning usually unfolds through a chain of thought. The model must generate many intermediate tokens to progressively express problem decomposition, hypothesis validation, and answer correction. A longer chain of thought generally means higher reasoning cost, and it also increases context length, cache usage, and time to first byte.
Recurrent reasoning offers another path: part of the intermediate derivation is no longer emitted entirely as visible text, but is completed within the hidden states.
The two approaches can be compared abstractly:
Traditional approach:Question -> generate a long chain of thought -> summarize the answerRecurrent approach:Question -> first internal pass -> second internal refinement -> generate the answer
In the second approach, the model performs more computation internally, but the reasoning text emitted externally may be shorter. It is worth emphasizing that this does not mean the model no longer needs to think; rather, part of the thinking process moves from the token sequence into the network’s computation.
Public comparison experiments show that, under the same parameter count and similar training conditions, enabling the recurrent structure improved multiple reasoning and knowledge evaluation metrics; at the same time, on some general capability benchmarks, the average output length dropped by roughly 10% to 14%. This result indicates that the model does not achieve higher scores simply by “saying more,” but instead raises the effective information density per token through deeper internal computation.
Converting a Trained Base Model into a Recurrent Model
One of the engineering advantages of the recurrent structure is that it does not necessarily require pretraining from scratch. Existing technical approaches attempt to further convert a fully pretrained base model into a recurrent model, using additional training to adapt it to the computation style of “reusing the same set of parameters across multiple passes.”
This conversion usually needs to solve three problems.
First, the model must learn the division of responsibilities across computation passes. If every pass performs exactly the same operation, the recurrent computation may only produce repeated results and yield no effective gain. Therefore, the first pass is better suited to establishing a stable context state, while the second pass should focus on error correction, detail supplementation, and result convergence.
Second, the model must adapt to the shift in the distribution of intermediate states. After the first pass, the hidden states already differ from the original input distribution. Feeding them directly into the shared layers could cause unstable training or representation degradation, so the training process needs to gradually guide the model to learn the new state-transition patterns.
Third, the computational cost of the conversion phase must be controlled. Comparison experiments in public material show that this kind of recurrent conversion can be completed with only about a 10% increase in additional training compute, which shows that its value lies not only in the theoretical reuse of parameters but also in the ability to leverage existing model capability at relatively low cost.
Three Inference Optimizations for Large-Scale Models
While the recurrent structure saves parameters, it increases the number of computation passes. If the full attention cache and intermediate data of every pass are kept, memory usage and inference overhead can still grow rapidly. Therefore, the key to deploying this at hyper-scale is to reduce duplicated data and duplicated retrieval.
1. Token-Level Gated Write-Back
One feasible method is to introduce a token-level gating mechanism so that the candidate changes produced by each pass are written back into the residual stream at a certain ratio, rather than unconditionally overwriting the existing state.
This can be abstracted as:
h_next = h_base + g(x) * delta
Here, h_base denotes the current residual state, delta denotes the change computed in this pass, and g(x) denotes the token-dependent gating coefficient.
This has two benefits: first, it avoids the second pass excessively perturbing the effective information already formed by the first pass; second, it allows different tokens to adopt different degrees of update. For content that is already fully determined, the model can reduce modifications; for positions that are ambiguous or need deeper derivation, it can retain more information from the second pass.
In terms of functional division, the first pass usually builds the global context and coarse-grained structure, while the second pass handles refinement, correction, and full write-back in key regions. This progressive update is better suited to complex tasks than simply repeating the execution.
2. Cross-Round KV Cache Sharing
The Key and Value caches in the attention mechanism are an important part of autoregressive inference. If the second pass regenerates and fully stores a separate KV Cache, memory usage increases significantly, especially in long-context and hyper-scale model scenarios.
Therefore, in engineering practice, the second pass can reuse the sparse KV already generated by the first pass, generating new cache only for the newly added sliding-window range. The idea is:
First pass: generate global sparse KVSecond pass: reuse existing sparse KV + update local window KV
This approach reduces duplicated caching and lowers memory-bandwidth pressure. But it is not without limits: if a task relies heavily on local detail, a sliding window set too small may leave insufficient information; if the window is too large, it weakens the memory savings. Thus, window size, sparsity ratio, and cache update strategy need to be jointly tuned against context length, task type, and hardware bandwidth.
3. Reusing Sparse Attention Indices
Sparse attention usually requires first determining which positions the current token should attend to. If the index search is re-executed every pass, it cancels out part of the benefit brought by recurrent computation.
Therefore, the second pass can directly reuse the sparse attention indices generated by the first pass, concentrating the added computation on representation updates rather than repeating a full retrieval. This method is especially suitable for tasks with relatively stable context structure, because the first pass has already completed the main relevance judgment, and the second pass mostly performs deep processing within the established attention range.
However, index reuse also needs an appropriate update mechanism. For scenarios such as abrupt topic switches, cross-section references in long documents, or complex code dependencies, a fixed index may fail to cover newly appeared key positions. A real system can consider periodically refreshing the index, or triggering re-retrieval only for high-uncertainty tokens.
The Impact of the Recurrent Architecture on Model Capability
The public same-parameter comparison experiment used long-text supervised fine-tuning and evaluated the model with reasoning mode enabled. The results showed that the recurrent version achieved clear improvements on multiple math, science Q&A, and general comprehension tasks. For example, a math evaluation metric rose from 19.17 to 30.42, a hard science Q&A metric rose from 47.58 to 56.26, and a general language comprehension metric rose from 71.65 to 75.05.
These data points illustrate at least three things.
First, the gains from recurrent computation are not limited to math problems. Science Q&A and general comprehension tasks benefit as well, indicating that the extra computational depth may strengthen information integration, conditional judgment, and answer verification.
Second, the capability improvement comes from a change in the base-level computation method, not merely from post-training data or instruction templates. Unlike relying only on post-training to improve output style, the recurrent structure directly changes the model’s internal information-transformation path.
Third, model quality and output length can improve at the same time. Typically, raising accuracy on complex tasks may require generating longer reasoning text, whereas the recurrent structure offers another tradeoff: increase internal computation while reducing external expression.
Deployment Considerations
Recurrent reasoning does not mean every scenario is necessarily faster. It reduces the number of generated tokens but increases the internal computation per token, so it must be evaluated with end-to-end metrics.
The first is throughput. Public material shows that this class of model can reach roughly 200 tokens per second under non-peak conditions and about 70 to 80 tokens per second under peak conditions. But such figures are usually affected by hardware configuration, concurrency, context length, batching strategy, and service load, and should not be treated as fixed performance across all deployment environments.
The second is time to first token. If the recurrent computation is concentrated in the early stage of generation, it may increase the wait for the first token; if the computation is optimized with pipeline parallelism, the perceived latency can be reduced. For interactive applications, time to first token, full response time, and total output tokens should be measured together.
The third is memory management. Cross-round KV Cache sharing can reduce the cache increment, but a recurrent model still needs to store more intermediate states. Deployment should combine general techniques such as tensor parallelism, pipeline parallelism, quantization, paged caching, and dynamic batching to avoid a local optimization being canceled out by an overall memory bottleneck.
The last is task suitability. The recurrent architecture is better suited to tasks that require multi-step reasoning, complex planning, and long-context understanding. For simple classification, short-text rewriting, or fixed-format extraction, the extra recurrent passes may bring unnecessary computational overhead, so a system can dynamically choose whether to enable deep reasoning based on task difficulty.
Takeaways for Application Developers
For developers, the biggest change brought by the recurrent reasoning architecture is that model capability is no longer determined entirely by output length. Application design can shift from “allowing the model to generate longer answers” toward “letting the model complete more verification internally.”
In code generation, the model can first establish the overall structure, then check dependencies, boundary conditions, and potential errors; in data analysis, it can first understand fields, then perform anomaly checks; in AI agent scenarios, it can first form an action plan, then review the order and results of tool calls.
The application layer should also pay attention to the cost structure after output tokens decrease. If internal computation increases but external output shortens, a new balance may emerge among cost, latency, and bandwidth. When selecting a model, enterprises should not compare only parameter count or per-token price, but should measure the full cost of a task, including input processing, internal reasoning, output generation, cache usage, and failed retries.
Overall, the recurrent Transformer represents a technical path that “trades computational depth for parameter count and internal reasoning for output length.” It cannot replace larger parameter counts, higher-quality data, or more complete post-training, but it can further unlock a model’s potential on top of an existing foundation. As gated write-back, cache sharing, sparse attention, and dynamic reasoning strategies continue to mature, this class of architecture is expected to become an important engineering direction for large models to reduce token consumption and improve reliability on complex tasks.
