Recurrent Reasoning Architectures: How Weight Sharing Lets Large Models Think with Fewer Tokens

    A third path for large language models is to raise computational depth without adding parameters: share weights across Transformer layers and run them in a loop. This article explains the idea behind recurrent reasoning, three engineering problems it creates, the gating, KV-cache, and sparse-index changes used to make it deployable, and what controlled comparisons show about accuracy, output length, and cost.

    1. Beyond Parameter Count: Computational Depth as Another Path

    Over the past two years, gains in large language models have mostly followed two routes. One is to keep scaling parameters and data, stacking a higher capability ceiling through pretraining. The other works after pretraining, using reinforcement learning, long chains of thought, and similar methods to draw more from weights that already exist. Both have limits. The first is expensive and shows diminishing returns. The second soon hits a ceiling set by what the base model can express.

    A third path is now in view: change the architecture so computational depth increases without increasing the parameter count. The core idea goes back to the Universal Transformer, proposed in 2018 and published at ICLR in 2019. The same Transformer layers carry shared weights and execute for multiple rounds. Each round continues from the intermediate state produced by the previous round. From a mathematical point of view, that is equivalent to a deeper network.

    Some teams have picked the idea up again and turned it into an engineering practice: take a pretrained base model that may already have hundreds of billions of parameters, then further train it into a recurrent execution structure. One public case is representative. A segment of the base—for example, 28 layers—is converted to shared weights and run for two rounds, while the base remains on the order of about 750 billion parameters. Notably, the team stresses that it did not pretrain from scratch. It traded a relatively small compute overhead for a higher capability ceiling, which is attractive on cost.

    2. Why Recurrence Is Not Free: Three Engineering Challenges

    Recurrent execution is elegant in theory, but copying it directly causes serious problems. If a base has N layers and those layers run for two rounds, effective depth roughly doubles—and so does the cost:

    1. Memory and inference cost double. Two forward passes mean twice the compute and twice the storage of intermediate state.
    2. KV cache size. If the second and third rounds each keep a full cache, memory grows linearly with sequence length. Long-context serving becomes nearly impossible.
    3. Information flowing backward. If the second round heavily rewrites the first round’s result, how do you avoid overwriting too much and destroying the global understanding the first round built?

    For models at the hundreds-of-billions scale, industry practice has settled on three key engineering changes. Together they form the core stack of this kind of architecture.

    Change 1: Per-token gating and gradual write-back into the residual stream

    The first and second rounds are not simply “run the stack twice.” Engineering adds a gate at token granularity. The candidate state update computed in each round is written back into the residual stream only in a learned proportion, not as a full overwrite.

    Intuitively, the rounds divide the work:

    • Round one builds a global context state. It does the rough pass so the model forms an overall view of the input.
    • Round two refines that rough result and writes the conclusion more fully into the residual stream for later layers and the output head.

    This is similar to reading a problem through once, then going back to calculate carefully. The write-back ratio is learned during training. The network decides which positions need deeper processing and which are fine after one round. That also helps explain why this architecture can emit fewer tokens, as discussed below.

    Change 2: Sharing the KV cache across rounds

    The KV cache is a large part of deployment cost. If a recurrent design does nothing about it, the second round needs a fresh cache and cost doubles. A workable approach is:

    • The second round reuses the sparse KV from the first round.
    • During the second round, only a sliding window of new KV is added. A full duplicate cache is not kept.

    The idea in pseudocode:

    1. # Pseudocode: KV management in a recurrent Transformer
    2. kv_sparse = layer_round1(x) # round 1 produces sparse KV
    3. for token_pos in decoding:
    4. kv_new = sliding_window_kv(x, w) # round 2 keeps new KV only inside window w
    5. hidden = attn(x, kv_sparse, kv_new) # retrieve from both
    6. hidden = gate_write(hidden, residual) # gated write-back

    With this design, a recurrent model can keep the increase in deployment cost small relative to the previous non-recurrent generation. For flagship models that already need inference clusters of thousands of accelerators, that is the kind of surgical optimization that decides whether the system can actually go into production.

    Change 3: Reusing sparse attention indices

    Modern long-context models commonly use sparse attention to cut retrieval cost. In a recurrent design, recomputing sparse indices in the second round would double retrieval cost as well. The fix is to let the second round reuse the first round’s sparse attention indices directly, with no extra retrieval overhead. This can extend index-sharing mechanisms already present in the previous generation—for example, reusing an indexer across several layers—so it is a natural engineering continuation.

    3. What Same-Parameter Comparisons Show

    Architecture changes need strict comparisons. One convincing setup is to take a control model with the same architecture as the flagship base but far fewer parameters (on the order of 30 billion), apply the same supervised fine-tuning, turn recurrence on, and observe the change. The extra training compute from recurrence is only about 10%.

    Publicly reported comparisons show clear gains on math, scientific reasoning, and general knowledge benchmarks, without changing the parameter count. A hard math benchmark rose from about 19 to above 30. A graduate-level science question-answering benchmark rose from about 48 to 56. A general knowledge benchmark rose from 71 to 75.

    The change in output length is even more telling. Across several benchmarks, average output length fell by 10% to 14%, and most of the reduction came from the chain-of-thought portion. That is revealing:

    In conventional chain-of-thought reasoning, the model’s “thinking” must be written out as a token stream. Each step costs one forward pass and one generation. A recurrent architecture moves part of that reasoning out of the token stream and into the extra computational depth of the loop. The model takes another internal turn—effectively a few more steps in latent space—before it commits to the output.

    That is what the title means by thinking with fewer tokens. For people who run the model, there are two gains: generation feels faster because there is less text to read, and cost falls in settings billed by output tokens.

    4. What This Means for Developers and Organizations

    From an engineering point of view, the practical value of this recurrent reasoning design comes down to four points:

    1. Capability ceiling and compute spend can be separated. You do not have to pretrain a deeper giant model from scratch. You adapt an already trained base, spending about 10% extra training compute for a step up in reasoning ability.

    2. Service quality shows up in concrete numbers. In one implementation, generation speed reached 200 tokens per second off peak and 70–80 tokens per second at peak. Combined with shorter outputs, the interactive experience improves in a way users can feel.

    3. Controllable deployment cost is a prerequisite. Sharing the KV cache across rounds and reusing indices shows that a recurrent design can be productized only if depth can double without doubling memory and retrieval cost. Otherwise it stays a paper result.

    4. Subscription and quota models can change with it. When a model finishes the same or stronger reasoning with fewer tokens, a platform can lower consumption per task—for example, the same subscription allowance covers more usage. That is the architecture dividend passed through to the user.

    5. Closing

    Recurrent reasoning is a modest shift in how model capability evolves: from “more parameters and more tokens” toward “deeper compute and fewer tokens.” The academic form existed in 2018. With weight sharing, gated write-back, and reuse of caches and indices, it is now entering deployable flagship model lines. For technical decision-makers who care about the balance between inference cost and quality for large models in the cloud, trading computational depth for generated tokens is a path worth following. It may become a standard option in the next round of reasoning-model architectures.