How Recurrent Reasoning Architectures Think with Fewer Tokens
Recurrent reasoning shifts part of inference-time compute from long visible chains of thought into shared-weight loops inside the model. This article explains the mechanism, engineering tradeoffs, reported results, deployment choices, and scenarios where extra internal depth can raise accuracy while shortening output.
Large language models usually gain capability in three ways: larger parameter counts, stronger post-training, and more compute at inference time. The first two are constrained by training cost and data quality. The third often inflates output tokens, which raises latency and cost. A recurrent reasoning architecture tries to move some of that inference-time compute out of an explicit chain of thought and into the model itself. It does not substantially increase the parameter count, and it does not depend on longer outputs. Instead, shared weights and multiple execution rounds increase effective network depth. This article covers the architecture, engineering optimizations, experimental results, deployment tradeoffs, and application scenarios.
From Post-Training to Base-Model Changes
Post-training the same base model can improve instruction following, reasoning, and coding, but its ceiling is still limited by the base architecture. If the bottleneck is insufficient network depth, or if a hard task simply needs more intermediate computation, post-training alone may not keep breaking through. Recurrent reasoning returns to the base model: some layers share weights and run for two rounds, so the second round continues from the state produced by the first. The result is effectively a deeper network, while parameters do not grow linearly with the number of rounds.
This is fundamentally different from simply lengthening the chain of thought. A longer chain of thought spends more tokens on reasoning. The process is readable and easier to supervise, but output length, latency, and cost rise together. Recurrent reasoning places part of the computation in hidden-layer loops. The model can still emit a chain of thought, but it does not have to write every intermediate step as tokens. In the comparison described in the source material, output length fell by 10% to 14%, and most of the reduction came from the chain of thought. That suggests some reasoning moved from the token stream into the extra depth created by recurrence.
The recurrent structure is not pretrained from scratch. A more practical path starts from a pretrained base model and continues training so that it can execute recurrently, spending a relatively small amount of compute to raise the capability ceiling. Existing knowledge is retained, and the change focuses on computational depth and how state is written back.
Shared Weights, Two Rounds, and State Write-Back
The core idea is shared weights, multi-round execution, and gradual write-back. In a two-round loop, the first round builds a global context state and the second refines it and writes the result back more fully. Because both rounds use the same layer parameters, parameter count does not double with the number of rounds. The computation graph does become deeper, so the second round can reason further from the first-round state. In pseudocode:
for token in sequence:state = base_forward(token, residual_stream)for round in range(2):candidate = shared_block(state, shared_weights)alpha = gate(state, token, round)state = state + alpha * candidateif round == 0:sparse_kv = build_sparse_kv(state)index = build_sparse_index(state)else:sparse_kv = merge(sparse_kv, sliding_window_kv(state))output = write_back(state)
The first key design is per-token gated, gradual write-back. Each round produces a candidate update. Overwriting the residual stream entirely can destroy the context built in the first round. Writing nothing back means the second round cannot refine the result. Gradual write-back adds a fraction of the candidate change to the residual stream, and a gate sets that fraction from the token and the round. The first round can stay conservative while it establishes global state; the second can write more fully while it refines the output. The gate balances keeping the original state with absorbing new computation.
The second design shares the KV cache across rounds. Recurrence increases attention compute and cache cost. Keeping a full second copy of the first-round cache would raise memory use quickly. Cross-round sharing reuses the sparse KV from the first round. The second round adds only a sliding-window KV and does not keep an entire extra cache. The second round can still see the context built earlier, while new cache growth stays bounded.
The third design reuses the sparse attention index. The second round uses the index from the first round instead of paying to build another one. This follows the idea of reusing indexes across layers: the indexer does not have to be rebuilt every round, which lowers retrieval cost on long text. Together, these three optimizations keep the deployment-cost increase of the recurrent structure relative to a non-recurrent one under control.
Accuracy Gains and Shorter Outputs
The results come from a same-parameter comparison. The control model uses the same base architecture, at roughly 30 billion parameters, and is evaluated in thinking mode after supervised fine-tuning on 200K long-text data. Training compute increases by about 10%. With recurrence enabled, math reasoning rises from 19.17 to 30.42, expert-level question answering from 47.58 to 56.26, and multi-task language understanding from 71.65 to 75.05. Average output length drops 10% to 14% across several benchmarks, mostly because the chain of thought is shorter.
Two signals follow. First, the extra depth from recurrence can become real complex-reasoning ability, especially on multi-step math and expert question answering, where the model needs more intermediate computation rather than more surface text. Second, shorter outputs show that thinking with fewer tokens is feasible: some reasoning is compressed into hidden-layer loops, so the explicit chain of thought does not have to carry every step. Results still depend on decoding settings, prompt templates, and task mix, so a target deployment should be retested in its own setting.
On speed, off-peak throughput can reach about 200 tokens per second, and peak throughput is 70 to 80 tokens per second. Recurrence increases compute per token, but cache sharing, index reuse, and gated write-back keep inference cost from running away. The peak slowdown is mainly resource contention and batch scheduling. Capacity planning by time of day, a dynamic loop switch, and batch-size tuning can balance throughput and latency.
More Rounds Are Not Automatically Better
The cost shows up in memory and inference overhead. More rounds increase effective depth, but returns can diminish while latency and cache pressure rise roughly linearly. Two rounds are a compromise: the first builds context and the second refines it. Simple classification or short rewriting may need only one round. Long-text analysis, multi-step code generation, and complex planning are more likely to benefit from two.
In engineering terms, a dynamic policy can route easy tasks through one round and hard tasks through two, using a lightweight complexity check. For long text, sliding-window size and the fraction of sparse KV retained should be limited. Write-back gates should have a cap so the second round does not overwrite the first-round state too aggressively. Index reuse should be monitored for recall quality so reused indexes do not drop needed attention. Continued training also has to watch catastrophic forgetting and keep the original base ability balanced with the new recurrent behavior.
On openness, the application interface is opened after a safety evaluation, and model weights are planned for release. That helps reproduction and ecosystem checks, but it still needs licensing, safety evaluation, and abuse controls. Open weights do not mean frictionless deployment. Memory optimization, cache management, and inference scheduling remain essential.
Programming as a Base Skill for Broader Tasks
Recurrent reasoning fits work that needs multi-step reasoning and is sensitive to output-token cost. Programming is a clear case. Code generation is not only text completion. It includes understanding requirements, planning structure, calling interfaces, fixing errors, and checking results. Cases listed in the source technical discussion fall into three patterns: drawing frames in real time with front-end code and calling an audio model to make a music video; using mathematical geometry and shaders to build an interactive 3D scene; and using CAD and 3D modeling tools to model a robotic arm and simulate its motion. They share multi-step planning, cross-tool collaboration, and immediate feedback. Recurrence can do part of that reasoning internally and shorten the explicit chain of thought.
These uses still need a code-execution sandbox, permission control, result checks, and human review. Extra internal depth does not replace engineering safety boundaries. Evaluation should freeze decoding settings and report accuracy, output length, time to first token, and total latency separately. In production, gate write-back ratios, KV-cache hit rates, and index-reuse recall should be monitored so fewer tokens do not come at the expense of reliability.
Overall, recurrent reasoning sits between scaling parameters and scaling output tokens. Shared weights add depth, gated write-back keeps state stable, and cache and index reuse control cost. The value is not recurrence by itself. It is placing the extra compute where it is most useful, so the model can think more deeply with fewer explicit tokens.
