Architecture and Training Key Points of an Ultra-Large-Scale MoE Multimodal Model

    This article is written for developers who train or evaluate large models. It breaks down the architecture and training essentials of an ultra-large-scale MoE multimodal model, covering its parameter structure, a bounded decay parameterization for linear attention, an auxiliary-loss-free load balancing mechanism (QB), block-level attention residuals, and multi-stage pretraining. Since some figures and results in the source material lack citations, the article clearly distinguishes what can be verified from what should be confirmed against the official technical report.

    This article is intended for developers who need to train or evaluate large models. It reviews the architecture and training essentials of an ultra-large-scale MoE multimodal model. Some figures and results in the source material are not accompanied by citations; this article indicates which claims can be verified and which should be treated as pending confirmation in the official technical report.

    1. Model Scale and Architecture Overview

    According to the source material, the model has roughly 2.8 trillion total parameters, activates about 104 billion parameters per token, natively supports visual inputs such as images, and offers a context window of 1 million tokens. Understanding the scale of an MoE model requires distinguishing three sets of numbers. Total parameters determine memory and storage footprint. Activated parameters determine the compute cost per token. The ratio between the two reflects the degree of sparsity. The number of experts determines the granularity of routing—the 896 routed experts mentioned in the material fall into this category.

    On the attention side, the model combines linear attention (KDA) with Gated Multi-head Latent Attention (Gated MLA), and shares information across layers through attention residuals (AttnRes). The MoE component uses a stable latent MoE structure, GLU activation, and a quantile-based balancing (QB) mechanism. The following three sections explain the three designs most worth learning from.

    2. Bounded Decay Parameterization for Linear Attention

    When linear attention computes within a chunk, it needs the reciprocal of the cumulative decay factor. Under limited precision such as BF16, this reciprocal can easily underflow or overflow. As a result, diagonal blocks can only be computed via position-by-position pairing and cannot take advantage of the dense matrix multiplication of GPU Tensor Cores, which limits throughput.

    The modification described in the material changes the parameterization of log-decay from the unbounded Negative-Softplus to a bounded Scaled Sigmoid, fixing the lower bound at a specific value, for example -5. This ensures that the log-decay of each token never falls below -5. With a tile size of 16 tokens, the lower bound of the cumulative log-decay is -80, corresponding to a reciprocal scaling factor of about e^80, or roughly 5.5×10^34. This value is within the representable range of BF16 (upper bound around 3.4×10^38) but exceeds the FP16 upper bound. This shows that the conclusion depends on three conditions—the lower bound value, the tile size, and the data type—and cannot be generalized directly to other settings.

    The lower bound also has a cost. Since the decay of each token cannot drop below the set value, the model cannot completely forget certain historical information. This is a trade-off between modeling capacity and numerical stability that needs to be evaluated on the target task.

    If, under the settings above, diagonal blocks no longer need a special branch, all causal tiles can go directly into Tensor Core GEMM computation. The actual gain depends on the kernel implementation and hardware. To validate it, you can do three things: compare throughput before and after removing the diagonal branch, check numerical error under BF16 against FP32 reference results, and verify output stability on long sequences. The material also mentions that this design supports long-context extrapolation without position encoding, which needs to be confirmed through long-text evaluation.

    3. Auxiliary-Loss-Free Load Balancing (QB)

    In MoE training, if the router assigns most tokens to a small number of experts, some experts become overloaded while others sit nearly idle. The common approach is to add an auxiliary loss that encourages uniform assignment. However, the auxiliary loss competes with the gradients of the main task and can sometimes degrade model quality.

    According to the material, the QB mechanism makes token assignment across experts more balanced through real-time monitoring and dynamic adjustment, without introducing an auxiliary loss. The original material does not provide concrete formulas, so it is impossible to confirm how the quantiles are computed, whether they relate directly to routing logits, or whether the behavior is consistent between training and inference. Similar ideas exist in the public literature, such as adding a bias term to routing scores that is dynamically adjusted based on expert load. The effectiveness of such methods depends on the adjustment step size, the statistics window, and the batch size. With small batches, load statistics are noisy and adjustments may oscillate.

    When evaluating this kind of mechanism, you can observe three metrics: the variance in the number of tokens received by each expert, the proportion of tokens dropped due to capacity limits, and whether the main task loss curve shows abnormal fluctuations. Without these data, it is not appropriate to judge whether the mechanism is faster or more stable.

    4. Block-Level Attention Residuals

    As networks get deeper, deep-layer representations hit bottlenecks, while activation memory usage and cross-node communication volume both grow. The idea proposed in the material is to divide layers into blocks, share attention information between blocks, and reuse intermediate states, thereby enriching deep-layer representations and reducing memory and communication overhead.

    The material does not specify how the sharing works, the block sizes, or the layer intervals, so the magnitude of memory savings cannot be determined. To evaluate it, you can compare peak memory usage, the cost of activation recomputation, and the bytes of cross-node communication under identical parameter counts, batch sizes, and hardware. Only when these metrics differ significantly can the design be said to deliver benefits.

    5. Multi-Stage Pretraining and Agentic Reinforcement Learning

    The training context length is expanded progressively through stages of 8K, 64K, 256K, and 1M tokens. The intuition behind this approach is to first learn the fundamental semantics of short text well, then gradually adapt to long-range dependencies. The material does not provide details for each stage—