Recurrent Reasoning Architectures: How LLMs Can Think with Fewer Tokens

    This article explains how recurrent reasoning architectures improve large language model capability by increasing effective computational depth rather than parameter count. It covers the core mechanism of looped Transformers, progressive state write-back, and why output tokens can drop even as reasoning quality rises. It also details three engineering optimizations for very large models—token-wise gated write-back, cross-round KV cache reuse, and sparse attention index reuse—along with public benchmark results, speed and cost tradeoffs, the broader meaning of "general-purpose programming," and practical guidance for enterprise evaluation and deployment.

    1. From Stacking Parameters to Increasing Effective Computational Depth

    Improving large model capability usually relies on scaling up parameters, adding training data, or extending the reasoning process. But simply adding parameters raises memory, communication, training-cycle, and deployment costs in lockstep; simply lengthening the output chain of thought increases token consumption, response latency, and inference cost.

    Recurrent reasoning architectures offer another approach: instead of noticeably enlarging the parameter count, they let the same set of network layers participate in computation repeatedly. The model first completes one round of basic reasoning to form an overall understanding of the input, then hands the intermediate state produced by the first round to a second round for further processing. The parameter count stays essentially unchanged, yet the same parameters traverse a longer computational path, effectively forming a deeper network.

    The core of this approach is not as simple as “running twice.” If the second round merely reprocesses the original input mechanically, the gains are often limited and can produce substantial redundant computation. What truly matters is how to preserve the context state formed in the first round and let the second round refine, complete, and polish around those states.

    2. The Basic Mechanism of Recurrent Transformers

    Conventional networks typically propagate from input to output through a fixed number of layers. If a model has several layers, each with independent parameters, then increasing depth means increasing the parameter count. A recurrent structure instead allows a multi-layer network to share parameters and reuse them across different computation rounds.

    One round of recurrent reasoning can be abstracted as the following process:

    1. Input sequence
    2. ↓
    3. Round 1: build context, identify task structure, generate an initial state
    4. ↓
    5. State write-back: fuse candidate updates into the residual stream by a ratio
    6. ↓
    7. Round 2: correct errors, fill in details, deepen reasoning
    8. ↓
    9. Output result

    Here, the residual stream can be understood as the main state continuously passed between layers. If every round directly overwrote the existing state, the model could suffer from information oscillation or over-modification of early conclusions. A more robust approach is a progressive write-back mechanism:

    1. new state = old state × (1 - α) + candidate state × α

    The value of α is not necessarily fixed; it can be adjusted dynamically based on token position, layer, or reasoning stage. The first round usually emphasizes establishing global context, while the second round leans toward detail correction and result convergence.

    3. Why Output Tokens Can Be Reduced

    A chain of thought is essentially the explicit writing of part of the computation into the token sequence. The model preserves its reasoning trace by generating more intermediate text, and these tokens occupy the context window and add decoding latency.

    Recurrent architectures instead try to move part of the reasoning process into the model’s internal hidden-state computation. In other words, the model does not have to “say” every intermediate step; it completes some state transformations through an extra round of network computation.

    This does not mean the chain of thought disappears entirely, but rather that reasoning information is redistributed between two carriers:

    1. Part of the reasoning is still expressed through explicit tokens, which helps the model organize complex steps;
    2. Another part is handled by recurrent computation, reducing redundant natural-language expansion;
    3. The final output retains only the content that is useful for the task.

    Public controlled experiments show that, at the same parameter scale, enabling recurrent computation improved accuracy on both complex math reasoning and knowledge-QA tasks, while average output length on some benchmarks dropped by roughly 10% to 14%. This indicates that “shorter output” does not necessarily mean “less thinking”; it may also mean the model has moved more work into an internal computation stage.

    4. Three Engineering Optimizations for Very Large Models

    Recurrent structures add computational and memory pressure, especially in models with enormous parameter counts. If the full intermediate result of every round were stored directly, deployment costs could rise quickly. Engineering implementations therefore typically optimize around caching, attention, and state updates.

    4.1 Token-Wise Gated Write-Back

    Not all tokens carry equal importance. Key conditions in a question, control statements in code, and entity relationships in long text often need more thorough second-pass processing, whereas formatting symbols or repetitive content do not need equally strong updates.

    A token-wise gating mechanism can decide the write-back ratio for each position based on the current state. The first round mainly establishes global structure, and the second round focuses on the parts with higher uncertainty and stronger dependencies. This avoids subjecting every token to equally intensive repeated computation and also helps improve the stability of the recurrent process.

    4.2 Cross-Round KV Cache Reuse

    In autoregressive inference, the KV cache stores the intermediate results formed when historical tokens pass through the attention projection. If the second round rebuilt the full cache, it would incur substantial memory usage and computation overhead.

    A more resource-efficient approach is for the second round to directly reuse part of the sparse KV already generated in the first round, generating new cache only for newly added content or a local sliding window. This preserves the necessary historical information while avoiding duplication of the entire cache.

    This design is especially important for long-context scenarios. As input length grows, the memory pressure of a full cache keeps increasing, whereas local updates keep the additional overhead within a relatively controllable range.

    4.3 Reusing Sparse Attention Indices

    Sparse attention typically requires first determining which tokens are worth connecting. If the attention connections were re-searched every round, it would add retrieval and index-construction costs.

    Recurrent reasoning can directly reuse the sparse attention indices generated in the first round. The first round discovers important associations, and the second round performs deeper state updates over the same association structure. For long-text, code, and document tasks with relatively stable structure, this reduces repeated retrieval and lowers additional latency.

    However, index reuse has boundaries. If the second round produces entirely new dependencies, a fixed index may limit the model’s ability to discover new information. A practical system can therefore adopt a “base index reuse plus a small amount of dynamic supplementation” approach, balancing efficiency and expressive power.

    5. Capability Changes Reflected in Public Experiments

    In a set of controlled experiments at the same parameter scale, the recurrent-architecture model kept a base structure close to the original architecture and was evaluated for inference after long-text supervised fine-tuning. The experiments showed that training compute increased by only about 10%, yet metrics on several complex tasks improved:

    • Math competition tasks rose from 19.17 to 30.42;
    • High-difficulty science QA tasks rose from 47.58 to 56.26;
    • General knowledge and reasoning tasks rose from 71.65 to 75.05.

    These numbers show that the value of recurrent computation is not merely extending reasoning time, but changing how the model processes information internally. The first round can quickly build a problem representation, and the second round has the chance to re-examine key assumptions, correct local errors, and complete a fuller state fusion.

    It is worth noting, however, that improvement on a single benchmark does not mean all tasks benefit. For simple classification, short-text rewriting, and fixed-format generation, the extra round may yield limited gains; for multi-hop reasoning, code analysis, complex planning, and long-context understanding, recurrent computation is more likely to make a difference.

    6. Speed, Cost, and Deployment Tradeoffs

    Public information indicates that this class of model can reach a top inference speed of about 200 tokens/second in off-peak environments and about 70 to 80 tokens/second in peak environments. Actual experience is also affected by concurrency, input length, output length, hardware configuration, batching strategy, and service scheduling, so a single speed test should not be equated with performance across all production scenarios.

    When deploying, it is advisable to evaluate along three dimensions:

    6.1 Per-Request Cost

    Although a recurrent architecture may reduce output tokens, the internal computation rounds increase, so the compute per request does not necessarily drop. Input tokens, output tokens, internal computation time, and memory usage should all be measured together, not just output length.

    6.2 End-to-End Latency

    For interactive applications, both first-token latency and full response time matter. Recurrent computation may increase first-round processing cost, but if it significantly reduces output tokens, overall response time may still fall.

    6.3 Concurrent Throughput

    In high-concurrency scenarios, KV cache and memory management are often more likely to become bottlenecks than theoretical compute. Cross-round cache reuse can reduce additional memory pressure, but it still needs to be validated together with batching, cache eviction, and request-scheduling strategies.

    7. The Practical Meaning of “General-Purpose Programming”

    Recurrent reasoning architectures are often used to extend a model’s programming ability, but programming here means more than code completion. The broader notion of “general-purpose programming” refers to the model using code as a general execution medium to accomplish tasks such as drawing, data processing, interactive interface generation, 3D scene construction, and engineering modeling.

    For example, a model can first analyze user requirements and then generate front-end code to render a live view; it can also combine mathematical expressions, lighting models, and geometry algorithms to create an interactive 3D scene; in engineering design, it can organize component parameters through scripts, generate structural models, and run motion simulations.

    These tasks share common traits: they require multi-step planning, tool invocation, state maintenance, and result verification. Recurrent computation can help the model perform a second check on intermediate structures before generating the final code, thereby reducing issues such as variable errors, logical omissions, and inconsistent interface calls.

    8. Recommendations for Enterprise Adoption

    When evaluating recurrent reasoning models, enterprises should not focus only on public leaderboards but should build a test set aligned with their own business, covering at least the following:

    1. Complex-task accuracy: Focus on multi-step reasoning, code generation, and long-document QA;
    2. Output efficiency: Measure average output length, effective information density, and the proportion of ineffective repetition;
    3. Stability: Observe behavior under different input lengths, concurrency levels, and peak traffic;
    4. Resource cost: Record memory usage, per-request compute, and overall throughput;
    5. Explainability needs: Determine whether the business needs a full reasoning process or only conclusions with key supporting evidence;
    6. Security and compliance: Set up isolation and auditing mechanisms for generated code, external tool calls, and sensitive data handling.

    Overall, the core value of recurrent reasoning lies in expanding a model’s effective depth through shared parameters and repeated computation; controlling additional deployment costs through cache reuse and sparse computation; and achieving higher information-processing efficiency by replacing some redundant tokens with internal computation. It is not a simple replacement for the parameter-scaling path, but a new engineering route for improving large model capability. For cloud deployment environments such as Baidu AI Cloud, what will truly deserve attention in the future is the overall balance among model capability, inference efficiency, resource scheduling, and security governance.