Deep Dive: The Architecture Evolution of Open-Source Large Models
This article examines the latest generation of open-source foundation models, focusing on a 744B total-parameter, 40B-activated Mixture of Experts design and three core architectural changes: Multi-head Latent Attention with per-head orthogonalization, multi-token prediction, and sparse attention for long context. It explains the engineering trade-offs behind each choice and outlines a four-step approach for evaluating and deploying these models in production.
1. Why This Generation of Open-Source Models Deserves Attention
Industry evaluation bodies are sending a clear signal: top-tier closed-source models still lead on overall capability, but the gap to the highest-ranked open-source models has narrowed substantially. For engineering teams, this means the “capability ceiling” is no longer an exclusive selling point of closed-source options. Selection criteria are shifting toward controllability, private deployment, and cost per inference.
On overall capability leaderboards, the new generation of open-source flagship models crossed the 50-point threshold for the first time, ranking first in the open-source camp. In the more preference-driven Chatbot Arena and Code Arena evaluations, they also sit in the top open-source tier, performing at the same level as leading overseas closed-source and closed-source multimodal models. The caveat: leaderboard scores are only an entry ticket. Real-world results depend on architectural details and engineering support.
2. The Fundamentals: 744B Total Parameters, 40B Activated
The new base model follows a Mixture of Experts (MoE) route: 744B total parameters, only 40B activated per inference, with 256 experts across 80 layers. Compared with the previous generation’s 355B total and 32B activated, total parameters have doubled and activated parameters have increased by roughly 25%.
The engineering implications are worth unpacking:
- Total parameters determine knowledge capacity and the upper bound; activated parameters determine compute cost per forward pass. Scaling total parameters while keeping activation small balances “expanding knowledge” against “controlling inference cost.”
- More experts enable finer-grained specialization but amplify load imbalance risk. Routing strategy and parallel partitioning must be upgraded accordingly.
- The depth of 80 layers combined with sparse activation makes memory and communication tighter constraints than compute, especially for long-context scenarios.
Pretraining data grew from 23T tokens in the previous generation to 28.5T tokens, split into roughly 27T for pretraining and 1.5T for mid-training. Mid-training is often overlooked, but it typically handles long-context extension, high-quality data re-injection, and capability alignment. It is the critical step between “scoring well on benchmarks” and “doing real work.”
3. Architectural Change One: Latent Attention Paired with Per-Head Orthogonalization
The attention mechanism uses Multi-head Latent Attention (MLA), based on the same low-rank compression idea already established in the industry: the key-value cache is compressed into a low-dimensional latent space and reconstructed at inference time, significantly reducing memory usage. Throughput on long text is better than with standard multi-head attention.
Training exposed a real problem: low-rank compression makes the projection matrices noticeably ill-conditioned, with feature scales varying widely across directions. Orthogonalizing the full matrix as a single block “freezes” this imbalance, causing skewed update directions and unstable loss early in training.
The fix is to push orthogonalization down to a finer granularity: instead of processing the full projection matrix as one unit, orthogonalize each attention head separately. Think of it as moving from “global uniform balancing” to “independent per-group balancing”:
# Illustration: block orthogonalization vs. per-head orthogonalizationdef orthogonalize_block(W): # shape [d_out, d_in]return matrix_orthogonalize(W)def orthogonalize_per_head(W, n_heads):d_out, d_in = W.shapeassert d_out % n_heads == 0head_dim = d_out // n_headsheads = W.view(n_heads, head_dim, d_in)heads = matrix_orthogonalize(heads) # batched orthogonalization over the head dimensionreturn heads.view(d_out, d_in)
The benefit is training stability: update scales are constrained independently per head, gradient propagation is more uniform, and combined with compressed attention the model converges steadily at larger batch sizes and longer sequence lengths. Two engineering notes: orthogonalization adds overhead and needs operator-level fusion, and the head dimension must divide the output dimension evenly, so the partitioning strategy must align with the parallelism scheme.
4. Architectural Change Two: Multi-Token Prediction
The second change adds multi-token prediction to the training objective: at each position, the model predicts not only the next token but several future tokens. The value has three layers:
- Denser training signal. The same corpus provides more supervision, improving data efficiency.
- The model is forced to learn longer-range dependencies, which pays off for code and structured text with strong syntax.
- It naturally fits speculative decoding: the extra prediction heads can serve as a draft source, turning parallel verification into real inference speedup.
The key trade-off in practice is prediction distance and number of heads. Predicting too far introduces noisy labels that interfere with the main objective. The usual approach is to keep the main objective as strict next-token prediction, let auxiliary heads contribute to the loss with smaller weights, and enable or disable them at inference as needed.
# Illustration: main objective + auxiliary multi-step predictionloss = next_token_loss(logits_main, targets[:, 1:])for k in range(1, K + 1):loss += w[k] * next_token_loss(logits_aux[k], targets[:, k + 1:])
5. Architectural Change Three: Sparse Attention for Long Context
The third change targets long context with sparse attention (along the lines of DeepSeek Sparse Attention): score candidates with a lightweight method first, select the few key-value blocks most relevant to the current query for exact computation, and skip the rest. Complexity drops from quadratic in sequence length to near-linear, with memory and latency falling at the same time.
A fair assessment: sparsification is not lossless. Block selection strategy, block size, and whether to keep global and local windows all affect recall quality. A common engineering combination is “local window + a few global anchors + learnable block selection,” validated through both long-text retrieval evaluations and real long-document question answering.
6. How to Evaluate and Adopt This in Your Own Business
Faced with a technical report like this, the real question for a team is “should I use it, and how?” A four-step approach:
- Define constraints first: settle context length, concurrency, latency budget, and data compliance requirements before discussing model capability.
- Build your own evaluation set: treat general leaderboard scores as reference, and construct an evaluation set from real business samples covering three high-frequency scenarios: long-document understanding, code generation, and tool calling.
- Watch inference economics: a 744B-total, 40B-activated model is sensitive to memory and parallelism strategy. Evaluate combinations of quantization, caching strategy, and batch scheduling. Where needed, use general cloud capabilities such as container platforms, object storage, log services, and monitoring and alerting to build elastic scaling and observability.
- Design canary rollout and rollback: launch the new model with a small traffic canary, keep a rollback path to the old version, and let monitoring metrics rather than subjective impressions decide the rollout pace.
7. Conclusion
The significance of this generation of open-source base models is not any single score. It is that they combine large-capacity sparse experts, compressed attention, grouped orthogonalization, multi-step prediction, and sparse long context into a reproducible engineering paradigm. Once the capability gap between closed and open source narrows, competition shifts to deployment controllability, unit cost, and speed of scenario adaptation, which is exactly where engineering teams can take the initiative.
