Open-Source LLM Architecture Evolution: From Sparse MoE to Reasoning Enhancement
This article reviews the architecture and training evolution of open-source large models across the V3, R1, V3.1, and V3.2 generations. It explains sparse Mixture-of-Experts, Multi-head Latent Attention, pure-RL reasoning emergence, cold-start multi-stage training, mixed thinking modes, and Deep Sparse Attention, then summarizes the implications for inference cost, deployment, and model selection.
Open-Source LLM Architecture Evolution: From Sparse MoE to Reasoning Enhancement
1. Background: Matching Performance While Reducing Cost
Over the past year or so, the open-source large model field has gone through a rapid period of development. From last year’s V3 base model to the R1 reasoning model early this year, and then to this year’s V3.1 and V3.2, this evolution path clearly shows how the open-source community has continued to make breakthroughs toward two goals: matching top closed-source models in performance and significantly reducing inference cost.
One interesting industry observation is that some overseas practitioners joked about “releasing V3 last Thanksgiving and V3.2 this Thanksgiving.” This near-anniversary release cadence reflects a stable research and development rhythm, and it has also made each release a focus of industry attention. The latest version has reached a level comparable to top closed-source models on reasoning benchmarks, while the open-source strategy allows these technical details to be publicly analyzed. Based on public technical reports and community analysis, this article reviews what changed in each version along this evolution path, why the changes were made, and how they were implemented.
2. Preliminary Concepts: Foundations for Understanding the Evolution
Before going into technical details, it is worth clarifying a few basic concepts that are easy to confuse.
2.1 Two Stages of Large Model Training
Pre-training: The model is trained on massive amounts of text, usually trillions of tokens, to produce a base model. A base model is essentially a powerful text continuer: it can fluently continue input content, but it is not particularly good at “conversing” or following instructions.
Post-training: The base model is further trained so that it learns to converse, follow instructions, and refuse harmful requests. Post-training usually includes two stages:
- SFT (supervised fine-tuning): The model is trained on high-quality, human-annotated question-answer data to learn basic dialogue formats and behavioral norms.
- RL (reinforcement learning): Reward signals are used for further optimization so that the model continues to improve on specific objectives such as answer correctness and format compliance.
2.2 Reasoning Models vs. Regular Models
A regular model gives an answer directly after receiving a question. A reasoning model first “thinks” for a while, explicitly writes out its reasoning process, and then gives the final answer. This thinking process is usually wrapped in special tags. For example, the final answer section looks like this:
Final answer is...
2.3 Two Generations of Models Share the Same Architecture
A key fact is that R1 and V3 use exactly the same architecture. The difference lies only in the training method. This means that architecture innovation, which happened in the V3 stage, and capability innovation, which happened in the R1 stage, can be decoupled into two separate lines.
3. The V3 Stage: Two Major Architecture Innovations
3.1 Sparse Mixture of Experts
The most important architectural feature of V3 is its MoE (Mixture of Experts) structure. In a traditional dense model, every token must go through computation over all parameters. MoE replaces the feed-forward network layer with multiple “experts,” and a router selects only a small number of experts to activate for each token.
This brings a core advantage: the total parameter count is large, providing large knowledge capacity, but each forward pass activates only a small subset of parameters, keeping computation cost low. This is why the later-disclosed training cost could be reduced to the millions-of-dollars level: compared with dense models of similar performance, training compute consumption drops substantially.
The engineering challenges of MoE include:
- Load balancing: If the router always assigns tokens to a few “star experts,” other experts do not receive training, which can cause training collapse. V3 uses a combination of auxiliary loss and dynamic bias to maintain balanced activation across experts.
- Expert-parallel communication: During training, experts are distributed across different GPUs, and cross-GPU all-to-all communication becomes a bottleneck. Careful pipeline orchestration is needed to hide communication overhead.
3.2 Multi-head Latent Attention
The second innovation is MLA (Multi-head Latent Attention). In traditional multi-head attention, the KV cache grows linearly with context length during inference, making it a major memory consumer for long-text inference. MLA projects keys and values into a low-rank latent space, caches only the compressed latent vectors, and decompresses them during inference.
The result is that KV cache usage is reduced to a fraction of its original size, directly improving throughput and the number of concurrent requests that can be served in long-context scenarios. This design was later adopted by multiple open-source models and became an industry trend.
3.3 Training Engineering Optimizations
Beyond architecture, V3 also has several notable training engineering highlights: FP8 mixed-precision training reduces memory and communication overhead; a carefully designed multi-pipeline parallelism strategy keeps large clusters highly utilized; and operator fusion optimizations are applied to MoE routing, communication, and computation. Only when these engineering details are combined does “low-cost large model training” move from a slogan to a fact.
4. The R1 Stage: Igniting Reasoning Ability with Reinforcement Learning
The release of R1 caused a stir because it demonstrated a disruptive training path.
4.1 R1-Zero: A Pure-RL Experiment That Skips SFT
R1-Zero takes the V3 base model directly, skips supervised fine-tuning, and uses only pure reinforcement learning for training. The reward signals mainly come from two aspects:
- Accuracy rewards: Whether math answers are correct and whether code passes tests.
- Format rewards: Whether the thinking process is placed inside the specified tags.
The striking finding was that the model spontaneously emerged with “reflection” behavior. In the middle of its reasoning, it would write things such as “Wait, I calculated that wrong, let me redo it.” This ability was not explicitly taught; it was a byproduct of RL optimizing for correctness. This validated the hypothesis that reasoning ability can emerge from pure RL.
However, R1-Zero also had obvious problems: the thinking process was poorly readable and mixed Chinese and English. This led to the improved正式 version, R1.
4.2 R1: Cold Start Plus Multi-stage Training
The formal R1 version introduced several thousand high-quality long-chain reasoning examples for “cold-start” fine-tuning, first teaching the model a standardized thinking format before entering the RL stage. After that, it used rejection sampling to generate SFT data and then ran another round of RL. Ultimately, it outperformed R1-Zero in both readability and performance. In addition, R1’s distillation experiments showed that using reasoning data to fine-tune smaller models can also give those smaller models considerable reasoning ability.
5. V3.1 and V3.2: Sparse Attention and Engineering Deployment
5.1 V3.1: Mixed Thinking Mode
After R1, the team remained quiet for more than half a year. During that period, according to public information, it addressed adaptation issues with the underlying compute platform. This year’s V3.1 introduced a “mixed thinking” mode: the same model can switch between thinking mode and non-thinking mode, controlled by a template, simplifying deployment and switching costs.
5.2 V3.2: Paving the Way for and Deploying DSA Sparse Attention
When the V3.2-Exp version was released, its benchmark results were not prominent and it received limited attention. But it was actually paving the way for the formal version’s DSA (Deep Sparse Attention): it allowed various inference frameworks and deployment tools to adapt to the new architecture in advance.
The core idea of DSA is to change attention computation from “every query looks at all historical tokens” to “looking only at a small number of selected key tokens.” Specifically, a lightweight indexer, a compact network trained with shared parameters from the main model, selects the top-k historical tokens with the most information for each query, and attention is computed only on those selected tokens.
Because the indexer is jointly trained with the main model, it learns to select exactly the tokens that are most critical for prediction. As a result, the accuracy loss caused by sparsification is minimal, while the complexity of attention computation drops from linear to nearly constant relative to context length. Long-text inference cost falls substantially.
The formal V3.2 version uses the same architecture and reaches the level of top closed-source models on reasoning benchmarks. At the same time, API pricing has dropped by an order of magnitude. The inference cost reduction brought by sparse attention is ultimately translated into extreme price-performance for users.
6. Summary and Implications of the Evolution Path
Looking back at this path, we can extract three progressive layers of evolution logic:
- Architecture layer: MoE addresses “large capacity with low-cost training,” MLA addresses “KV cache expansion,” and DSA addresses “long-context attention computation.” Together, the three form a complete cost-reduction technology stack.
- Training layer: The path moves from the standard SFT+RL process to pure RL emerging reasoning ability, and then to a refined cold-start plus multi-stage RL approach. This proves that reasoning ability can be systematically “trained” rather than only “pre-trained.”
- Engineering layer: FP8 training, expert-parallel communication optimization, and the progressive release strategy for sparse attention—first releasing an experimental version to prepare the ecosystem, then releasing the formal version—show that competition among top models is no longer only algorithm competition. It is also competition in systems engineering and ecosystem operations.
The implication for developers and enterprises is that the capability boundary of open-source models is rapidly approaching that of closed-source models, and the two major trends of sparsification and reasoning enhancement will continue to reshape the inference cost structure. In practical model selection, it is advisable to combine context length, latency requirements, and cost budgets with stress-test evaluations, and to fully leverage the private-deployment advantages of open-source models to build AI application solutions with optimal price-performance.
