Getting Stronger Without More Parameters: Recurrent Architectures and Post-Training

    This article explains how flagship models can improve without pre-training a larger base model. It covers recurrent computation that trades depth for width, the training stability issues this creates and how to address them, post-training for broad coding tasks, and co-design between model structure and inference infrastructure. It also outlines a three-dimensional evaluation approach based on capability, cost, and stability. The gains depend on the implementation and evaluation criteria, so no universal conclusion can be drawn without hands-on testing.

    1. The Starting Point: A Second Curve Beyond Parameter Scaling

    For a while, discussions about model capability in the industry were almost the same as discussions about parameter count: a larger base model, more data, and longer training schedules. But the cost of this curve grows superlinearly. Training budgets, GPU memory capacity, cluster utilization, and energy consumption all rise together, and the iteration pace ends up locked by hardware and funding. As a result, a complementary path has been repeatedly validated: keep the parameter count fixed, and trade adjustments in compute depth, data mix, and post-training strategy for capability gains.

    The technical topic of this article is a general approach to improving a flagship model’s capability without re-pretraining a larger base model. It has four coupled parts: a recurrent computational structure, the training stability problems recurrence introduces and their solutions, post-training reinforcement for broad coding scenarios, and co-design between model structure and inference infrastructure. It is worth emphasizing that the magnitude of these gains depends on the specific implementation and evaluation criteria; there is no general conclusion that can be drawn independently of hands-on measurement.

    2. Recurrent Computation: Trading Depth for Width

    In a conventional feedforward structure, every layer has its own parameters, so adding layers adds parameters. A recurrent structure reuses the same set of parameters over multiple rounds, applying only some layers for two or more iterations, which increases effective compute depth while keeping the parameter count unchanged.

    There are three intuitive benefits. First, the parameter budget is “spread thinner,” so the same GPU memory can hold a deeper chain of semantic transformations. Second, the iterative process naturally fits tasks that require multi-step reasoning, such as constraint checking in code completion or spatial relationship validation in geometric scenes. Third, weight sharing has a regularizing effect, making the model less prone to overfitting in small-sample fine-tuning scenarios.

    A schematic representation of the structure can be written as:

    1. # Pseudocode: apply multiple rounds only to some layers
    2. h = embed(tokens)
    3. for layer in trunk_layers: # non-recurrent part
    4. h = layer(h)
    5. for _ in range(2): # recurrent part, sharing the same parameters
    6. for layer in loop_layers:
    7. h = layer(h)
    8. logits = head(h)

    The costs are equally clear: serial dependencies become longer, inference latency per token rises, activations must be stored across rounds or recomputed, which increases memory pressure, and the representation distributions of different rounds may drift, so numerical instability can appear early in training.

    3. Training Stability: The Dividing Line for Whether Recurrence Works

    The most common failure mode of a recurrent structure is “multiple rounds perform worse than one,” meaning the second round of computation actually damages the effective representation formed in the first round. The industry generally uses three kinds of common techniques to mitigate this:

    • Gating and residual mixing: let the model adaptively decide, per token, how much of the previous round’s result to keep, avoiding unconditional overwriting.
    • Normalization and initialization constraints: control the scale of cross-round activations to suppress exponential amplification or decay.
    • Phased training strategies: first let the single-round structure converge, then gradually introduce the second round so the optimization objective transitions smoothly.

    Engineering practice also requires supporting monitoring: record activation norms, gradient norms, and representation similarity per round. If cross-round similarity rises abnormally, it means the recurrence has degenerated into an identity mapping and the multi-round compute is being wasted.

    4. Post-Training Reinforcement for Broad Coding Capability

    “Broad coding” refers to general construction capability beyond routine business code generation, covering 3D scene building, motion and video scripts, interactive prototypes, game logic, and more. The common feature of these capabilities is that the output is not an isolated snippet but a runnable, interactive engineering artifact that depends on multi-file collaboration.

    The key to post-training is not piling up data volume but restructuring task forms and acceptance methods:

    1. Use “runnable” as the acceptance criterion, constructing samples with real dependencies and build processes rather than pure text snippets.
    2. Reinforce cross-file consistency, training the model to maintain unified naming, state management, and resource references.
    3. Introduce multi-round self-correction, letting the model iterate under error feedback instead of producing a finished draft in one pass.
    4. Cover the parts that cannot be verified visually, such as performance constraints, accessibility, and boundary condition handling.

    A typical interactive artifact requirement can be abstracted as: scene rendering, camera control, parameter-driven state changes, and two lighting schemes for day and night. It simultaneously tests spatial reasoning, state synchronization, and resource organization, making it an effective yardstick for broad coding capability.

    5. Inference-Side Coordination: Pushing the Extra Compute Cost Back to an Acceptable Range

    Increasing compute depth inevitably raises inference overhead, so structure design and inference infrastructure must be planned together. Generally applicable optimization directions include:

    • Sharing key-value caches across rounds to avoid recomputing and re-storing the same prefix in multiple rounds.
    • Reusing sparse attention indices so multiple rounds share the same index selection results, reducing addressing overhead.
    • Per-round batching and operator fusion to reduce scheduling gaps caused by the serial structure.
    • Dynamically adjusting the number of recurrent rounds based on task difficulty, so simple requests take a shallow path.

    In terms of deployment, this usually also needs to be combined with a container platform for elastic scaling, object storage to hold model and artifact files, message queues for peak shaving, and logging services with monitoring and alerting to track latency and failure rates. If an organization wants to validate this kind of capability in its own environment, the general compute, storage, and monitoring offerings from Baidu AI Cloud can support the full chain from evaluation to launch.

    6. Objective Evaluation: Gains, Boundaries, and Validation Methods

    What needs to be kept in mind is that architecture and post-training optimization can significantly improve relative position, but they will not automatically eliminate the gap to the most cutting-edge approaches, because competitors are also iterating quickly. When evaluating this kind of model, a three-dimensional evidence chain is recommended:

    • Capability dimension: runnable rate, cross-file consistency, and multi-round correction convergence speed.
    • Cost dimension: per-request latency, peak GPU memory, and cost per unit of throughput.
    • Stability dimension: performance degradation under long contexts and complex instruction-following rate.

    The conclusion is not that “a certain approach leads across the board,” but rather: without expanding parameters, the coordinated optimization of compute depth and post-training is still an incremental source that has not yet hit a ceiling. For development teams, the pragmatic approach is to put the evaluation set and acceptance scripts in place first, replace subjective impressions with reproducible build results, and then decide which business areas to introduce this kind of capability into.