Deep Dive into a Large-Scale MoE Model Technical Report: Architecture, Sparse Attention, and Training Systems
This article breaks down a roughly 40-page technical report on a large-scale Mixture of Experts (MoE) model, walking through its fundamentals, architectural changes, training system, and post-training methods. It explains how sparse attention can match dense attention with far less training compute, why optimizers and architecture must be co-designed, how multi-token prediction works, and what a fully asynchronous agentic reinforcement learning framework requires. Readers will gain transferable engineering insights into efficiency, data staging, system throughput, and evaluation without any vendor-specific recommendations.
1. Introduction: The Gap Between Open-Source and Closed-Source Models Is Narrowing
An industry evaluation report on the model landscape notes that the most capable model is still a closed-source flagship, but the gap between it and the top-ranked open-source model has narrowed significantly. The significance of this finding is not the ranking itself, but what it implies: the open-source technical route now has the ability to approach frontier closed-source systems, and this progress is not a single breakthrough but the result of simultaneous advances across architecture, data, training frameworks, and post-training methods.
A recently published technical report of about 40 pages provides a complete sample. The most discussed technical points in the report include a sparse attention mechanism that matches dense attention trained on about 943.7B tokens using only about 20B tokens, a fully asynchronous agentic reinforcement learning training framework, and a self-developed reinforcement learning infrastructure. This article uses that report as its main material, breaks it down block by block in the order of fundamentals, architectural changes, training systems, and post-training, and adds general engineering background to help readers build transferable technical understanding.
Note that this article discusses only technical methods and engineering practices, and does not recommend or compare any specific vendor products.
2. Model Fundamentals: Parameter Count, Activation Size, and Evaluation Position
The model uses a Mixture of Experts (MoE) architecture. The core idea of MoE is to activate only a small fraction of the total parameters during inference, decoupling total capacity from per-pass computation.
The key fundamentals are as follows:
- Total parameters of about 744B, with about 40B activated per inference pass;
- 256 experts and 80 layers;
- Pre-training corpus scaled from 23T tokens in the previous generation to 28.5T tokens, with about 27T in the pre-training stage and about 1.5T in mid-training;
- The previous generation had 355B total parameters and 32B activated parameters; this generation shows clear increases in both.
In a public composite intelligence index evaluation, the model scored 50, ranking first among open-source models. It also ranks first among open-source models in blind evaluations on the text arena and code arena, placing it in the same tier as leading overseas closed-source models.
There is an easily overlooked engineering implication here: total parameters determine the upper bound of the model’s knowledge capacity, while activated parameters determine the compute cost of a single forward pass. 744B total parameters with 40B activated means the model enters the ultra-large-scale range in capacity, while inference cost remains near the level of a medium-sized dense model. This is precisely the core value of the MoE route in compute-constrained scenarios.
3. Architectural Change One: Coordinating MLA and Muon Split
The model has three main architectural changes relative to the previous generation: a coordinated redesign of the attention mechanism and optimizer, multi-token prediction, and sparse attention. Let’s look at the first one.
The attention mechanism uses MLA (Multi-head Latent Attention), which shares the same origin as the low-rank compression ideas already in the industry: it compresses the key-value cache into a low-dimensional latent space and reconstructs it during inference, significantly reducing memory usage and memory access overhead in long-context scenarios.
However, the team observed a counterintuitive phenomenon during training: when using an optimizer like Muon, which is based on matrix orthogonalization, together with MLA, the results actually fell short of the simpler GQA-8 scheme. The reason can be abstracted as follows: Muon’s update rule performs orthogonalization on entire weight matrices as a unit, while MLA’s projection matrices internally contain multiple attention heads that are relatively independent semantically. Orthogonalizing the whole block couples the updates of different heads together and breaks the original scale relationships.
The solution is Muon Split: instead of orthogonalizing the entire projection matrix, split it per attention head, orthogonalize each separately, and then reassemble. A sketch is shown below:
# Pseudocode: whole-block orthogonalization vs. per-head split orthogonalizationdef muon_update(W, heads):# Original approach: process the whole matrix uniformly# W_orth = orthogonalize(W)# Revised approach: split by attention head and orthogonalize eachW_h = W.reshape(heads, -1)W_orth = [orthogonalize(w) for w in W_h]return combine(W_orth)
The general lesson from this change is that optimizers and architecture must be co-designed. When a model structure introduces structural priors such as low-rank compression, grouping, or routing, the “processing granularity” of the optimizer must align with them; otherwise, the structural priors will be erased by the optimization process.
4. Architectural Change Two: Multi-Token Prediction
The second change is Multi-Token Prediction. Traditional autoregressive training predicts only the next token at each step, while multi-token prediction lets the model predict tokens at multiple future positions simultaneously at the same location.
It brings two types of benefits:
- Denser training signals. The same corpus provides longer-range dependency constraints, forcing the model to learn longer-range structural regularities and improving sample efficiency;
- Natural fit for inference acceleration. The extra prediction heads can be used in self-speculative decoding schemes, producing multiple candidate tokens in a single forward pass, which are then verified by the main model.
The engineering trade-off to note is that prediction heads increase training memory and compute overhead, and predicting too far ahead introduces noisy labels. Therefore, the number of prediction heads and loss weights usually need to be tuned jointly with data quality and context length.
5. Architectural Change Three: The Order-of-Magnitude Efficiency Gain from Sparse Attention
The third change is DSA sparse attention, also the most striking data in the report: under a training budget of about 20B tokens, it can match the performance of dense attention trained on about 943.7B tokens, a difference of nearly two orders of magnitude in training volume.
The logic is not mysterious. Standard attention performs pairwise interactions between all historical tokens, with computation and memory growing quadratically with context length. Most attention mass concentrates on a few key tokens, while the long tail contributes very little. Sparse attention works as follows:
- Build a lightweight selection/indexing mechanism to pick the most relevant small set of keys and values for each query;
- Compute attention only on that subset;
- Use structured block-level selection to ensure contiguous memory access and avoid random access slowing actual throughput.
Dense attention: Q interacts with all K/V, complexity O(n^2)Sparse attention: Q interacts with only Top-k K/V, complexity O(n·k)
The practical implication for developers is direct: the bottleneck of long-context capability is often not “how large the window is” but “the attention cost per token.” Concentrating effective compute on key tokens is equivalent to achieving the same results with less training, which is especially important for teams with limited compute.
6. Training System: A Fully Asynchronous Agentic Reinforcement Learning Framework
In the post-training stage, the report emphasizes a fully asynchronous agentic reinforcement learning training framework and a supporting self-developed reinforcement learning infrastructure.
Traditional reinforcement learning post-training uses a synchronous paradigm: sampling (inference generation) and training (parameter updates) strictly alternate, and all samplers wait for the slowest trajectory, so cluster utilization is heavily dragged down by long-tail samples. The agentic scenario amplifies the problem: a single trajectory may contain multiple rounds of tool calls, code execution, and environment feedback, with high length variance.
The core design of full asynchrony is decoupling:
- The inference side continuously produces trajectories and writes them into a buffer queue;
- The training side consumes them in batches, with the parameter version advancing with a certain lag;
- Techniques such as importance sampling correction and staleness control constrain the bias introduced by “updating a new policy with old-policy data.”
The supporting reinforcement learning infrastructure typically needs to cover high-throughput inference serving, trajectory storage and sampling scheduling, reward computation and filtering, distributed parameter synchronization, and full-pipeline monitoring and failure recovery. The three places most prone to problems in engineering are policy collapse caused by reward noise, training instability caused by excessive asynchronous lag, and resource idling caused by long-tail trajectories.
7. A Reusable Engineering Checklist
- Architecture: structural priors (low-rank compression, grouping, routing) must align with optimizer granularity;
- Efficiency: evaluate attention sparsification first, then consider expanding the context window;
- Data: stage the pre-training and mid-training mix, with mid-training handling capability completion and format alignment;
- Systems: decoupling sampling from training is key to improving cluster utilization, but it must be paired with lag and bias control;
- Evaluation: look at both the composite intelligence index and human blind tests; a single leaderboard is not enough to describe capability boundaries;
- Deployment: model capability ultimately comes down to three engineering metrics: inference cost, context length, and tool-call stability. A stable training and inference pipeline can be built using general cloud capabilities such as container platforms, object storage, message queues, logging services, and monitoring and alerting.
8. Conclusion
The most memorable thing about this technical report is not a score or ranking, but the methodology it presents: using sparsification for efficiency, structural priors for sample efficiency, asynchronous decoupling for system throughput, and co-design for stability. The narrowing gap between open-source models and closed-source flagships is essentially the result of the continuous accumulation of these engineering details.
