Engineering Practices for Native Multimodal Models with Small Activated Parameters

    This article examines the engineering trade-offs of native multimodal models that activate only a small fraction of their parameters per token. It explains why sparse activation lowers per-request cost, why lower unit price can be offset by retries, and how higher output variance makes lower-bound metrics such as P90 scores and long-context degradation points essential. It also covers token efficiency, a layered routing design with fallback escalation, and the capacity and observability setup needed to run such models in production.

    1. Background: Why the Cost-Performance Inflection Point Is on Small Models

    The model service market recently went through a round of price adjustments. General-purpose models that were previously known for low prices raised their pricing, leaving no clear cost-performance option in the same tier. One strategy that followed was “better quality at the same price”: capabilities kept improving while prices stayed flat, which restored a cost advantage overall.

    To deliver both high performance and low cost under the current domestic compute cost structure, making the model smaller is the more practical path. The reason is straightforward: inference cost is determined jointly by the number of parameters involved in computation, the sequence length, and the number of decoding steps. Among these, the parameters actually involved in computation per step have the most direct impact on single-request latency and throughput. Several cases in the industry have shown that models with fewer parameters can handle most tasks well.

    What the market really needs is a model that is “good enough, and cheap enough that you don’t have to calculate the cost of every call.” The positioning of such a model is not to replace the flagship, but to handle the vast majority of requests in high-frequency, batch, and long-chain invocations.

    2. Technical Approach: Sparse Activation and Native Multimodality

    Based on public descriptions, this type of model is the first native multimodal member in its series, with about 320 billion total parameters and about 18 billion parameters actually activated in a single forward pass, an activation ratio of roughly 5.6%. This structure has three engineering implications:

    1. Memory footprint and compute are decoupled. Total parameters determine the resident weight memory and loading overhead, while activated parameters determine the compute per token. The former affects the deployment barrier; the latter affects the cost per request.
    2. Native multimodality is better than a bolted-together approach. Vision and text are jointly trained in the same representation space, so cross-modal alignment is more thorough, and the interface complexity and error accumulation introduced by an external vision encoder are reduced.
    3. Capability gains do not have to rely on longer reasoning chains. Some small models trade a longer chain of thought for accuracy, and token consumption rises accordingly; a sparse activation model can converge in a shorter solution space.

    It should be emphasized that the above is a general engineering interpretation of this class of architecture; implementation details should be based on the official documentation.

    3. Capability Inheritance: Same Ceiling, Lower Stability

    A recurring observation in evaluations is that on low- and medium-difficulty tasks (including common programming tasks), the small-activation version performs essentially the same as the standard version. On high-difficulty tasks, both can reach a similar ceiling, but the small version cannot reproduce it consistently and needs more retries to obtain the optimal solution.

    In engineering terms, this is equivalent to trading “single-attempt success rate” for “expected success rate after multiple attempts.” If the single-attempt success rate is p, the probability of at least one success in n independent attempts is:

    1. def success_prob(p: float, n: int) -> float:
    2. return 1 - (1 - p) ** n
    3. # Single attempt 0.6, expected success rate after 5 attempts
    4. print(round(success_prob(0.6, 5), 3)) # 0.922

    This formula means the cost model must be rewritten. Let the cost of a single call be c; then the expected cost is:

    1. E[cost] = c * n
    2. E[latency] ≈ t_single * n (with serial retries)

    The conclusion is clear: part of the benefit from a lower unit price may be offset by an increase in the number of retries, and the latency accumulation from serial retries directly degrades the experience. So whether “cheap” holds depends on whether the unit price reduction is larger than the increase in the retry multiplier.

    4. The Hallucination Variance Problem: What Really Needs Governance Is the Lower Bound

    A more accurate description than “a higher hallucination rate” is “a larger hallucination variance.” When it performs well, it can capture very fine textual details in the context, with a hallucination rate even lower than the standard version; when it performs poorly, it may fail to understand a long prompt, make basic mistakes, and the longer the text, the more easily the lower bound is triggered.

    This means evaluation metrics cannot look at the mean alone; quantiles and length buckets must be introduced:

    Observation dimension Recommended metric Purpose
    Stability P50 / P90 scores, failure rate Determine whether the lower bound is acceptable
    Length sensitivity Accuracy bucketed by 4K/16K/64K Locate the long-text degradation inflection point
    Factual consistency Verifiable citation rate, proportion of unsupported claims Quantify hallucination rather than describe it vaguely
    Instruction following Format compliance rate, missing-field rate Keep output parseable downstream

    Corresponding engineering measures include: splitting long text into overlapping chunks and extracting evidence chunk by chunk, requiring the model to output verifiable citation locations, applying restricted decoding or structured output constraints on key fields, and automatically triggering one review pass for low-confidence results.

    1. Long-text processing pipeline:
    2. Chunk (overlap=10%) → extract candidate facts per chunk → cross-validate and deduplicate → aggregate and generate → citation back-link validation

    5. Token Efficiency: A New Path to Higher “Intelligence Density”

    In token consumption, this type of model is lower than the standard version on almost all tasks, going as low as about 40% of the latter. On problems where most models need exhaustive search, it is more inclined to quickly narrow the solution space by “intuition” rather than expanding and verifying candidates one by one.

    However, there is still a gap compared with the token efficiency benchmark series: on medium-to-high-difficulty tasks, the competitor’s consumption can be lower. This suggests that token efficiency itself should be included as a first-class metric in the selection matrix, rather than measured after the fact.

    A reusable efficiency dashboard design:

    1. Metric groups:
    2. - Quality: task pass rate, human rating, P90 score
    3. - Efficiency: average input/output tokens, share of thinking tokens, total tokens per task
    4. - Cost: cost per task = unit price × total tokens × number of retries
    5. - Latency: time to first token, end-to-end latency P50/P95

    6. Deployment Advice: Put the Model in a Layered Router

    A single model can hardly cover both “high-difficulty tasks need the ceiling” and “high-frequency tasks need low cost.” A more robust approach is layered routing:

    1. Judge difficulty at the entry point (rules + a lightweight classifier), and let the small-activation model handle simple requests directly;
    2. Have the small model attempt medium-to-high-difficulty requests first, with structured output and a confidence signal attached;
    3. Escalate to a stronger model when confidence is insufficient or validation fails, or sample multiple results in parallel and vote;
    4. Log tokens, latency, and retry counts across the whole chain, used to continuously calibrate routing thresholds.
    1. def route(req, p_small=0.6, threshold=0.9, max_retry=5):
    2. for i in range(max_retry):
    3. r = small_model(req)
    4. if r.valid and r.confidence >= threshold:
    5. return r
    6. return large_model(req) # Fallback escalation

    Capacity preparation is equally important: the model weights take up a large amount of resident memory, so container platforms can be used for elastic scaling, message queues to smooth out peaks and fill valleys, object storage to accumulate samples and results, and logging services with monitoring alerts to observe P95 latency and failure rate.

    7. Conclusion

    The route of small activated parameters plus native multimodality is essentially trading “lower compute per unit” for “tolerable stability fluctuation.” It suits high-frequency, batch, cost-sensitive workloads that allow retries; for scenarios with extremely high stability requirements, a fallback escalation path must be kept. When selecting a model, use “total cost per task = unit price × tokens × number of retries” as the yardstick, and include P90 performance, the long-text degradation inflection point, and token efficiency in the evaluation, rather than looking only at average benchmark scores. To deploy on Baidu AI Cloud, you can combine general-purpose container, storage, messaging, and monitoring capabilities to build the layered invocation and observability system described above.