A Technical Breakdown of the New Cyclically Shared-Weight Architecture in Next-Generation LLMs

    This article explains how a new flagship model uses a cyclically shared-weight architecture to increase effective compute depth without increasing parameter count. It covers how weight sharing differs from activation sharing, the trade-off between compute and memory, new multimodal and million-token context capabilities, generalized code generation for executable artifacts, how to read the evaluation data, known limitations such as over-reasoning, and practical guidance on access, cost, and enterprise adoption.

    1. The Starting Point: Parameter Scale Is Not the Only Source of Capability

    For the past few years, the industry had essentially one main lever for improving model capability: make the parameter count larger. But growing parameters raises training cost, memory footprint, and inference latency at the same time, while marginal returns keep shrinking. So the field began exploring another path: making the model “think deeper” without increasing the parameter count.

    The core idea in this new flagship model is to convert several layers of the base network into a shared-weight structure and execute them cyclically for two rounds. Here, “deeper” refers to effective compute depth: the number of transformation layers that data actually passes through in a single forward pass, not the static layer count or the total parameter count. The relationship can be understood like this:

    1. Static depth: how many layers are defined in the network (a structural property)
    2. Effective compute depth: how many transformations actually run in one forward pass (a compute property)
    3. Parameter scale: the total amount of trainable weights (a capacity property)

    Cyclic weight sharing changes the coupling among all three at once: fewer structural layers, no increase in parameters, but more compute per forward pass.

    2. How Cyclic Weight Sharing Works

    Suppose the base model originally had 28 layers. After the change, 14 layers are kept as the “recurrent block,” and the same set of weights is reused for two rounds. Pseudocode:

    1. def forward(x, block, rounds=2):
    2. h = embed(x)
    3. for _ in range(rounds): # weights are shared, activations are not
    4. h = block(h) # the same parameters are called repeatedly
    5. return unembed(h)

    Three details matter:

    1. Weights are shared; activations are not. Each round takes the previous round’s output as input, so the second round is not a simple repetition but further processing of an already-processed representation.
    2. The loop introduces implicit iterative refinement. The first round produces a coarse representation, and the second round effectively re-checks the residual, similar to how a person first estimates and then verifies when solving a problem.
    3. It is a trade-off between compute and memory. Compute grows linearly with the number of rounds, but parameter memory stays almost flat. That is friendly to a deployment memory budget and unfriendly to a compute budget.

    From a training perspective, weight sharing requires the same set of parameters to perform well on different input distributions (the intermediate representations of round one and round two). This is effectively a stronger regularization constraint, and it is also why training gets harder.

    3. Expanded Capability Boundaries: Multimodal Input and Very Long Context

    This generation adds visual input and can accept mixed input of images, video, text, and files, with a context window in the millions of tokens and a maximum single output in the hundreds of thousands of tokens. What this means for developers:

    • Long context upgrades the coarse “retrieve and concatenate” approach into “understand the entire body of material directly,” which suits large codebase comprehension, long document review, and multi-turn log analysis.
    • Multimodal input turns UI screenshots, design mockups, and screen recordings into programmable input sources, shifting front-end reproduction tasks from “description-driven” to “reference-driven.”
    • Very long output makes it possible to generate a complete project skeleton in one pass, reducing the cost of state synchronization across turns.

    Note that long context is not free. Attention cost grows with length, so engineering practice usually combines chunking, cache reuse, and retrieval augmentation to balance cost and quality.

    4. Generalized Code Generation: From Writing Code to Executable Complex Artifacts

    “Generalized code generation” means extending coding ability to outputs that are not traditional software engineering artifacts, such as animation and video generation, 3D modeling, and mechanical structure design. The technical foundation is that these domains all have versionable, parameterizable description languages; as long as the model masters the syntax and the geometric/physical constraints, it can generate executable artifacts.

    A typical pipeline looks like this:

    1. natural-language requirement → structured spec (dimensions/material/constraints)
    2. → domain description files (geometry scripts, shaders, parametric modeling scripts)
    3. → render or simulation execution
    4. → error feedback → iterative refinement

    Key points for implementation:

    • Validation first. Generated output should be trusted only after it passes a domain validator (geometric validity, physical feasibility, successful compilation).
    • Close the feedback loop. Feeding execution errors back to the model is more economical than chasing a fully correct result in one shot.
    • Treat assets as managed artifacts. Generated scripts and parameters should be under version control for reproducibility and regression testing.

    5. How to Read the Evaluation Data

    The evaluations in the original material fall into three categories, and each should be read differently:

    1. Official controlled experiments: with cyclic sharing enabled at the same parameter count, math and science reasoning benchmarks rose from roughly 20% to 30% and from roughly 47% to 56%, while average output length dropped by about 10% to 14%. This suggests part of the reasoning burden shifted from “explicit chain-of-thought tokens” to “extra compute from the loop”: fewer words, more internal computation.
    2. Third-party private evaluations: scores across different models cluster in the low-to-mid 30s, within 5% of each other, which puts them in the same capability tier.
    3. Independent tool-use evaluation: first place among open-source models, with a tool-call failure rate of about 1.5% and a retry recovery rate of about 66%, higher than the closed-source models in the same batch. Tool-call stability matters more for agentic applications than a single benchmark score.

    Reading principles: prioritize controlled comparisons with the same parameter count, the same prompt, and the same decoding configuration; scores from different sources cannot be subtracted from each other directly; evaluations without published numbers can only serve as directional references.

    6. Known Limitations and Mitigation Strategies

    The officially stated weakness is that the model tends to enter long thinking mode, enabling reasoning at nearly every step on hard tasks, which makes end-to-end completion time long even though token output speed is not slow. Engineering responses include:

    • Difficulty-based routing. Send simple tasks to a low-reasoning tier and open up deep thinking only for hard tasks.
    • Budget constraints. Set token and time limits on the thinking process, and fall back to a direct answer on timeout.
    • Result caching. Cache outputs for highly deterministic subtasks to avoid repeated deep reasoning.
    • Streaming and async. Use streaming output for interactive scenarios and asynchronous task queues for batch processing.

    The other side is worth seeing too: long reflection and self-correction genuinely reduce rework in long-horizon tasks, so “slow” is not necessarily a defect. The key is that it is configurable.

    7. Access and Cost Perspective

    On launch day, the model was made available to all users of the subscription-based coding plan and integrated into several AI coding tools, with team plan quotas raised to 1.5x. The API opened after a security assessment, and the weights are being open-sourced gradually and responsibly. Third-party platforms have already listed prices at about $0.09 per million input tokens and about $0.33 per million output tokens; official pricing has not been announced. On speed, throughput reaches roughly 200 tokens per second at peak off-hours and about 70 to 80 during peak hours.

    Three recommendations for enterprise selection:

    • Run a controlled evaluation on small-scale real tasks first, then decide whether to replace the existing model.
    • Include latency metrics (time to first token, end-to-end duration) in acceptance criteria alongside quality metrics.
    • Use general-purpose cloud capabilities to handle engineering needs: object storage for datasets and artifacts, message queues for task decoupling, container platforms for elastic scaling of inference services, and logging plus monitoring and alerting for observability and quota governance.

    8. Conclusion

    The value of cyclic weight sharing is that it shifts “improving capability” from simply stacking parameters toward increasing the effective compute depth per parameter: trading compute for capacity and iteration for precision. Combined with multimodal long context and generalized code generation, it moves the model from “answering questions” to “delivering executable artifacts.” But the key to engineering success is not the architecture itself; it is whether difficulty routing, budget constraints, domain validation, and observability are in place. If an enterprise wants to validate this kind of capability quickly in its own environment, it can build a complete loop from evaluation to integration to governance using the model services and general cloud infrastructure offered by Baidu AI Cloud.