Why Chinese Trillion-Parameter LLM Architectures Are Converging: The Technical Logic
This article examines why leading Chinese trillion-parameter MoE models are converging on similar architectures, breaking down sparse MoE routing, low-rank attention compression, expert-count trade-offs, and optimizer and parallelism choices. It then explains where real capability differences come from—data engineering, training stability, post-training, and inference serving—and offers practical guidance for developers on model selection, KV cache budgeting, observability, elastic deployment, and whether to build a training stack.
1. The Pattern: Why Trillion-Parameter Models Are Starting to Look Alike
Over the past two years, several teams in China have released trillion-parameter-scale mixture-of-experts (MoE) models. Put their technical reports side by side and a striking pattern emerges: the overall skeleton is highly similar. They all use a sparsely activated MoE structure, a low-rank compressed attention variant, and a gap of one to two orders of magnitude between total parameter count and activated parameter count.
This convergence is not the result of teams copying one another’s homework. It is the inevitable outcome of the same set of constraints. Three dimensions explain it:
- Hard compute and memory constraints: The capability of dense models scales almost linearly with parameter count, and training and inference costs rise linearly as well. Sparsification decouples “total capacity” from “compute per token,” making it one of the few viable paths to keep scaling within a limited cluster.
- Diminishing supply of high-quality data: The industry has widely observed that the growth of available high-quality text data is slowing. Token efficiency—the capability gain delivered by each token—has therefore become a key scaling factor, and architecture design has to be more economical.
- Positive externalities of public research: Results on attention compression, sparse routing, and optimizer improvements spread quickly through papers and open-source implementations. It is hard for any team to hold a durable architectural advantage.
The conclusion: architectural differences are converging, and the real dividing line is shifting to data mixtures, training-stability engineering, inference serving, and domain adaptation.
2. Anatomy of a General Architecture: What Makes Up a Trillion-Scale MoE Model
2.1 The basic form of sparse MoE
The core idea of MoE is to use a router to select a small number of experts for each token. With N total experts and k activated per token, parameter capacity is roughly N/k times that of a dense model, while compute stays roughly unchanged:
# Simplified sketch of a sparse MoE forward pass (not a specific implementation)def moe_forward(x, experts, router, top_k=8):logits = router(x) # [batch, seq, num_experts]weights, idx = logits.topk(top_k) # keep only the top_k expertsweights = softmax(weights, dim=-1)out = 0for slot in range(top_k):eid = idx[..., slot]out = out + weights[..., slot].unsqueeze(-1) * dispatch(experts[eid], x)return out
The real engineering difficulty is not the formula but dispatch: routing from tokens to experts is dynamic, and across devices it produces irregular global communication. Load imbalance can turn individual devices into bottlenecks.
2.2 The compression direction of attention
The mainstream approach uses a low-rank joint compression attention variant that projects the key-value cache into a lower-dimensional latent space and reconstructs it at inference time. The payoff is a large reduction in KV cache memory, improving both throughput and small-batch latency in long-context scenarios. The cost is that training requires more careful numerical precision and initialization strategies. A common companion practice is to adjust hidden dimensions, expert hidden dimensions, and attention head counts so that the memory saved on the cache is absorbed by additional expert capacity.
2.3 Trading off expert count and sparsity
Continuing to increase sparsity usually buys meaningful performance gains, but with diminishing marginal returns, and it pushes up two kinds of cost: routing and communication overhead, and memory fragmentation plus synchronization stalls under expert parallelism. A common industry compromise is hundreds of experts with single digits to low teens activated per token, with attention head counts reduced moderately to balance the compute budget. Note that the specific numbers depend heavily on cluster topology and parallelism strategy; there is no universal optimum.
2.4 Training efficiency: optimizers and parallelism
Matrix-based optimizers (such as Muon-style methods built on matrix orthogonalization) have shown faster convergence than traditional adaptive optimizers in small- and mid-scale training. At trillion-parameter scale with very long training runs, however, their memory overhead and distributed implementation complexity need extra evaluation. Most teams adopt a hybrid strategy: a mature, stable adaptive optimizer for the main body, new optimizers tried in selected modules, combined with pipeline parallelism, expert parallelism, sequence parallelism, and recomputation to push cluster utilization high.
3. Where Capability Differences Really Come From
Once the skeleton converges, differences migrate to the parts you cannot see:
- Data engineering: Chinese-English mixtures, the share of code and math, filtering and deduplication of synthetic data, and curriculum-style data ordering often affect final capability more than architectural tweaks.
- Training stability: Loss spikes, router collapse, and expert collapse are frequent failures in trillion-parameter training. Being able to run for a long time without human intervention is itself a core capability.
- The post-training pipeline: How supervised fine-tuning, preference optimization, and reinforcement learning with verifiable rewards are combined determines instruction following, tool calling, and long-chain reasoning.
- Inference serving: Prefix cache reuse, continuous batching, load balancing under expert parallelism, quantization, and speculative decoding directly determine how much concurrency a unit of cost can serve.
4. Practical Advice for Developers
- Select by cost per token, not parameter count: Run small-scale load tests on real business corpora and compare effective output quality per unit of throughput.
- Budget memory for long context: Prioritize the implementation quality of KV cache strategy and paging management.
- Put observability first: Wire up logging, monitoring and alerting, and tracing, and establish baselines for time to first token, time per output token, and cache hit rate.
- Deploy elastically: Use container platforms and message queues for peak shaving and asynchrony, separating burst traffic from batch jobs.
- Be cautious about building your own training stack: Pretraining has an extremely high barrier, and for most teams, domain continued pretraining and post-training on top of a general foundation model offer a better return on investment.
Baidu AI Cloud continues to invest in model serving and compute scheduling, offering a general combination of capabilities spanning training compute, model hosting, and inference acceleration, which can serve as one infrastructure option for enterprises building their own LLM applications.
