Open-Source LLM Architecture Explained: MoE Scaling and Attention Mechanism Optimization
This article breaks down the architecture of a leading open-source large model, examining its Mixture-of-Experts (MoE) parameter and data configuration, its Multi-latent Attention (MLA) with Muon Split, multi-token prediction, and sparse attention. It explains the engineering reasoning behind each design choice and outlines where this architecture is useful and where its real-world performance still needs to be validated.
一、What Is Changing at the Capability Frontier of Open-Source Models
Over the past year, the competitive landscape in large models has shifted in a structurally interesting way. Closed-source flagship models still lead on aggregate intelligence benchmarks, but the gap between them and the best open-source models is closing at a visible pace. According to one widely cited composite benchmark index, the score difference between the top closed-source model and the next-best open-source model has compressed from a two-digit range in the early days to a single-digit range. This means open-source models are no longer merely a “good enough” alternative; across several core capability dimensions, they now compete head-to-head with closed-source flagships.
Behind this shift is a move in architecture design from “stacking parameters” toward “refined efficiency.” This article takes the latest technical approach of a particular open-source model series and unpacks its architectural choices layer by layer, from parameter configuration and attention mechanisms to training strategy and sparsification. The goal is to give developers a reference for understanding the training and inference optimization of large-scale MoE models.
二、Model Fundamentals: Parameters and Data Under a MoE Architecture
The model retains a Mixture-of-Experts (MoE) architecture. The core idea of MoE is that the model does not activate all of its parameters at inference time; instead, a routing mechanism selects a small subset of “experts” to participate in computation, preserving large-capacity knowledge storage while controlling the compute cost of a single inference pass.
In terms of configuration, the model has a total parameter count of 744B, activates roughly 40B parameters per inference, and uses 256 experts across 80 layers. Compared with the previous generation, total parameters rose from 355B to 744B, nearly doubling, while activated parameters grew from 32B to 40B, a comparatively restrained increase. This strategy of “large expansion in total parameters, modest growth in activated parameters” is essentially a search for a better balance between model capacity and inference cost. More experts mean greater knowledge capacity and stronger specialization potential, while the modest growth in activated parameters avoids a matching surge in inference latency and memory footprint.
On training data, the pretraining corpus expanded from 23T tokens to 28.5T tokens, with 27T tokens used in the pretraining stage and an additional 1.5T tokens added in a mid-training stage. The separate mid-training setup is worth noting: this stage is typically used after pretraining completes and before alignment training begins, to inject domain-specific data or extend long-context capability. It is the key link connecting general pretraining with downstream task adaptation.
On a composite intelligence benchmark, the model scored 50, ranking first among open-source models. On a public arena evaluation, it placed first among open-source models in both the text conversation and code generation tracks, performing at the same tier as leading overseas closed-source flagships. It is worth emphasizing that these results reflect relative performance under specific benchmarks; real-world capability still needs to be assessed against concrete task scenarios.
三、Three Key Architectural Changes
Relative to the previous series, the model makes three architectural changes worth discussing in depth: MLA + Muon Split, multi-token prediction, and sparse attention. Each is covered below.
3.1 MLA and Muon Split: Memory Optimization and Training Stability for Attention
The model uses Multi-latent Attention (MLA). Its core idea aligns with the KV-cache compression approaches common in the industry: by projecting Key and Value into a low-dimensional latent space, it substantially reduces the storage requirement of the KV cache. In long-text inference, the KV cache is often the main bottleneck for memory usage. By lowering the cache dimension, MLA significantly reduces memory overhead when processing long sequences while preserving the completeness of attention computation.
However, the research team encountered an engineering problem during training: when orthogonalizing an entire projection matrix as a block to improve training stability, a tension arose between MLA’s compressed structure and the orthogonalization strategy, hurting training efficiency or stability. To address this, the team proposed the Muon Split approach: instead of orthogonalizing the whole projection matrix as one block, the operation is applied per attention head. The reasoning is that MLA’s latent-space compression changes the degree of parameter coupling between different attention heads, so per-head orthogonalization controls the weight distribution at a finer granularity and avoids the unnecessary constraints that global orthogonalization imposes on the compressed structure. In practice, this adjustment helps preserve MLA’s memory advantage while maintaining numerical stability during training.
3.2 Multi-Token Prediction: An Auxiliary Objective for Training Efficiency
Multi-Token Prediction is an enhancement at the training-strategy level. Traditional autoregressive language models are trained to predict the next token, whereas multi-token prediction requires the model to predict tokens at several future positions in a single forward pass. This design has a dual benefit: on one hand, it provides a denser supervision signal that pushes the model to learn longer-range dependencies; on the other hand, it improves computational efficiency during training, since one forward pass yields multiple prediction targets, effectively increasing the density of data utilization. At inference time, multi-token prediction can also be combined with acceleration techniques such as speculative decoding to further improve generation throughput.
3.3 Sparse Attention: Compute Efficiency for Long Contexts
Sparse Attention is a compute optimization for long-sequence scenarios. The computational complexity of standard attention grows quadratically with sequence length, and when the context expands to tens of thousands or even hundreds of thousands of tokens, the compute cost becomes a bottleneck that cannot be ignored. Sparse attention limits each token to attend to only a subset of positions—for example, based on local windows, dilated patterns, or learned sparse structures—reducing complexity to near-linear. By introducing sparse attention, the model has a more controllable inference-cost structure for scenarios that require processing very long contexts, such as long-document understanding and repository-level code analysis.
四、Engineering Significance and Practical Limits of These Choices
Viewed together, these changes trace a clear engineering throughline: expand model capacity within a MoE framework while controlling the actual cost of inference and training through attention compression, sparsification, and training-strategy optimization. MLA addresses the memory bottleneck of long-text inference; Muon Split addresses training stability under the compressed structure; multi-token prediction improves training data efficiency; and sparse attention targets the computational complexity of long sequences. Together, the four serve the same goal—making a 744B-class MoE model deliver acceptable efficiency in real deployment scenarios.
For developers and enterprise users, the reference value of this architectural path is this: when a model scales to the hundreds-of-billions parameter range, simply stacking parameters is no longer enough to support real deployment. The memory efficiency of the attention mechanism, the numerical stability of the training process, and the computational complexity of long-sequence scenarios all become key factors constraining a model’s usability. This model’s technical approach offers a borrowable combination of optimizations, but its concrete effects still need to be measured against task type, inference infrastructure, and latency requirements.
It should be noted that benchmark scores and arena rankings reflect aggregate performance under specific benchmarks and do not directly equate to suitability for all downstream tasks. When selecting a model, developers should build a targeted evaluation set for their own business scenarios, focusing on real performance in domain-knowledge accuracy, long-context consistency, and code-generation executability, rather than making decisions based on a composite score alone.
