Sparse Attention and Asynchronous Reinforcement Learning: A Practical Breakdown of a New Open-Source MoE Model
This article walks through a recent technical report on a new open-source Mixture-of-Experts (MoE) model, focusing on the techniques behind its performance: Multi-head Latent Attention (MLA) with head-wise orthogonalization, Multi-Token Prediction (MTP), sparse attention (DSA), and a fully asynchronous agentic reinforcement learning framework. It covers model scale and activation ratios, data mix, the engineering details required to make sparse attention work in practice, and how teams can map the required infrastructure onto general cloud capabilities. The takeaway is a combined approach rather than a single trick, plus a staged path for validating sparse attention and asynchronous sampling before scaling up.
1. Introduction: The Capability Boundary of Open-Source Models Keeps Expanding
Recent public conclusions from industry evaluation organizations show that leading closed-source models still hold an overall lead in general capability, but the gap to the best open-source models has been significantly narrowed. In the composite intelligence index of one evaluation system, a new-generation open-source Mixture-of-Experts model reached the 50-point range for the first time, ranking first among open-source models. On several public human-preference arenas, the same model also ranked first among open-source entries in both the text and code categories, putting it in the same tier as top overseas closed-source models.
Notably, this result did not come from simply scaling up parameters. It is the combined outcome of architectural innovation, data engineering, training stability, and reinforcement learning paradigms. Using a roughly 40-page technical report as the thread, this article breaks down the techniques that drew the most discussion: sparse attention, multi-token prediction, the adaptation between optimizers and attention structure, a fully asynchronous agentic reinforcement learning framework, and a self-developed reinforcement learning infrastructure.
2. Model Fundamentals: Scale, Activation, and Data Mix
The model continues down the Mixture-of-Experts (MoE) path, with roughly 744B total parameters and about 40B activated per inference pass, configured with 256 experts across 80 layers. Compared with the previous generation, total parameters increased from about 355B to 744B, activated parameters from 32B to 40B, and the pre-training corpus from about 23T tokens to 28.5T tokens, of which roughly 27T was used in the pre-training stage and about 1.5T in the mid-training stage.
The key engineering implication here is the cost-effectiveness of sparse activation: total parameters determine the upper bound of the model’s knowledge capacity, while activated parameters determine the compute cost of a single forward and backward pass. Keeping the activation ratio at around the 5% level means that while model capacity expands substantially, inference cost stays in the same order of magnitude as the previous generation. This is the structural prerequisite that allows open-source models to keep closing the gap with closed-source models on cost-effectiveness.
3. Architectural Change One: Separate Orthogonalization for MLA and the Optimizer
The model uses Multi-head Latent Attention (MLA), which is derived from the same family as mainstream long-context approaches in the industry. Its core idea is to compress the key-value cache into a low-dimensional latent space and cache only the compressed representation, which significantly reduces memory footprint and memory-bandwidth pressure in long-text scenarios.
However, the team observed a counterintuitive phenomenon during training: when pairing a certain class of matrix-orthogonalization optimizer with MLA, convergence actually lagged behind the structurally simpler grouped-query attention approach. Attribution analysis pointed to a coupling mismatch between the optimizer and the parameter structure — the entire projection matrix was being orthogonalized as a single object, while MLA’s latent compression broke the original channel correspondence.
The eventual solution was to split the orthogonalization operation along the attention-head dimension, applying orthogonalization separately to the parameter sub-block corresponding to each head and then aggregating the updates. A sketch is shown below:
# Pseudocode: split by head, then apply orthogonalized updatefor head in range(num_heads):W_head = W_proj[:, head * dim_head:(head + 1) * dim_head]W_head = orthogonalize(W_head) # orthogonalize each sub-block independentlyW_proj[:, head * dim_head:(head + 1) * dim_head] = W_head
There are three engineering benefits: first, it restores convergence speed under the more complex attention structure; second, it avoids falling back to a heavier structure just to accommodate the optimizer; third, it preserves the long-context memory advantage, making training and inference with context lengths above 128K possible.
4. Architectural Change Two: Multi-Token Prediction for Better Data Efficiency
The second change is the introduction of a Multi-Token Prediction (MTP) training objective, which predicts several future tokens at each position rather than only the next token. It works on two levels:
- Denser training signal: the same batch of corpus provides a multiplied amount of supervisory signal, which at a scale of 28.5T tokens is equivalent to improving data utilization;
- More planning-oriented representations: the model is forced to learn longer-range dependencies, which is friendlier to tasks such as code completion, structured output, and multi-step reasoning.
It is worth emphasizing that multi-token prediction is a training-time objective. At inference time, only the main prediction head needs to be used, so it does not linearly amplify inference cost. It is a typical “add constraints during training, add no burden at inference” design.
5. Architectural Change Three: DSA Sparse Attention
The third change is a sparse attention mechanism. Its core logic is to select, for each query, only the small number of key-value pairs most relevant to the task, reducing attention complexity from quadratic in sequence length to close to linear. The comparison data given in the report is that roughly 20 billion tokens of training can match the effect level of about 943.7 billion tokens of dense training, with efficiency gains being especially pronounced on long-context information-retrieval tasks.
Three engineering details need attention in practice:
- The sparse selection strategy must be coordinated with the positional encoding scheme, otherwise long-range dependencies can be truncated;
- The sparse pattern must stay consistent across the pre-training, mid-training, and post-training stages to avoid distribution drift;
- On the inference side, it must be combined with chunked prefill and cache reuse to actually turn the theoretical complexity advantage into throughput gains.
6. Training Paradigm: Fully Asynchronous Agentic Reinforcement Learning
Another heavily discussed item in the report is a reinforcement learning framework for agentic tasks, whose key design is being “fully asynchronous”: the sampling, inference, and training roles are completely decoupled and each advances at its own pace, no longer using the slowest component as the global cadence.
The pain point of the traditional synchronous paradigm is the long-tail effect: agentic task trajectories vary greatly in length, and a single very long trajectory makes the entire batch wait, with compute utilization often below half of the ideal value. The fully asynchronous architecture uses a continuous sample stream and versioned weight synchronization to compress device idle time to a low level.
The accompanying stability measures typically include:
- Weight version alignment and stale-sample discounting to control the degree of off-policyness;
- Trajectory-level reward normalization to suppress gradient-scale differences caused by varying task difficulty;
- Length grouping and partial rollout reuse to reduce repeated sampling;
- Elastic resource scheduling across training and inference clusters to handle the asymmetry in load on the two sides.
7. Infrastructure and Engineering Takeaways
Supporting the above training is a self-developed reinforcement learning infrastructure, whose design goals concentrate on three points: high-throughput sampling, fine-grained fault tolerance, and efficient synchronization of training and inference weights. For most teams, there is no need to build this from scratch; it can be mapped to a combination of general cloud capabilities: a container platform hosting elastic training and inference clusters, object storage holding checkpoints and samples, a message queue handling sample-stream decoupling, and logging services with monitoring and alerting responsible for failure localization and metric tracking on long-running tasks.
8. Conclusion
What is truly worth borrowing from this technical report is not any single technique, but a combination: sparse activation to control cost, sparse attention and multi-token prediction to improve data efficiency, optimizer-structure adaptation to ensure stable convergence, and fully asynchronous reinforcement learning to unlock compute for agentic training. The practical advice for developers is to first validate the benefit curves of sparse attention and asynchronous sampling at a moderate scale, then scale up gradually, while building observability and fault tolerance in parallel, so that stability problems do not eat up the architectural gains.
