Deep Dive into an Open-Source LLM Technical Report: Architecture, Training, and Infrastructure
This article breaks down a technical report for a large open-weight model, examining why open-source models now rival top closed models in both capability and deployability. It covers the model's fundamentals (744B total parameters, 40B active parameters, MoE structure), key architectural changes including Multi-head Latent Attention with Muon Split optimization, Multi-Token Prediction, and sparse attention, plus a fully asynchronous reinforcement learning framework and a self-built training stack. Engineers will find practical guidance on evaluation, cost estimation, optimizer validation, annealing strategies, and asynchronous RL pipelines.
1. Why a Technical Report Deserves a Block-by-Block Read
A notable signal has recently appeared on industry benchmark leaderboards: the model closest to the strongest closed model is no longer another closed model, but an open-weight model. A weekly chart from an investment research organization points out that the strongest closed model still leads in “intelligence level,” but the gap between it and the best open model behind it has clearly narrowed. For engineering teams, this means that “capability ceiling” and “deployability” land on the open-source side for the first time.
The value of this kind of report is not the ranking, but that it lays out the engineering trade-offs of training and inference: how parameters are partitioned, how attention is compressed, how the optimizer works with the architecture, and how reinforcement learning maintains throughput without wasting compute. The following sections break it down block by block in the order of “fundamentals—architecture changes—training methods—infrastructure—engineering implications.”
2. Fundamentals: Total Parameters, Active Parameters, and Data Mix
The overall profile of the model can be summarized as follows: about 744B total parameters, about 40B active parameters per inference, and a sparse Mixture-of-Experts (MoE) structure with 256 experts and 80 layers. Compared with the previous generation (about 355B total parameters and 32B active parameters), total parameters doubled while active parameters increased only slightly—a typical route of “expanding capacity while controlling inference cost.”
The pre-training corpus is about 28.5T tokens, of which the main pre-training is about 27T and mid-training is about 1.5T. The key here is not the absolute numbers, but the three-stage mix: large-scale base corpus provides breadth, mid-training injects long-context, code, and reasoning data at a higher proportion, and post-training aligns behavior.
In public comprehensive evaluations, the model scores 50 and ranks first among open-source models; it also ranks first among open-source models in two arenas (text and code), on par overall with leading overseas closed models. It should be emphasized that leaderboards only reflect relative positions under a specific question distribution, and engineering selection should still be based on your own business evaluation set.
The core of understanding MoE lies in three ratios:
Activation ratio = Active parameters / Total parameters ≈ 40 / 744 ≈ 5.4%Capacity ratio = Total parameters / Active parameters ≈ 18.6xExpert granularity = Total parameters / Number of experts ≈ 2.9B/expert
The lower the activation ratio, the cheaper single-token inference is, but the higher the requirements on routing quality, memory bandwidth, and expert-parallel communication; the higher the capacity ratio, the larger the model’s “knowledge capacity,” but the greater the risk of load imbalance during training.
3. Architecture Change 1: Compressed Attention and Optimizer Adaptation
The model uses Multi-head Latent Attention (MLA), which is derived from the same source as mainstream long-context solutions in the industry. The core idea is to compress the key-value cache into a low-dimensional latent space, thereby significantly reducing memory usage and memory access overhead for long-text inference. Compared with traditional multi-head attention, MLA is more memory-efficient and faster in long-sequence scenarios.
But the team found a counterintuitive phenomenon during training: when combining an orthogonalization-based optimizer like Muon with MLA, the results actually fell short of the simpler Grouped Query Attention (GQA, 8 groups) scheme. The reason can be abstracted into one sentence: the “target” of the orthogonalization operation does not match the “parameter organization” of the attention structure.
The solution is called Muon Split: instead of performing orthogonalization uniformly on the entire projection matrix, orthogonalization is performed separately for each attention head. The following illustrative code expresses this granularity difference:
# Before: uniform orthogonalization on the whole projection matrixdef step_block(W): # W: [d_out, d_in]return orthogonalize(W)# After: split by attention head and orthogonalize separatelydef step_per_head(W, n_heads):W_heads = W.view(n_heads, -1, W.shape[-1])for h in range(n_heads):W_heads[h] = orthogonalize(W_heads[h])return W_heads.view_as(W)
The engineering implication of this change is that architectural innovation and the optimizer must be co-designed. Any “more memory-efficient structure” may change the shape and semantics of the parameter matrix. If the optimizer still updates at the old granularity, it is equivalent to applying constraints at the wrong scale, and both training stability and convergence quality will suffer. In practice, it is recommended to treat “architecture—optimizer” as a whole and run small-scale controlled experiments, rather than fixing the architecture first and then applying an optimizer.
4. Architecture Change 2: Multi-Token Prediction
Multi-Token Prediction (MTP) lets the model predict not only the next token at each position, but also several future tokens at the same time. It brings two types of benefits:
- Denser training signal: the same text provides more supervision targets, improving sample efficiency;
- Parallel inference: the extra prediction heads trained can serve as draft sources for speculative decoding, verifying multiple candidates in one forward pass and reducing decoding steps.
The illustrative training objective is as follows:
# The main head predicts t+1, auxiliary heads predict t+2 ... t+kloss = 0.0for k in range(1, K + 1):logits_k = head_k(hidden) # predict t+kloss += beta_k * cross_entropy(logits_k, tokens[:, k:])loss += cross_entropy(head_1(hidden), tokens[:, 1:])
Two points need attention: the weights of auxiliary heads need to be annealed to avoid early noise dominating; if speculative decoding is enabled during inference, the draft head and the main head must share the same tokenization and positional encoding conventions, otherwise the acceptance rate will drop significantly.
5. Architecture Change 3: Compute Efficiency from Sparse Attention
One of the most notable data points in the report is that about 20B tokens of training matched the performance of about 943.7B tokens in the control group. This is not “achieving the same intelligence with less data,” but that after sparse attention reduces the effective computation per token, the information utilization per unit of compute is significantly improved.
Dense attention and sparse attention can be understood as two information acquisition strategies:
Dense: each query attends to all historical keys —— computation grows quadratically with sequence lengthSparse: each query attends only to a selected subset —— computation is approximately linear, but depends on selection quality
The risk of sparsification is “missing key information.” Therefore, engineering practice usually combines three safeguards: first, retain a small number of global/local windows to ensure that neighbors and global anchors are not lost; second, routing selection carries load-balancing constraints to avoid hotspot experts or hotspot blocks being overloaded; third, use a denser pattern early in training and gradually anneal to sparse later, reducing routing drift caused by unstable early representations.
6. Training Method: A Fully Asynchronous Reinforcement Learning Framework
The biggest engineering contradiction in the post-training stage is that reinforcement learning requires a three-stage pipeline of “generation—scoring—update.” If strictly synchronized, the generation side and the training side wait for each other, and cluster utilization is often below half. This report uses a fully asynchronous Agent reinforcement learning framework, whose core is to decouple generation, reward computation, and parameter updates in time, letting each proceed at its fastest speed, and then using version numbers to control data freshness.
A minimal viable asynchronous scheduling sketch:
# The generation side continuously produces trajectories, the training side continuously consumes them, and version numbers control stalenesswhile training:batch = queue.get(max_version_lag=2) # allow slight stalenessloss = policy_loss(batch, ref_policy)optimizer.step()version += 1if version % sync_every == 0:sync_weights_to_actors(version)
The core trade-off brought by asynchrony is “throughput vs. data staleness”: the more staleness allowed, the higher the throughput, but the greater the risk of policy shift. In practice, three things provide a safety net: limit the maximum version lag, apply importance weighting to stale samples, and periodically perform a near-synchronous calibration.
7. Infrastructure: A Self-Built Reinforcement Learning Training Stack
Supporting the above training is a self-built reinforcement learning training infrastructure (often called a slime-type framework in the industry). This kind of stack usually needs to solve four things: first, efficient weight synchronization between the training side and the inference side; second, load balancing for long-tail trajectories to avoid individual extra-long samples slowing down the whole batch; third, observability, turning metrics such as reward curves, entropy, truncation rate, and routing distribution into traceable logs and monitoring alerts; fourth, fault tolerance, since long-duration training must support checkpoint resumption and self-healing from failures.
If an enterprise wants to reproduce similar capabilities, it can map them to general cloud components: a container platform hosts elastic training and inference clusters, object storage holds checkpoints and datasets, a message queue serves as the decoupling buffer between generation and training, and logging services and monitoring alerts handle metric tracking. This way, an operable asynchronous training pipeline can be built without binding to a specific product.
8. Practical Recommendations for Engineering Teams
- Define the evaluation set before choosing a model: build a gold set of 200–500 items with your own business data, and compare the gap between open and closed models on the real distribution, rather than only looking at public leaderboards.
- Estimate cost with active parameters: inference cost is closer to active parameters and memory bandwidth than to total parameters; models with a high capacity ratio need expert parallelism and quantization to work together.
- Architecture changes must be validated with the optimizer: any change to the attention or projection structure requires a small-scale controlled experiment to confirm that the optimizer granularity matches.
- Set annealing strategies for sparsity and multi-token prediction: denser early in training and sparser later; auxiliary prediction head weights decay gradually.
- Prioritize asynchronous RL: first use a small cluster to verify the impact of version lag on convergence, then scale up, and keep near-synchronous calibration as a fallback.
9. Conclusion
The real information in this report is not the “open-source first” ranking, but that it clarifies the four key coupling points of large-scale sparse models: the ratio of capacity to activation, the adaptation of architecture to optimizer, the efficiency gains of sparsity and multi-token prediction, and the throughput trade-off of asynchronous reinforcement learning. For developers, the reusable methodology is: anchor on your own evaluation, estimate cost with active parameters, ensure stability with co-design, and improve utilization with an asynchronous pipeline.
