A Deep Dive into a Trillion-Scale MoE Technical Report: Architecture, Sparse Attention, and Async RL Training
This article breaks down a 40-page technical report on a large-scale Mixture-of-Experts (MoE) model and turns it into a reusable engineering methodology. It covers the model's fundamentals (744B total parameters, 40B activated, 256 experts, 80 layers), three architectural changes (MLA combined with Muon Split, Multi-Token Prediction, and DSA sparse attention), a fully asynchronous agentic reinforcement learning framework, and practical guidance for teams that want to reproduce or adapt these ideas. Readers will learn the constraints behind each design choice and how to evaluate, train, and deploy large sparse models.
1. Background: The Open- vs. Closed-Source Capability Gap Is Closing Fast
A recent technical chart from an investment firm drew attention: on a widely used composite capability benchmark timeline, a closed-source flagship model is still labeled the “most intelligent,” but its lead over the best open-weight model behind it has clearly narrowed. The significance is not the ranking itself, but the structural trend it reveals—open-weight models are moving from “usable” into the “trustworthy for production” range.
At the same time, a 40-page technical report on a large-scale model was released, and the developer community immediately began reading it page by page. The most discussed technical points fall into roughly four categories: reduced training and inference cost from sparse attention, a fully asynchronous agentic reinforcement learning training framework, in-house reinforcement learning training infrastructure, and engineering details around data mixtures and mid-training. Using this report as a sample, this article abstracts a general methodology and unpacks the logic behind each technical choice block by block.
Note that this article does not evaluate or recommend any specific product. Instead, it treats the report as a collection of engineering case studies and discusses the common problems and solutions that large-scale sparse models encounter during training and deployment.
2. Fundamentals: The Trade-off Behind 744B Total and 40B Activated Parameters
The model’s public fundamentals can be summarized as follows: roughly 744B total parameters, about 40B activated per inference pass, a Mixture-of-Experts architecture, 256 experts, and 80 layers.
The core idea of Mixture of Experts (MoE) is to decouple parameter capacity from computation: the model holds a huge parameter pool, but each token is routed to only a few experts. As a result, the actual floating-point operations in training and inference are determined by the activated parameters, while knowledge capacity is determined by the total parameters. A direct consequence is that you cannot evaluate a model by total parameters alone, nor by activated parameters alone—you must look at both and at their ratio.
Compared with the previous generation, total parameters doubled and activated parameters increased slightly, while the pre-training corpus grew from about 23 trillion tokens to about 28.5 trillion tokens, of which roughly 27 trillion were for pre-training and about 1.5 trillion for mid-training. This mixture sends an important signal: mid-training has evolved from “optional fine-tuning” into an independent compute budget, used to inject high-value capabilities such as long context, code, and reasoning.
On composite capability benchmarks, the model scored about 50, the highest in the open-source camp; on the text and code sub-leaderboards of a human-preference arena-style evaluation, it also ranked first among open models, placing it in the same tier as leading overseas closed-source models overall. The takeaway for engineering teams: when selecting a model, cross-validate three types of metrics—“composite index,” “preference win rate,” and “domain-specific leaderboards.” A single leaderboard is not enough to support a production decision.
3. Architectural Change 1: MLA and Muon Split
The first change is the joint design of attention and optimizer. The model uses Multi-head Latent Attention (MLA), which shares the same lineage as existing low-rank compression approaches in the industry. By compressing the dimension of the key-value cache, it significantly reduces memory usage and offers a clear throughput advantage in long-text scenarios.
However, the team observed a counterintuitive phenomenon during training: when using an optimizer like Muon, which is based on matrix orthogonalization, MLA could not match the simpler Grouped Query Attention (GQA, 8 groups) design. The reason can be abstracted as follows: orthogonalization acts on the projection matrix “as a whole block,” while MLA’s low-rank structure makes different attention heads share the same latent space. Block-level orthogonalization breaks the differentiation between heads, reducing effective capacity.
The solution, named Muon Split, changes the block-level orthogonalization of the projection matrix into a per-head operation. The difference is illustrated by the following pseudocode:
# Original approach: block-level orthogonalizationW = orthogonalize(W) # W: [d_model, d_model]# Improved approach: split by head and orthogonalize each separatelyfor h in range(num_heads):W_h = W[:, h*d_head:(h+1)*d_head]W[:, h*d_head:(h+1)*d_head] = orthogonalize(W_h)
There are three engineering points: first, the split must happen on the parameter update path to avoid extra forward-pass overhead; second, numerical stability after splitting must be ensured, introducing per-head scaling factors if necessary; third, such changes must be tuned jointly with learning rate and weight decay—swapping the optimizer alone often yields limited gains.
4. Architectural Change 2: Multi-Token Prediction
The second change is Multi-Token Prediction. Traditional autoregressive training predicts only the next token at each position, whereas Multi-Token Prediction lets the model predict several future tokens in parallel at the same position. The benefits are twofold: during training, it provides denser supervision signals and improves sample efficiency; during inference, it naturally supports self-speculative decoding, where one forward pass produces multiple candidate tokens that are then verified by the main model, reducing latency.
Three points matter in practice: first, more prediction heads is not better—two to four is usually enough, as too many significantly increase memory and tuning costs; second, if the Multi-Token Prediction heads are used for speculative decoding at inference time, you need acceptance-rate tracking and a fallback strategy; third, the prediction heads in training and inference must stay consistent, otherwise distribution drift occurs. A schematic structure is shown below:
hidden --+--> head_1 --> token t+1+--> head_2 --> token t+2+--> head_3 --> token t+3
5. Architectural Change 3: DSA Sparse Attention
The third change is sparse attention (DSA). The most striking data point in the report is that, under a training budget of about 20 billion tokens, the sparse attention approach can match a dense baseline trained on about 940 billion tokens. The significance of this comparison is that sparsification is not merely an inference optimization—it can compress training compute at the same time.
Common approaches to sparse attention include: selecting a fixed number of key blocks for each query (block-level sparsity), dynamically selecting Top-K keys via a lightweight scorer, or combining a local window with a few global anchors. Three things must be watched in engineering: first, the sparse pattern must align with hardware memory-access characteristics—mismatched block sizes will prevent theoretical gains from materializing; second, “dense warm-up” is needed early in training to keep the scorer from degrading prematurely; third, long-text evaluation must be built separately, since sparse and dense differ very little on short text and can easily lead to wrong conclusions.
6. Training Framework: Fully Asynchronous Agentic Reinforcement Learning
The biggest challenge in the post-training stage is resource contention between sampling and training. In a traditional synchronous pipeline, an inference cluster generates trajectories and a training cluster consumes them, with the two waiting on each other and utilization often below 50%. A fully asynchronous framework decouples the two: the sampling side keeps producing, the training side consumes by version number, trajectories are allowed to be slightly off-policy, and importance sampling correction and clipping are applied.
The key mechanisms can be summarized in four points:
- Weight version management: tag each trajectory with a policy version label to control the mixing ratio of old and new policies;
- Length and difficulty stratification: bucket sampling by response length and task difficulty to avoid long-tail tasks slowing down the whole;
- Reward normalization and clipping: standardize rewards within a group to prevent individual samples from dominating the gradient;
- Failure rollback: quickly fall back to the last stable checkpoint when training metrics go abnormal.
This approach complements in-house training infrastructure: large-scale heterogeneous clusters need unified task orchestration, fault-tolerant rescheduling, and log and metrics collection. These can typically be built on general cloud capabilities such as container platforms, distributed storage, message queues, and monitoring and alerting, without binding to any vendor’s proprietary interfaces.
7. Practical Advice: How to Reuse This Methodology
For teams that want to reproduce or borrow from this, proceed in the following order:
- Align baselines first: use a small dense model to confirm the data pipeline, evaluation sets, and metric definitions are correct;
- Then introduce sparse attention: start with block-level sparsity and gradually move to dynamic Top-K;
- Tune the optimizer and attention jointly: if using an orthogonalization-based optimizer, try per-head splitting first;
- Make mid-training an independent project: treat long context and code capabilities as a separate budget, not an add-on fine-tune;
- Adopt asynchronous sampling for post-training: get a small-cluster asynchronous loop working, then scale up;
- Build observability: four types of metrics—training throughput, sample efficiency, acceptance rate, and rollback count—must be visualized.
8. Conclusion
What is truly worth learning from this technical report is not any single number, but the “constraint-driven design” mindset: limited memory gave rise to low-rank attention, the conflict between orthogonalization optimizers and low-rank structure gave rise to per-head splitting, limited compute gave rise to sparse attention, and limited cluster utilization gave rise to asynchronous reinforcement learning. Restoring each change to the specific constraint it was meant to solve is the greatest value this kind of report offers to engineering practice.
