Deep Dive into an Open-Source Flagship LLM: MoE Architecture, Sparse Attention, and Agent-Level RL Training

    This article provides an in-depth analysis of a recently released open-source flagship large language model (LLM) and its technical report. We explore key architectural innovations, including a 744B/40B Mixture of Experts (MoE) design, Multi-Head Latent Attention (MLA) paired with the Muon Split optimizer, Multi-Token Prediction, and a breakthrough in Sparse Attention that matches 943.7B token performance with just 20B tokens. Additionally, we examine the fully asynchronous Agent Reinforcement Learning (RL) training framework and its underlying infrastructure, highlighting how these advancements narrow the gap between open-source and proprietary models.

    1. Background: The Gap Between Open-Source and Proprietary Models is Rapidly Closing

    A prominent investment firm recently noted that while top proprietary (closed-source) models still lead in “intelligence,” the gap with the strongest open-source models has significantly narrowed. The direct evidence for this is a newly released open-source flagship LLM and its 40-page technical report.

    Following the release, developer communities have closely analyzed the report, focusing on several key technical points:

    • Sparse Attention: Achieving results on approximately 20B tokens of training data that previously required nearly 100 billion tokens with traditional dense attention.
    • Fully Asynchronous Agent RL Training Framework: A training paradigm optimized for multi-turn interactive tasks.
    • Custom-built RL Infrastructure: An engineering system supporting large-scale rollout and training decoupling.

    Below, we break down the report following a “base model—architecture—training” logical flow.

    2. Base Model Fundamentals: 744B Total Parameters, 40B Activated MoE Design

    2.1 Key Parameters

    The new model continues the Mixture of Experts (MoE) architecture. The core idea of MoE is to maintain a large number of “expert” subnetworks within the model. During inference, a router activates only a small fraction of parameters for each token, expanding the model’s total capacity without significantly increasing inference costs.

    The key configurations of this model are as follows:

    Dimension Current Generation Previous Generation
    Total Parameters 744B 355B
    Activated Parameters 40B 32B
    Number of Experts 256 —
    Layers 80 —
    Pre-training Data 28.5T tokens 23T tokens

    The 28.5T tokens include 27T for pre-training and 1.5T for mid-training. The total parameters have doubled, while activated parameters only increased slightly, reflecting the classic MoE design philosophy of “maximizing capacity while controlling costs.”

    2.2 Third-Party Evaluation Performance

    According to third-party benchmarks, this model became the first open-source model to break the 50-point barrier on mainstream intelligence indexes, ranking first. In human-preference arena-style evaluations, it ranked first among open-source models in both text and code tracks, with overall capabilities considered on par with top-tier proprietary models. This indicates that the traditional perception of “open-source lagging a generation behind closed-source” is being rewritten.

    3. Deep Dive into Three Major Architectural Changes

    Compared to the previous generation, this model introduces three key architectural changes: Multi-Head Latent Attention (MLA) with optimizer improvements, Multi-Token Prediction, and Sparse Attention.

    3.1 MLA (Multi-Head Latent Attention) and Its Training Issues

    The core idea of MLA is to compress the dimensions of the KV cache. Traditional multi-head attention requires caching complete Key/Value vectors for each token during inference, leading to linear increases in memory usage and memory access overhead in long-context scenarios. MLA projects KV into a low-dimensional latent space before caching, significantly reducing memory usage and improving throughput for long texts.

    However, the team discovered an issue during training: MLA’s special structure causes coupling among multiple groups of projection matrices within the attention mechanism. Applying orthogonalization to the entire projection matrix as a single block negatively impacted training stability and convergence quality.

    3.2 Muon Split: Head-Granularity Orthogonalization

    The solution is called Muon Split. For background: Muon-type optimizers have gained attention in large language model training recently. Their core mechanism is performing orthogonalization on weight matrices—using mathematical transformations to make the updated weight matrix as uniform as possible in all directions, preventing training instability caused by excessive growth in certain directions. In practice, this often yields better sample efficiency than traditional AdamW.

    The problem lay in granularity. The previous approach applied orthogonalization uniformly to the entire projection matrix block. Under the MLA structure, different attention heads share or couple local blocks of the matrix. Muon Split improves this by moving the orthogonalization operation down to the level of each individual attention head. It splits the entire matrix into several sub-blocks, orthogonalizes them individually, and then combines them. This preserves the optimization benefits of orthogonalization while adapting to MLA’s matrix structure, resolving the training stability issue.

    The takeaway for engineering teams: When introducing new architectural components, the mathematical assumptions of the optimizer must be re-examined, especially for methods that have implicit assumptions about matrix structures.

    3.3 Multi-Token Prediction

    Multi-token prediction means the model predicts not just the next token but multiple subsequent tokens simultaneously during training. Its values are twofold:

    1. Increasing training signal density: Each position generates multiple supervision signals, helping the model learn longer-range dependency structures.
    2. Supporting inference acceleration: The trained multi-token prediction heads can be used for speculative decoding during inference, generating multiple candidate tokens in one forward pass for the main model to verify quickly, thereby reducing generation latency.

    3.4 Sparse Attention: 20B Tokens Matching the Effect of Nearly 100 Billion Tokens

    This is the most discussed technical point in the report. Traditional Transformer attention is dense—each token computes attention scores with all tokens in the context, and the computation grows quadratically with sequence length. Sparse Attention uses a selection mechanism so each token only interacts with a few “relevant” tokens, drastically reducing computational complexity.

    The report provides a key data point: using sparse attention, the model trained on approximately 20B tokens achieved the same effect as dense attention required 943.7B tokens to realize. This is not just an inference efficiency improvement; it fundamentally changes the training cost curve for long-context capabilities. For teams looking to do subsequent training on long texts or long Agent trajectories, this has profound practical significance.

    A schematic understanding of sparse attention benefits:

    1. Sequence length N:
    2. Dense attention computation: O(N²)
    3. Sparse attention computation: O(N·k), k << N
    4. Memory usage (KV cache): Latent space compression + sparse storage, dual reduction

    4. Training Side: Asynchronous RL Framework for Agents

    4.1 Why Agent RL Needs to be Asynchronous

    Traditional RLHF training is mostly synchronous: rollout → scoring → parameter update → rollout again. These stages execute serially, resulting in low GPU utilization. Agent tasks are characterized by multi-turn tool calls and environment interactions, with highly uneven trajectory times—some tasks finish in a few steps, while others require dozens of long-chain rounds. Synchronous training gets bottlenecked by the slowest trajectory, creating a severe long-tail effect.

    This model employs a fully asynchronous training framework: rollout, reward calculation, and parameter updates are decoupled. Each worker advances independently, and the trainer continuously consumes the latest completed trajectory data. This design significantly improves the utilization of large-scale clusters and is particularly suited for training long-horizon Agent tasks.

    4.2 Custom RL Infrastructure

    Supporting this framework is a custom-built reinforcement learning infrastructure responsible for trajectory management, environment orchestration, and parameter synchronization. The design of the open-source training framework mentioned in the report provides a reference for community reproduction and secondary development. General practices that enterprise teams can adopt include:

    • Training and inference separation: The inference engine and training engine are deployed independently, connected via a parameter synchronization mechanism.
    • Pluggable design for rewards and environments: Facilitates switching between different task domains like code, search, and tool calling.
    • Asynchronous pipeline and gradient staleness control: Balances throughput and training stability.

    5. Summary and Implications

    Overall, this technical report conveys three clear signals:

    1. The capability ceiling of open-source models has been significantly raised: The 744B/40B MoE configuration combined with architectural innovations allows the open-source camp to approach the first tier of proprietary models in top-tier intelligence benchmarks.
    2. Architectural innovation shifts from “scaling data” to “improving efficiency”: Sparse attention reduces the training cost of long-context capabilities by an order of magnitude. The compounding effect of such efficiency-driven innovations will become increasingly prominent.
    3. The training paradigm for the Agent era is taking shape: Asynchronous RL frameworks and supporting infrastructure are the engineering cornerstones for pushing models from “chat capabilities” to “autonomous execution capabilities.”

    For developers and enterprise users, understanding the trade-offs behind these designs—balancing capacity and cost, coupling optimizers with architecture, and synchronous vs. asynchronous training paradigms—provides more long-term value than memorizing specific benchmark scores. Whether building applications based on cloud-based LLM services or otherwise, the engineering methodologies precipitated in these open-source technical reports are invaluable primary materials worth studying in depth.