Open-Source LLMs Closing the Gap: Technical Analysis of a New-Generation MoE Architecture
Open-source large language models (LLMs) are rapidly narrowing the gap with their closed-source counterparts. This article provides a technical analysis of a new-generation Mixture of Experts (MoE) open-source model, examining its parameter scale, training data enhancements, and three key architectural innovations: Multi-latent Attention (MLA) with Muon Split optimization, multi-token prediction, and sparse attention. It also explores what these advancements mean for developers and enterprise users in terms of inference cost, deployment flexibility, and data control.
1. The Gap Between Open-Source and Closed-Source is Rapidly Narrowing
Over the past two years, a recurring question in the LLM space has been: just how large is the gap between open-source models and top-tier closed-source models? Early answers often suggested a lag of “at least one to two generations.” However, recent evaluation data paints a different picture. While closed-source flagship models still lead in comprehensive intelligence, the gap with the first tier of open-source models has shrunk to a highly visible margin.
Taking the widely referenced Intelligence Index (v4.0) as an example, a new-generation open-source MoE model scored 50 points—the first time an open-source model has reached this level on the leaderboard, ranking first among its peers. In community-driven arena battles, the model ranked first among open-source models in both text and code tracks, placing it in the same tier as the top overseas closed-source models.
For developers and enterprise users, this is a significant signal: as open-source model capabilities approach the closed-source frontier, options that previously required “compromising performance”—such as private deployment, data autonomy, and cost optimization—are becoming a reality that can be achieved simultaneously.
2. Model Fundamentals: Dual Leaps in Parameter Scale and Training Data
2.1 MoE Architecture Base Parameters
The model continues the Mixture of Experts (MoE) architecture route. The core idea of MoE is that the model contains a large number of “expert” sub-networks, and during inference, a router activates only a small portion of them. This maintains a massive total parameter capacity while keeping the computational cost of a single inference within a reasonable range.
Specific parameters include:
- Total parameters: 744B, utilizing a structure of 256 experts and 80 layers;
- Active parameters per inference: 40B, meaning only about 5% of parameters are called during a single forward pass;
- Compared to the previous generation: Total parameters doubled from 355B to 744B, while active parameters increased from 32B to 40B.
This design philosophy of “doubling total parameters with a slight increase in active parameters” is noteworthy. It reflects the typical scaling logic of the MoE architecture: a model’s knowledge capacity is primarily determined by its total parameters, while inference cost is dictated by active parameters. By increasing the number of experts to expand knowledge reserves while keeping the activation ratio low, the model’s performance ceiling can be significantly raised without substantially increasing inference costs.
2.2 Training Data Scale
The data side has also seen significant enhancement:
- Pre-training data increased from 23T tokens in the previous generation to 28.5T tokens;
- This includes 27T in the pre-training phase and 1.5T in the mid-training phase.
The mid-training phase deserves specific explanation. Industry practice often involves arranging a “mid-training” phase after large-scale pre-training but before fine-tuning, using higher-quality, more targeted data (such as high-difficulty reasoning samples, code, and multilingual corpora) to “refine” the model. The 1.5T tokens of mid-training data often contribute disproportionately to the model’s final capability ceiling compared to their proportion of the total data.
3. Three Architectural Changes: The Core Technical Highlights
Distinguishing itself from the previous generation, this iteration introduces three key architectural changes: Multi-latent Attention (MLA) combined with Muon Split optimization, multi-token prediction, and sparse attention. Let’s break them down one by one.
3.1 MLA: Trading KV Cache Compression for Long-Context Efficiency
The model employs Multi-latent Attention (MLA), a mechanism shared with industry-leading solutions. To understand its value, one must first look at the problems with traditional approaches.
During the inference phase of autoregressive generation, generating each token requires reading the Key/Value (KV) cache of all preceding tokens. As the context grows longer, the memory consumed by the KV cache increases linearly, becoming the primary bottleneck for long-context inference. In traditional Multi-Head Attention (MHA), the KV dimensions of each head are stored independently, causing the cache size to grow proportionally to the product of head count and dimension.
MLA’s approach is to project the KV into a low-dimensional latent space and cache only the compressed vector, reconstructing it via up-projection when needed. The core idea is illustrated in the following pseudo-code:
# Traditional MHA: cache full K, V# KV cache size ∝ n_heads × head_dim × seq_len × 2# MLA: cache compressed latent vectorsc_kv = W_dkv(h) # Down-projection, only cache c_kvk = W_uk(c_kv) # Up-project to reconstruct K when neededv = W_uv(c_kv) # Up-project to reconstruct V when needed# KV cache size ∝ latent_dim × seq_len, significantly smaller than the former
The effect is that when processing long contexts, memory footprint drops significantly, and throughput increases, with particularly notable advantages in high-concurrency batch scenarios.
However, the team discovered an issue during training: the combination of MLA and certain optimizers posed challenges to training stability. This led to the Muon Split improvement—by adjusting how weight matrices are handled in the optimizer, the numerical characteristics of parameter updates during large-scale training became more stable. This highlights a crucial engineering insight: architectural innovation is not isolated; changes to attention mechanisms cascadingly affect optimizer selection, training hyperparameters, and the entire training infrastructure.
3.2 Multi-Token Prediction: Multiple Outputs in a Single Forward Pass
Traditional language model training employs the “next-token prediction” objective: each position only learns to predict the single token immediately following it. Multi-token prediction allows the model to predict multiple future tokens simultaneously at each position, using multiple output heads during training to correspond to different prediction distances.
Its benefits manifest on two levels:
- Denser training signals: The same forward computation produces multiple supervision signals, improving learning efficiency per unit of data and positively impacting reasoning and planning capabilities.
- Interface for inference acceleration: If the model learns to predict multiple subsequent positions during training, inference can adopt a self-speculative parallel drafting + verification strategy, increasing decoding speed without altering model weights.
# Multi-token prediction illustration: main head + multiple prediction headslogits_main = head_main(h) # Predict t+1logits_next = head_next(h) # Predict t+2logits_next2 = head_next2(h) # Predict t+3
3.3 Sparse Attention: Making Long Contexts “Affordable to Compute”
Even if the KV cache is compressed, the attention computation itself remains O(n²) in complexity—the longer the context, the quadratic growth in compute. The introduction of sparse attention mechanisms addresses exactly this problem: instead of having each query token attend to all historical tokens, a learnable routing mechanism selects only the few tokens with the most information to participate in the computation.
This strategy of “dynamically selecting important tokens” essentially concentrates the attention computation budget where it matters most. For scenarios involving contexts of hundreds of thousands of tokens, sparsification can reduce attention computation by an order of magnitude with almost no loss in task accuracy. MLA handles storage compression, while sparse attention handles compute compression; together, they form a complete solution for long-context capabilities.
4. Implications for Developers
Overall, the technical path of this generation of open-source models offers several takeaways for practitioners:
- Architectural innovation remains the main battlefield. Beyond stacking parameters, the combined innovation of attention mechanisms, training objectives, and optimizer co-design is the key to open-source models catching up with closed-source ones.
- The structure of inference costs is changing. MoE activation control + KV cache compression + sparse attention collectively dictate that “large models can also run cheaply,” which is a direct benefit for enterprises building their own inference services.
- The usability tipping point for the open-source ecosystem has arrived. With open-source models ranking in the same tier as the first echelon of closed-source models in mainstream evaluations, enterprises should re-evaluate the default assumption of “must rely on closed-source APIs,” especially for data-sensitive scenarios requiring private deployment.
The competition between open-source and closed-source will undoubtedly continue, but the pace of this catch-up has exceeded most expectations. For developers, understanding the logic behind these underlying architectural evolutions provides more long-term value than memorizing a specific benchmark score.
