Understanding Chinese LLM Architecture Choices and Model Selection Practices

    A practical analysis of why leading Chinese large language models share similar architectures, and how engineering trade-offs—sparsity, training strategy, and alignment—drive real capability differences. The article covers MoE and MLA design patterns, token-efficiency trends, four common capability profiles, a reproducible evaluation workflow, and deployment considerations.

    1. The Real Difference Is Engineering Trade-offs, Not Architecture

    Across recent generations of Chinese large language models, one fact is often overlooked: many teams converge on highly similar base architectures, typically combining sparse Mixture-of-Experts (MoE) with Multi-head Latent Attention (MLA). Key hyperparameters such as hidden size and expert hidden size also fall within comparable ranges. As a result, the meaningful differences between models come mainly from sparsity configuration, optimizer choice, data mixtures, and post-training strategies—not from a generational gap at the architecture level.

    From an engineering perspective, this can be summarized in one sentence: a shared foundation + different tuning + different alignment = divergent capability profiles. Once you understand this, model selection stops being a question of “whose architecture is more advanced” and becomes “whose target distribution is closest to my business distribution.”

    2. Architecture: Shared Choices in Sparse MoE and Attention Efficiency

    Mainstream designs typically maintain roughly tens of billions of activated parameters under a total parameter count in the trillions. By increasing the number of experts, they raise sparsity and improve the return on compute per unit at a fixed inference budget. Common supporting practices include:

    • Using attention with low-rank latent compression to reduce KV cache usage and make long context more practical;
    • Moderately reducing the number of attention heads, reallocating the saved memory and bandwidth budget to the expert layers;
    • Improving expert load balancing through shared experts or routing constraints, reducing throughput jitter caused by “hot experts.”

    An illustrative configuration comparison (expressing design orientation only, not specific product parameters):

    1. @dataclass
    2. class MoEConfig:
    3. hidden_size: int # Hidden dimension; determines per-layer expressive capacity
    4. num_experts: int # Total number of experts; larger means sparser
    5. activated_params: str # Activated scale per token; determines inference cost
    6. num_heads: int # Number of attention heads; affects long-sequence memory
    7. use_mla: bool = True # Low-rank latent attention; compresses the KV cache

    The engineering implication is straightforward: higher sparsity yields better cost-efficiency in both training and inference, but also raises the demands on routing stability, memory fragmentation, and batch scheduling.

    3. Training: Token Efficiency Becomes the New Scaling Axis

    As the growth of high-quality human text slows, the focus of scaling shifts from “piling up more data” to “improving the information utility of each token.” A fairly mainstream combination is to use optimizers that are friendlier to matrix multiplication for faster convergence, apply clipping techniques to suppress unstable loss spikes in mid-training, and incorporate verifiable synthetic data (such as code and math samples with checkers) to supplement scarce high-quality text.

    In practice, three observable metrics are worth tracking: the slope of validation loss reduction per unit of compute, the magnitude of gradient norm fluctuation in late training, and how well the synthetic data mixing ratio matches real-task metrics. These three predict post-launch stability better than parameter count does.

    4. Capability Profiles: Four Typical Orientations and Their Use Cases

    • Long-context orientation: Strong for cross-document retrieval, contract and log analysis, and repository-level code understanding; the cost is higher first-token latency and cache overhead.
    • Code and structured-output orientation: Strong for tool calling, schema-constrained generation, and unit test completion; self-correction ability on long-chain tasks needs focused validation.
    • Multimodal orientation: Strong for mixed text-and-image understanding and parsing of interfaces and charts; the cost fluctuation introduced by resolution tiling strategies requires additional evaluation.
    • Deep-reasoning orientation: Thinks more thoroughly and completes tasks at a higher level, but responds slowly and consumes substantial compute, making it better suited to offline batch processing than high-concurrency online Q&A.

    5. Selection and Evaluation: Turning Subjective Experience into a Reproducible Process

    1. 1) Sample real business requests and build a stratified evaluation set of 200~500 items (difficulty/length/language)
    2. 2) Fix decoding parameters and prompt templates; record accuracy, structured-output compliance rate, and P95 latency
    3. 3) Compute cost per effective answer = (input + output token cost) / pass rate
    4. 4) Run A/B canary tests on candidate models; observe 7-day retention and manual rework rate

    The key principle is “same task, same parameters, same budget”—without it, no comparison holds. For reasoning-oriented models, also track the rate of “overthinking” separately, meaning cases where a large reasoning budget is consumed on simple tasks.

    6. Deployment Architecture: Running Model Services on General Cloud Capabilities

    The model is only one link in the chain; a stable application needs supporting infrastructure: a container platform to host inference services and elastic scaling, object storage to accumulate text and evaluation sets, a message queue to smooth peaks and decouple asynchronous tasks, and logging plus monitoring and alerting to track latency, failure rates, and cost drift. Baidu AI Cloud provides standard-category support for these general capabilities, making it easier for teams to focus on prompt engineering, retrieval augmentation, and evaluation loops.

    7. Common Pitfalls and Tuning Advice

    1. Looking only at leaderboard rankings: their value is limited when the leaderboard distribution does not match your business distribution.
    2. Ignoring decoding parameters: temperature, top-p, and maximum output length have a major impact on structured tasks.
    3. Lacking a regression set: hidden degradation appears as soon as a prompt or model is upgraded, and a regression set is the only defense.
    4. Counting only unit price: convert to “cost per effective answer,” including rework and manual review.

    In short, given the reality of architectural convergence, the rational approach is to first clarify the task distribution and cost constraints, then select models using reproducible evaluation, and finally rely on general cloud infrastructure to ensure stability and observability.