Trillion-Parameter MoE Multimodal Models: Key Technical Breakthroughs in Architecture and Training

    This article examines the key technical enablers behind trillion-parameter-scale sparse MoE multimodal models. It covers the combination of linear attention and latent attention, bounded-below decay parameterization, auxiliary-loss-free load balancing, and block attention residuals. It then reviews staged context pre-training and long-horizon agentic reinforcement learning post-training. The final section summarizes engineering lessons for building and scaling next-generation large models, with a focus on numerical stability, efficient parameter activation, infrastructure-algorithm co-design, and full-stack long-context support.

    1. Background: Large Models Are Moving Toward Sparsity, Multimodality, and Ultra-Long Context

    Recent progress in large models has followed three clear trends. First, parameter scales continue to grow, but sparse computation through mixture-of-experts (MoE) architectures keeps the number of activated parameters much smaller than the total parameter count. Second, multimodal capabilities are moving from add-on modules toward native fusion, with vision and text jointly trained in a unified representation space. Third, context length is expanding from tens of thousands of tokens toward the million-token scale to support long-document understanding, codebase-level analysis, and long-horizon agent tasks.

    Against this backdrop, some frontier efforts are pushing all three trends to their limits at the same time. As an example, one research team has released a trillion-parameter-scale MoE multimodal model with 2.8 trillion total parameters, about 104 billion activated parameters per inference, native support for visual input, and a 1-million-token context window. Although this work appears in the form of a specific product, the technical approach behind it has broad reference value and is worth breaking down from three dimensions: architecture design, training stability, and long-context efficiency.

    2. Core Architecture: Combining Sparse MoE with New Attention Designs

    2.1 Attention Side: Fusing Linear Attention and Latent Attention

    Standard self-attention in conventional Transformers has O(n²) computational complexity for long sequences, making it a major bottleneck for long context. Common optimization paths in the industry include linear attention, which rewrites attention as recursive state updates, and multi-head latent attention, which reduces KV cache memory usage through low-rank compression.

    This class of frontier approaches fuses the two. On one hand, gated multi-head latent attention is introduced to compress the key-value cache. On the other hand, an incremental linear attention operator is used to handle long-range dependencies. Linear attention essentially maintains a matrix state that continuously decays as the sequence advances. The numerical design of the decay factor directly determines whether training can proceed stably.

    2.2 Key Innovation 1: Bounded-Below Decay Parameterization

    In block-parallel computation for linear attention, the reciprocal of the decay factor is needed as a scaling coefficient. If the decay factor uses an unbounded parameterization, such as a negative Softplus output, the reciprocal may severely overflow or underflow under finite precision such as BF16. This can force diagonal blocks within a chunk to fall back to a slow position-by-position path, preventing the use of Tensor Core matrix-multiplication acceleration.

    A bounded-below parameterization constrains the decay factor to a fixed lower bound multiplied by the output of a Sigmoid function, for example:

    1. decay_t = g_min * Sigmoid(learned_t) # g_min is a fixed negative constant, e.g., -5

    This ensures that the reciprocal scaling factor within any 16-token chunk always falls within a safe numerical range. The engineering benefit is direct: all causal chunks, whether diagonal or non-diagonal, can uniformly use dense matrix-multiplication paths, eliminating special computation branches and significantly improving throughput. At the same time, because the decay is bounded, the model naturally supports ultra-long context extrapolation under No Positional Encoding (NoPE) settings. This change has minimal intrusion into existing implementations and is a typical low-change, high-return optimization with strong reuse value.

    2.3 Key Innovation 2: Auxiliary-Loss-Free Load Balancing

    A classic challenge for very large MoE models is load balancing. If the router always assigns tokens to a small number of experts, the remaining experts will not be trained sufficiently. The traditional approach introduces an auxiliary balancing loss, but it interferes with the main task loss and becomes difficult to tune when the number of experts reaches hundreds or even nearly a thousand.

    A quantile-based balancing mechanism offers an auxiliary-loss-free alternative. By dynamically monitoring quantiles of the load distribution across experts during training, it applies real-time penalties or scaling to the routing scores of overloaded experts, keeping load balanced without an additional loss term. This runtime intervention strategy can maintain training stability at lower hyperparameter tuning cost in extremely sparse scenarios with hundreds of routed experts. It offers direct lessons for teams building large-scale MoE systems.

    2.4 Key Innovation 3: Block Attention Residuals

    Deep Transformers commonly face a depth representation bottleneck: as the number of layers increases, attenuation during layer-by-layer information passing makes it difficult for deep layers to be used effectively. Block attention residuals introduce cross-layer residual connections between attention modules, allowing shallow representations to bypass directly to deep layers. This alleviates gradient and information-flow problems and also reduces memory and communication overhead by sharing intermediate activations, clearly improving training efficiency for very deep models.

    3. Training Strategy: Multi-Stage Context Extension and Agentic Reinforcement Learning

    3.1 Staged Context Pre-training

    Long-context capability cannot be achieved in a single step. A common industry practice is staged progression: complete most training on 8K context to establish basic language and knowledge capabilities, then extend sequentially to 64K and 256K, and finally continue training on 1M context. At each stage, the data mix, positional encoding handling, and attention implementation need to be adjusted accordingly. This curriculum-style extension effectively avoids the convergence difficulties and memory explosions caused by direct long-context training.

    3.2 Long-Horizon Agentic RL Post-training

    After pre-training, the post-training stage adds million-token-level agentic reinforcement learning (Agentic RL). Unlike traditional preference alignment, agentic RL involves extremely long trajectories, including multi-step tool calls, multiple rounds of environment feedback, and delayed rewards. This places high demands on sample collection, reward design, and long-sequence parallel computation in the training framework. This stage is key for the model to acquire long-horizon planning and autonomous task execution capabilities.

    4. Implications for Engineering Practice

    1. Sparsification is a necessary path for scaling: the ratio of 2.8 trillion total parameters to roughly 100 billion activated parameters shows that future model competition is not about simply stacking parameters, but about how to activate parameters efficiently.
    2. Numerical stability determines the ceiling of operators: whether linear attention can truly be deployed often depends on parameterization details such as the decay factor, rather than on the algorithm concept alone.
    3. Training infrastructure and algorithms require co-design: auxiliary-loss-free load balancing and attention residuals essentially turn algorithm problems into system problems.
    4. Long context requires full-stack coordination: attention operators, positional encoding strategies, multi-stage training curricula, and agentic post-training are all indispensable.

    Overall, technical reports on this class of trillion-scale sparse multimodal models provide the community with a complete reference for maintaining training stability and inference efficiency at extreme scale. Their architectural ideas and training methodologies offer general guidance for building next-generation large models.