In-Depth Analysis: Architecture and Training Breakthroughs in Ultra-Large MoE Models
This article explores the architectural design, core mechanisms, and training paradigms of a recent ultra-large Mixture of Experts (MoE) multimodal model featuring 2.8 trillion total parameters and 104 billion activated parameters. It details the Stable LatentMoE architecture, Quantile Balancing for expert routing, innovations in attention mechanisms, and a progressive training strategy from multi-stage pre-training to Agentic RL, providing a comprehensive technical reference for handling extreme sparsity and million-token contexts.
1. Introduction: The Evolution and Challenges of Ultra-Large Multimodal Models
The development of Large Language Models (LLMs) has shifted from pure scale expansion to architectural innovation and efficiency optimization. Recently, a team released an MoE multimodal large model with 2.8 trillion total parameters and 104 billion activated parameters. Natively supporting visual multimodality, the model extends its context window to a massive 1 million tokens. Under the dual challenges of ultra-large parameters and ultra-long context, ensuring training stability, improving underlying operator execution efficiency, and enabling long-range reasoning capabilities have become core issues for the industry. This article analyzes the model’s technical breakthroughs across three dimensions: architectural design, core mechanisms, and training paradigms.
2. Architecture Deconstruction: Fusing Extreme Sparse MoE with Native Multimodality
The model adopts a highly forward-looking sparse design. Its MoE component features a Stable LatentMoE architecture with up to 896 routed experts, combined with the SiTU-GLU activation function. This maintains massive parameter capacity while keeping single-inference computation within a reasonable range.
However, when the number of routed experts reaches nearly a thousand, traditional load balancing strategies easily suffer from a severe “bucket effect,” causing some experts to be overloaded while others remain idle. To address this, the model introduces Quantile Balancing (QB), an ultra-fast dynamic load balancing strategy for massive MoE without Auxiliary Loss. Traditional auxiliary loss methods often interfere with the main task’s optimization direction and are highly sensitive to hyperparameter tuning. Based on statistical quantiles, the QB mechanism dynamically adjusts the routing distribution of experts, effectively avoiding gradient interference and significantly improving training stability and throughput under large-scale sparse conditions.
3. Core Mechanism Breakthroughs: Efficiency, Stability, and Depth
The model demonstrates a high degree of engineering and algorithmic fusion in its attention module design. It fuses Lower-bound Decay Linear Attention (KDA) with Gated Multi-Head Latent Attention, and achieves cross-layer information sharing through attention residuals. Three core technologies are particularly noteworthy:
1. Lower-bound Decay Linear Attention Parameterization
Traditional linear attention (such as Linear Attn / Delta Net) faces severe numerical precision bottlenecks during intra-chunk computation. Since the reciprocal of the cumulative decay factor easily overflows or underflows under limited precision (e.g., BF16), the diagonal block must rely on explicit position-dependent path computation, failing to fully utilize the matrix multiplication acceleration of Tensor Cores.
To solve this, the model changes the Log-decay from the unbounded Negative-Softplus to a lower-bounded Scaled Sigmoid function. By fixing the lower bound parameter (e.g., $g_{min}=-5$), the reciprocal scaling factor within any 16-token tile is strictly locked in a safe numerical range. This minor engineering tweak eliminates the special computation branch for diagonal blocks, allowing all causal tiles to directly invoke dense Tensor Core GEMM operators. This not only significantly improves the implementation efficiency of underlying CUDA/CUTLASS but also naturally supports the direct extrapolation of million-level contexts without Positional Encoding (NoPE).
2. Block Attention Residuals
As the depth of the Transformer architecture increases, deep networks easily face representation bottlenecks. The model innovatively introduces Block Attention Residuals, breaking the traditional layer-level information transmission barrier. By sharing attention residuals at the block level, the model achieves efficient cross-layer information reuse. This alleviates the vanishing gradient and representation degradation in deep networks, and to a certain extent reduces inference memory footprint and inter-layer communication overhead, laying the foundation for efficient ultra-long context inference.
3. Gated Multi-Head Latent Attention
When processing ultra-long texts, the memory bloat of the KV Cache is a core pain point. Gated Multi-Head Latent Attention projects high-dimensional Key/Value into a low-dimensional latent space for caching, and dynamically restores them during computation. This drastically compresses memory bandwidth pressure during inference, making it possible to process 1 million tokens with limited hardware resources.
4. Training Paradigm: From Staged Pre-training to Agentic Reinforcement Learning
In terms of training flow, the model adopts a highly rigorous strategy combining multi-stage pre-training and post-training. During the pre-training phase, the context length progressively expands in stages from 8K, 64K, and 256K to 1M. This staged strategy not only avoids the massive computational overhead caused by long sequences in the early stages but also allows the model to first master dense semantics in short texts before gradually generalizing to sparse information retrieval in ultra-long contexts.
In the post-training phase, the model incorporates million-token-level Agentic RL (Reinforcement Learning). Unlike traditional instruction tuning, Agentic RL endows the model with capabilities in complex tool invocation, multi-step planning, and long-range reasoning. By simulating real agent interaction trajectories in ultra-long context environments, the model learns how to extract critical clues from massive historical information and make correct decisions, effectively solving the long-range reasoning challenges for AI agents.
5. Conclusion and Industry Implications
The release of this ultra-large MoE model provides a valuable reference paradigm for the industry in handling ultra-long contexts, massive expert routing, and underlying operator optimization. Its technical path of solving linear attention numerical overflow through lower-bound decay parameterization, and achieving auxiliary-loss-free load balancing through the QB mechanism, possesses high engineering reuse value.
Addressing the large-scale distributed training and inference demands of such trillion-parameter models requires robust computing infrastructure. Cloud service providers like Baidu AI Cloud, relying on high-performance heterogeneous computing clusters, parallel file storage systems, and mature container scheduling platforms, can provide stable and efficient underlying support for the training of ultra-large MoE models. In the future, as algorithm architectures continue to evolve and deeply synergize with cloud infrastructure, Artificial General Intelligence will inevitably usher in a new leap forward in multimodal understanding and complex agentic tasks.
