Inside a 2.8T-Parameter Sparse MoE Multimodal Model: Long-Context Attention, Stable Expert Training, and Agentic Post-Training

    This article reviews a technical report on a new ultra-large sparse MoE multimodal model with 2.8 trillion total parameters, 104 billion activated parameters, native visual multimodality, and 1 million-token context. It examines attention innovations such as Block AttnRes and KDA bounded decay parameterization, a 896-expert Stable LatentMoE with Quantile Balancing and SiTU-GLU, progressive context-window pretraining, million-token Agentic RL post-training, and cloud-native infrastructure considerations for training models at this scale.

    As large language models evolve toward multimodality and complex agents, mixture-of-experts architectures and ultra-long-context processing have become central engineering priorities. A technical team recently released a technical report on a new-generation ultra-large MoE multimodal model. The model has 2.8 trillion total parameters, 104 billion activated parameters, native support for visual multimodality, and a 1 million-token context window. The architecture provides file understanding, content drafting, and data analysis capabilities, while also achieving several key底层 breakthroughs. It offers a valuable engineering reference for addressing long-context compute efficiency, training stability with massive numbers of experts, and long-horizon reasoning in agents.

    1. Attention Mechanism Innovations: Breaking Long-Text Compute Bottlenecks

    When processing ultra-long contexts at the million-token level, traditional Transformer architectures face quadratic growth in computational complexity and degradation of deep-layer representations. This model combines gated multi-head latent attention with incremental attention in its attention module and introduces an attention residual mechanism for cross-layer information sharing.

    1.1 Block Attention Residuals Break Deep Representation Bottlenecks

    In deep Transformer networks, representation capacity can reach a bottleneck as layer count increases, while memory and communication overhead rise sharply. The Block AttnRes mechanism establishes residual connections between specific network blocks so that high-quality feature information from shallow layers can be passed to deeper layers without loss. This not only alleviates information forgetting in deep networks but also significantly reduces memory usage during backpropagation and cross-node communication overhead.

    1.2 KDA Lower-Bound Decay Parameterization Improves Parallel Compute Efficiency

    This is a core highlight of the model at the operator optimization level. Traditional linear attention or Delta networks rely on the reciprocal of cumulative decay factors when computing within a chunk. Under limited precision such as BF16, this unbounded reciprocal operation can easily cause severe numerical overflow or underflow. To ensure numerical stability, conventional approaches must route diagonal blocks through an explicit positional-pair path, which prevents full utilization of GPU Tensor Core matrix multiplication acceleration.

    To address this pain point, the architecture changes the log-decay from an unbounded Negative-Softplus to a bounded Scaled Sigmoid. The parameterization is:

    g_{th} = g_{min} · Sigmoid(e^{A_h z_{th}})

    with a fixed lower bound of g_min = -5. This small but critical engineering change locks the reciprocal scaling factor within any 16-token tile into a safe numerical range. It completely eliminates the special computation branch for diagonal blocks, allowing all causal-mask blocks to directly call high-throughput dense Tensor Core GEMM operators. This substantially improves the implementation efficiency of linear attention operators on CUDA/CUTLASS and naturally supports direct extrapolation to 1M context without positional encoding, giving the approach high reuse value.

    2. MoE Training Stability Under Extreme Sparsity

    An extremely sparse MoE architecture with nearly one thousand routed experts faces serious risks of load imbalance and routing collapse. The model uses a Stable LatentMoE architecture with 896 routed experts, together with a SiTU-GLU activation function, and makes important innovations in load balancing.

    2.1 Auxiliary-Loss-Free Quantile Balancing (QB)

    Traditional MoE training usually relies on auxiliary loss functions to constrain expert load. However, auxiliary losses often interfere with the optimization direction of the main task and converge slowly in scenarios with very large numbers of experts. This model introduces Quantile Balancing (QB), an auxiliary-loss-free dynamic load-balancing strategy for ultra-large-scale MoE. QB dynamically monitors and adjusts quantiles of the routing distribution, achieving fast load balancing without side effects and ensuring stable training of massive expert counts under extreme sparsity.

    2.2 Activation Function and Architecture Synergy

    Combined with the SiTU-GLU activation function, the Stable LatentMoE architecture preserves nonlinear expressiveness while optimizing information flow among experts. It further reduces variance drift of activation values in deep networks and ensures stable and effective gradient updates at the trillion-parameter scale.

    3. Multi-Stage Pretraining and Agentic Post-Training Strategy

    Model capability depends not only on architecture design but also on carefully designed training strategies.

    3.1 Progressive Context Window Expansion

    To balance compute efficiency in early training with final million-token context capability, the model adopts a multi-stage pretraining strategy: 8K -> 64K -> 256K -> 1M. This progressive expansion allows the model to quickly learn basic language and knowledge representations in short-context stages, then gradually inject long-text inductive biases. It avoids the compute waste and optimization instability that would come from training directly on ultra-long sequences.

    3.2 Million-Token-Level Agentic RL Post-Training

    To address long-horizon reasoning challenges for agents in complex tasks, the model introduces million-token-level Agentic reinforcement learning during post-training. By simulating multi-turn tool calls, state maintenance, and multi-step reasoning within ultra-long contexts, the model effectively learns how to maintain goal consistency across long sequences. This addresses attention drift and action failure problems that traditional models often exhibit in long-horizon tasks.

    4. Cloud-Native Engineering Support for Large-Scale Training

    Training models of this kind, with trillions of parameters and nearly one thousand experts, places strict demands on underlying compute infrastructure. In practical engineering deployment, innovative algorithm architectures must be paired with efficient and elastic cloud-native computing platforms.

    Taking Baidu AI Cloud infrastructure as an example, supporting this type of large-model training typically relies on high-performance computing clusters, parallel file storage, and cloud-native container platforms. Parallel file storage can provide very high IOPS and throughput bandwidth to meet the frequent read and write requirements of massive checkpoints. The container platform provides efficient scheduling and network topology awareness for GPU clusters ranging from thousands to tens of thousands of GPUs. Combined with monitoring and alerting systems, developers can track the load distribution and communication overhead of MoE routing in real time, providing data support for dynamic tuning of the QB mechanism. This deep integration from algorithm innovation to cloud infrastructure is a key path for moving ultra-large MoE models from theory into practical applications.

    Conclusion

    In summary, this new-generation ultra-large MoE multimodal model systematically addresses key pain points in ultra-long-context computation, massive-expert load balancing, and deep representation optimization through core technologies such as KDA lower-bound decay parameterization, Block AttnRes, and QB quantile balancing. These technical advances not only set new baselines for long-text understanding and agent reasoning but also provide a valuable reference model for the design and engineering implementation of ultra-large sparse model architectures.