Demystifying Mixture of Experts: How Chinese LLMs Achieve High Performance with Lower Compute

    This article explores the core principles of the Mixture of Experts (MoE) architecture and how it enables Chinese large language models (LLMs) to achieve high performance with significantly lower training compute. It delves into the technical logic behind cost reduction, provides a framework for rationally evaluating LLM capabilities beyond standard benchmarks, and discusses the broader impact of these cost-efficient models on the AI industry.

    I. Background: The Rapid Rise of Chinese LLMs

    In recent years, the large language model (LLM) sector in China has entered a period of rapid development. Various startup teams, such as those based in Hangzhou, have made significant progress in model architecture design and training engineering optimization. Their open-source and commercial models have gradually narrowed the gap with top-tier international models in tasks such as code generation, mathematical reasoning, and long-context understanding, and have even surpassed them in certain scenarios.

    Meanwhile, a phenomenon worth discussing has emerged in the industry: some models claim to achieve performance levels close to leading models using far less training compute than their peers. This is not “magic,” but rather the result of systematic innovation at the model architecture and engineering system levels. This article does not review specific products but rather deconstructs the general methodology behind such cost-efficient models from a technical perspective.

    II. Core Principles of the Mixture of Experts Architecture

    2.1 From Dense to Sparse Models

    Traditional Transformer models use a dense architecture: every input token passes through all parameters. When the parameter scale reaches hundreds of billions, training and inference costs grow linearly or even super-linearly with the parameter count.

    The Mixture of Experts (MoE) architecture takes a different approach: it splits the feedforward network layer into multiple “experts,” and a router dynamically selects a few experts to participate in the computation based on the input content. This means:

    • The total parameter count can be very large (e.g., hundreds of billions), ensuring the model’s “knowledge capacity.”
    • The parameters actually activated per token are only a fraction of the total (a common industry ratio is within one-tenth of the total parameters), controlling the overhead of a single forward pass.

    A simplified schematic of the routing logic can be expressed as follows:

    1. # Simplified schematic of an MoE layer (pseudo-code)
    2. def moe_layer(x, experts, router, top_k=2):
    3. scores = router(x) # Calculate the matching score for each expert
    4. topk_ids = top_k(scores) # Select only the top k scoring experts
    5. outputs = []
    6. for idx in topk_ids:
    7. outputs.append(experts[idx](x)) # Activate only the selected experts
    8. return weighted_sum(outputs, scores)

    2.2 Costs and Challenges

    MoE is not without its costs. In engineering practice, the following issues need to be prioritized:

    1. Load Balancing Issue: If routing always concentrates tokens to a few experts, it causes an “imbalance” among experts, leading to training instability. A common industry practice is to introduce an auxiliary load balancing loss to force token distribution among experts to be as uniform as possible.
    2. VRAM and Communication Pressure: A large total parameter count means model weights consume high VRAM. In multi-GPU training, experts are distributed across different devices, and the All-to-All communication introduced by routing becomes a performance bottleneck.
    3. Fine-tuning Difficulty: Sparse activation means that only partial parameter paths are updated during fine-tuning. When data is insufficient, this easily leads to overfitting or routing collapse, requiring more refined training strategies.

    III. Technical Logic Behind Low Training Costs

    A specific Chinese team once disclosed that their model training used a compute budget in the millions of dollars, far lower than the usual cost of models of the same scale. From a general engineering perspective, such cost compression typically stems from the following levels:

    3.1 Algorithm Level

    • Better Architecture Design: For example, using Multi-Head Latent Attention to compress the Key-Value cache, significantly reducing VRAM consumption during long-context inference.
    • More Refined Mixed-Precision Training: Retaining high precision on critical numerical paths while using low-precision storage for gradients and optimizer states to reduce VRAM and communication volume.

    3.2 Data Level

    The importance of high-quality data far exceeds that of total data volume. Through systematic data cleaning, deduplication, quality scoring, and curriculum-based proportioning, significantly better model performance can be achieved with the same compute—this essentially transforms “compute for performance” into “data engineering for performance.”

    3.3 Engineering Level

    • Communication Optimization: Overlapping computation and communication, and finely partitioning pipelines to improve overall cluster utilization.
    • Fault-Tolerant Training: Hardware failures are a norm on large-scale clusters. Fast detection and hot recovery capabilities directly determine the proportion of effective training time.
    • Training Framework Customization: Parallel strategies and operator fusion customized for MoE characteristics can often bring double-digit percentage throughput improvements.

    Stacking these optimizations explains why a model of the same scale can do “more with less.”

    IV. How to Rationally Evaluate an LLM’s Capabilities

    Faced with overwhelming benchmark scores, developers should establish a more comprehensive evaluation framework:

    1. Look Beyond Benchmarks to Real Tasks: Public leaderboards easily overfit. It is recommended to build a small-scale evaluation set on your own business data, covering typical input distributions.
    2. Distinguish Between “Knowledge Capacity” and “Reasoning Ability”: Knowledge memorization brought by large parameter counts and chain-of-thought reasoning ability are two dimensions that require separate tests.
    3. Focus on Inference Cost, Not Just API Pricing: The number of activated parameters per token determines the compute overhead on the inference side. Sparse models usually have a structural advantage in inference pricing.
    4. Verify the Stability of Long Context and Instruction Following: Many models perform well on short texts but degrade noticeably on ultra-long documents or complex multi-turn instructions.
    5. Examine Ecosystem and Toolchain Compatibility: Whether it is compatible with mainstream inference frameworks, whether it supports private deployment, and whether quantization schemes are mature directly affect landing costs.

    Taking coding capabilities as an example, a pragmatic verification method is to prepare a set of tasks covering different difficulties and languages:

    1. Task 1: Implement unit tests given a function signature (Easy, tests syntax mastery)
    2. Task 2: Refactor a piece of legacy code with bad smells (Medium, tests context understanding)
    3. Task 3: Design and implement a complete module based on vague requirement docs (Hard, tests reasoning and planning)

    Scoring by task layers reflects the model’s value in a real development workflow better than a single benchmark score.

    V. Industry Impact and Outlook

    The emergence of cost-efficient models is changing several basic industry judgments:

    • Compute Barriers Partially Weakened: Algorithm and engineering optimizations can make up for hardware gaps to a certain extent, which is a major boon for compute-constrained teams.
    • Open-Source Strategies Accelerate Ecosystem Prosperity: Open-weight models allow enterprises to deploy and fine-tune in private environments, significantly reducing data security and compliance concerns.
    • Decreased Inference Costs Drive Application Popularization: When the cost per million tokens drops by an order of magnitude, many previously uneconomical application scenarios (such as full log analysis and batch document processing) will become feasible.

    For developers, a reasonable strategy right now is to maintain continuous attention to architectural evolution (especially sparsification, long context, and multimodal fusion) while establishing reproducible evaluation and iteration processes for their own businesses. Cloud providers are also actively refining model services, compute scheduling, and toolchain support, providing infrastructure backing for model training, fine-tuning, and deployment, allowing developers to choose the appropriate combination of platform capabilities based on their needs.

    VI. Conclusion

    The technological route represented by the Mixture of Experts architecture proves that the improvement of model capabilities does not rely entirely on piling up compute; the synergy of architectural innovation, data engineering, and system optimization is equally critical. Understanding these underlying logics not only helps us separate truth from falsehood during technology selection but also provides a clear methodological reference for building our own high-performance AI applications.