Why Chinese LLMs Are Converging on the Same Architecture: The Technical Logic Behind It

    This article examines why the latest Chinese large language models look architecturally similar despite different parameter counts, focusing on sparse Mixture-of-Experts (MoE) and Multi-head Latent Attention (MLA). It explains how these shared design choices reshape inference cost, memory bandwidth, and training stability, then argues that real differentiation has shifted to engineering variables such as optimizers, token efficiency, data construction, and long-context training. It closes with a four-dimension framework developers can use to evaluate models for their own workloads.

    1. The Observation: Different Parameters, Similar Skeletons

    Chinese large models have iterated quickly over the past two years. Yet when you place the technical reports of the latest foundation models side by side, a striking pattern emerges: at the macro architecture level, the similarities far outweigh the differences. Parameter counts in the hundreds of billions to trillions, sparse Mixture-of-Experts (MoE) structures, the same family of compressed attention mechanisms, and comparable hidden dimensions have become something close to a default configuration for a new generation of foundation models.

    A common conclusion is that the technical differences are minor, and that these models are different branches of the same design lineage. That claim deserves a more careful framing: a shared architecture does not imply shared capability. What actually separates these models are the engineering variables that sit outside the architecture.

    2. The Shared Architectural Foundation: Two Key Designs

    2.1 Sparse Mixture-of-Experts (MoE): Decoupling Total Capacity from Per-Token Compute

    The limitation of dense models is that parameter count is tightly coupled to inference compute. The core idea of MoE is to place a large number of expert networks inside a layer and route each token to only a few of them, so total parameters can grow by an order of magnitude while activated parameters per token stay within a manageable range.

    A typical configuration is roughly 1 trillion total parameters with about 30 billion activated parameters. Inference cost therefore approaches that of a 30-billion-parameter dense model, while knowledge capacity approaches the trillion-parameter scale. The direct engineering consequence is higher memory and bandwidth pressure, since all expert weights must remain resident, while compute pressure stays relatively controlled.

    The routing mechanism typically consists of a gating network, Top-K selection, and a load-balancing loss, as illustrated below:

    1. # Forward pass of an MoE layer (illustrative, not a specific implementation)
    2. def moe_forward(x, experts, gate, top_k=8):
    3. logits = gate(x) # [batch, seq, num_experts]
    4. weights, idx = logits.topk(top_k, dim=-1)
    5. weights = softmax(weights, dim=-1) # normalize the selected expert weights
    6. out = zeros_like(x)
    7. for k in range(top_k):
    8. e = gather(experts, idx[..., k])
    9. out += weights[..., k:k+1] * e(x)
    10. return out + x # residual connection

    2.2 Multi-head Latent Attention (MLA): Compressing the KV Cache

    The bottleneck in autoregressive inference is often memory bandwidth rather than compute, and the KV cache grows linearly with context length. MLA projects keys and values into a low-dimensional latent space and caches only that compact representation, projecting back up during inference. This substantially shrinks the cache with almost no loss in quality.

    Combining the two produces a clear trade-off: since the attention side already frees up a large compute budget, sparsity can be pushed further, with more experts and fewer attention heads. Two comparisons from the original text illustrate this logic: one trillion-scale generation expanded to hundreds of experts while cutting attention heads to a few dozen, whereas an earlier generation paired hundreds of experts with more than a hundred attention heads. This is not simply a question of which is stronger, but a reallocation under the same inference budget.

    3. The Real Dividing Line: Engineering Variables Beyond Architecture

    Once the skeleton converges, competitiveness moves to three less glamorous areas.

    3.1 Optimizers and Token Efficiency

    As the growth of high-quality human text slows, token efficiency has become the key constraint on scaling. Matrix-based adaptive optimizers, which use matrix-level orthogonalized updates instead of element-wise adaptive methods to reduce optimizer state overhead, have started to appear in pretraining. These methods are more sensitive to hyperparameters and less numerically stable, requiring companion clipping mechanisms to constrain the magnitude of attention scores and avoid loss spikes mid-training.

    The engineering lesson is that the gains from swapping optimizers must be weighed against stability costs. Once scaling passes hundreds of billions of parameters, the cost of restarting a collapsed run far exceeds the throughput benefit the optimizer provides.

    3.2 Data Construction and Synthetic Data

    When real high-quality data is limited, the common industry practice is to expand the corpus through model generation followed by verification, with emphasis on verifiable domains such as math, code, and logical reasoning, combined with deduplication, quality scoring, and contamination detection. The engineering difficulty here is avoiding distribution degradation from model self-consumption, which requires keeping a sufficient anchor of real data.

    3.3 Training Stability and Long Context

    Typical large-scale training failures include routing collapse, where a few experts are over-selected, activation overflow, and gradient norm spikes. Common countermeasures are load-balancing losses, expert capacity limits with dropping strategies, z-loss regularization, and staged context length extension, starting short and then long, paired with positional encoding scaling.

    4. Practical Guidance for Developers: Building a Selection Framework

    A shared architecture means that choosing by spec sheet no longer works. A four-dimension evaluation is more useful:

    • Task fit: run small-scale blind tests on your own business data and focus on long-tail cases rather than average scores.
    • Inference economics: account for activated parameters, KV cache footprint, throughput under concurrency, and time to first token.
    • Engineering controllability: whether private deployment, fine-tuning, and quantization are supported, and whether stable monitoring, alerting, and logging services are available.
    • Ecosystem and compliance: API stability, data governance capability, and content safety policies.

    On the deployment side, inference services can run on a container platform, model and dataset versions can be managed with object storage, and latency, memory usage, and error rates can be observed through monitoring, alerting, and logging services. Baidu AI Cloud provides standardized infrastructure support for these general capabilities, but any concrete plan still depends on load-testing results for your own workload.

    5. Conclusion

    Convergence at the architecture level signals that the industry is maturing rather than that innovation has stalled. Once MLA and MoE became a shared foundation, the focus of competition naturally moved up to data, optimizers, and training engineering. For users, the rational approach is to stop asking whose architecture is more advanced and instead center evaluation on reproducible tests in your own scenarios and on total cost of ownership.