Recurrent Depth Reasoning Architecture: Thinking with Fewer Tokens

    This article breaks down a recurrent depth reasoning architecture that keeps parameter count fixed while making compute depth variable. It explains how a shared-weight loop turns two passes over the residual stream into an effectively deeper network, the three engineering changes that keep overhead controllable (token-level gated write-back, cross-round cache sharing, and cross-round attention index reuse), and how to correctly read the same-parameter comparison results, including shorter chain-of-thought output. It closes with practical guidance for evaluating similar designs in production coding and long-context workloads.

    1. Background: A Path Beyond Stacking Parameters

    For a while, progress in large models has relied on two levers: scaling up parameter count and strengthening post-training. The first adds capacity; the second adds alignment and task performance. But once base models reach the hundreds-of-billions parameter range, the marginal return of going wider and deeper starts to shrink, while training and inference costs grow roughly linearly or faster. That is why the industry has begun exploring a third path: keep parameters fixed, make compute depth variable.

    A flagship model discussed here follows exactly this idea. The team converted the previous generation’s 28 layers into a shared-weight recurrent structure executed for two consecutive rounds, achieving an effectively deeper network without adding parameters. The base model has roughly 750B parameters, and the capability gains come mainly from the architecture change rather than post-training alone. This is a clear contrast with the previous generation’s approach of keeping the same base and relying on post-training.

    It is worth stressing that weight-shared depth is not a new concept. The academic community proposed the Universal Transformer idea around 2018 and formally published it the following year; the core was applying the same set of weights repeatedly to sequence representations. What engineering actually has to solve is not whether a loop is possible, but how to keep the loop from running out of control.

    2. Core Mechanism: How a Loop Becomes a Deeper Network

    The key is that the second round does not repeat the first round’s input; it continues reasoning on top of the first round’s output. Think of the residual stream as a shared whiteboard: the first round writes the global context state, and the second round refines and completes the conclusion on the same board. The effective result is doubled network depth with unchanged parameter storage.

    The skeleton can be expressed with illustrative pseudocode:

    1. # Shared-weight recurrent block (illustrative, not a real interface)
    2. h = embed(tokens)
    3. for round_id in range(2):
    4. delta = shared_block(h, round_id) # same set of weights
    5. h = h + gate(h, round_id) * delta # token-level gated write-back
    6. logits = head(h)

    Three engineering details here are easy to overlook. First, the gate must be token-level; otherwise the whole sequence is amplified or suppressed uniformly, which destroys local information. Second, the write-back ratio needs to vary by round: the first round leans toward establishing state, the second toward committing the full result. Third, the memory and latency introduced by the loop must be explicitly constrained, or the “depth gain” will be canceled out by a “throughput collapse.”

    3. Three Engineering Changes That Keep Overhead in a Controllable Range

    For a 750B-class model, public materials describe three changes that together form a complete cost-control package.

    1. Token-level gated progressive write-back. Each round’s candidate change is written back to the residual stream by a ratio: the first round establishes global context, the second refines and writes back fully. The value is avoiding an “overwriting rewrite” in the second round, making inference look more like iterative approximation than repeated backtracking.

    2. Cross-round cache sharing. The second round reuses the sparse key-value cache produced by the first round and only adds a cache within one sliding window, rather than keeping a full copy. For long-context serving, this directly determines peak memory and concurrency, and it is the key reason the deployment cost increase stays controllable.

    3. Cross-round attention index reuse. The second round directly reuses the first round’s sparse attention indices, adding no retrieval overhead. The idea carries forward the cross-layer index reuse scheme released in the previous generation, where the indexer is shared at fixed layer intervals; this round extends the reuse granularity from “cross-layer” to “cross-round.”

    Combined, the extra cost falls mainly on compute rather than storage and retrieval, which makes recurrent depth easier for existing inference stacks to absorb.

    4. How to Read the Results: Interpreting the Same-Parameter Comparison

    The public results come from a 30B same-parameter comparison: the baseline model has an architecture identical to the 750B base, and after supervised fine-tuning on 200K-token-level long text, it was evaluated with thinking mode enabled, with training compute increased by about 10%. With the loop enabled, math competition benchmarks rose from 19.17 to 30.42, graduate-level science Q&A from 47.58 to 56.26, and multi-discipline general knowledge from 71.65 to 75.05.

    More notable is that output length dropped at the same time: on some knowledge and general benchmarks, average output length fell by about 10% to 14%, with the reduction coming mainly from the chain of thought. This means part of the reasoning was migrated from the “token stream” to the extra compute depth provided by the loop, and the model thinks with fewer tokens.

    Three ground rules apply when reading such data. First, a same-parameter comparison is more convincing than a cross-scale one. Second, training compute increased by only about ten percent, showing the gains do not come from brute-force compute. Third, shorter output does not mean shallower thinking, and accuracy must be considered alongside it. On speed, public materials claim up to 200 tokens per second off-peak and 70 to 80 tokens per second at peak; these are service-side metrics that fluctuate with load and deployment configuration.

    5. Adoption Perspective: General Coding and Engineering Practice

    The model is positioned as enabling “general coding,” where code becomes a foundational capability for completing a broader range of tasks. Public examples include using frontend code to render visuals in real time and calling a third-party music model to produce an MV, using math, geometry, and shaders to generate 3D interactive scenes, and completing robotic arm modeling and motion simulation through parametric modeling and rendering tools. For developers, the value of such capability is compressing the “describe-generate-verify” loop into a shorter chain.

    To evaluate a similar recurrent depth design in your own system, four points matter. First, peak memory and concurrency limits; verify that cross-round cache sharing actually takes effect. Second, first-token latency and tail latency distribution in long-text scenarios. Third, the joint curve of output length and accuracy, rather than average scores alone. Fourth, a gradual rollout strategy, with observability instrumentation via monitoring, alerting, and logging services for per-round gate ratios and cache hit rates. On the deployment side, container platforms can provide elastic scaling, object storage can archive evaluation samples, and message queues can smooth out traffic peaks and troughs.

    Overall, recurrent weight sharing offers a viable path of “trading compute for a higher intelligence ceiling”: no parameter increase, doubled depth, controllable overhead, and shorter output. It is not a master key, but for long-chain reasoning and code generation scenarios, it deserves to be a leading candidate in architecture selection.