Large-Scale MoE Models: Architecture Evolution and Key Engineering Innovations

    An emerging generation of mixture-of-experts models combines trillions of total parameters with sparse activation, native visual multimodality, and million-token context windows. This article examines the architecture and training approach of a model with 2.8 trillion total parameters and 104 billion active parameters, focusing on hybrid attention, lower-bounded decay parameterization, auxiliary-loss-free expert balancing, staged context expansion, and agentic reinforcement learning. It also outlines the infrastructure requirements for training and deploying models at this scale.

    Large language model requirements are expanding beyond text understanding to native multimodality, very long context windows, and long-horizon reasoning for complex agent workflows. Mixture-of-experts (MoE) architectures have become a leading approach to this evolution because they can increase total parameter capacity without a proportional increase in inference computation.

    A recently introduced large-scale multimodal MoE model illustrates this direction. It has 2.8 trillion total parameters, activates approximately 104 billion parameters during inference, and natively supports visual inputs and context windows of up to one million tokens. Its architecture and training approach offer engineering lessons for improving long-context computation, stabilizing training across hundreds of experts, and supporting long-horizon agent reasoning.

    1. Core Architecture: Large-Scale MoE and Hybrid Attention

    The model uses a highly sparse architecture: only approximately 104 billion of its 2.8 trillion parameters are active during inference. This degree of sparsity places substantial demands on the routing network and expert load balancing.

    Its MoE component uses a Stable LatentMoE architecture with 896 routed experts, together with the SiTU-GLU activation function to improve nonlinear expressiveness.

    The attention module combines incremental attention, referred to as KDA, with gated multi-head latent attention. The combination is designed to balance computational efficiency with the ability to capture information.

    The model also introduces a block-wise attention residual mechanism for cross-layer information sharing. This design addresses representation bottlenecks in deep Transformers while reducing training memory usage and inter-node communication overhead. It provides a potential foundation for networks with hundreds or even thousands of layers.

    2. Lower-Bounded Decay Parameterization for Long-Context Computation

    Linear attention and related variants, such as Delta Net, are attractive for long-context processing because of their linear computational complexity. In practice, however, these operators can encounter significant numerical limitations on modern Tensor Core-based AI accelerators.

    Within a chunk, linear attention calculations require the reciprocals of cumulative decay factors. In finite-precision formats such as BF16, these calculations can encounter overflow or underflow. Conventional implementations address the problem by using an explicit position-pair computation path for diagonal blocks.

    That special treatment prevents the affected computations from fully exploiting efficient Tensor Core matrix multiplication, or GEMM, and limits overall throughput.

    Bounding Decay to Enable Dense GEMM

    The model addresses this issue through lower-bounded decay parameterization. It replaces the unbounded negative-softplus function used to calculate log-decay with a bounded scaled sigmoid function.

    A fixed minimum-value parameter keeps reciprocal scaling factors within a numerically safe range for any 16-token tile. Although the implementation change is small, it has a substantial computational effect: diagonal blocks no longer need a separate computation branch.

    All causal tiles, whether diagonal or off-diagonal, can therefore use dense Tensor Core GEMM for high-throughput computation.

    The parameterization also supports direct extrapolation without positional encoding, or NoPE, helping the model extend smoothly to context lengths of up to one million tokens.

    3. Auxiliary-Loss-Free Quantile Balancing

    In a highly sparse MoE model with nearly a thousand routed experts, uneven expert utilization can undermine parameter efficiency and destabilize training.

    Traditional approaches introduce an auxiliary loss to penalize load imbalance. This adds computational overhead and can interfere with the main task’s optimization, potentially leading to suboptimal convergence.

    The model instead uses quantile balancing (QB), an auxiliary-loss-free mechanism for rapid, dynamic expert load balancing.

    QB monitors each expert’s activation frequency and adjusts routing probabilities using quantile statistics. It balances expert utilization without introducing additional gradient terms.

    Under extreme sparsity, this mechanism helps maintain training stability and distributes training more evenly across all 896 experts, improving the effective use of the model’s parameter capacity.

    4. Staged Pretraining and Reinforcement Learning Post-Training

    Architectural changes alone are not sufficient to develop long-context and agent capabilities. The model also uses a staged training strategy.

    Progressive Context Expansion

    During pretraining, context length increases through four stages:

    8K → 64K → 256K → 1M tokens

    This progression controls computational costs early in training while allowing the model to learn semantic features from text and multimodal data at different context scales. It then transitions gradually to million-token context processing.

    Million-Token Agentic Reinforcement Learning

    During post-training, the model incorporates agentic reinforcement learning at the million-token scale to strengthen long-horizon reasoning.

    Reinforcement learning feedback from complex, multistep tasks trains the model to decompose goals, call tools, and track state across very long contexts. This stage is intended to improve practical task completion when the model operates as an agent.

    5. Cloud Engineering and Infrastructure Requirements

    Training and serving MoE models at this scale impose substantial demands on the underlying compute infrastructure. Enterprise implementations require capable cloud-native platforms and large-scale distributed resource management.

    Infrastructure platforms such as Baidu AI Cloud can provide high-performance container environments and GPU cluster scheduling to support distributed training across thousands or tens of thousands of GPUs.

    High-performance object storage and parallel file systems support high-throughput access to large multimodal training datasets. Message queues and logging services can support real-time monitoring and alerts for issues such as exploding gradients and abnormal expert loads.

    The broader engineering lesson is that advanced model architectures need mature infrastructure to move from research environments into production. Compute scheduling, data access, and training observability are integral parts of operating models at this scale.

    Conclusion

    The next generation of large-scale MoE models combines sparse expert architectures with innovations in attention, numerical stability, load balancing, and training.

    Lower-bounded decay parameterization improves the efficiency of long-context attention computations. Quantile balancing supports stable training across hundreds of routed experts without an auxiliary loss. Attention residuals enable cross-layer information sharing while reducing memory and communication overhead.

    Together with staged context expansion and agentic reinforcement learning, these techniques address key barriers in million-token context processing and large-scale expert training. They offer useful reference points for open-model development, architecture selection, and operator optimization.