The Evolution of Sparse LLM Architectures: A Breakdown of the New Generation
This article breaks down the architectural evolution of a new generation of ultra-large sparse language models, focusing on four main changes: coordinated scaling of total and activated parameters, a rebuilt attention mechanism with gated sparse attention and index caching, a shift from single-path to multi-path residual information flow, and a context window expanded to the million-token level. It explains what bottleneck each module addresses and what trade-offs it introduces, then offers a rational view of public benchmarks, a cost perspective based on per-task rather than per-token pricing, and practical guidance on scenario matching, building an evaluation loop, and deployment. Readers will gain a clear framework for understanding these design choices and making selection decisions based on real business evaluation and task-level cost.
1. Introduction: An Architectural Reorganization, Not a Single-Point Upgrade
A preview version of a new generation of ultra-large sparse large language models has recently appeared in the industry, and the magnitude of change can no longer be captured by simply bumping the version number. Placing the key metrics of the previous generation side by side with the current one reveals that the changes concentrate on four main lines: backbone parameters and activated parameters scale up together, the attention mechanism is rebuilt as a whole, the residual information pathway shifts from a single path to multiple paths, and the context window jumps from the hundreds-of-thousands level to the million level.
It is worth emphasizing that these modules are not brand-new inventions. Rather, they recombine several long-context and sparsification approaches already validated across the industry, engineered and converged for the scenario of “long-horizon agent tasks.” The right way to understand this generation, therefore, is not to memorize a parameter table, but to understand what bottleneck each module solves and what price it pays.
2. Scale and Activation: Coordinated Growth of Total and Per-Token Activated Parameters
The new generation raises the backbone total parameters from about 295B to about 770B (roughly 2.6x), and per-token activated parameters from about 21B to about 49B (roughly 2.3x). At the same time, the number of layers drops slightly from 80 to 78, the hidden dimension increases from 4096 to 6144 (about 1.5x), routed experts grow from 192 to 256, and the activation strategy changes from Top-8 to Top-8 plus 1 shared expert.
These numbers convey three design signals:
- Width over depth: With layers slightly reduced but the hidden dimension significantly increased, the gains come more from stronger per-layer representational capacity than from stacking more layers. A wider representation combined with more experts can carry finer-grained knowledge shards under the same activation budget.
- Shared experts carry general capability: Carving out the computation that “every token passes through” as a separate path lets routed experts focus on differentiated knowledge and reduces the repeated, redundant learning of general capability.
- Activation grows slower than total parameters: Total parameters grow 2.6x while activation grows only 2.3x, meaning the growth in inference compute is deliberately held to a lower range. This is a core means for sparse models to control per-token cost.
3. Attention Rebuilt: Gated Sparse Attention and Index Caching
The most substantial change is in attention. The previous generation used conventional grouped-query attention; the new generation switches to low-rank-compressed gated sparse attention and introduces an index caching structure. Its operating logic can be abstracted into two steps:
- A lightweight indexer scores the long historical context to determine which positions are most relevant to the current query;
- The main attention performs full computation only on the roughly 2048 selected positions.
The most critical engineering point is index reuse: all 78 layers enable sparse attention, but only 21 layers run the full indexer (layers 0, 1, 5, 9, 13… 77), while the remaining 57 layers directly reuse the position indices already selected by earlier layers.
Full-index layers: 0, 1, 5, 9, 13, ..., 77 # 21 layers in totalShared-index layers: the other 57 layers, reusing the most recent index result
This combination of “sparse computation + index caching” has two direct consequences: first, the compute and memory overhead of long context no longer grows linearly with length; second, the call frequency of the indexer itself is compressed to about one quarter, avoiding “new compute overhead introduced just to save compute.” The cost is that index quality becomes a new risk point—if an early layer selects the wrong positions, all subsequent shared layers inherit that bias.
4. Multi-Path Residual Information Flow: From a Single Channel to iHC
The residual pathway changes from a conventional single-path residual to a 4-path information flow. A single-path residual is prone to representation bottlenecks and gradient-alignment difficulties in ultra-deep, ultra-wide networks. Multi-path residual is like giving information several parallel “highways,” letting features at different levels propagate forward along different paths, easing deep degradation and improving training stability. This kind of design is consistent with recent research directions such as hyper-connections and multi-path information flow, and is a general improvement with relatively strong interpretability.
5. Draft Model and Inference Acceleration
The native multi-token prediction draft layer expands from about 3.8B with 0.7B activated to about 10B with 0.7B activated. The draft layer’s role is to cheaply guess several subsequent tokens ahead of the main model, which the main model then verifies in batches, reducing the number of main-model forward passes. Expanding the draft layer while keeping activation unchanged shows the idea is “make the guess more accurate, not make the guess more expensive,” which brings clear benefits to agent pipelines with long outputs and heavy tool calls.
6. A Rational View of Public Evaluation Leaderboards
The benchmark results published for the preview model should generally be treated only as an order-of-magnitude reference. There are three reasons: evaluation sets may overlap with and be contaminated by the training corpus; different models are highly sensitive to prompt format, chain-of-thought budget, and decoding parameters; and leaderboards are mostly static question-answering, differing substantially from real long-horizon task pipelines. A more reliable approach is to build a small, business-relevant evaluation set, fix the decoding parameters, and compare horizontally using the same batch of samples.
7. A Cost Perspective: Landing in the Awkward “Sandwich” Tier
Lining up the API prices of comparable models reveals a typical dilemma: compared with the lighter flash tier there is no price advantage, and compared with the flagship tier the advantage is not obvious enough, so it ultimately lands in the middle. This suggests that selection cannot look at unit price alone, but must look at “the cost of completing a unit of work,” that is, unit price multiplied by the number of calls and the retry rate needed to reach the goal.
8. Practical Implementation Advice
- Prioritize scenario matching: Million-level context and sparse attention mainly serve long-document understanding, code-base-level analysis, and multi-turn tool calls; using it for short question-answering is a waste.
- Build a self-owned evaluation loop: Prepare 50-200 real business samples, fix the temperature and maximum output length, and record accuracy, average latency, and failure retry rate.
- Account for cost per task: Use “cost per thousand successful tasks” instead of “price per million tokens” as the decision metric.
- Watch for index bias: In ultra-long-context tasks, place key constraints up front or restate them, reducing the chance that early layers select the wrong critical fragments.
- Deployment-side support: On Baidu AI Cloud, you can combine a container platform to host inference services, use object storage to archive long documents and evaluation sets, use logging and monitoring alerts to track latency and failure rates, and use a message queue to smooth out peaks, ensuring the stability of long-task pipelines.
9. Conclusion
The value of this generation lies not in any single metric, but in combining sparse attention, index caching, multi-path residual, and a native draft layer into a complete solution for long-context agents. For developers, the right approach is to understand the trade-off boundaries of each module, validate real benefits with a business evaluation set, and make selection decisions based on task cost rather than unit price.
