MoE, MTP, and Four Core Modules: A Technical Breakdown of a New LLM Architecture
This article explains a new open-source large language model architecture featuring 125B total parameters with 6B activated per inference, plus 51B N-gram Embedding and 4B MTP modules. It covers how Mixture-of-Experts and Multi-Token Prediction work, the modifications to Attention, Residual, Embedding, and Optimization, the implications for Agent capabilities, and a practical deployment checklist. Since public materials do not disclose implementation details, the article distinguishes between established mechanisms and design choices that must be verified against the original paper or code.
According to publicly available information, a new generation of an open-source large model uses a main model with 125B total parameters, activating 6B parameters per inference, plus an additional 51B N-gram Embedding and a 4B MTP module. Public materials only state that four areas — Attention, Residual, Embedding, and Optimization — have been modified, without providing implementation details. This article therefore explains these designs based on general technical principles, and distinguishes between what is established mechanism and what must be verified against the original paper or code.
1. Mixture-of-Experts and Multi-Token Prediction
The main model activates 6B parameters, about 4.8% of the 125B total. If the 51B embedding table is also counted toward the total, the activated share is roughly 3.3%. However, the embedding table is a lookup operation with far lower computational cost than a dense layer of the same size, so the compute savings mainly come from the 6B activated portion.
The MoE (Mixture-of-Experts) architecture splits the feed-forward network into multiple expert sub-networks. A gating network selects a small number of experts for each token, while the remaining experts do not participate in that forward pass. The model thus retains a large parameter capacity while keeping per-step computation within a small range.
MTP (Multi-Token Prediction) adds several prediction heads beyond standard next-token prediction, predicting multiple subsequent tokens simultaneously. During training, these extra heads provide denser supervision signals, helping the model learn longer-range planning. During inference, the MTP heads can act as a draft model, working with speculative decoding to verify multiple candidate tokens in a single pass. The 4B MTP module accounts for about 3% of total parameters, so the additional storage and compute overhead is modest. Whether it is actually used at inference time depends on the inference framework chosen for deployment.
2. Modifications to the Four Core Modules
2.1 Attention
The main bottleneck in long-context inference is the memory footprint of the KV Cache. Two common compression methods are:
- GQA (Grouped-Query Attention): multiple query heads share a single set of Key and Value heads. For example, with 64 query heads and 8 KV head groups, the KV Cache can be reduced to one-eighth of its original size.
- MLA (Multi-head Latent Attention): Keys and Values are compressed into low-dimensional latent vectors. The latent vectors are cached, and the required parts are reconstructed during decoding.
Both methods trade a small amount of precision or extra computation for a smaller cache. Public materials do not specify which method this model uses, nor the compression ratio.
2.2 Residual
Residual connections allow signals and gradients to pass directly across layers. Whether the normalization layer is placed before (Pre-Norm) or after (Post-Norm) the residual path affects the stability of deep training. Pre-Norm training is generally more stable, but the magnitude of representations in deeper layers may keep growing. Some models add learnable scaling coefficients to control the contribution of each residual branch. Public information does not describe this model’s specific design, so it must be confirmed against the original implementation.
2.3 Embedding
A common approach for N-gram Embedding is to combine adjacent tokens into n-grams, map them via a hash function into a large lookup table, and add the retrieved vectors to the standard token embeddings. This supplements the statistical features of local phrases and produces more stable representations for rare words and specialized terminology. The main cost is storage. Since the lookup itself requires very little computation, a 51B embedding table does not increase inference compute proportionally.
2.4 Optimization
AdamW remains the baseline optimizer for large model training. The main challenge in MoE training is unbalanced expert load. There are two common solutions: one is to add an auxiliary loss that encourages the gating network to distribute tasks evenly; the other is to avoid auxiliary losses and instead maintain a routing bias for each expert, reducing its selection tendency when its load is too high. Public materials do not indicate which method is used.
3. Implications for Agent Capabilities
Agent tasks require long-range planning, tool calling, state management, and error recovery. The architecture affects these capabilities in the following ways:
- Context cost: tool outputs and conversation history quickly fill up the context. KV Cache compression directly determines how long a context can fit in the same amount of memory, and how many sessions can be served concurrently.
- Single-step latency: with fewer activated parameters, continuation after each tool call is faster.
- Multi-step output efficiency: MTP can reduce the number of forward passes needed when generating long code or multi-step plans.
- Capability level: 125B total parameters provide knowledge capacity, but whether the model matches or exceeds other models on Agent benchmarks requires checking specific scores, versions, and test conditions in public evaluations. This article does not draw comparative conclusions.
4. Deployment Checklist
- Memory estimation: weight memory roughly equals parameter count multiplied by bytes per parameter. 125B parameters require about 250GB in BF16, about 125GB in FP8, and about 62.5GB in INT4. Additional headroom is needed for KV Cache, activations, and framework overhead.
- Parallelism strategy: MoE experts can be distributed across multiple GPUs or nodes. Cross-node expert routing introduces communication overhead, so high-speed interconnects (such as RDMA) are needed to reduce latency.
- Inference engine: confirm whether the engine supports MoE routing, MTP prediction heads, and speculative decoding. Without support, the throughput gains from MTP cannot be realized.
- Monitoring metrics: at minimum, track GPU utilization, time to first token, tokens generated per second, per-expert load distribution, and batch throughput. When expert load is severely unbalanced, a few GPUs become the bottleneck.
- Agent engineering: tool call results should be stored in a structured form. Inference logs and reasoning traces help with replay and debugging, but they must be sanitized and access-restricted to prevent sensitive information from entering logs.
FAQ
What scenarios is MoE suitable for? When request volume is high, large knowledge capacity is needed, and substantial memory usage is acceptable, MoE offers clear benefits. For single-machine, low-concurrency scenarios, a smaller dense model is usually simpler and cheaper to operate.
What should you watch for when deploying MTP? First confirm inference framework support, then measure the acceptance rate in practice. When the rejection rate of speculative decoding draft tokens is high, the extra verification compute will offset the throughput gains.
How do the four module changes affect Agents? Mainly through context cost, single-step latency, and multi-step output efficiency. The actual benefits need to be measured on your own task set.
Conclusion
The design focus of this new architecture is finding the right balance between total parameters and activated computation. MoE controls per-step compute through sparse activation, while MTP increases training signal density and offers potential inference acceleration. The modifications across Attention, Residual, Embedding, and Optimization respectively affect long-context cost, deep-training stability, token representation quality, and expert load balancing. For developers and enterprises, the right approach before deployment is to estimate memory requirements, confirm inference engine support, and measure benefits with real Agent tasks — rather than making decisions based on parameter scale alone.
