Open-Source LLM Technical Report Explained: From Scaling Parameters to Sparse Inference
This article explains the technical design of a new-generation open-source large language model. It covers the mixture-of-experts architecture, the difference between total and active parameters, multi-latent attention for reducing KV cache pressure, per-head orthogonalization for training stability, multi-token prediction, and sparse attention. It also explains how to interpret benchmark results and what to consider when deploying models of this kind.
1. What “Open-Source Models Approaching Top Closed-Source Models” Means
In recent years, the focus of large model competition has moved away from simply increasing parameter counts. It now centers on effective parameter utilization and the capability ceiling per unit of compute. A model may have hundreds of billions of total parameters, but that does not mean every generation step uses all of them. With a mixture-of-experts (MoE) architecture, the model can select a small set of the most relevant experts for each input. This keeps large model capacity while limiting the compute needed during inference.
Public evaluation data shows that a new-generation open-source model scored highly on a composite intelligence index. It also ranked among the top open-source models in competitive benchmarks such as text question answering and code generation. These benchmarks only reflect relative performance on specific task sets and test protocols. They do not directly predict results in every real business scenario. When choosing a model, enterprises should also weigh data security, context length, inference latency, deployment cost, tool-calling stability, and domain adaptability.
The more significant signal is that the gap between open-source models and top closed-source models is narrowing. This progress does not come from a single factor. It results from joint improvements in model architecture, training data, optimization algorithms, inference engineering, and evaluation methods.
2. Model Fundamentals: Total Parameters Do Not Equal Compute per Token
The model uses a mixture-of-experts (MoE) architecture. The core idea is to split the feed-forward network into multiple expert modules. A router then selects a small number of experts for each token based on that token’s semantic features.
Public information indicates that the model has about 744 billion total parameters and activates about 40 billion parameters per inference step. It contains 256 experts and 80 network layers. This design reflects an important trend. A model can have a large knowledge capacity while using only part of its parameters for any single inference step.
The two types of parameters can be understood as follows:
- Total parameters: The sum of all expert, shared layer, embedding, and output layer parameters. This determines the model’s potential knowledge capacity and expressive power.
- Active parameters: The parameters that actually participate in computation when processing a token. These directly affect the compute and latency of inference.
- Number of experts: The number of sub-networks the router can select from. More experts usually mean greater capacity, but also more complex routing and load balancing.
- Number of active experts: The number of experts called for each token. This sets the sparsity ratio of computation.
Compared with the previous generation of the same architecture, total parameters rose from about 355 billion to 744 billion, and active parameters rose from about 32 billion to 40 billion. Pretraining data grew from about 23 trillion tokens to about 28.5 trillion tokens. Of this, about 27 trillion tokens were used for main pretraining, and about 1.5 trillion tokens were used for mid-training or later capability enhancement.
These changes show that scaling the model does not simply mean making it larger. The developers expanded model capacity, moderately increased the active compute, and added high-quality training data at the same time. Increasing total parameters without improving data quality and training stability may not improve real capability.
3. The Advantages and Engineering Costs of MoE
MoE offers three main advantages.
First, the model has large capacity. At a similar active compute budget, MoE can hold more experts, which lets the model cover a wider range of patterns.
Second, inference is more efficient. Each token calls only some of the experts. Compared with a dense model that computes all parameters, this reduces part of the matrix multiplication cost.
Third, the experts can develop a degree of functional specialization. Some experts may be better at code, math, long text, or natural language expression. This division of labor is not always explicit, but the routing mechanism gradually builds up parameter usage preferences.
MoE also brings clear engineering challenges:
Unbalanced routing
If many tokens concentrate on a few experts, some devices become overloaded while others sit idle.Higher communication cost
In distributed training and inference, tokens may need to be sent across devices to reach different experts. This communication overhead can offset the gains from sparse computation.More complex training stability
The router, experts, and shared layers must be optimized together. Training can suffer from expert collapse, load imbalance, or unstable gradients.Higher deployment barrier
Although few parameters are active at a time, the full set of total parameters must still be stored. Memory capacity, model sharding, parallelism strategy, and cache management all become more demanding.
For this reason, MoE models should not be judged only by how many parameters they activate per step. Memory usage, cross-device communication, batching efficiency, and actual throughput under different concurrency levels also need to be assessed.
4. Multi-Latent Attention: Reducing Long-Context Cache Pressure
The model uses a multi-latent attention mechanism. Standard self-attention typically stores large Key and Value caches for every layer and every attention head. As context grows and the number of concurrent requests increases, KV cache usage rises. This can become the main bottleneck in an inference service.
The basic idea of multi-latent attention is to compress part of the Key and Value information into a lower-dimensional latent representation. During inference, this representation is restored or mapped back into the attention space when needed. This reduces KV cache storage and eases memory bandwidth pressure during long-text generation.
The benefits include:
- Lower memory usage in long-context scenarios.
- More concurrent sessions for multiple users.
- Fewer KV cache reads and writes, which can improve decoding efficiency.
- Support for a larger context window or higher concurrency on the same hardware.
Compression can also cause information loss. If the latent dimension is too low, the model may struggle to preserve fine-grained positional information, entity relationships, and cross-paragraph dependencies. Practical designs therefore need to balance cache compression ratio, attention accuracy, and training stability.
5. Per-Head Orthogonalization: Addressing Stability in Attention Training
During training, the optimization state of the attention projection matrices directly affects convergence. Applying uniform orthogonalization to the full projection matrix may overlook functional differences between attention heads. Some heads handle local syntax, some handle positional relationships, and others handle long-range dependencies. Uniform processing can create unnecessary coupling between them.
To address this, the model applies a per-head optimization approach. Instead of treating the entire projection matrix as one indivisible unit, it splits the matrix by attention head and applies orthogonalization or related constraints to each part. Orthogonalization can be understood as making the weight directions more independent and balanced. This reduces redundancy and interference during parameter updates.
This approach may provide the following benefits:
- Less representation collapse between attention heads.
- Better gradient propagation during training.
- Clearer functional differences among attention heads.
- Improved overall training stability when using low-dimensional KV representations.
Orthogonalization should not be pushed to make weights as independent as possible. Overly strong constraints can limit expressive power. These constraints usually need to be tuned together with the learning rate, normalization, routing mechanism, and training stage.
6. Multi-Token Prediction: Improving Generation Efficiency and Planning
Traditional autoregressive models predict only the next token at each step. Multi-token prediction changes the training objective so that the model learns to predict several future tokens at once. This does not necessarily mean inference can skip all intermediate steps. Instead, additional prediction heads or auxiliary objectives help the model form judgments about upcoming content earlier.
This training approach may offer two types of benefits.
The first is stronger local planning. When generating the current token, the model attends not only to the immediate output but also to how upcoming tokens relate to each other. This helps with code structure, formula continuity, and natural language phrasing.
The second is a foundation for faster inference. When a consistency check is satisfied, the system can propose several candidate tokens at once, and the main model verifies them. This reduces the serial overhead of generating one token at a time.
Multi-token prediction also has to manage dependencies among the predicted targets. If predictions for future positions are inaccurate, errors can propagate. Implementations therefore usually need appropriate loss weights, positional encoding, and verification mechanisms. Adding more prediction heads alone is not enough.
7. Sparse Attention: Making Long-Text Computation More Selective
The compute cost of full attention grows with the square of the sequence length. When context expands from a few thousand tokens to tens of thousands or more, pairwise interactions across all positions become very expensive.
The core idea of sparse attention is that not every token needs to attend to every earlier position. The model can select only some positions for attention computation, based on a local window, importance scores, routing results, or structured patterns.
Common sparse strategies include:
- Keeping adjacent tokens to strengthen local semantic continuity.
- Setting a small number of global positions to carry information across sections.
- Creating focused connections for code indentation, headings, entities, and key variables.
- Dynamically selecting historical segments based on content relevance.
- Using different sparse patterns in different layers to switch between local and global modeling.
The main difficulty is that reducing computation must not come at the cost of key dependencies. If the model wrongly ignores a definition, a constraint, or an earlier conclusion, long-text question answering can miss facts. Sparse patterns therefore usually need to work together with positional encoding, retrieval mechanisms, context compression, and training data design.
8. How to Read Evaluation Results
Model leaderboards offer useful points of comparison, but they should not be the only basis for selection. Consider building an evaluation framework around the following dimensions:
- General understanding: Knowledge question answering, logical reasoning, reading comprehension, and instruction following.
- Coding ability: Correctness of generated code, debugging ability, cross-file understanding, and decomposition of complex tasks.
- Long-context ability: Information retrieval, cross-paragraph reasoning, long-document summarization, and state retention across multiple turns.
- Stability: Variation in results across different prompts, temperature settings, and repeated runs.
- Safety: Handling of sensitive content, permission boundaries, and defenses against prompt injection.
- Engineering efficiency: Time to first token, generation speed, memory usage, concurrent throughput, and failure recovery.
For enterprise use, build an offline test set from real business samples instead of relying only on public question banks. A model that performs well on a general leaderboard does not necessarily suit tasks such as customer support, code review, knowledge base question answering, or workflow automation.
9. Deployment and Application Recommendations
Large models require attention to model parallelism, expert parallelism, pipeline parallelism, and KV cache management. When hardware resources are limited, consider quantization, tiered loading, request queuing, and context trimming. Verify any accuracy loss with your own business data.
In production, build a complete observability system that tracks:
- Request latency and token throughput.
- Distribution of input and output lengths.
- GPU or accelerator utilization.
- Expert load balance.
- KV cache hit rate and memory usage.
- Error rate, timeout rate, and the share of abnormal outputs.
- User feedback and human review results.
If you deploy on a cloud platform such as Baidu AI Cloud, you can combine general-purpose services, including container platforms, object storage, log services, monitoring and alerting, and elastic compute, to build a full pipeline from model file management to service release and online monitoring. The specific architecture should be designed around your data compliance requirements, concurrency scale, and cost targets.
10. Conclusion
The technical value of this new-generation open-source model lies not only in its large total parameter count. It also combines high-capacity MoE, low-cache attention, per-head optimization, multi-token prediction, and sparse attention into a single system designed for both training efficiency and inference efficiency.
Looking at the technology trend, future competition in large models will likely focus on three measures: model capability, compute efficiency, and engineering usability. Total parameters set the potential capacity. Active parameters determine the compute per step. Architecture design determines efficiency for long contexts and high concurrency. Training and deployment engineering determine whether these theoretical advantages become stable production value. For developers and enterprise users, understanding these underlying mechanisms is more valuable over the long term than focusing on a single leaderboard ranking.
