Evolving LLMs Without More Parameters: Recurrent Architectures and Post-Training Practices

    This article examines a technical path for improving large language models without increasing parameter count. It covers recurrent computation that trades depth for width, training stability techniques such as gated updates and inter-loop normalization, broad-purpose coding post-training aimed at interactive artifacts, and inference-side optimizations including cross-loop KV cache sharing. It also outlines practical evaluation and deployment advice, along with the objective limits of this approach.

    1. The Starting Point: A Curve Beyond the Parameter Race

    For a while, competition among flagship models has been essentially a race over parameter count and data scale. But that curve shows clear diminishing returns: pre-training costs rise superlinearly, while the capability gained per unit of compute keeps narrowing. So the industry has begun exploring another path—squeezing more capability out of an existing base model through architectural changes and post-training. This article discusses a representative technical route: keeping a base model on the order of ~750B parameters, skipping re-pre-training, and instead introducing a recurrent computation structure, stronger training stability design, deeper broad-purpose coding post-training, and coordinated optimization at the inference infrastructure level.

    One criterion needs to be clear first: improvements in model capability do not necessarily come from more parameters. Compute depth, data mixture, post-training objective design, and the memory and latency constraints at inference time are all adjustable variables. Combining them well can also deliver a noticeable leap.

    2. Recurrent Computation Architecture: Trading Depth for Width

    2.1 The Core Idea

    The traditional Transformer is “width-first”: adding layers linearly increases parameters and memory usage. A recurrent computation structure changes this—the same set of parameters is reused across multiple passes, applying transformations repeatedly to intermediate representations. Take 28 layers participating in two recurrent loops as an example: the effective compute depth of the forward path nearly doubles, while the total parameter count stays almost unchanged.

    Illustrative expression (not a specific implementation):

    1. h = embed(tokens)
    2. for _ in range(num_loops): # multi-pass loop with shared parameters
    3. for layer in shared_block: # the reused 28 layers
    4. h = layer(h)
    5. h = gate(h, h_prev) # gating decides the update magnitude of this pass
    6. h_prev = h
    7. logits = head(h)

    2.2 Why It Works

    Increasing depth produces a longer serial inference chain, letting the model “rethink” at each pass. This is especially critical for tasks requiring multi-step constraint satisfaction: type inference in code generation, cross-file dependencies, and state consistency are all problems that essentially need iterative convergence. Increasing width only raises the capacity of a single-step representation, while increasing depth raises the number of iterations.

    2.3 Costs and Risks

    The costs concentrate in two places. First, training stability: parameter sharing means the same set of weights receives gradients from different passes that may point in conflicting directions, and representation collapse across passes easily occurs—later passes barely change the hidden state, and the recurrence degenerates into ineffective computation. Second, inference overhead: the serial chain grows longer, latency rises, and intermediate activations must be cached.

    3. Training Stability: Making the Recurrence Actually Recur

    Stability design usually starts from three directions:

    • Gated updates: introduce a learnable gating coefficient for each pass to control the proportion of that pass’s increment in the final representation, preventing later passes from overwriting useful information from earlier ones. Initialize the gate to be conservative, so training early on approximates an identity mapping, then gradually open it up as training progresses.
    • Inter-pass normalization and residual isolation: normalize each pass’s output before it enters the next pass, and use residual connections to preserve the original path, reducing gradient conflict.
    • Representation diversity constraints: apply regularization to the differences in hidden states across passes to prevent collapse; also constrain the magnitude of those differences to prevent oscillation.

    Engineering practice also needs gradient clipping, learning-rate warmup, and checkpoint monitoring along the pass dimension. A practical observation metric is the “per-pass gain curve”: measure the marginal contribution of different passes’ outputs to the final result. If the curve decays rapidly to zero, the recurrence is not being used effectively.

    4. Broad-Purpose Coding Post-Training: From Writing Code to Writing “Interactive Artifacts”

    The focus of the post-training stage expands from “completing functions” to “finishing works.” So-called broad-purpose coding covers not just algorithm implementation but also cross-domain tasks such as 3D scene construction, motion orchestration, and game logic. The sources of capability for these tasks can be summarized in four points:

    1. Abstract alignment of multimodal corpora: mapping descriptions across visual, spatial, and temporal dimensions into structured code, rather than memorizing specific snippets.
    2. Constraint preservation in long contexts: an interactive scene often contains multiple mutually constraining groups, such as camera control, physical floating, and day-night switching, and the model must not drop constraints during a long generation process.
    3. Executable feedback loops: using whether it runs and whether rendering is correct as the filtering signal is closer to real needs than pure text similarity.
    4. Tool and debugging awareness: leaving parameterized entry points during generation (such as adjustable sliders or configurable time functions) so the artifact is debuggable.

    To judge whether this capability has genuinely improved, you cannot look only at whether the code “looks right”; you must look at whether the artifact runs, whether the interaction is self-consistent, and whether boundary conditions are handled.

    5. Inference-Side Coordination: Turning Architectural Gains into Usable Cost

    Without inference optimization, a recurrent structure’s memory and latency will eat up the gains. Common general techniques include:

    • Cross-pass key-value cache sharing: parameter sharing means the key-value projections of the same layer are highly similar across passes, so caches can be reused instead of recomputed and stored repeatedly.
    • Sparse attention index reuse: attention patterns are relatively stable across passes, so indexes can be reused, reducing repeated scoring.
    • Compute graph and batch scheduling optimization: rearranging serial passes and the batch dimension to improve hardware utilization.
    • Quantization and paged caching: reducing the memory footprint of weights and caches.

    Architecture and infrastructure must be co-designed. This has become a consensus for flagship models in recent years: model structure determines the upper bound of the optimization space, and infrastructure determines how much of that space can be realized.

    6. Objective Boundaries: No Parameter Bonus Does Not Mean No Gap

    We need to stay clear-headed: architecture and post-training alone can hardly fully close the gap with the most advanced closed-source models on complex broad-purpose coding tasks, especially in scenarios like ultra-long engineering, cross-repository refactoring, and understanding implicit business constraints. Frontier teams are also iterating quickly, so static comparisons have limited meaning. A more pragmatic approach is to build your own evaluation baseline and track the delta between versions with a fixed task set, rather than chasing a single leaderboard.

    7. Actionable Practice Recommendations

    • Build a layered evaluation set: measure pass rates separately at the syntax level, single-file functionality level, multi-file engineering level, and interactive artifact level.
    • Watch stability metrics: for multi-pass recurrent models, additionally monitor output variance and per-pass gain.
    • Model cost up front: include memory usage, time to first token, and cost per task in your selection table.
    • A general cloud deployment combination: a container platform hosts the inference service, object storage holds artifacts and datasets, a logging service with monitoring and alerting handles observability, and a message queue decouples asynchronous tasks. Baidu AI Cloud can serve as a foundation for these general capabilities; refer to the official documentation for specific specifications.

    8. Conclusion

    Achieving a capability leap without expanding parameters shows that architectural efficiency and post-training quality remain a bonus area that has not yet peaked. The takeaway for developers is: when selecting a model, evaluate architectural features, inference cost, and your own task distribution together, and replace impression-based judgment with a reproducible evaluation system—only then can you keep gaining certain returns in a fast-iterating model market.