Evolution and Core Breakthroughs in Ultra-Scale MoE Model Architectures

    As large language models move toward general-purpose intelligence, mixture-of-experts (MoE) architectures have become a mainstream approach for expanding total parameter capacity while keeping inference costs manageable. This article analyzes an ultra-scale multimodal MoE architecture with 2.8 trillion total parameters, approximately 104 billion active parameters, native vision support, and a 1-million-token context window. It examines the model’s architecture, attention innovations, expert load balancing, and staged training strategy, with a focus on the engineering techniques that can be reused in large-scale model development.

    As large language models evolve toward artificial general intelligence, both parameter counts and multimodal complexity are growing rapidly. Mixture-of-experts (MoE) architectures have emerged as a leading way to expand total model capacity while controlling the amount of computation used during inference.

    A recently released ultra-scale multimodal MoE model contains 2.8 trillion total parameters, with approximately 104 billion parameters activated for each inference task. It natively supports visual inputs and context windows of up to 1 million tokens. Beyond advances in large-scale expert routing and long-horizon reasoning, the architecture introduces practical engineering techniques for low-level operator optimization and training stability.

    This article examines the design from four perspectives: core architecture, attention innovations, MoE load balancing, and the training paradigm.

    1. Core Architecture and Scale Design

    The model uses an ultra-scale mixture-of-experts architecture with 2.8 trillion total parameters and roughly 104 billion active parameters per inference. This design provides substantial knowledge capacity while keeping the computational cost of an individual inference within a manageable range.

    The model also natively supports vision and other modalities. This avoids some of the information loss associated with externally attached multimodal alignment modules.

    Another notable capability is its 1-million-token context window. Long-context processing is essential for complex reasoning, long-document analysis, and agent memory systems. However, as the context grows, the computational complexity of conventional attention increases quadratically. Deep networks may also face representation bottlenecks, making it difficult to preserve useful information across many layers.

    To address these issues, the architecture combines incremental attention, referred to as KDA, with gated multi-head latent attention. It also uses attention residuals to share information across layers, helping reduce the degradation of deep-layer representations.

    2. Attention Innovations: Addressing Numerical Underflow and Parallelization Bottlenecks

    Linear attention and its variants are widely used to balance long-context capability with computational efficiency. In practical implementations, however, conventional linear attention can encounter significant performance limitations on tensor-core hardware.

    2.1 KDA Lower-Bounded Decay Parameterization

    Reuse value: Very high. The engineering change is relatively small, but it can substantially improve the efficiency of linear-attention operators implemented with low-level acceleration libraries such as CUDA and CUTLASS.

    In conventional linear attention, the reciprocal of the accumulated decay factor, Γ, can experience severe overflow or underflow when computations are performed within a chunk using limited-precision formats such as BF16. As a result, diagonal blocks may need to follow an explicit positional-alignment path, preventing full use of hardware matrix-multiplication acceleration.

    The architecture addresses this problem with a lower-bounded decay parameterization for KDA. Specifically, it replaces the unbounded negative-softplus formulation of log decay with a bounded scaled-sigmoid function and sets a fixed minimum threshold.

    This change constrains the reciprocal scaling factor within any 16-token tile to a safe numerical range. It therefore eliminates the underlying numerical anomalies and enables broader use of tensor cores for parallel computation. The result is higher throughput for both long-sequence training and inference.

    2.2 Block Attention Residuals

    Reuse value: High. This technique helps overcome deep representation bottlenecks in large Transformer networks while reducing memory and communication overhead.

    When ultra-large parameter counts are combined with extremely long contexts, deep networks can suffer from vanishing gradients or overly smoothed representations. Block Attention Residuals, or Block AttnRes, introduce residual connections that allow information to be shared across layers.

    This design improves the flow of lower-level features into higher layers and strengthens the model’s ability to capture long-range dependencies. Block-wise processing also reduces KV-cache memory consumption and communication bandwidth requirements across multiple nodes, providing a lower-level foundation for efficient processing of million-token contexts.

    3. MoE Expert Routing and Load Balancing

    The central challenge in a mixture-of-experts model is dynamically balancing workloads among experts. On the MoE side, this model uses a Stable LatentMoE architecture with 896 routed experts, together with the SiTU-GLU activation function. The combination is designed to maintain training stability under highly sparse activation conditions.

    3.1 Fast Dynamic Load Balancing Without an Auxiliary Loss

    Reuse value: High. Traditional ultra-scale MoE models often rely on auxiliary losses to enforce balanced expert utilization. However, these losses can interfere with the optimization direction of the primary task and may become difficult to optimize as the number of experts increases.

    The architecture introduces a quantile-based balancing mechanism, or QB, for fast dynamic load balancing in large-scale MoE systems without an auxiliary loss. It analyzes the distribution of routing weights and dynamically adjusts the acceptance thresholds of individual experts. This keeps the number of tokens processed by each expert balanced at the micro-batch level.

    Compared with auxiliary-loss-based approaches, QB responds more quickly and introduces almost no additional gradient-computation overhead. It helps prevent expert collapse, in which a small number of experts receive most of the traffic, and ensures that the 896 experts are activated more fully and evenly during training.

    4. Multi-Stage Pretraining and Agentic Post-Training

    The model does not begin training directly with million-token sequences. Instead, it uses a progressive multi-stage pretraining schedule:

    8K → 64K → 256K → 1M

    This staged expansion allows the model to establish a strong foundation in language and reasoning at shorter sequence lengths before gradually introducing long-context data. Position encoding and attention mechanisms can adapt progressively to longer sequences, reducing the optimization instability that may result from training directly on million-token contexts.

    After pretraining, the model undergoes agentic reinforcement learning at the million-token context scale. This stage focuses on challenges such as complex tool use, multi-step planning, and long-horizon reasoning.

    By simulating agent tasks and applying reinforcement-learning feedback within extremely long contexts, the model learns to extract relevant information from a large context window while maintaining consistent task objectives. This improves its practical effectiveness as the reasoning core of an AI agent.

    5. Conclusion and Engineering Implications

    The evolution of this ultra-scale multimodal MoE architecture provides a useful reference for addressing computational and stability challenges in large-model development.

    KDA decay parameterization addresses numerical overflow and underflow in low-level attention operators. QB enables balanced utilization of a large number of experts without an auxiliary loss. Block AttnRes reduces the representation, memory, and communication bottlenecks associated with deep networks and long contexts. Together, these techniques demonstrate how relatively limited engineering changes can produce significant system-level improvements.

    For enterprise-scale model training, developing models of this size requires more than algorithmic innovation. It also depends on close coordination between the compute cluster and cloud-native infrastructure. In practical deployments, high-performance container services, parallel file systems, and high-bandwidth RDMA networks provided by general-purpose cloud platforms such as Baidu AI Cloud can help support multi-stage pretraining and reinforcement-learning workloads for models with hundreds of billions or even trillions of parameters.

    Looking ahead, the combination of native multimodal capabilities, ultra-long context windows, and stable MoE architectures is likely to continue pushing general-purpose AI toward increasingly complex reasoning scenarios.