Scaling to 2.8 Trillion Parameters: Technical Innovations in MoE Multimodal LLM Architecture

    This article examines the architectural breakthroughs of a next-generation Mixture-of-Experts (MoE) multimodal large language model with 2.8 trillion total parameters and 104 billion active parameters. It details three reusable technical innovations—lower-bounded decay parameterization for linear attention, auxiliary-loss-free percentile-based load balancing for extreme-scale MoE, and cross-layer attention residuals—alongside a multi-stage pretraining and agentic reinforcement learning strategy. These developments address key challenges in ultra-long context efficiency, training stability with thousands of experts, and long-horizon agentic reasoning.

    Recent progress in large language models has entered a phase where parameter scale and multimodal capability are equally critical. A research team recently released a next-generation MoE multimodal large language model with 2.8 trillion total parameters and 104 billion active parameters, attracting significant industry attention. The model natively supports visual multimodal input and an ultra-long context of up to 1 million tokens, incorporating several fundamental architectural innovations. This article analyzes the model’s technical architecture, core mechanism innovations, and training strategies, focusing on how it overcomes the critical challenges of computational efficiency at long context lengths, training stability for large-scale expert MoE, and long-horizon reasoning for agentic applications.

    Overall Architecture: Hybrid Attention and Sparse Expert Synergy

    The model adopts an advanced Mixture-of-Experts (MoE) design. To maintain inference efficiency at this massive parameter scale, both the attention modules and feed-forward network (FFN) modules have been substantially re-engineered.

    1. Hybrid Design in the Attention Module

    The model integrates gated multi-head latent attention with incremental attention, and introduces attention residual connections across layers for cross-layer information sharing. This design leverages the strengths of different attention mechanisms: latent attention compresses key-value cache to reduce memory footprint, while incremental attention improves linear-complexity efficiency for long-sequence processing. The AttnRes mechanism breaks the representation bottleneck common in deep transformer layers, allowing features extracted in shallower layers to propagate more effectively to deeper layers.

    2. Sparse MoE Layer Design

    On the MoE side, the model is equipped with the Stable LatentMoE architecture containing 896 routed experts. To handle extreme sparsity, the model uses the SiTU-GLU activation function combined with a quantile-based (QB) balancing mechanism, ensuring gradient stability and load balancing across the enormous number of experts during training. This design enables the model to achieve trillion-scale parameters while activating only around 100 billion parameters per inference step, significantly optimizing compute resource utilization.

    Core Innovations: Three Reusable Technical Paradigms

    The most engineering-relevant contributions of the technical report are three key optimizations aimed at fundamental computational bottlenecks in existing large models. These techniques are not limited to this specific model and offer high reusability for the broader LLM community.

    1. Lower-Bounded Decay Parameterization for Linear Attention

    Challenge: Traditional linear attention or Delta Net architectures suffer from severe numerical overflow or underflow when computing the inverse of the cumulative decay factor Γ in finite precision (e.g., BF16) within chunked computation. This forces diagonal blocks to take an explicit position-wise computation path, preventing the use of GPU Tensor Core matrix multiplication acceleration and severely limiting linear attention throughput.

    Mechanism & Innovation: To address this, the model proposes a lower-bounded decay parameterization. Instead of an unbounded negative-softplus function, it uses a scaled sigmoid with a fixed lower bound. Specifically, with a minimum decay parameter (e.g., g_min = -5), the formulation becomes g_th = g_min · Sigmoid(eAhz_th). This mathematical refinement ensures that the inverse scaling factor within any 16-token tile remains strictly within a safe numerical range.

    Engineering Benefit: This improvement yields significant computational efficiency gains. It eliminates the special computation branch for diagonal blocks, allowing all causal blocks (both diagonal and non-diagonal) to directly use dense tensor cores for general matrix multiplication (GEMM). This not only increases compute throughput but also naturally supports position-encoding-free extrapolation to million-level contexts, removing a critical low-level operator barrier for ultra-long-context training.

    2. Auxiliary-Loss-Free Dynamic Load Balancing for Extreme-Scale MoE

    Challenge: In MoE architectures with nearly a thousand routed experts, load imbalance is a primary cause of training instability and wasted compute. Traditional methods introduce auxiliary losses to penalize uneven expert utilization. However, in the context of massive expert counts, auxiliary losses add extra computational overhead and may interfere with the gradient optimization of the primary task, degrading final model performance.

    Mechanism & Innovation: The model introduces a quantile-based (QB) balancing mechanism—an auxiliary-loss-free dynamic load balancing strategy for extreme-scale MoE. QB does not rely on gradient backpropagation to adjust expert routing. Instead, it dynamically monitors and adjusts the probability distribution of expert reception, aligning the load across experts at specific quantile points.

    Engineering Benefit: Eliminating auxiliary losses simplifies the optimizer configuration for MoE training and reduces hyperparameter tuning complexity. The fast dynamic adjustment capability also enables quicker convergence under varying data distributions, ensuring stability under extreme sparsity conditions.

    3. Cross-Layer Attention Residuals

    Challenge: As transformer depth increases, information propagated layer by layer often suffers from representation degradation or vanishing gradients. Traditional residual connections are confined within individual blocks, which fail to break the barriers to cross-layer information flow in deep networks.

    Mechanism & Innovation: The model introduces a block-level attention residual mechanism. By adding extra attention residual paths between specific layers, the model allows attention layers at different depths to share information directly.

    Engineering Benefit: AttnRes effectively alleviates the deep representation bottleneck of large transformer models, improves the modeling of complex long-range dependencies, and reduces memory cache requirements and communication overhead in certain intermediate layers—enhancing scalability under distributed training.

    Multi-Stage Pretraining and Agentic RL Post-Training

    Capability leaps are driven not only by architectural innovation but also by carefully designed training strategies. This model follows a progressive paradigm that combines staged scaling with reinforcement learning.

    1. Multi-Stage Context-Length Progression

    During pretraining, the model did not start with million-token sequences. Instead, it adopted a progressive strategy: 8K → 64K → 256K → 1M tokens. This approach balances the development of fundamental language skills on shorter sequences with the cultivation of long-context extrapolation ability, avoiding slow convergence that may occur when training on extremely long contexts from the outset.

    2. Million-Token Agentic RL Post-Training

    To enhance the model’s long-horizon reasoning capability as an agent, the model was further trained with agentic reinforcement learning at the million-token scale after pretraining. This step enables the model to learn planning, reflection, and error correction in complex, multi-step tasks that require the full use of ultra-long context. The post-training strategy effectively bridges the gap between a base model and sophisticated agentic applications, resulting in state-of-the-art reasoning performance on public LLM benchmarks.

    Summary and Engineering Practice Insights

    In summary, the next-generation ultra-large-scale MoE multimodal model systematically addresses multiple bottlenecks in compute, memory, and training stability through three key innovations: lower-bounded decay parameterization, quantile-based load balancing, and cross-layer attention residuals. For developers and enterprises, these technical paradigms provide valuable references for building custom LLMs or optimizing underlying frameworks.

    In enterprise-level deployment, serving a trillion-parameter model places extreme demands on the underlying compute infrastructure. Organizations typically rely on managed cloud platforms—such as Baidu AI Cloud’s Qianfan platform or standard container orchestration with GPU clusters—to manage massive training data on object storage and ensure long-duration pretraining stability through cloud-native monitoring and alerting systems. As algorithmic optimizations continue to advance, combined with robust cloud infrastructure, ultra-large multimodal models will unlock substantial value across an expanding range of complex business scenarios.