MoE Architecture in Chinese LLMs: Sparse Design Paths and Core Advantages

    This article explores how leading Chinese large language models have shifted from competing on raw parameter counts to competing on architectural efficiency. It covers the core principles of Mixture-of-Experts (MoE) design, the evolution of attention mechanisms toward low-rank compression, the scaling laws governing sparsity and expert counts, key engineering challenges such as load balancing and communication overhead, and practical takeaways for developers deploying sparse models in production.

    1. From a Parameter Race to an Architecture Efficiency Race

    Over the past two years, the focus of competition among Chinese large language models has quietly shifted. In the early days, the race was about total parameter count. Today, the real dividing line is different: how to activate only the necessary parts of a massive model during each forward pass, striking the optimal balance among training cost, inference latency, and model capability.

    The Mixture-of-Experts (MoE) architecture is the core vehicle of this trend. The basic idea is straightforward: split a huge model into multiple “expert” subnetworks, and use a gating network to route each input to only a few of them. This way, the total parameter count can be extremely large, while the number of activated parameters actually participating in computation stays within a manageable range.

    Take a representative industry example: an MoE model with roughly 1.04T total parameters activates only about 32B parameters per forward pass—an activation ratio of around 3%. This means the model has a very wide “knowledge capacity,” yet its inference compute burden is close to that of a mid-sized dense model. This “large capacity, small activation” design is the mainstream direction of current LLM engineering.

    2. The Evolution of Attention: From Standard Self-Attention to Low-Rank Compression

    In the Transformer architecture, the memory and compute overhead of the attention mechanism is one of the bottlenecks during inference. In particular, KV cache usage grows linearly with sequence length. A widely adopted optimization approach in the industry is Multi-head Latent Attention (MLA)-style designs, whose core ideas are:

    1. Low-rank compression of KV representations: Project keys and values into a low-dimensional latent space, cache only the compressed vectors, and reconstruct them at inference time—dramatically reducing memory footprint.
    2. Decoupled positional encoding: Separate the position-carrying components from the content representations, ensuring that compression does not compromise positional modeling over long contexts.

    Models built with this design, combined with a sparse MoE structure, can maintain high throughput in long-context scenarios—a major advantage in real-world deployment.

    3. The Scaling Law of Sparsity: Trade-offs in Expert Count

    Sparsification is not simply “the more, the better,” but recent scaling-law analyses do show that keeping activated parameters constant while continuously increasing sparsity (i.e., raising the total number of experts) delivers significant performance gains.

    Comparing two typical configurations makes this clearer:

    Design Dimension Plan A Plan B
    Hidden dimension 7168 7168
    Expert hidden dimension 2048 2048
    Total experts 384 256
    Attention heads 64 128

    The table reveals two interesting trade-off logics:

    First, increase the number of experts and raise sparsity. Plan A raises the expert count from 256 to 384, effectively partitioning the “knowledge base” into finer slices. Each expert handles more specialized patterns, the router has more choices, and the model’s overall expressive capacity expands. The cost is a higher total parameter count—but since the activation strategy stays the same, the compute per inference does not increase significantly.

    Second, reduce the number of attention heads. Plan A cuts attention heads from 128 to 64, which—combined with MLA’s low-rank compression—further reduces compute and cache overhead at inference time. This is a clear engineering choice: sacrifice some attention parallelism width in exchange for lower deployment cost and higher serving throughput.

    Together, these two changes reflect the pragmatic attitude of current Chinese LLM architecture design: guided by scaling laws, trade parameters for efficiency, and spend the budget where it improves capability the most.

    4. Key Engineering Challenges in MoE Productionization

    Architecture design is only the starting point. Making an MoE model actually work involves a series of engineering challenges—also the main battleground where different approaches differentiate:

    1. Load balancing. If the gating network always routes requests to a few “star experts,” the remaining experts receive insufficient training and model capability degrades. Common mitigations include auxiliary load-balancing losses and device-level routing constraints, which require careful tuning within the training objective.

    2. Communication overhead. In large-scale distributed training, experts are typically spread across different compute nodes, and tokens must be transferred across devices. The more experts there are, the higher the routing parallelism and communication complexity—placing heavy demands on parallelism strategies (such as combinations of expert parallelism and pipeline parallelism).

    3. Inference scheduling. At inference time, different requests within a batch activate different experts. A good inference engine needs to group requests by expert and aggregate computation, minimizing the overhead of switching expert weights. This is why sparse models generally impose higher requirements on inference frameworks than dense models.

    4. Training stability. Sparse activation paths make gradient distributions more uneven, and numerical instability becomes more likely under mixed-precision training. Details like careful initialization schemes and temperature control of the routing softmax often determine whether large-scale MoE training completes successfully.

    5. Implications for Developers

    From a technology selection perspective, sparse-architecture models of this kind deliver practical value to application developers in three main ways:

    • Strong capability at controllable cost: With moderate activated parameters, inference costs less than comparably capable dense models, making them suitable for high-concurrency online services.
    • Long-context friendliness: The low-rank compressed attention design naturally suits scenarios like long-document understanding and code analysis.
    • Deployment flexibility: Combined with the quantization and parallelism capabilities of mainstream inference frameworks, these models can be deployed across a range of hardware scales.

    For teams that need to integrate LLM capabilities in the cloud, it is advisable to focus on general evaluation dimensions: context window, throughput and latency metrics, fine-tuning support, and surrounding engineering infrastructure (such as object storage for training data, log services for monitoring API calls, and monitoring/alerting for service availability)—rather than simply chasing parameter scale.

    6. Conclusion

    Chinese large language models have moved past the stage of blindly stacking parameters and entered deeper waters where architectural innovation drives efficiency gains. Trillion-scale total parameters, extremely low activation ratios, fine-grained expert partitioning, and low-rank compressed attention together outline a clear path: use scaling laws to guide architectural decisions, and use engineering optimization to cash in on architectural dividends. Understanding the trade-off logic behind these designs is more valuable than memorizing specific parameter numbers—because what they reveal are the universal laws of LLM technology evolution.