Recurrent Reasoning Architecture: How to Achieve Deep Thinking with Fewer Tokens
This article explains how recurrent reasoning architectures move part of the reasoning process from explicit chain-of-thought tokens into internal computation depth. It covers the core principle of weight-shared recurrent layers, three key engineering optimizations—per-token gated writeback, cross-round KV cache sharing, and sparse attention index reuse—and reviews benchmark results, throughput observations, and deployment considerations for evaluating this architecture at real-world scale.
Recurrent Reasoning Architecture: How to Achieve Deep Thinking with Fewer Tokens
1. Background: Longer Chains of Thought Don’t Equal Better Reasoning Efficiency
Large language models typically improve reasoning capability in three ways: scaling up parameters, strengthening post-training, or generating longer chains of thought. The first two depend on training resources, while the third directly drives up inference costs: every additional token in a chain of thought increases decoding computation, memory bandwidth consumption, and user wait time. For tasks such as code generation, complex question answering, and multi-step planning, longer chains of thought do produce more complete derivations—but they also tend to create output that is long while carrying a low density of useful information.
A direction worth exploring is this: can part of the reasoning be shifted from the explicit token stream into the model’s internal computation depth? In other words, instead of writing every intermediate step out as text, the model could perform additional rounds of internal computation and deliver the final result with fewer output tokens. Recurrent reasoning architectures are an architectural redesign built around exactly this idea.
2. Architecture Principle: Weight-Shared Recurrent Execution Deepens the Network
Conventional deep networks maintain independent parameters for each layer; the deeper the network, the larger the parameter count and memory footprint. A recurrent reasoning architecture instead converts a subset of the base model’s layers into shared weights and runs multiple rounds of computation through the same set of layers. According to publicly available technical material, one implementation converts 28 layers of the base model into shared weights and executes them for two rounds, increasing the model’s effective computation depth without increasing the parameter count. The base model is approximately 750B parameters.
This “recurrence” is not simply repeating the same computation. The first round establishes a global context state, and the second round continues reasoning on top of the first round’s output—so the input seen by the second round already contains intermediate representations formed in the first. Effectively, the model gains a deeper computation path without a corresponding expansion in parameter scale.
Equally important is the conversion path: rather than pretraining a recurrent architecture from scratch, an already pretrained base model undergoes further training to be converted into a recurrent structure, trading a modest compute investment for a higher ceiling on capability. The benefit is that existing base model capabilities are reused, reducing the risk and cost of retraining. The challenges lie in recurrent writeback, gating stability, and inference cache management.
3. Three Engineering Optimizations: Making Recurrence Deployable at Very Large Scale
The main cost of a recurrent structure is memory and inference overhead. For a 750B-scale model, if the second round fully preserves the first round’s cache, deployment costs climb rapidly. Publicly available material describes three changes targeting writeback, caching, and index retrieval respectively.
3.1 Per-Token Gated Progressive Writeback
The first optimization is per-token gated progressive writeback: each round’s candidate changes are written back into the residual stream proportionally. The first round establishes the global context state, and the second round refines results and writes them back fully. The core logic can be understood through the following pseudocode:
for token in sequence:h0 = embedding(token)h1 = shared_block(h0, kv=kv_round1)gate = sigmoid(W_g * h1)h_mid = h0 + gate * (h1 - h0)h2 = shared_block(h_mid, kv=kv_round1 + sliding_kv_round2)h_out = h_mid + writeback(h2)
The gate does not simply add values; it controls the strength with which candidate changes are written back into the residual stream. If the writeback ratio is too strong, representations may be amplified redundantly; if too weak, the second round’s refinement barely takes effect. Progressive writeback lets the first round form a stable context before the second round refines the results, striking a balance between training stability and expressive power.
3.2 Cross-Round KV Cache Sharing
The second optimization is cross-round KV cache sharing: the second round reuses the first round’s sparse KV and adds only a sliding-window KV, rather than retaining a complete separate cache. The direct benefit is lower memory usage and reduced cache bandwidth pressure. For long-context tasks, the KV cache is often the dominant deployment cost; if each round keeps a full copy of the cache, the depth gains from recurrence can easily be wiped out by cache costs.
Cross-round sharing requires consistency in positional encoding, masking, and sparse indexing. In practice, the lifecycle of the first round’s cache and the read range of the second round must be carefully managed to avoid cache corruption or misaligned visibility windows. According to public material, this design keeps the deployment cost increase of the new model generation relative to the previous one under control.
3.3 Sparse Attention Index Reuse
The third optimization is having the second round directly reuse the first round’s sparse attention indices, adding no retrieval overhead. Sparse attention typically requires computing indices first to determine which positions participate in attention computation; re-retrieving in the second round would introduce extra overhead. Reusing the first-round indices effectively lets the second round continue refining within the attention scope already established by the first.
This design extends the idea of cross-layer index reuse, but applying it to a recurrent structure demands more care: the quality of the first-round indices directly affects the second round’s visible range. During training, the indices should remain valid for both rounds of computation; during inference, it is important to monitor whether index reuse causes critical information loss in long-context scenarios.
4. Results and Trade-offs: What the Controlled Experiments Show
Public technical material reports a controlled experiment at the 30B parameter scale: the comparison model shares the same architecture as the 750B base model, and after supervised fine-tuning on the order of 200K-token long-context data, it was evaluated with thinking enabled, with training compute increasing by roughly 10%. After enabling recurrence, math competition benchmarks improved from 19.17 to 30.42, expert Q&A from 47.58 to 56.26, and general knowledge from 71.65 to 75.05.
Even more notable is the change in output length: on expert Q&A and general knowledge evaluations, average output length dropped by 10% to 14%, with the reduction coming mainly from the chain of thought. In other words, part of the reasoning shifted from the token stream into the extra computation depth provided by recurrence—the model thinks with fewer tokens. For developers, this means user-visible decode length and token costs may decrease, but the computation behind each individual token increases. Whether the trade-off pays off depends on task type, concurrency scale, hardware utilization, and cache hit rates.
5. Performance and Deployment: Throughput, Latency, and Cost Control
Publicly reported throughput observations are up to 200 tokens/s during off-peak hours and 70–80 tokens/s during peak hours. This gap shows that the deployment performance of a recurrent architecture depends heavily on concurrency pressure and scheduling strategy. When deploying in practice, pay attention to the following:
- Batching strategy: Recurrent computation increases per-request compute, requiring finer-grained batching and length bucketing to prevent short and long requests from dragging each other down.
- Cache management: Cross-round KV sharing and sliding-window caches need sensible lifecycles to prevent cache bloat under long contexts.
- Monitoring and alerting: Beyond throughput and latency, monitor output length distribution, chain-of-thought proportion, cache hit rates, and error rates.
- Capacity planning: Peak-hour throughput degradation should be factored into capacity redundancy planning—do not treat off-peak throughput as sustained service capability.
6. Generalized Coding: Code as a Universal Task Substrate
The architecture has been positioned as enabling “generalized coding”—making code the foundational capability for accomplishing a broader range of tasks. Publicly cited examples include using front-end code to render visuals in real time while calling a music generation service to produce a music video; using mathematical geometry and shaders to generate interactive 3D scenes; and completing robotic arm modeling and motion simulation through a general modeling and rendering toolchain.
What these tasks share is strong multi-step constraints, heavy context dependence, and the need for repeated refinement. Recurrent reasoning moves part of the refinement inside the model, shortening the explicit chain of thought and helping reduce interaction rounds and token consumption. For developers evaluating this kind of architecture, the right metrics are not just per-benchmark scores, but also the runnability of generated code, the cost of revisions, long-context consistency, and total cost per task.
7. Adoption Recommendations and Risk Boundaries
First, build a task-level evaluation set. Beyond math, Q&A, and general knowledge, include scenarios such as code repair, long-document understanding, and multi-step tool calling—while recording accuracy, output length, latency, and cost together.
Second, verify cache and index reuse consistency. Cross-round KV sharing and sparse index reuse reduce costs, but they require stress testing on long texts, sparse information distributions, and boundary positions.
Third, watch for the risk of error amplification introduced by recurrence. Deepening computation can also amplify first-round errors; gated writeback ratios, index visibility ranges, and training data distributions all require ongoing monitoring.
Fourth, safety evaluation should match the release pace. Architectural conversions of this kind typically need to pass safety evaluation before services are opened up, and weight releases should be accompanied by appropriate licenses and risk disclosures.
8. Conclusion
The core value of a recurrent reasoning architecture is not simply making the model “think longer”—it is shifting reasoning cost from explicit token generation into internal recurrent computation, effectively deepening the network without increasing parameters. Per-token gated writeback, cross-round KV cache sharing, and sparse index reuse are the key engineering techniques that make this approach deployable at very large parameter scales. For developers and enterprises, evaluating such solutions means looking at accuracy, token efficiency, throughput, and deployment cost together, rather than fixating on a single benchmark score. Deep thinking with fewer tokens ultimately comes down to cost per task and the ability to deliver reliably at scale.
