An In-Depth Analysis of Open-Source Large Model Architecture Evolution

    This article breaks down the architecture of a new generation of large open-source models, covering its MoE parameter configuration, three core architectural changes—low-rank latent attention with optimizer decoupling, multi-token prediction, and sparse attention—and practical engineering guidance on model selection, memory planning, inference optimization, training stability, and serving. It shows how combining large capacity, low activation, sparse computation, and dense prediction creates a reusable engineering paradigm for private, fine-tunable, and auditable model deployment.

    1. Why This Generation of Open-Source Models Matters

    As the capability gap between open-source and closed-source models continues to narrow, a new generation of ultra-large open-source models has crossed the 50-point threshold on multiple public综合 benchmarks for the first time. It also ranks among the top open-source entries in text and code arena evaluations, placing it in the same tier as leading closed-source models overseas. For developers and enterprises, this means something practical: high-difficulty tasks that were previously only possible through closed APIs now have a path that can be privately deployed, fine-tuned, and audited.

    It is worth stressing that benchmark scores are only the entry point. What really determines real-world performance is how the architecture affects inference cost, memory usage, and engineering controllability. Using the publicly disclosed technical highlights of this model as a starting point, this article abstracts a set of general, transferable engineering methods.

    2. Fundamentals: Parameter Scale and Data Mix

    The model continues the Mixture of Experts (MoE) route. Its core design activates only a small fraction of all parameters during inference, decoupling “model capacity” from “compute per pass.”

    • Total parameters: 744B; activated per inference: 40B
    • Number of experts: 256; number of layers: 80
    • Pre-training corpus: about 28.5T tokens, including roughly 27T for pre-training and 1.5T for mid-training
    • Compared with the previous generation (355B total, 32B activated, 23T tokens), both parameters and data have nearly doubled

    The key trade-off in this configuration is that total parameters determine the upper bound of knowledge capacity, while activated parameters determine the compute cost of inference. Making the total parameter count large while keeping the activated parameters within a small range can raise the model’s ceiling without significantly increasing the per-token cost. This is also the mainstream choice for current ultra-large open-source models.

    3. Breaking Down the Three Architectural Changes

    3.1 Low-Rank Latent Attention and Optimizer Decoupling

    The model uses latent attention (MLA), which follows the same low-rank compression route as the industry. Its core idea is to compress the key-value cache into a low-dimensional latent space and project it back up during inference, greatly reducing memory bandwidth pressure in long-context scenarios. In practice, the technical team found that coupling the attention output with the optimizer state causes training stability issues. They therefore introduced an “attention–optimizer split,” separating the low-rank compression path from the optimizer update path to mitigate loss fluctuation in the later stages of training.

    The engineering benefit can be understood as follows:

    1. # Illustration: the core idea of low-rank latent compression (not a specific implementation)
    2. latent = x @ W_down # Dimensionality reduction; only the latent is cached
    3. kv = latent @ W_up # Projected back up when needed
    4. # Cache size drops from d_head * n_head to d_latent, a significant gain for long context

    3.2 Multi-Token Prediction

    Multi-Token Prediction lets the model predict several future tokens at each position instead of only the next one. It brings two kinds of benefits. First, the training signal is denser, improving sample efficiency. Second, it naturally fits speculative decoding: during inference, a draft head can produce multiple candidates at once, which the main model then verifies, reducing end-to-end latency. In practice, the number of prediction heads needs to match the task distribution; too many heads dilute gradient quality.

    3.3 Sparse Attention

    For long sequences, the model introduces learnable sparse attention (DSA), keeping only the key-values most relevant to the current query in the computation and pushing attention complexity from quadratic toward near-linear. It is complementary to low-rank compression: the former reduces “how many pairs to compute,” while the latter reduces “how expensive each pair is.” Only when the two are combined does ultra-long context become usable at an acceptable cost.

    4. Engineering Recommendations

    • Selection and evaluation: Do not rely only on aggregate leaderboards. Run A/B tests on your own task sets, focusing on code and long-text scenarios.
    • Memory planning: For MoE, provision memory and host RAM based on total parameters, and estimate compute based on activated parameters. For long context, always account for the key-value cache.
    • Inference optimization: Prioritize speculative decoding paired with multi-token prediction, sparse attention, and quantization to form a combined optimization.
    • Training stability: For low-rank structures, decouple the optimizer path and apply gradient clipping, combined with data-mix adjustments during the mid-training stage.
    • Serving: Use a container platform to host the inference cluster, object storage to manage weights and corpora, and logging and monitoring/alerting systems to track latency, throughput, and anomalies.

    5. Conclusion

    The significance of this generation of open-source models lies not in any single score, but in the way it combines “large capacity, low activation, sparse computation, and dense prediction” into a reusable engineering paradigm. For teams, the real dividend comes from aligning this paradigm with their own data, cost constraints, and deployment environment, and completing a controllable, observable, and continuously iterable model engineering loop on general cloud infrastructure such as Baidu AI Cloud.