Trillion-Parameter Multimodal LLM: Architecture Innovations and Long-Context Practices
This article provides an in-depth technical analysis of a newly released 2.8 trillion-parameter Mixture-of-Experts (MoE) multimodal large model. It explores how the model achieves efficient inference by activating only 104 billion parameters while natively supporting a 1-million-token context window. Key architectural innovations discussed include Key Delta Attention (KDA), Gated Multi-head Latent Attention (Gated MLA), Attention Residual (AttnRes), Stable Latent MoE with 896 experts, SiTU-GLU activation functions, and a Quantile-based Balancing (QB) mechanism. The article also covers the progressive pretraining strategy and Agentic RL post-training approach, offering developers and technical decision-makers insights into the engineering trade-offs and constraints of next-generation sparse multimodal models.
1. Model Overview: Redefining Ultra-Large-Scale Multimodal Boundaries
In July 2026, a new Multimodal Large Model based on the Mixture-of-Experts (MoE) architecture was officially released, quickly drawing industry attention for its technical parameters and design philosophy. The model has a total parameter count of 2.8 trillion. However, through a sophisticated sparse activation mechanism, it only requires 104 billion activated parameters per inference. This “heavy model, light inference” design significantly increases model capacity while effectively controlling the computational cost per request.
In terms of capabilities, the model natively supports visual multimodal inputs. It can directly process interleaved image and text data without requiring an additional visual encoder adaptation layer. More importantly, its context window natively supports 1 million tokens. This means the model can process hundreds of thousands of words of documents, long code repositories, or entire books in a single pass, providing an unprecedented technical foundation for scenarios such as legal document analysis, scientific literature review, and large-scale software engineering comprehension.
In open-source benchmarks, the model achieved top-tier performance across multiple core tasks, demonstrating significant advantages in long-text understanding, multimodal reasoning, and complex instruction following. The following sections will deeply dissect its core technical innovations from four dimensions: attention mechanisms, MoE architecture, training strategies, and post-training methods.
2. Attention Mechanism Revolution: Deep Integration of KDA and Gated MLA
2.1 Bottlenecks of Traditional Attention Mechanisms
While Multi-Head Attention (MHA) in the standard Transformer architecture is highly effective, it has two inherent flaws. First, the computational complexity grows quadratically with sequence length. When processing million-token inputs, the storage and computational overhead of the attention matrix becomes unacceptable. Second, attention layers operate independently, lacking cross-layer information sharing mechanisms. This forces deep networks to relearn patterns already captured by shallow layers, resulting in parameter redundancy.
2.2 Design Logic of Key Delta Attention (KDA)
The Key Delta Attention (KDA) mechanism introduced in this model draws inspiration from the progressive understanding process of human reading—focusing only on the differences between newly added content and already understood context, rather than recalculating the entire attention distribution. Specifically, KDA divides long sequences into multiple continuous chunks. Each chunk only performs attention computation against the high-dimensional summary vectors of preceding chunks, rather than comparing against all historical tokens one by one. This design reduces the theoretical complexity of long-sequence operations from quadratic to approximately linear, making million-token-level context engineering feasible.
2.3 Integration of Gated Multi-head Latent Attention (Gated MLA)
Building on KDA’s handling of long-range dependencies, the model further introduces Gated Multi-head Latent Attention (Gated MLA) as a complement. The core innovations of Gated MLA include:
- Latent dimension compression: Projecting Key and Value matrices into a low-dimensional latent space to reduce cache footprint.
- Gating mechanism: Dynamically adjusting the contribution weights of different attention heads via learned gating vectors, enabling the model to adaptively decide whether to focus on local details or global semantics based on current task requirements.
- Synergy with KDA: KDA is responsible for coarse-grained long-range scanning, while Gated MLA handles fine-grained semantic close-reading. The two form a complementary system through residual connections.
2.4 Cross-Layer Information Sharing via Attention Residual (AttnRes)
To address the information redundancy caused by independent attention computation in each layer of traditional Transformers, the model innovatively introduces the Attention Residual (AttnRes) mechanism. Specifically, the output states of shallow attention layers are passed directly to deep attention layers via residual paths, serving as an additional Key-Value source. The direct benefits of this design include:
- Enhanced gradient flow: Cross-layer residual paths provide shorter backpropagation channels, effectively mitigating the vanishing gradient problem in deep networks.
- Improved parameter efficiency: Deep networks no longer need to learn basic grammar and co-occurrence patterns from scratch, allowing them to focus on extracting high-level semantic features.
- Inference speed optimization: Attention results already computed in shallow layers can be directly reused, reducing redundant computations.
Through the organic combination of these three designs, the model pushes the scalability of attention computation to new heights while maintaining high-precision understanding capabilities.
3. Stable Latent MoE: Stability Under Extreme Sparsity
3.1 Evolution and Challenges of MoE Architectures
Mixture-of-Experts (MoE) models achieve the goal of “large capacity, controllable computation” by dividing the network into multiple expert subnetworks and dynamically selecting activated experts via routing mechanisms. However, when the number of experts scales to hundreds or even thousands, training stability becomes the most棘手 (formidable) issue: routing distribution collapse (where all tokens rush to a few experts), severe expert load imbalance, and gradient noise amplification occur frequently.
3.2 Architecture Layout of 896 Routed Experts
This model employs a Stable Latent MoE architecture comprising 896 routed experts. Unlike traditional MoE, the expert networks do not directly process raw input tokens. Instead, a shared Latent Projection layer first compresses the high-dimensional input into a low-dimensional intermediate representation, which is then transformed by different experts. This “compress first, route second” design brings three major advantages:
- It significantly reduces communication volume between experts, making large-scale expert parallelism feasible in distributed environments.
- The latent space provides a unified “interface” for experts, reducing representational differences between different expert outputs.
- Routing decisions are based on low-dimensional latent vectors, incurring minimal computational overhead and negligible routing latency.
3.3 Selection Logic of the SiTU-GLU Activation Function
For the non-linear transformations within the experts, the model does not use common ReLU or GELU. Instead, it introduces a Sigmoid-gated linear unit variant (SiTU-GLU). This activation function splits the input into two paths: one undergoes a linear transformation to retain original information, and the other passes through a Sigmoid gate to control information flow intensity. The two are multiplied element-wise to produce the output.
Its advantages are reflected in three aspects:
- Smooth gradient characteristics: The Sigmoid gate is continuously differentiable around zero, avoiding the hard zero region on the negative half-axis typical of ReLU-like functions. This is particularly important for large-scale parallel training.
- Adaptive feature selection: The gate output range is (0,1), equivalent to learning a soft mask for each feature dimension, enabling experts to focus on the most discriminative local features of the input.
- Compatibility with latent space: Applying gated activation on low-dimensional latent representations yields stronger non-linear expressive power with a minimal parameter increase.
3.4 Engineering Value of Quantile-based Balancing (QB)
To tackle the most challenging load balancing issue in large-scale MoE, the model proposes a Quantile-based Balancing (QB) mechanism. Unlike traditional Auxiliary Loss methods, the QB mechanism does not directly apply penalty terms to routing probabilities. Instead, it utilizes online statistical quantile information to dynamically adjust the thresholds for routing decisions.
The specific workflow is as follows:
- The system computes real-time statistics on the distribution of tokens received by each expert.
- It calculates the empirical quantiles of each expert’s load (e.g., the 80th and 20th percentiles).
- If the load gap exceeds a predefined threshold, the routing scores are non-linearly scaled—a decay coefficient is applied to the scores of high-load experts, and a boost coefficient is applied to low-load experts.
- After several training steps of feedback adjustment, the expert load automatically converges to a balanced state.
Compared to auxiliary loss methods with fixed coefficients, the QB mechanism is highly adaptive and requires no manual tuning of loss weights. It maintains a stable routing distribution even in the later stages of pretraining, a feat difficult for many other MoE models to achieve.
4. Multi-Stage Pretraining and Agentic RL Post-Training
4.1 Progressive Context Training (8K/64K/256K/1M)
Building ultra-long context capabilities cannot be achieved overnight. The model adopts a multi-stage progressive pretraining strategy:
- Stage 1 (8K context): Focuses on foundational language modeling capabilities, training on standard-length web text and book data to ensure thorough convergence of word embeddings and underlying semantic representations.
- Stage 2 (64K context): Introduces longer texts such as books, academic papers, and patent documents, training the model to establish long-range dependencies across paragraphs.
- Stage 3 (256K context): Incorporates structured long documents like code repositories and complete technical manuals, enabling the model to grasp hierarchical information organization.
- Stage 4 (1M context): Training data in the final stage is specifically filtered to ensure a high volume of samples requiring global reasoning. Combined with the linear complexity of KDA attention, the model gradually develops global perception capabilities for ultra-long sequences in this phase.
During each stage transition, the model’s learning rate is lowered, and a small amount of high-quality long-text data is added to stabilize existing capabilities and prevent catastrophic forgetting.
4.2 Agentic RL: From Language Model to Agent
Pretraining is only the first step. To equip the model with long-range planning and tool-calling capabilities in real Agent scenarios, the research team introduced a reinforcement learning-based post-training phase. Its core design includes:
- Environment design: Constructing a simulated environment with multi-tool interactions, including code executors, search engines, and database query interfaces.
- Action space: A single model action can be a natural language response, a tool invocation command (e.g., “query API,” “run Python code”), or a structured decision output.
- Reward signals: Multi-dimensional evaluation combining task completion rate, tool invocation count (encouraging minimal, efficient calls), and final answer correctness.
- Long-range credit assignment: Since the utility of a correct decision in an Agent task may not manifest until dozens of steps later, the RL algorithm employs a variant of GRPO (Group Relative Policy Optimization). It integrates GAE (Generalized Advantage Estimation) into the advantage estimation to ensure sparse rewards are effectively propagated back to critical steps.
After this training phase, the model demonstrated the following significant capabilities:
- Autonomous decomposition of complex tasks into sub-goals and step-by-step execution.
- Finding key information in long documents and performing multi-step logical reasoning based on that information.
- Dynamically adjusting strategies and retrying based on error feedback when initial tool calls fail.
4.3 Deeper Interpretation of Open-Source Benchmark Performance
The model achieved top-tier results on several authoritative open-source benchmarks. Notably, its advantages in long-document Q&A (e.g., extracting and synthesizing information from PDFs exceeding 500 pages) and multimodal reasoning (e.g., chart cross-validation) are particularly prominent. This aligns highly with its architectural design—KDA ensures linear-time full information coverage, Gated MLA guarantees fine semantic extraction, and Agentic RL endows the model with the strategic capability of “how to use this information efficiently.”
5. Technical Challenges and Future Outlook
Although the model has achieved breakthroughs in multiple dimensions, several open issues remain noteworthy:
- Deployment costs: 2.8 trillion total parameters mean that even under sparse activation, storing all checkpoints requires hundreds of gigabytes of VRAM, and the inference phase necessitates multi-GPU coordination.
- Depth of multimodal alignment: While it natively supports visual input, fine-grained visual-semantic alignment still falls short of its performance on pure text tasks. Future development may require more specialized contrastive learning objectives.
- Agent safety: During the RL process for long-range autonomous tasks, preventing the model from executing irreversible erroneous operations (such as deleting files or making incorrect database writes) still requires more robust safety constraint mechanisms.
Looking at industry trends, the combination of ultra-large-scale sparse models and long-context capabilities has become a critical direction for LLM evolution. The hybrid attention approach of KDA and Gated MLA provides a feasible engineering paradigm for processing ultra-long sequences. Meanwhile, Stable Latent MoE and the Quantile-based Balancing mechanism propel large-scale expert parallelism from academic research toward industrial application. In the future, achieving a balance between sparsity, long-range understanding, and multimodal fusion under lower deployment costs will be the key proposition for the next phase of LLM technological evolution.
For developers and technical decision-makers, understanding the design trade-offs and engineering constraints behind these architectural innovations holds greater long-term value than mere benchmark scores. It will help you rationally assess technical boundaries in real-world business scenarios and make more forward-looking architectural choices and technical plans.
