Deep Dive: Architecture Design of Next-Generation MoE Multimodal Large Models

    This article explores the architectural design and engineering practices of a next-generation Mixture of Experts (MoE) multimodal large model based on a recent open-source technical report. With 2.8 trillion total parameters and only 104 billion activated during a single forward pass, the model natively supports visual multimodal inputs and up to one million tokens of context. We analyze key innovations including a hybrid attention mechanism for long contexts, bounded decay parameterization for numerical stability, auxiliary-loss-free quantile balancing for expert load distribution, and block attention residuals to mitigate depth degradation. The article also examines its progressive training paradigm and agentic reinforcement learning, providing actionable insights for developers to adapt these strategies for their own large model engineering.

    Deep Dive: Architecture Design of Next-Generation MoE Multimodal Large Models

    In recent years, the parameter scale of large language models has continued to surge. Expanding model capacity while keeping inference costs under control has become a core challenge for the industry. The Mixture of Experts (MoE) architecture, with its “sparse activation” characteristic, has emerged as the mainstream path for scaling up models. This article systematically reviews the architectural design and engineering practices of a recently released technical report from an open-source community. The model boasts a total parameter scale of 2.8 trillion but only activates approximately 104 billion parameters during a single forward pass. It natively supports visual multimodal inputs and ultra-long contexts of up to one million tokens, representing the current frontier of sparse large models.

    1. Overall Architecture Overview: Synergizing Sparsification and Long Contexts

    Based on the technical report, the model’s design revolves around three core challenges:

    First, the computational efficiency of ultra-long contexts. The complexity of standard full-attention mechanisms grows quadratically with sequence length, making it computationally and memory-wise prohibitive to directly support million-token-level contexts. The model adopts a hybrid architecture on the attention side, combining Incremental Linear Attention (KDA) with Gated Multi-head Latent Attention (Gated MLA). The former handles long-sequence dependencies with near-linear complexity, while the latter compresses the KV cache through low-rank latent representations. Together, they strike a balance between efficiency and expressive power.

    Second, training stability with a massive number of experts. The MoE layer is configured with up to 896 routed experts, resulting in extreme sparsity. As the number of experts increases, issues like load imbalance and routing collapse become more prominent. To address this, the architecture employs a stabilized Latent MoE (LatentMoE) design and introduces a Quantile Balancing mechanism. This achieves dynamic load balancing without relying on auxiliary losses, avoiding the interference that traditional auxiliary losses impose on the main task.

    Third, long-range reasoning in agentic scenarios. The model utilizes a multi-stage context extension pre-training strategy, scaling from 8K to 64K, 256K, and up to 1M tokens. During the post-training phase, Agentic Reinforcement Learning (Agentic RL) at the million-token level is introduced, equipping the model with reliable reasoning capabilities for long-chain tool calls and multi-turn planning tasks.

    2. Innovation 1: Bounded Decay Parameterization

    Linear attention and its variants (such as Delta Net-like structures) face a hidden engineering bottleneck in practical deployment: during chunked parallel computation, the reciprocal of the cumulative decay factor is highly susceptible to numerical overflow or underflow under limited precision (e.g., BF16). Once values go out of bounds, the diagonal tile must fall back to an explicit position-pair computation path, preventing the use of matrix multiplication acceleration and wasting significant Tensor Core computing power.

    The model’s solution is to change the parameterization of the decay factor. It replaces the unbounded Negative-Softplus form of log-decay with a scaled Sigmoid form that has a lower bound. By fixing the decay lower bound (approximately -5), the Sigmoid function constrains the decay value within a safe interval. This ensures that the reciprocal scaling factor in any chunk is locked within a range safely representable by limited precision.

    This seemingly minor change yields significant benefits:

    • Simplified operator implementation: It eliminates the special branch logic for diagonal tiles. All causal chunks (whether on the diagonal or not) can uniformly invoke dense matrix multiplication kernels, significantly boosting throughput.
    • Enhanced numerical stability: No additional precision protection or fallback paths are needed throughout training.
    • Extrapolation-friendly: This parameterization is naturally compatible with No Explicit Positional Encoding (NoPE) schemes, allowing the model to extrapolate directly to million-level context lengths.

    For engineering teams, this approach offers immense reuse value: without altering the mathematical essence of the model, simply adjusting the parameterization form can eliminate an entire class of numerical stability issues. It is a prime example of “trading design for stability.”

    3. Innovation 2: Auxiliary-Loss-Free Quantile Load Balancing

    A classic challenge in large-scale MoE training is uneven expert load: a few “popular” experts are over-selected, while the majority remain idle, wasting capacity and degrading model quality. The traditional approach introduces a load balancing auxiliary loss, but there is a difficult trade-off between the auxiliary loss and the main loss—a weight that is too high harms task performance, while one that is too low renders balancing ineffective. Furthermore, tuning costs rise sharply as the number of experts increases.

    The Quantile Balancing mechanism adopted by this model provides an alternative path. By dynamically adjusting routing biases, it converges the selection probability distribution of each expert toward uniform quantiles. This process does not modify the main loss function, making it an “auxiliary-loss-free” balancing strategy. Even under the extremely sparse configuration of 896 routed experts, this mechanism ensures load balancing throughout training, with fast convergence and no need for additional hyperparameter tuning.

    The implication for the industry is that when models scale to a certain size, “reducing coupling terms in the loss function” often improves system robustness more than “fine-tuning parameters.” When building custom sparse model training platforms, teams should prioritize such structured balancing mechanisms, combined with the elastic scheduling of container platforms and fine-grained monitoring alert systems, to observe metrics like expert utilization and routing entropy in real-time, thereby promptly detecting and intervening in training anomalies.

    4. Innovation 3: Block Attention Residuals to Mitigate Depth Degradation

    Deep Transformers universally face a “depth representation bottleneck”: as layers increase, representations across layers tend to homogenize, diminishing returns from new layers, while the residual flow passed between layers increases memory footprint and cross-node communication overhead. This model introduces a Block Attention Residual (Block AttnRes) mechanism, allowing structured attention information sharing across layers—meaning later attention blocks can directly access the intermediate results produced by previous blocks, rather than relying solely on layer-by-layer residual flows.

    This design brings dual benefits. On one hand, the cross-layer information pathway breaks the bottleneck of layer-by-layer serial processing, allowing deep modules to directly reuse shallow features and mitigating representation degradation. On the other hand, block-level sharing is more controllable in terms of memory and communication overhead compared to fully connected cross-layer connections, making it friendlier for distributed training. For teams using cloud GPU clusters for large model training, such architecture improvements that reduce communication can directly translate into lower training costs. Combined with logging services and profiling tools, teams can quantitatively evaluate the communication and computation ratio at each level, guiding further architectural trade-offs.

    5. Training Paradigm: Multi-Stage Context Extension and Agentic RL

    The model’s training pipeline is also worth examining in detail:

    1. Multi-stage pre-training: The context length expands progressively: 8K -> 64K -> 256K -> 1M. This gradual strategy avoids the computational waste of training directly with ultra-long sequences. The model first learns foundational language capabilities on short contexts, then gradually learns long-range dependencies. Each stage requires only a small amount of data to complete the context window migration.
    2. Multimodal fusion: Visual capabilities are integrated natively into the model rather than being post-hoc spliced adapters, ensuring representational consistency in interleaved image-text scenarios.
    3. Agentic post-training: Agentic RL is conducted at the million-token level, focusing on honing the model’s planning, tool calling, and self-correction capabilities in long-chain tasks. This reflects an industry consensus: the value of long context ultimately lies in “long-range task execution,” not just “long-text understanding.”

    For enterprise developers, replicating such a training pipeline does not necessarily mean building from scratch. You can build an elastic, scalable training pipeline based on general cloud infrastructure—using object storage for massive training corpora, container platforms to orchestrate distributed training tasks, and message queues to bridge data preprocessing pipelines—allowing you to focus your efforts on the algorithms themselves.

    6. Conclusion and Insights

    Overall, the technical report of this ultra-large-scale MoE multimodal model sends several clear signals. First, hybrid architectures combining linear and full attention are becoming the standard solution for ultra-long contexts, and numerical design at the parameterization level is a critical detail for engineering deployment. Second, auxiliary-loss-free load balancing mechanisms represent the evolution direction for ultra-large-scale sparse training. Third, structural innovations like cross-layer residual connections are reinvigorating the classic path of “deepening networks.” Fourth, the focus of post-training has shifted from conversational alignment to long-range agentic capabilities.

    These technologies are not out of reach. Whether it is bounded decay parameterization or quantile balancing strategies, the core ideas can be migrated to the training of small-to-medium scale models with relatively low engineering costs. Developers are advised to focus on the design motivations rather than specific hyperparameters, and to conduct validation within their own business scenarios using open-source ecosystems and general cloud platforms, progressively accumulating a large model engineering methodology suited to their needs.