Next Preview Architecture Explained: Sparse Attention, Gated Residuals, and Memory Modules
This article examines non-official observations about the Next Preview architecture, focusing on sparse attention, a four-branch gated residual design, an external N-gram embedding module, and a dual-optimizer setup using Muon and AdamW. It separates publicly documented principles from speculative or unverified claims, outlines the engineering trade-offs, and lists the metrics and ablation tests needed before drawing conclusions.
Information Boundary
This is a non-official architecture observation and does not represent any organization’s formal release. The original text gives total parameter scale, activated parameter count, and additional parameter count, but no corresponding official technical report is currently available for verification. Therefore, this article does not cite those numbers. The sparse attention, gated residual, and Muon optimizer discussed here are explained based on general principles from public research. When reading, treat “may” and “if” as speculation, and treat specific numerical values as information that still needs verification.
1. Attention Mechanism: From Full Lookback to Filter-Then-Compute
1.1 Basic Idea of Hybrid Attention
Linear attention compresses historical information into a fixed-size state, and its computation grows approximately linearly with sequence length. Its weakness is limited state capacity, so long-distance information can be lost or retrieved inaccurately. Global attention can directly look back at all historical tokens, but its computation grows quadratically with sequence length. Mixing the two at a certain ratio has become a common approach for long-context models in recent years: most layers use linear attention to compress history, while a few layers retain global attention to improve accuracy. The original text mentions a 3:1 hybrid ratio, meaning one global attention layer is inserted after every three linear attention layers.
1.2 Core Approach of Sparse Attention
The core of sparse attention is “filter first, then compute.” DeepSeek’s publicly disclosed DSA (DeepSeek Sparse Attention) scheme uses a lightweight indexer to score historical positions for each query, then keeps only a subset of key-value pairs with the highest scores for the formal attention computation. The QSA scheme described in the original text follows a similar idea, but the original does not explain the specific differences between the two. If the implementations are similar, the original text and official materials should be treated as authoritative.
The original text mentions retaining 2,048 blocks each time. Whether this fixed value applies to all context lengths and model scales is not explained in the original. For shorter texts, 2,048 positions may already cover most of the history, so the benefit of sparsification is small. For extremely long texts, the proportion of selected history will decrease, and whether the value is sufficient needs to be evaluated against specific tasks.
1.3 Indexer Overhead and Micro-Block Pooling
Sparsification does not make the indexer’s work disappear. The indexer still needs to score historical positions, so overall computation is still related to the square of the sequence length; only the cost of the main attention part is reduced. When context reaches the million-token level, the indexer’s scanning cost becomes noticeable.
The Micro-Block Pooling method proposed in the original text averages four consecutive indexer keys into one micro-block, and the query vector scores the micro-block directly. According to the example in the original, when processing one million historical tokens, the indexer only needs to score 250,000 micro-blocks. This ratio can be derived structurally, but the original does not provide measured latency data.
The cost of this approach is coarser granularity. Averaging blurs differences between adjacent keys and may lose some detail. The original does not explain how a selected micro-block is mapped back to the original key-value pairs, which needs to be confirmed when evaluating accuracy.
2. Residual Connections: From a Single Path to Multiple Branches
2.1 Common Form of Pre-Norm Residuals
Most current Transformers use a Pre-Norm structure, where each layer’s output is “the input plus the normalized sublayer transformation result.” This structure is stable for training and is a common choice for deep networks. It also has a widely discussed issue: as the number of layers increases, information from early layers is gradually overwhelmed by the outputs of later layers in the residual stream. The severity of this issue depends on model depth, initialization, and training method, and it is not obvious in all models.
2.2 Four-Branch Gated Design in the Original Text
The original text expands a single residual path into four branches: a direct original-input branch, a multi-layer normalization branch, a gated weighted fusion branch, and a previous-layer state memory branch. The gating unit learns the weight of each branch, allowing each layer to draw information from different depths as needed.
The following table compares the two structures as described in the original text:
| Dimension | Single-path Pre-Norm residual | Four-branch gated residual (as described in the original) |
|---|---|---|
| Information path | One main path accumulated layer by layer | Multiple paths, with direct cross-layer reads |
| Fusion method | Direct addition | Learnable gated dynamic weighting |
| Extra parameters | Almost none | Gating units add new parameters |
| Extra overhead | None | Requires caching multi-layer states, increasing VRAM and communication |
| Evidence | Extensively validated | The original provides no ablation experiments |
The original text does not provide specific formulas, parameter counts, or ablation results. Without these data, it is impossible to determine whether the four-branch structure truly mitigates information forgetting, or how large its additional cost is.
3. Memory Extension: External N-gram Embedding Module
3.1 Difference Between Total Parameters and Activated Parameters
Total parameters are the number of all weights in the model. Activated parameters are the part that actually participates in computation during a single forward pass. An embedding table usually reads only a small number of rows, and the computation for these rows is small, but they still occupy storage and VRAM. Therefore, a model can have a very large embedding table without significantly increasing FLOPs (floating-point operations) for a single inference run.
The N-gram module proposed in the original text maps high-frequency consecutive token combinations to independent embedding vectors. During inference, it retrieves the corresponding vector through a lookup table and fuses it into the main network. Similar ideas have appeared in some published research, but the original does not explain its specific structure or training method.
3.2 Metrics to Verify for “Almost No Additional Compute Cost”
The claim “almost no additional compute cost” refers only to FLOPs. Actual inference latency is also affected by memory bandwidth, cache hit rate, and multi-GPU sharding. Lookup operations are memory-access-intensive. If the table is large and access is scattered, latency may increase noticeably.
When evaluating this type of module, the following metrics should be checked:
- Table size: the number of N-gram types and the dimension of each vector.
- Collisions and coverage: hash collision rate and the proportion of out-of-vocabulary (OOV) combinations.
- Access latency: the time for a single lookup and how it changes over long sequences.
- VRAM usage: how the embedding table is distributed across different devices.
- Actual effect: hit rate on long-tail knowledge QA, compared with a baseline without the external module.
Before these data are public, “an external knowledge base can extend factual knowledge” can only be viewed as a possible direction.
4. Optimizer: Division of Labor Between Muon and AdamW
4.1 Role of AdamW
AdamW maintains first-moment and second-moment states for each parameter and applies decoupled weight decay to the parameters. It is highly adaptive and stable for non-matrix parameters such as embedding tables, normalization-layer gains, and biases, making it a common choice for large-model training.
4.2 Basic Idea of Muon
Muon is mainly used for two-dimensional weight matrices, such as attention projections and linear layers in feed-forward networks. It approximately orthogonalizes the momentum term so that updates are distributed more evenly across the singular directions of the matrix. This method was publicly proposed by Keller Jordan et al. around 2024 and has shown training-efficiency improvements in some experiments.
The original text states that Muon “converges faster on some benchmarks,” but it does not give benchmark names, model scale, number of training tokens, or comparison baselines. Convergence speed depends on these conditions, and without them, the scope of the conclusion cannot be determined.
4.3 Engineering Cost of Dual Optimizers
Dividing work by parameter type means the training system must maintain two sets of optimizer states at the same time. Muon usually stores only one momentum buffer, while AdamW needs to store both first-moment and second-moment states. This increases VRAM usage and makes parameter sharding in distributed training more complex.
The following checklist can be used to plan training configurations:
| Parameter type | Recommended optimizer | Learning rate | State memory | Fallback |
|---|---|---|---|---|
| 2D linear layer weights | Muon | Requires separate tuning | One momentum buffer | Switch to AdamW |
| Embedding table | AdamW | Requires separate tuning | Two moment estimates | Keep unchanged |
| Normalization gains and biases | AdamW | Same as main learning rate or set separately | Two moment estimates | Keep unchanged |
| Gating unit parameters | To be confirmed | To be confirmed | To be confirmed | Not specified in the original |
5. Summary and Outlook
5.1 Degree of Certainty for Each Judgment
- Confirmed (with public basis): the basic “filter-then-compute” idea of DSA-like sparse attention, and the basic principle of Muon applying orthogonalized updates to matrix parameters.
- Possible: micro-block pooling can reduce the indexer’s scanning overhead, but the accuracy impact depends on implementation details.
- Depends on evaluation: whether multi-branch residuals can stably improve deep-network performance, whether the N-gram module can bring gains in long-tail QA, and whether Muon can accelerate convergence at actual scale.
- To be verified: all specific parameter counts and performance numbers in the original text.
5.2 Questions Worth Following
- Whether sparsification can move from the algorithm level to the system level depends on the indexer’s actual latency, which requires measurement under real workloads.
- Whether external memory can expand knowledge without increasing inference compute needs to be compared with baselines in long-tail QA evaluations.
- Whether multi-branch residuals truly mitigate information forgetting in deep networks requires ablation experiments for verification.
If official benchmarks show that these changes do bring benefits, it will be more reliable to discuss their significance then. This article is an architecture preview and speculation, not an official release. Parameters and benefits should be based on official materials.
