MoE Sparse Design and Training Optimization in Open-Source LLMs: A Technical Route Analysis

    This article analyzes the technical routes of leading open-source LLMs built on a shared MoE foundation. It examines how sparsity choices, MLA attention, expert and attention-head reallocation, the Muon optimizer with QK-Clip stability controls, and token-efficient data strategies shape model performance and training reliability. It also provides practical guidance for model selection and benchmarking.

    1. Conclusion First: Differentiated Competition on a Shared Architecture

    From a purely technical perspective, the differences among several leading open-source LLMs at the base architecture level are not large. With mainstream open-source foundation architectures, represented by DeepSeek-V3, now publicly available, many flagship models can be viewed as engineering improvements and training-strategy optimizations on this shared foundation. The real differentiation no longer comes from the architecture blueprint itself, but from deeper work in the following dimensions:

    • Degree of sparsity: the trade-off between the number of experts and activated parameters
    • Choice of training optimizer and stability safeguards
    • Data engineering quality and synthetic data strategy
    • Investment in post-training, including alignment and Agent capabilities

    The analysis below covers three layers: architecture, pretraining, and training stability.

    2. Architecture: Pushing MoE Sparsity

    Current flagship open-source LLMs generally adopt a MoE (Mixture of Experts) Transformer architecture. The core idea is to make the total parameter count large while activating only a small subset of parameters for each token. This substantially increases model capacity while keeping inference cost controllable.

    Taking a certain trillion-parameter model as an example, a typical configuration is:

    • Total parameters: about 1T; activated parameters: about 32B; activation ratio: only about 3%
    • Attention mechanism: MLA (Multi-head Latent Attention), which uses low-rank compression of the KV cache to significantly reduce memory usage during inference
    • Hidden dimension: 7168; hidden dimension of a single expert: about 2048

    Within this common framework, differentiated adjustments mainly appear in two directions:

    1. Increasing the number of experts. Analysis based on Scaling Law shows that continued improvements in sparsity can bring significant performance gains. One team expanded the number of experts from a base of 256 to 384, further increasing the model’s conditional compute capacity. More experts enable finer-grained routing decisions and stronger specialization across different tasks.

    2. Reducing the number of attention heads. To offset the inference overhead caused by more experts, some teams reduced attention heads from 128 to 64. Attention computation is an important component of inference latency. Reducing the number of heads, combined with MLA cache compression, can achieve better throughput in long-context scenarios.

    This reflects a typical “parameter budget reallocation” approach: with a fixed total compute budget, resources are shifted from the attention module to the feed-forward expert network, because the capacity gains from MoE currently have higher marginal returns at this scale.

    3. Optimizer Layer: Muon and Training Stability Trade-offs

    In pretraining, optimizer choice is one of the most distinctive aspects of each team’s approach. Traditional large-model training commonly uses AdamW-series optimizers. One team boldly adopted the Muon optimizer for a trillion-parameter model. Muon is a second-order-inspired optimizer based on matrix orthogonalization updates and shows higher sample efficiency under the same token budget.

    However, Muon is not “plug-and-play.” In large-scale distributed training, it carries the risk of uncontrolled update magnitude. In particular, the spectral norms of the Q and K projection matrices in attention layers may keep growing, causing attention logits explosion and training divergence.

    To address this, the industry has proposed QK-Clip-style techniques: after each optimizer update, monitor the spectral norms of the Q and K weight matrices, and if they exceed a threshold, clip and scale them proportionally to keep attention logits within a safe range. An illustrative pseudocode example is as follows:

    1. def qk_clip(q_weight, k_weight, max_logit_bound):
    2. q_spec = spectral_norm(q_weight) # Compute spectral norm
    3. k_spec = spectral_norm(k_weight)
    4. gamma = max_logit_bound / (q_spec * k_spec)
    5. if gamma < 1.0:
    6. q_weight *= gamma ** 0.5 # Symmetric scaling
    7. k_weight *= gamma ** 0.5
    8. return q_weight, k_weight

    This combination of “optimizer innovation + stability guardrails” represents a frontier direction in current large-model training: no longer relying solely on stacking data and compute, but extracting value from every unit of compute from the perspective of optimization geometry.

    4. Data Layer: Token Efficiency as a New Scaling Axis

    The availability of high-quality human data is increasingly constrained, which means the brute-force data scaling route is approaching its ceiling. Token efficiency, meaning how much capability improvement each token can deliver, is becoming a key factor in LLM scaling.

    Mainstream strategies include:

    1. Synthetic data generation: using strong models to generate high-quality synthetic corpora such as mathematical reasoning, code, and logic chains, compensating for the insufficient density of natural data in specific domains.
    2. Dynamic data mixture adjustment: adjusting domain proportions by training stage and increasing the weight of high-difficulty reasoning data in later training stages.
    3. Curriculum learning: arranging data from easy to hard to improve convergence efficiency.

    5. Selection and Practical Recommendations

    For developers and enterprise users, the value of understanding these technical differences is this: shared architectures mean that the upper bounds of base capabilities are similar. The real selection differences lie in post-training capabilities, such as tool calling, multi-turn Agent behavior, and long context, as well as ecosystem fit. It is advisable to run benchmarks based on specific scenarios rather than looking only at parameter scale.

    6. Summary

    Leading open-source flagship models are following a clear shared technical route: MoE sparse architecture + MLA attention + new optimizers + synthetic data. Future competition will shift from architecture innovation to training-stability engineering, data efficiency, and continuous refinement of Agent capabilities. For teams planning to build their own models or fine-tune existing ones, these public technical reports are among the best engineering practice references.