Architecture Trends in Chinese Foundation Models: The Design Trade-offs Behind MoE and MLA
Chinese foundation model teams are increasingly converging on similar architectural blueprints—mixture-of-experts (MoE) for scalable capacity and multi-head latent attention (MLA) for efficient long-context inference. This article breaks down the engineering logic behind this convergence, decoding key parameters such as total parameter count, activated parameters, expert count, and attention head count, and explains why architectural similarity does not mean capability parity. It also offers practical guidance for enterprises evaluating and deploying large models, covering cost estimation, inference efficiency, and selection criteria.
Why Leading Foundation Models Look Increasingly Alike
Over the past two years, technical reports from major Chinese foundation model teams reveal a striking pattern: while each team differentiates itself through training data, post-training strategies, and application focus, the underlying architectures have converged along a common technical path. Mixture-of-experts (MoE), multi-head latent attention (MLA), sparse activation, and large-scale expert pools have become standard features across flagship models.
To illustrate, consider the publicly reported parameters of two models. One uses an MoE architecture with 671B total parameters, 37B activated parameters, a hidden dimension of 7168, 256 experts, and 128 attention heads. A later release scales total parameters to 1.04T with 32B activated parameters, maintains the same hidden dimension (7168) and expert hidden dimension (2048), increases the expert count to 384, and reduces attention heads to 64. The proximity of these figures suggests a shared architectural lineage; differences boil down to how each team trades off sparsity against attention overhead.
This article does not compare specific products. Instead, it unpacks the engineering rationale behind these design decisions from first principles.
MoE: Trading Sparsity for Capacity
From Dense to Sparse Models
In a conventional dense Transformer, every forward pass activates all parameters, tying model capacity directly to compute cost. MoE breaks the feed-forward network (FFN) into a large number of parallel “expert” sub-networks and uses a gating router to select only a few experts for each token.
The immediate benefit: total parameter count can be scaled up dramatically to increase knowledge capacity, while the actual compute per inference step depends only on the activated parameters. A 1T-parameter model with 32B activated parameters, for instance, incurs roughly the same per-token inference cost as a 32B dense model—but has a far higher representational ceiling.
Scaling Laws for Expert Count
Published scaling law research shows that, under a fixed compute budget, increasing sparsity—adding more total experts while keeping the number of activated experts constant—yields steady performance gains. This explains why newer models push expert counts from 256 to 384: total parameter growth comes primarily from “more experts,” while activated parameters may even decrease, delivering greater model capacity at the same or lower inference cost.
More experts are not always better, however. Engineering constraints include:
- Communication overhead: Experts are distributed across devices; routing tokens to experts involves cross-node communication. The more dispersed the experts, the greater the all-to-all communication pressure.
- Load balancing: The router may direct a disproportionate number of tokens to a few “popular” experts, overloading certain devices. Load-balancing losses or bias-adjustment strategies without auxiliary losses are typically required.
- Expert granularity: Finer-grained experts (more experts with smaller hidden dimensions) improve knowledge disentanglement but increase scheduling complexity.
MLA: Compressing the Attention Cost
KV Cache as the Inference Bottleneck
During autoregressive inference, each newly generated token must read the Key/Value cache (KV Cache) of all preceding tokens. For long-context scenarios, the memory footprint and bandwidth consumption of the KV Cache often exceed the model weights themselves, making it a decisive factor in throughput and cost.
The Idea Behind Latent Attention
Multi-head latent attention (MLA) compresses Keys and Values into a latent vector far smaller than the original dimension via low-rank projection. Only this latent vector is cached during inference; the attention computation reconstructs it into multi-head space at each step. The results:
- KV Cache size drops substantially, significantly relieving memory pressure for long-context inference.
- The equivalent expressive power of attention is largely preserved, with minimal quality loss.
- It creates headroom for further compression, such as reducing attention head count.
The Attention Head Trade-off
In the parameter comparison above, the most notable shift is attention heads dropping from 128 to 64. With MLA already reducing KV Cache cost, the marginal impact of attention head count on inference overhead changes: stacking more heads yields diminishing representation gains while compute and memory-access costs remain real. Redirecting that compute budget toward more experts is a rebalancing that aligns with scaling law findings—invest in sparse capacity, not attention width.
Architectural Convergence ≠ Capability Convergence
Similar architectures mean teams have chosen the same “skeleton.” Final model capabilities depend far more on factors beyond the skeleton:
- Training data: Corpus scale, quality, and composition (code, mathematics, multilingual data) directly determine the model’s knowledge distribution.
- Training methodology: Stability engineering during pretraining (e.g., communication and fault tolerance in large-scale MoE training), plus post-training strategies such as supervised fine-tuning and reinforcement learning, often differentiate models more than architecture alone.
- Inference systems: Quantization, speculative sampling, continuous batching, and KV Cache paging management determine how much throughput and latency the same architecture can achieve.
- Engineering infrastructure: Scheduling across thousand- or ten-thousand-GPU clusters, checkpoint resumption, and fault recovery constitute the real moat for foundation model teams.
In short, architecture is a necessary condition; data, training, and systems engineering are the sufficient conditions.
Practical Implications for Adoption and Deployment
For developers and enterprises using large models in production, the architectural logic outlined above offers several takeaways:
- Focus on activated parameters, not total parameters: When estimating inference cost, activated parameter count is far closer to the real expense than total parameter count.
- Examine KV Cache efficiency for long-context workloads: Models using latent attention compression have a clear cost advantage in long-document processing, multi-turn dialogue, and codebase-level understanding.
- Prefer deployment options with proven engineering validation: Building elastic inference services on general-purpose cloud infrastructure—container platforms, object storage, logging, and monitoring—lets teams concentrate on the business layer rather than cluster operations.
- Let evaluation drive selection: Rather than comparing parameter tables alone, build evaluation sets from real business data and benchmark accuracy, latency, and unit cost.
Conclusion
The convergence of mainstream foundation model architectures reflects the industry’s collective convergence on a “current optimum” under the dual constraints of scaling laws and engineering practice: use MoE for capacity, use MLA for cache efficiency, then fine-tune the balance between expert count and attention width based on cost models. For practitioners, understanding the trade-offs behind these numbers carries more lasting value than memorizing any parameter comparison table.
