Evolution of Open-Source Large Model Architectures: MoE, MLA, and Sparse Attention

    This article explores the evolution of open-source large language model architectures, focusing on Mixture of Experts (MoE), Multi-head Latent Attention (MLA), and sparse attention. It clarifies how to interpret official technical reports versus benchmark scores, details the trade-offs of MoE and MLA, examines training optimizations like Muon and Multi-Token Prediction (MTP), and provides practical guidelines for enterprises evaluating these models.

    1. Distinguishing Reported Numbers from Benchmark Conclusions

    When discussing new models, parameter count, training tokens, and leaderboard rankings are the most frequently cited metrics, yet they are also the most prone to distortion. Benchmark scores depend on evaluation datasets, prompt templates, and evaluation versions, making results from different institutions incomparable. Parameter scale and training data volume should be verified against official technical reports. Taking DeepSeek-V3 as an example, its public report specifies a total of 671B parameters, 37B activated parameters per token, 61 layers, and approximately 14.8T tokens of pre-training data. If an article provides numbers inconsistent with the official report or lacks traceable sources, they should not be used directly for model selection.

    1. MoE: Trading Sparse Activation for Model Capacity

    Mixture of Experts (MoE) splits the feed-forward network into multiple experts, with each token only passing through a few experts selected by a router. Consequently, the total parameter count can be massive, while the computation for a single inference depends only on the activated parameters.

    This design comes with two costs. First, the weights of all experts must still be loaded into GPU memory or distributed across multiple cards, meaning the deployment threshold is primarily dictated by the total parameter count. Second, routing can lead to load imbalance, where some experts are overloaded while others sit idle. Training usually requires load balancing constraints or an auxiliary-loss-free balancing strategy. When selecting a model, you should consider the total memory requirement, expert parallelism strategy, and cross-card communication overhead, rather than just looking at the activated parameters.

    1. MLA: Compressing KV Cache to Relieve Memory Pressure

    Standard multi-head attention requires caching the Key and Value for every layer and every head during generation, causing the cache size to grow linearly with the context length. Multi-head Latent Attention (MLA) first compresses the hidden state into a low-dimensional latent vector, caching only this vector, and restores it to Key and Value during use.

    The benefits of MLA are mainly reflected in long-context and high-concurrency scenarios, as it reduces memory footprint and memory bandwidth pressure. The trade-off is the added computation for compression and restoration, and the actual gain depends on whether the inference framework optimizes this computation through fusion. Evaluation should compare cache footprint, time-to-first-token (TTFT), and throughput under the same context length, rather than solely relying on theoretical compression ratios.

    1. Training Optimization: Muon-like Orthogonalization Methods

    The original text mentions a method called “Muon Split,” claiming it performs orthogonalization separately for each attention head. What can be confirmed is that Muon is an optimizer for matrix parameters that orthogonalizes momentum updates, commonly implemented using Newton-Schulz iterations. It is a training optimizer and does not alter the computational structure of attention. Whether “Muon Split” is the official name and the specific implementation of head-wise splitting require verification from the original technical report. Until verified, it should not be considered an architectural innovation.

    1. Multi-Token Prediction: Conditions for Improving Decoding Efficiency

    Multi-Token Prediction (MTP) trains the model to simultaneously predict tokens at several subsequent positions, acting as an auxiliary training objective. During inference, these additional prediction heads can be used for speculative decoding: quickly proposing candidate tokens, which are then verified by the main model.

    The acceleration effect depends on the acceptance rate—the proportion of candidate tokens accepted by the main model. A high acceptance rate means each forward pass generates more valid tokens. A low acceptance rate means the extra candidate computation negates the gains, potentially even reducing throughput. Therefore, during deployment, it is crucial to monitor the acceptance rate, average tokens generated per step, and throughput variations across different batch sizes.

    1. Sparse Attention: From Full Computation to Selective Computation

    The computational complexity of standard attention scales quadratically with sequence length. DeepSeek Sparse Attention (DSA) aims to select only a subset of key tokens for each query to participate in the core attention computation. In DeepSeek-V3.2-Exp, DSA uses a lightweight indexer to provide candidate tokens, then selects the Top-k for computation, tying the cost of core attention to the selected number k.

    Two points need attention. First, the indexer itself still scales with sequence length, though its per-step overhead is much smaller than full attention. Second, DSA and MLA solve different problems. MLA primarily reduces cache size, while DSA reduces the number of tokens involved in computation. The two can be used in combination but should not be simplistically understood as “one manages memory, the other manages compute.” Whether they belong to the same model version should be confirmed by official documentation.

    1. Metrics to Verify for Enterprise Model Selection

    First, verify the model version and official technical report, recording total parameters, activated parameters, layer count, expert count, and training tokens. Second, test memory footprint, TTFT, and throughput based on the business’s input/output lengths, not just benchmark scores. Third, confirm whether the inference framework supports the required MoE parallelism, MLA, or sparse attention operators, as well as speculative decoding configurations. Fourth, calculate the cost per token, incorporating memory, GPU count, interconnect bandwidth, and operational costs into the estimation. Fifth, maintain an independent evaluation set covering long documents, code, and multi-turn dialogue scenarios relevant to your business.

    1. Conclusion

    MoE, MLA, Multi-Token Prediction, and sparse attention are all methods with practical engineering value, but the gains of each depend on the specific model version, inference framework, and business workload. When reading technical promotions, first confirm the source of the numbers, then analyze the technical mechanisms, and finally conduct real-world testing with your own workloads.