Why Chinese LLMs Are Converging on the Same Architecture: The Engineering Logic Behind MoE and MLA
Chinese large language models increasingly share a similar underlying architecture, but architectural similarity does not mean identical capabilities. This article breaks down why sparse Mixture-of-Experts (MoE) and Multi-head Latent Attention (MLA) have become the common design pattern, explains the three key trade-off knobs of expert count, attention heads, and activated parameters, and shows where real performance differences come from: data, training, post-training, and inference engineering. It also offers practical guidance for developers on evaluation, cost control, and building a model-agnostic gateway.
1. The Takeaway First: Architectural Convergence Is Engineering Convergence, Not Capability Homogeneity
Based on publicly available technical material, several Chinese large language models show a high degree of similarity in their underlying architecture. They can largely be viewed as products of the same technical lineage—“same origin, different implementations.” They share a design paradigm that the industry has already validated: a sparse Mixture-of-Experts (MoE) backbone, a Multi-head Latent Attention (MLA) mechanism, and structural trimming aimed at inference cost.
It is important to stress that architectural similarity does not imply identical capabilities. What truly separates models is data mixture and cleaning strategy, the training and post-training pipeline, long-context and tool-calling ability, and engineering-side inference throughput and stability. For developers, understanding the “shared architecture” is the entry barrier; understanding the “sources of difference” is what matters for model selection.
2. Breaking Down the Shared Architecture: Why MoE and MLA Became Mainstream
2.1 The Essence of Sparse MoE: Decoupling Parameters from Compute
In traditional dense models, parameter count and the compute for a single forward pass are roughly linearly coupled. MoE introduces a routing network so that each token activates only a subset of expert networks. This allows the total parameter count to grow substantially while keeping per-token compute controllable. The two widely recognized benefits are: first, more knowledge capacity can be packed into the same compute budget; second, in terms of scaling behavior, increasing sparsity often yields a better performance curve.
The costs are equally clear: memory usage scales with total parameters, expert parallelism introduces communication overhead, and load imbalance across experts wastes compute.
2.2 The Core of MLA: Compressing the KV Cache
The memory bottleneck in autoregressive inference is usually not the weights but the KV cache. MLA projects keys and values into a low-dimensional latent space and caches the compressed representation, then reconstructs it during inference, significantly reducing cache usage in long-context scenarios. This is a complementary path to “reducing the number of attention heads”: one compresses the cache, the other reduces compute.
2.3 Structural Trade-offs: Three Tunable Knobs
Take a typical configuration from a piece of public technical material as an example (1.04T total parameters, 32B activated parameters, hidden dimension 7168, expert hidden dimension 2048, 384 experts, 64 attention heads). Three knobs can be abstracted from it:
- Number of experts: increasing the expert count raises sparsity, which helps performance but drives up memory and communication costs;
- Number of attention heads: reducing from 128 to 64 cuts inference-time compute but may lose fine-grained representational ability;
- Activated parameters: determine the actual compute per token and are the direct balance point between cost and quality.
An illustrative capacity estimation logic (expressing only order-of-magnitude relationships, not specific product data):
# Rough estimate: relationship between total params, activated params, and memory usagetotal_params = 1.04e12 # total parametersactivated_params = 32e9 # activated parameters per tokenbytes_per_param = 2 # BF16 as an exampleweights_mem_gb = total_params * bytes_per_param / 1e9compute_ratio = activated_params / total_paramsprint(f"Weight memory is about {weights_mem_gb:.0f} GB")print(f"Sparse compute ratio is about {compute_ratio:.2%}")
The point of this code is that higher sparsity saves compute, but memory does not drop proportionally. This is the core tension of MoE deployment.
3. Where Do the Differences Actually Come From
Architectures can converge, but capabilities do not converge automatically. Verifiable differences come mainly from four layers:
- Data layer: corpus mixture, deduplication and quality filtering, proportion of code and math samples, multilingual coverage;
- Training layer: parallelism strategy, numerical stability handling, learning rate and batch scheduling, training stability engineering;
- Post-training layer: instruction fine-tuning, preference alignment, tool calling and structured output, long-context extension;
- Engineering layer: batching and scheduling in the inference engine, quantization schemes, cache hit rate, elastic scaling, and observability.
Therefore, evaluating a model should not rely only on parameter count and leaderboard scores; a multi-dimensional evaluation matrix should be established.
4. Selection and Implementation Advice for Developers
- Define scenario constraints first: determine context length, concurrency, latency budget, and per-call cost ceiling before discussing model size.
- Run small-scale real evaluations: build a 100–300 item evaluation set from your own business samples, covering edge cases and failure cases; this is more informative than public leaderboards.
- Focus on inference economics: prioritize whether KV cache reuse, batch scheduling, and reasonable quantization are supported, rather than looking only at unit price.
- Keep the architecture replaceable: abstract model calls into a unified gateway layer to enable canary releases and rollbacks across different models.
# Minimal sketch of a unified model gateway: hide underlying differences for easy canary switchingclass ModelGateway:def __init__(self, backends):self.backends = backends # multiple pluggable backendsdef chat(self, messages, **options):backend = self.pick(options.get("route"))return backend.chat(messages, **options)def pick(self, route):return self.backends.get(route, next(iter(self.backends.values())))
- Make good use of general-purpose cloud capabilities: object storage for training and evaluation data, message queues for asynchronous task decoupling, container platforms for elastic inference, and logging services with monitoring and alerting for observability. Baidu AI Cloud can provide standardized support in these general infrastructure categories, helping teams focus their energy on model quality itself.
5. Common Misconceptions
- Misconception 1: A larger total parameter count is always better. What actually determines cost is activated parameters and memory usage.
- Misconception 2: Fewer attention heads always save more. It only optimizes the compute side and does not solve memory or representational power.
- Misconception 3: The same architecture means the same results. Differences in data and post-training are often more significant than architectural differences.
- Misconception 4: Leaderboard scores map directly to business results. Distribution shift can distort leaderboard conclusions.
6. Summary
Mainstream Chinese large language models converge architecturally on the general MoE plus MLA paradigm, which is essentially an engineering choice that decouples “parameter scale” from “inference compute.” What developers really need to master is the trade-off logic of the three knobs, the cost structure of memory versus compute, and an evaluation and canary mechanism centered on their own data. Treating the model as a replaceable component and evaluation as a continuous engineering practice is what keeps engineering returns stable in a fast-moving model ecosystem.
