Open-Source LLM Architecture Evolution and Training Practices: A Full Breakdown
This article breaks down the architectural changes in a new open-source LLM that directly affect deployment and training costs: a Mixture-of-Experts design with 744B total parameters and 40B activated per token, Multi-Latent Attention paired with the Muon Split optimizer, Multi-Token Prediction, and DSA sparse attention. It explains the capacity-versus-cost tradeoffs, the optimizer-attention coupling pitfall, and a practical checklist for deployment, inference, training, data, and model selection.
1. Why This Technical Report Is Worth Breaking Down
Over the past two years, the relationship between open-source models and leading closed-source models has gone through a clear repricing. The early evaluation logic was that open source lagged by half a generation. The latest third-party benchmarks show that a closed-source flagship model still holds the “most intelligent” position, but the gap between it and the strongest current open-source model has narrowed to a fairly limited range. In composite intelligence index evaluations, open-source models crossed the 50-point threshold for the first time, and ranked first among open-source models in blind evaluations on both the text arena and the code arena, putting them in the same tier as the leading overseas closed-source flagships.
The engineering implication matters more than a good benchmark score. When the capability gap between open weights and closed services converges to a single-digit percentage range, the enterprise technology decision shifts from “can we use it” to “how do we use it cheaply and with control.” So rather than repeating the leaderboards, the rest of this article explains the three architectural changes in the report that genuinely affect the cost of adoption.
2. Fundamentals: The MoE Tradeoff of Large Total Parameters, Small Activation
The new generation continues the Mixture of Experts (MoE) route: 744B total parameters, only 40B activated per inference, 256 experts, 80 layers. Compared with the previous generation (355B total, 32B activated), total parameters doubled, activated parameters increased by about 25%, and the pre-training corpus grew from 23T tokens to 28.5T tokens (about 27T in pre-training and about 1.5T in mid-training).
The engineering logic behind this configuration is a balance among three curves:
- Capacity curve: total parameters determine the knowledge ceiling, so doubling them expands how much knowledge can be stored;
- Cost curve: activated parameters determine the compute cost per token, and an increase of only 8B means inference cost stays nearly linearly controllable;
- Data curve: 28.5T tokens combined with a mid-training stage shows that the team treats “high-quality data annealing” as an independent engineering step rather than an appendage to pre-training.
An illustrative capacity-cost relationship can be understood like this:
# Illustrative only: the sparse activation cost model of MoE, not any specific implementationdef token_cost(total_params, activated_params, tokens):# Memory footprint is driven mainly by total parameters; compute mainly by activated parametersmemory_footprint = total_params * BYTES_PER_PARAMflops = 2 * activated_params * tokensreturn memory_footprint, flops
The conclusion is straightforward: memory follows total parameters, compute follows activated parameters. This means the deployment side must plan for expert parallelism and redundant replicas rather than guessing based on dense-model experience.
3. Change One: Latent Attention and the Optimizer Mismatch
The attention mechanism uses Multi-Latent Attention (MLA), an approach in the same family as low-rank compression schemes: it compresses the key-value cache into a low-dimensional latent space, significantly reducing memory bandwidth pressure in long-text scenarios, with better long-context throughput than traditional multi-head attention.
But training exposed a real problem: when using a Muon-type orthogonalized optimizer with MLA, convergence fell short of a baseline with the structurally simpler Grouped-Query Attention (GQA-8). The team’s solution is Muon Split, which no longer orthogonalizes the entire projection matrix as one block but orthogonalizes each attention head separately.
Why does this work? It can be abstracted into one sentence: the scope of orthogonalization must align with the functional scope of the parameters.
# Illustrative: block-level orthogonalization vs. per-head orthogonalizationdef orthogonalize(block): # global scopereturn polar_factor(block)def muon_split(proj, num_heads):heads = split_by_head(proj, num_heads)return concat([orthogonalize(h) for h in heads]) # head-level scope
Engineering takeaway: an optimizer is not a plug-and-play component; it is coupled with the attention structure. Any combination of “compressed cache plus new optimizer” should first be checked against a small-scale baseline to confirm there is no silent accuracy loss before scaling up to full training.
4. Change Two: Multi-Token Prediction Changes Data Efficiency
The second change is Multi-Token Prediction. Traditional training predicts only the next token at each position, whereas multi-token prediction lets the model predict tokens at multiple future positions in parallel at the same position, effectively giving the training signal a longer horizon.
It brings two kinds of benefits. First, it improves data efficiency and sample utilization during training, extracting a denser supervision signal from the same corpus. Second, it naturally fits inference acceleration such as speculative decoding, because the extra prediction heads can serve directly as a draft model and reduce the number of autoregressive steps. Note that this kind of change introduces additional prediction head parameters and training overhead, so in practice the “training speedup” and “inference acceptance rate” should be evaluated as two separate metrics.
5. Change Three: Sparse Attention Pushes Down Long-Text Cost
The third change is DSA sparse attention. It is complementary to MLA: MLA compresses the “width” of the cache, while sparse attention cuts the “length” of the computation. Together they noticeably flatten the memory and compute curves in long-context scenarios such as whole-repository code understanding and long-document review.
In practice, a three-step validation is recommended:
- Use needle-in-a-haystack retrieval tasks to confirm the sparse pattern has not sacrificed recall of key information;
- Sweep throughput and memory across different context lengths to draw the real cost curve;
- Compare quality against a dense attention baseline on real business corpora and set an acceptable threshold.
6. A Practical Checklist for Teams
- Deployment: do capacity planning on the principle that memory follows total parameters and compute follows activated parameters, with expert parallelism plus replica redundancy, together with a container platform and elastic scaling to handle peaks and troughs;
- Inference: prioritize the speculative decoding gains from multi-token prediction, and use a monitoring and alerting system to track acceptance rate and tail latency;
- Training: for any combination of optimizer and attention structure, run a small-scale controlled experiment first and keep a rollback-capable baseline;
- Data: manage mid-training as an independent stage, and use logging services and data lineage to track corpus composition;
- Selection: when the gap between open source and closed source narrows, use “cost per effective task” rather than leaderboard scores as the decision basis.
Overall, the value of this report is not any single score but that it demonstrates a reusable path: use sparse activation to control cost, use cache compression and sparse attention to control long-text overhead, and use training objective changes to improve data efficiency, while facing the engineering pitfalls created by optimizer-structure coupling. For teams that want to do model selection and inference optimization on Baidu AI Cloud, this methodology can be transferred directly into the evaluation process of their own technology stack.
