Trillion-Parameter MoE Models: Architecture Evolution and Training Practices
This article examines the architecture and training practices of a reported 2.8-trillion-parameter multimodal mixture-of-experts model with approximately 104 billion active parameters and a one-million-token context window. It explores sparse expert routing, numerically stable linear attention, cross-layer attention residuals, auxiliary-loss-free load balancing, progressive context expansion, and agentic reinforcement learning, highlighting the engineering challenges behind large-scale multimodal training.
As large language models expand into multimodal inputs and increasingly long contexts, dense architectures face growing constraints on compute scalability and inference efficiency. Mixture-of-experts (MoE) architectures offer a way to increase model capacity while limiting the computation required for each token.
However, scaling an MoE model beyond a trillion total parameters introduces substantial engineering challenges. Native visual understanding and million-token contexts add further demands on computational efficiency, training stability, and long-horizon agent reasoning.
A recent technical report from an industry research team describes a next-generation multimodal MoE model with 2.8 trillion total parameters, approximately 104 billion active parameters, native vision support, and a one-million-token context window. Rather than focusing on the product itself, this article examines the architectural choices and training practices that illustrate broader directions in large-model development.
1. Core Architecture: Large-Scale MoE and Multimodal Integration
The model uses a Stable LatentMoE architecture with 896 routed experts. This large expert pool is designed to expand knowledge capacity and generalization through highly sparse activation, without substantially increasing latency for an individual inference pass.
Visual encoding is integrated natively at the input stage, enabling text and image features to be aligned and combined within a shared representation space.
Training at this parameter scale requires an infrastructure design that supports efficient computation across nodes. Cloud-native platforms, such as Baidu AI Cloud, can provide a foundation based on high-performance GPU container clusters and parallel file systems. Combined with three-dimensional parallelism—data parallelism, tensor parallelism, and pipeline parallelism—these components support distributed training across large clusters.
2. Attention Innovations: Supporting Long Contexts and Deep Representations
A one-million-token context window places severe demands on attention computation. Standard Transformer attention has quadratic complexity with respect to sequence length, prompting extensive exploration of linear attention and related approaches.
In practical implementations, however, numerical precision issues can prevent linear attention from making efficient use of Tensor Cores.
2.1 Lower-Bounded Decay Parameterization
Within a linear-attention chunk, the reciprocal of the accumulated decay factor, Γ, can encounter severe overflow or underflow in limited-precision formats such as BF16. As a result, diagonal blocks may require explicit position-pair computations rather than fully leveraging Tensor Core matrix multiplication.
The reported approach addresses this problem through lower-bounded decay parameterization. It replaces an unbounded negative-softplus parameterization of log-decay with a bounded scaled sigmoid. With a fixed lower bound such as (g_{\min} = -5), the expression becomes:
[
g{th} = g{\min} \cdot \operatorname{Sigmoid}(e_{Ahzth})
]
This parameterization constrains reciprocal scaling factors within each 16-token tile to a safe numerical range, eliminating the special computation branch for diagonal blocks.
Although the change is small at the mathematical level, it substantially improves the efficiency of the linear-attention implementation in CUDA/CUTLASS. It therefore addresses an important low-level obstacle to efficient long-context training.
2.2 Block Attention Residuals
As Transformer networks become deeper, their representations can degrade or encounter bottlenecks. The model combines gated multi-head latent attention with a block attention residual mechanism, referred to as AttnRes.
AttnRes enables information sharing and residual connections across layers. The reported design addresses deep-network representation bottlenecks while reducing memory usage and cross-layer communication overhead. It also improves the model’s ability to extract information from very long contexts.
3. MoE Load Balancing and Training Stability Without Auxiliary Losses
In an MoE network with nearly a thousand experts, uneven expert utilization can waste compute and destabilize training. Conventional approaches introduce auxiliary losses that penalize excessive routing to popular experts. These losses, however, can interfere with the primary training objective and affect final model quality.
3.1 Quantile Balancing
The model uses Quantile Balancing (QB), an auxiliary-loss-free approach to dynamic expert load balancing at large scale.
Rather than relying on a loss optimized through backpropagation, QB monitors and adjusts the distribution of expert routing probabilities to distribute tokens more evenly across experts.
This mechanism is intended to preserve training stability under highly sparse activation while avoiding the adverse effects that auxiliary balancing losses can have on convergence and model quality.
3.2 Activation Function Optimization
Alongside QB, the MoE layers use the SiTU-GLU activation function. As described in the source report, this function combines the smooth characteristics of SiLU, also known as Swish, with the gating mechanism of a gated linear unit (GLU).
The combination strengthens the nonlinear representational capacity of the expert networks, allowing activated experts to process specialized semantic features more precisely.
4. Training Evolution: From Staged Pretraining to Agentic RL
Model capability depends not only on architecture but also on training-data composition and the progression of training objectives.
4.1 Progressive Context Expansion
The model is not trained with million-token sequences from the outset. Instead, pretraining follows a staged context-length schedule:
8K → 64K → 256K → 1M tokens
Training begins with shorter contexts to establish foundational language capabilities and multimodal alignment. The context window is then expanded progressively so that the model can adapt to increasingly long-range dependencies.
This approach reduces computational costs early in training and limits the risk of gradient instability during the initial stages.
4.2 Agentic Reinforcement Learning After Pretraining
Following pretraining, the model undergoes agentic reinforcement learning (RL) at the million-token context scale to improve long-horizon reasoning and tool use.
The training involves trial-and-error optimization across complex tasks that include multi-turn interactions, code execution, and environmental feedback. These experiences are intended to strengthen the model’s ability to handle extended, multi-step workflows.
This training direction reflects a broader shift from models focused primarily on text generation toward agents capable of carrying out complex tasks through sustained interaction.
5. Conclusions and Outlook
The engineering choices described in this large-scale multimodal MoE model show that progress increasingly depends on more than parameter count. Important advances occur at several levels:
- Operator-level efficiency: Lower-bounded decay parameterization, including the KDA-related optimization discussed above, improves the numerical behavior and implementation efficiency of long-context attention.
- System-level stability: Quantile Balancing addresses expert utilization without introducing an auxiliary training loss.
- Training methodology: Progressive context expansion and agentic RL support long-context learning and extended agent workflows.
Together, these approaches offer useful directions for addressing two persistent challenges: efficient computation over extremely long sequences and stable training across a very large expert pool.
For developers and enterprises, understanding these mechanisms can inform the use and fine-tuning of open-source large models, as well as architecture decisions for domain-specific applications built on cloud-native infrastructure, including platforms such as Baidu AI Cloud.
Continued co-evolution of model architectures and computing infrastructure will be important to making multimodal models more efficient and capable in complex real-world workflows.
