Architectural Evolution Behind Doubling LLM Parameters

    As large language model preview releases arrive, attention usually goes to headline numbers: total parameters, activated parameters, and context length doubling from the previous generation. But the real ceiling on usability is not those nominal figures. It is how much effective capacity a model can reliably use under a given inference budget. This article breaks down a generation built from four proven techniques combined together: fine-grained sparse Mixture-of-Experts (MoE), sparse attention with cross-layer index reuse, Hyper-Connections, and native Multi-Token Prediction (MTP). It walks through the 78-layer design, the engineering trade-offs of expert dispatch, long-context cost control, training stability and speculative decoding, the evaluation signals that matter most, and practical guidance for enterprises on model selection and deployment.

    1. Doubling Parameters Is a Starting Point, Not the Finish Line

    A preview model release always draws attention to the numbers: total parameters, activated parameters, and context window length, all roughly doubled from the previous generation. Yet what truly determines the upper limit of a model’s usefulness is not these nominal figures, but how much effective capacity the model can reliably tap under a given inference budget.

    Breaking down this generation’s design shows no bet on a single breakthrough. Instead, it combines several technical approaches that have been repeatedly validated over the past year:

    • Fine-grained, large-scale sparse Mixture-of-Experts (MoE) as the main source of capacity;
    • Sparse attention paired with a cross-layer reused index cache to reduce long-context cost;
    • Hyper-Connections replacing the traditional residual stream to improve signal propagation in deep networks;
    • A native Multi-Token Prediction (MTP) module built specifically for speculative decoding.

    This “combine proven strengths, then amplify them” approach is, from an engineering standpoint, the lowest-risk choice with the most predictable payoff. It does not chase a world-first architecture. It makes already-validated components solid, then uses large-scale pre-training and post-training to lock in capability.

    2. Layer by Layer: What Each of the 78 Layers Does

    A typical configuration is a 78-layer backbone, of which 77 layers are MoE layers. Each layer contains 256 routed experts plus 1 shared expert, activating the Top-8 routed experts per token, with only the first layer kept dense.

    This configuration is worth unpacking:

    1. The shared expert carries general capability. The single shared expert is always active for every token, making it well suited to high-frequency general patterns such as grammar, common sense, and formatting. The 256 routed experts handle long-tail knowledge and domain specialization. This dual-track “shared plus routed” design significantly mitigates expert homogenization.
    2. Top-8 activation is a trade-off between capacity and cost. Choosing 8 out of 256 means each token touches only about 3% of expert capacity. Sparsity is high enough that total parameters can be very large while per-token compute stays manageable.
    3. A dense first layer favors representation stability. The first layer faces raw token embeddings directly, and a dense transformation helps form a stable base representation, avoiding the representation jitter that premature routing can introduce.

    Schematically, the computation of a single layer can be abstracted as:

    1. def moe_layer(x, router, experts, shared, top_k=8):
    2. # Shared expert: always active, carries general patterns
    3. y_shared = shared(x)
    4. # Router scoring: pick the Top-K experts for each token
    5. scores = router(x) # [batch, seq, num_experts]
    6. topk_val, topk_idx = scores.topk(top_k, dim=-1)
    7. weights = softmax(topk_val, dim=-1)
    8. # Sparse dispatch: compute only the experts that are hit
    9. y_routed = 0
    10. for w, idx in zip(weights, topk_idx):
    11. y_routed = y_routed + w * experts[idx](x)
    12. return y_shared + y_routed

    The real engineering difficulty is not the formula but dispatch and aggregation: All-to-All communication under expert parallelism, slowdowns caused by load imbalance, and the memory waste that comes from setting the capacity factor too high. These are what determine whether a large MoE can hit its theoretical throughput.

    3. Sparse Attention and Cross-Layer Index Reuse: A Cost Solution for Long Context

    Doubling context length makes full attention cost grow quadratically. The two-part design here is highly targeted:

    • Sparse attention: each token interacts with only a small number of filtered historical positions, pushing complexity from quadratic down to near-linear;
    • Cross-layer index reuse: the indices that select the sparse pattern are shared between adjacent layers, avoiding repeating the index computation at every layer.

    The value of cross-layer reuse is that index generation itself has overhead, especially on very long sequences. Letting indices computed in shallow layers be reused across multiple layers spreads one expensive retrieval cost over several layers. The trade-off is that layers cannot fully adjust their attention scope independently, so training must let the model adapt to this sharing constraint.

    4. Hyper-Connections and Native MTP: Training Stability and Decoding Speed

    Hyper-Connections replace the traditional residual connection, making the information pathways between layers richer and learnable. In deep networks, vanishing gradients and representation collapse are common problems, and a more flexible signal highway helps a depth like 78 layers stay trainable and preserve representation diversity.

    Native MTP builds a multi-token prediction head inside the model, jointly optimized with the backbone during training and used directly for speculative decoding at inference. The draft head proposes multiple candidate tokens at once, and the backbone verifies them in parallel. Compared with an external draft model, the native approach removes the extra cost of maintaining and aligning a separate model, and its acceptance rate is usually more stable.

    5. Evaluation Signals: Which Metrics Actually Matter

    In the official data, gains on general math and knowledge benchmarks are often just footnotes to “overall improvement.” More informative are three categories of evaluation that map closely to real work:

    • Software engineering: a code-fix benchmark jumped from around 28.0 to 64.3, a more-than-doubling leap; a terminal-task benchmark rose from 70.8 to 85.4, entering the top tier; a refactoring benchmark climbed from 32.9 to 53.3, surpassing several mainstream closed-source options and second only to the strongest one.
    • Tool calling: up from 56.2 to 74.1, essentially in the same range as leading solutions, indicating that the stability of multi-step tool orchestration has improved.
    • Post-training and math reasoning: a post-training-related benchmark rose from 14.5 to 35.6, exceeding some top closed-source models; a hard math benchmark went from 3.5 to 8.8, a clear improvement but still a relative weak spot.

    Together, these numbers point to one shift: the model’s center of gravity is moving from “answering questions correctly” to “getting the job done.” Long-horizon tasks, terminal operations, code refactoring, and tool chaining all require the model to maintain goal consistency across multiple turns, which raises the bar for post-training data construction and reward design.

    6. What This Means for Enterprises: Beyond the Base Model, the Scenario Is the Moat

    This approach offers three direct takeaways for users:

    1. Select by task, not by leaderboard. Leaderboard gaps are narrowing. Pass rate, rework rate, and human-takeover rate on real business tasks should drive decisions. Build an evaluation set of 100–300 of your own tasks, covering long-horizon and tool-calling scenarios.
    2. Apply long-context capability in the right places. Sparse attention makes long context cheaper, but “being able to fit it in” is not the same as “using it well.” Tasks like repository-level code understanding and long-document comparison need retrieval and chunking strategies rather than loading everything at once.
    3. Trade speculative decoding for throughput. Native MTP means significant speedups in latency-sensitive scenarios, but the acceptance rate depends on task distribution, so measure the actual speedup on real traffic before launch.

    At the deployment level, turning model capability into business results also requires supporting infrastructure: a container platform for elastic inference, object storage for managing training and evaluation data, and logging plus monitoring and alerting to track quality drift. Baidu AI Cloud offers standard building blocks for these general capabilities, but specific choices should still be based on your own task evaluation results.

    7. Conclusion

    The technical substance of this generation lies not in any single “world first,” but in assembling four validated tools well: large sparse MoE, sparse attention, Hyper-Connections, and Multi-Token Prediction, then using ample pre-training and post-training to lock in capability. For developers, the right response is not to chase the parameter table, but to build a task-evaluation loop of your own as quickly as possible, turning the base model’s general capability into measurable, dependable returns in your business scenarios.