Sparse Model Selection: A Number-Checking Guide for Hyper-Connections and KV Cache Metrics

    As large models move into production, deployment cost has become a key selection criterion. This article reviews how to verify vendor claims for a sparse MoE model with 320B total parameters and 18B activated parameters, including its 45-layer design, 288 routed experts with 8 activated per token, and hybrid linear/sparse attention. It explains why attention compute and KV cache figures depend on different assumptions, how memory savings can be used for larger batches or longer contexts, and why benchmark scores should be checked against official technical reports before citation.

    1. Background: Why Cost Became a Key Metric

    After large models enter production environments, the tension between capability and deployment cost becomes more pronounced. Dense models activate all parameters for every token. With very long contexts or high-concurrency requests, compute consumption and inference latency rise quickly. For years, much of the industry focused on scaling parameter counts. More teams are now turning to structural design: keeping a large total parameter scale while reducing the portion actually used in each computation.

    One vendor recently released a lightweight, high-efficiency large language model. Its public materials list core parameters of 320B total and 18B activated. The vendor also says that under a specific inference configuration, the model’s unit cost drops to about one-tenth that of the previous generation. This figure depends on specific conditions, including sequence length, batch size, hardware environment, and billing method. The numbers cited here follow the vendor’s disclosure; readers should return to the official technical report for verification.

    The title also references hyper-connection accounting. The same principle applies: headline numbers should be checked against the official technical report rather than accepted at face value.

    2. Sparse Mixture-of-Experts: Many Parameters, Partial Computation

    A Mixture-of-Experts (MoE) structure splits the feed-forward network into multiple expert groups. For each token, a router network selects a subset of experts to participate in computation. This model’s activation ratio is about 5.6%, calculated as 18B divided by 320B. It has 45 layers in total. The first 3 layers are dense layers, responsible for initial feature extraction and embedding mapping. The remaining 42 layers are MoE layers.

    Each MoE layer contains 288 routed experts, and each token dynamically activates 8 of them. The router computes relevance scores for each expert based on the token’s contextual representation, then uses Top-K selection to determine the activated set. During training, experts naturally develop specialization, for example becoming more sensitive to certain language phenomena or code structures. This specialization is not manually labeled; it is driven by training data.

    Two points need clarification. First, the vendor materials do not disclose whether shared experts exist, the exact routing algorithm, the load-balancing loss, or whether Top-K is the same during training and inference. These details directly affect expert utilization and inference stability, so readers should confirm them in the technical report. Second, the claim that “conventional sparse models usually have activation rates above 10%” has no source in the original materials. Sparsity varies widely across models, so comparisons should check the parameter tables of similar models one by one.

    The first 3 dense layers have an intuitive explanation. At lower layers, information exchange between tokens is not yet sufficient. If tokens were routed directly to different experts, the router would have little basis for its decisions. A dense encoding pass first gives routing judgments a more complete foundation. This is a reasonable architectural intuition, but the vendor materials do not provide ablation experiments, so it should be understood only as a design motivation.

    3. Hybrid Attention: Interleaving Linear and Sparse Layers

    Of the 45 layers, about 34 use linear attention and about 11 use sparse attention. The ratio is about 3:1. Here, 3:1 refers to the ratio of layer counts, not the computational ratio within a single layer.

    Linear attention uses kernel functions to approximate Softmax, making compute grow approximately linearly with sequence length. Standard attention grows quadratically. This is highly beneficial for long sequences, but linear attention is usually weaker at precise long-distance retrieval. Therefore, the model periodically inserts sparse attention layers between consecutive linear attention layers. These layers perform standard attention only on selected key positions, preserving long-distance dependencies at a lower cost.

    This arrangement is based on an empirical judgment: in natural language, adjacent tokens usually have the strongest association, and as distance increases, associations become weaker and sparser. Linear attention is suitable for handling large numbers of nearby relationships, while sparse attention covers a small number of key long-distance connections. The combined effect needs to be validated through long-context evaluations, especially tasks that require precise location of distant information, such as clause retrieval in long documents.

    4. Cost Numbers: Accounting Matters More Than the Headline Figure

    The vendor materials provide two efficiency numbers. First, Attention compute drops to about 1/3, a reduction of about 67%. Second, KV Cache drops to about 1/4.4, a reduction of about 77%. These two numbers have different premises and cannot be conflated. Attention compute depends mainly on sequence length and layer type. KV Cache depends on context length, batch size, KV storage precision, and the compression ratio of index pooling. The materials mention that index keys in sparse attention layers are compressed to about one quarter of their original size, but they do not fully explain how this compression translates into an overall 4.4x reduction in KV Cache.

    Memory benefits are usually used in two ways. One is to support a larger batch size under the same memory. The other is to support a longer context under the same batch size. Which is more valuable depends on the business pattern. High-concurrency short-text services care more about batch size, while long-document analysis cares more about context length.

    5. Benchmark Scores: Improvements Exist, but Do Not Cite Them Blindly

    The vendor states that the model shows improvements on deep software development evaluations and automation evaluations relative to the prior model. However, the available excerpt does not provide complete figures, baselines, or test conditions. These scores should therefore not be cited directly. Readers should verify the official technical report before using them in selection or comparison.