Recurrent Reasoning Architecture: How Depth Improves Logic with Fewer Tokens

    This article explains how recurrent Transformer architectures shift reasoning from sequence length to network depth, allowing models to think more effectively without adding parameters. It covers the shift from scaling parameters to adding computational depth, why shared-weight recurrence reduces token usage, three key engineering optimizations (gated progressive write-back, cross-pass cache sharing, and attention index reuse), and how controlled experiments validate the gains. Readers will find practical deployment advice for long-context and complex reasoning workloads.

    1. From Stacking Parameters to Adding Depth: A New Direction in Architecture Evolution

    Over the past two years, progress in large language models has followed two main tracks. The first is scaling up the base model’s parameter count and training corpus. The second is post-training—supervised fine-tuning, preference alignment, reinforcement learning, and similar techniques—to extract more capability from an existing model. However, once base models reach the hundreds-of-billions parameter range, simply adding parameters yields diminishing returns, and repeated post-training tends to hit a ceiling.

    An approach that has regained attention is increasing computational depth without changing the base parameter count. A recently released flagship model from a research team uses a recurrent Transformer structure: the 28 layers originally stacked in the base model are modified to share weights and run in two recurrent passes. The second pass continues the computation on top of the residual stream produced by the first, effectively forming a deeper network while keeping the parameter count unchanged, with a base scale of roughly 750 billion.

    It is worth emphasizing that recurrent structures are not a new invention. The academic community proposed weight-shared, deeply recursive structures back in 2018, formally published at an international conference the following year. The core idea is trading time for depth. The real engineering difficulty lies in converting an already pre-trained base model into a recurrent structure at a modest compute cost, while controlling memory and latency expansion during inference.

    2. Why Recurrent Reasoning Enables More Thinking with Fewer Tokens

    Traditional chain-of-thought relies on generating more tokens to extend the reasoning path, at the cost of increased context length, latency, and expense. The value of a recurrent structure is that it moves thinking from the sequence-length dimension to the network-depth dimension:

    • First pass: establishes a global context state and completes coarse-grained semantic organization.
    • Second pass: refines, corrects, and converges on the first pass’s results, fully writing back into the residual stream.

    Because both passes share the same set of weights, the model gains stronger iterative reasoning ability without needing to store additional parameters for a deeper network. At the same output length, answer accuracy improves—equivalent to completing effective thinking with fewer tokens.

    3. Three Key Engineering Optimizations

    The main cost of a recurrent structure is memory and inference overhead. For a 750-billion-class model, optimization can be approached from three angles (the following is a general engineering pattern illustration):

    3.1 Token-Level Gated Progressive Write-Back

    Instead of overwriting the residual stream wholesale with the second pass’s candidate results, write back progressively according to a gate ratio, avoiding damage to the global state established in the first pass.

    1. # Illustration: token-level gated write-back
    2. g = sigmoid(gate(x)) # one gate scalar per token
    3. h = h1 + g * (h2 - h1) # first-pass state h1, second-pass candidate h2

    3.2 Cross-Pass Cache Sharing

    The second pass reuses the sparse key-value cache already computed in the first pass, adding only a cache within a sliding window rather than retaining a full duplicate cache. This keeps the increase in deployment cost within an acceptable range.

    3.3 Attention Index Sharing

    The second pass directly reuses the first pass’s sparse attention indices without re-retrieving, reducing additional addressing overhead. This idea is in line with the general practice of reusing indices across layers.

    4. How to Validate the Effect: A Controlled Experiment at Equal Parameter Count

    A sound evaluation should control variables: take a 30-billion-parameter small-scale control model with an architecture identical to the large model base, enable thinking mode for evaluation after supervised fine-tuning on long texts at the 200K-token level, with training compute increasing by only about 10%. With recurrence enabled, math reasoning, graduate-level science Q&A, and general knowledge evaluations all show clear improvements (for example, math reasoning rises from about 19 to about 30, science Q&A from about 48 to about 56, and general knowledge from about 72 to about 75).

    5. Deployment Recommendations

    • Enable recurrent depth first in long-text and complex reasoning scenarios.
    • Inference services should assess memory and concurrency, combined with container platform elastic scaling and monitoring alerts.
    • If using cloud-based model services, pay attention to general capability categories such as inference acceleration, log services, and object storage, and avoid binding to proprietary interfaces.

    In summary, the recurrent weight-sharing architecture offers a viable path of adding depth without adding parameters. Combined with gated write-back, cache reuse, and index reuse, it can achieve stronger thinking quality with fewer tokens.