Breaking Down the Technical Architecture of Chinese LLMs: A Selection Guide

    This article breaks down the converging technical architecture of mainstream Chinese large language models and explains why engineering details—not the overall design—determine real-world performance. It covers sparse MoE configurations, low-rank attention compression, optimizer stability, data efficiency, and a four-dimensional evaluation framework, then offers a practical selection checklist for choosing a model based on your own workload.

    1. The Bottom Line First: Shared Architecture, Different Engineering

    Public technical documentation shows that the underlying design of mainstream Chinese large language models has converged significantly: most use a trillion-parameter-scale Mixture of Experts (MoE) architecture, paired with low-rank compressed attention, and are pretrained on extremely long corpora. It is not an exaggeration to view them as different branches on the same technical path.

    That does not mean any model will do. The real differences lie in three areas: how sparsity is balanced against activated parameters, how numerical stability is maintained during training, and how inference cost is pushed down into a commercially viable range. These three factors determine whether a model is merely usable or genuinely effective in your business.

    It is worth stressing that a shared architecture is a normal outcome of the industry moving forward as a whole. When a technical path proves effective, later entrants reusing its skeleton and changing only key hyperparameters is a rational engineering decision, not a lack of capability.

    2. Architecture: Sparsification Is the Main Line, Configuration Is the Deciding Factor

    2.1 The Trade-off Between Trillion-Scale Parameters and Billion-Scale Activation

    Take a trillion-scale MoE model as an example: roughly 1.04T total parameters, about 32B activated parameters per token, a hidden dimension of 7168, and an expert hidden dimension of 2048. What this set of numbers means is that model capacity is counted in trillions, while the compute for a single forward pass is counted in billions.

    The core trade-off here is that capacity sets the upper bound on knowledge, while activation volume determines inference cost. Only when the two are decoupled can “large” and “fast” hold at the same time.

    2.2 Number of Experts: Why More Sparse Is Better

    An extension of the Scaling Law under sparse architectures holds that, with a fixed total parameter budget, further increasing sparsity (more experts, each smaller) yields steady performance gains. This is why some teams have raised the expert count from 256 to 384.

    The costs are equally clear:

    • Load balancing for expert routing becomes harder, and “hot experts” can become overloaded;
    • All parameters must stay resident in GPU memory, placing higher demands on memory capacity and inter-GPU interconnect bandwidth;
    • The communication pattern of distributed training becomes more fragmented, raising the share of All-to-All overhead.

    2.3 Attention: Trading Low-Rank Compression for Memory

    The essence of MLA-style mechanisms is low-rank joint compression—projecting Key/Value into a low-dimensional latent space for caching, then projecting back up during inference. The benefit is a substantial reduction in KV Cache memory usage, especially evident in long-context scenarios.

    Pairing this with fewer attention heads (for example, from 128 down to 64) to offset the extra computation introduced by sparsification is a typical give-and-take style of tuning:

    1. # Illustration: key dimension relationships for low-rank compressed cache
    2. kv_lora_rank = 512 # latent space dimension after compression
    3. qk_nope_head_dim = 128 # dimension without positional encoding injected
    4. qk_rope_head_dim = 64 # dimension carrying positional information
    5. # cache size ∝ (kv_lora_rank + qk_rope_head_dim), not head_num × head_dim

    3. Training: Optimizers and Data Efficiency

    3.1 Optimizer Choice Affects Stability

    Some teams replace traditional adaptive methods with Muon-style optimizers. The idea is to use matrix structure information to orthogonalize updates, achieving better update direction quality on matrix-type parameters. In engineering terms, note that such optimizers usually apply only to hidden-layer matrix parameters, while the embedding and output layers still use adaptive optimizers, forming a hybrid configuration.

    In trillion-scale training, the real value of optimizer choice is not “faster convergence” but fewer loss spikes and the rollback reruns they cause—a single rollback can cost several days of compute.

    3.2 Token Efficiency Becomes the New Bottleneck

    High-quality human text is nearing exhaustion, so the training focus is shifting from “piling up token counts” to “raising the information density of each token.” A pretraining scale of 15.5T tokens, combined with data quality tiering, deduplication, domain ratio control, and curriculum-style arrangement, is standard industry practice.

    A practical data governance order to follow:

    1. Rule-based and statistical deduplication (document-level, paragraph-level);
    2. Quality classifier scoring and bucketed sampling;
    3. Domain ratio constraints to control sampling weights for code/math/multilingual data;
    4. Injecting high-quality instruction and reasoning data during the annealing phase.

    4. Evaluation: Don’t Look at the Total Score Alone

    Under a shared architecture, differences in aggregate benchmark scores often fall within the noise range. A four-dimensional evaluation is recommended:

    • Capability: reasoning, code, long-text understanding, multilingual;
    • Cost: cost per million tokens, first-token latency, throughput;
    • Engineering: context-length stability, structured output compliance rate, rate-limiting policy;
    • Compliance: content safety, data residency, auditability.

    Structured output compliance rate can be measured with a minimal check:

    1. import json
    2. def compliance(text: str) -> float:
    3. ok = 0
    4. for line in text.splitlines():
    5. try:
    6. json.loads(line); ok += 1
    7. except json.JSONDecodeError:
    8. pass
    9. return ok / max(len(text.splitlines()), 1)

    5. Deployment: Filling Engineering Gaps with General Cloud Capabilities

    A model is only the engine; stable service depends on surrounding infrastructure: using a container platform to host elastic inference replicas, object storage to archive training and evaluation datasets, a message queue to smooth traffic peaks and troughs, and logging and monitoring/alerting services to track latency and error rates. Baidu AI Cloud offers a complete combination in these general categories, which can be assembled freely according to business scale.

    6. Selection Checklist

    1. Clarify whether the scenario is long context, code, or multi-turn dialogue;
    2. Run a small-scale blind test on your own business data rather than relying on public benchmarks;
    3. Stress-test first-token latency and concurrent throughput to confirm the cost range;
    4. Verify structured output and content safety compliance performance;
    5. Reserve an abstraction layer for model replaceability to avoid tight coupling with a single implementation.

    A shared architecture means similar capability floors, while engineering details determine the ceiling. Make the evaluation solid, and selection no longer relies on guesswork.