Chinese Open-Source LLM Evolution: Architecture Efficiency and Reasoning Capability
This article reviews a Chinese open-source LLM series through two main themes: architecture efficiency and reasoning capability. It covers data engineering for general base models, fine-grained and shared-expert MoE design, repository-level code data and fill-in-the-middle training, GRPO critic-free reinforcement learning, and multimodal vision encoders and alignment data, with a brief note on later milestones such as MLA, DeepSeek-V3, and reasoning models. It highlights reported performance trade-offs and practical checks for model selection and solution design.
Introduction: Two Main Threads for Understanding the Series
Over the past two years, a Chinese open-source LLM series has released many papers and models covering general language, code, mathematical reasoning, multimodality, and document understanding. The work centers on two main threads: architecture efficiency—how to obtain stronger capabilities at the same compute cost—and reasoning capability—how to help models learn long-chain thinking. This article starts with several key works from early 2024, briefly describes extensions in later versions, and finally outlines a checklist that can be used directly for model selection and solution design.
1. General Base Models: Returns from Data Engineering
In January 2024, the series released general language models at 7B and 67B scales, with about 2 trillion tokens for pretraining. The paper emphasizes a long-term approach: investing more in data cleaning, deduplication, and mixture ratios, even if short-term leaderboard performance is not leading, so that model capability can continue to grow with data and compute.
The paper reports that the 67B model outperforms Llama-2 70B on evaluations such as code, math, and reasoning. This result shows that, under limited compute, open-source models can approach closed-source models through careful data engineering. For teams building or fine-tuning their own models, the direct implication is that improving data-pipeline quality often yields higher returns than simply increasing parameters.
2. Mixture-of-Experts Architecture: Fine-Grained and Shared Experts
Traditional MoE usually uses a small number of large experts. When experts are large, knowledge duplication easily occurs: each expert must learn general knowledge, and specialization is limited. This work makes two changes for this problem.
- Fine-grained expert segmentation: each expert is split into smaller units, allowing the router to combine knowledge at a finer granularity and with more flexible combinations.
- Shared experts: a fixed portion of experts remains activated for all tokens and handles general knowledge, allowing routed experts to focus on differentiated capabilities and reducing redundancy.
The model in this paper has about 145B total parameters. The report shows that it achieves performance comparable to a 67B dense model with about 28.5% of the compute, and in some configurations about 18.2%. These ratios are based on compute, not the share of activated parameters in total parameters. When selecting models, check total parameters, activated parameters, and actual compute per token separately.
The core value of MoE is to decouple capacity from compute: larger total parameters bring more knowledge capacity, while compute per token remains roughly unchanged. Several later MoE models have followed this approach.
3. Code Models: Repository-Level Data and Fill-in-the-Middle Training
In January 2024, the team trained code models from scratch with 1.3B to 33B parameters, using about 2 trillion tokens of pretraining data and covering 87 programming languages. Two practices are worth noting.
- Repository-level data organization: files in the same project are arranged by dependency so the model can see cross-file context.
- Fill-in-the-middle training: the model is trained to complete code in the middle based on surrounding context, which is close to real IDE completion at the cursor.
The paper reports that the series outperforms most contemporary open-source code models on mainstream code benchmarks such as HumanEval and MBPP, and some results also exceed some closed-source models. For teams building intelligent coding assistants or code review tools, “general base model + domain continued pretraining + scenario alignment” is a proven and reliable path.
4. GRPO: Critic-Free Reinforcement Learning
PPO training for large models requires maintaining both actor and critic models. The critic is usually comparable in size to the actor, and both memory and training overhead are high. GRPO instead samples a group of responses for the same question, computes relative advantages using the mean and standard deviation of rewards within the group, and uses this to replace the critic’s value estimate; it then still uses a PPO-style clipped objective.
The pseudocode below is only for illustrating advantage estimation, not a complete implementation:
# Illustration: GRPO group-relative advantages# G is the number of samples for the same prompt; eps is a small constant to avoid division by zerorewards = [reward(o) for o in sampled_outputs] # length Gmean_r = sum(rewards) / len(rewards)std_r = (sum((r - mean_r) ** 2 for r in rewards) / len(rewards)) ** 0.5advantages = [(r - mean_r) / (std_r + eps) for r in rewards]# Then use a PPO-style clipped objective and add a KL constraint to the reference model
Actual training still needs to handle hyperparameters such as reward normalization, response-length penalties, and the KL coefficient. Removing the critic significantly reduces memory and optimizer states needed for training. The exact savings depend on model size, sequence length, and parallelization; the paper does not provide a single number applicable to all settings. The engineering lesson from GRPO is that in post-training, algorithmic simplification can often save more resources than stacking engineering workarounds.
5. Multimodality: Vision Encoders and Alignment Data
In March 2024, the series released its first vision-language model. The paper’s design focuses on two points. First, it uses a hybrid vision encoder that combines SigLIP-L for semantic information and SAM-B for high-resolution details, adapting to image inputs of different resolutions. Second, it systematically studies training strategies and data ratios in the vision-language alignment stage to ensure that language capability does not drop noticeably after adding visual capability. Enterprise scenarios such as document understanding and table recognition rely on this type of capability.
