Small-Activation MoE and Multi-Token Prediction: Efficient Inference for Large Models

    This article explains how sparse Mixture-of-Experts (MoE) architectures decouple knowledge capacity from per-token compute, using models with roughly 196B total parameters and 11B active parameters as an example. It also examines Multi-Token Prediction (MTP) as a way to improve decoding speed, reviews benchmark and hands-on evaluation considerations for coding and agent tasks, and summarizes deployment concerns including quantization, expert parallelism, KV cache management, and framework support for MTP.

    Small-Activation MoE and Multi-Token Prediction: Efficient Inference for Large Models

    Background: The Tension Between Model Knowledge Capacity and Inference Cost

    Over the past two years, the industry has been caught in a seemingly intractable loop: the larger the model parameters, the stronger the knowledge base and overall capability, but the cost of computing each inference also grows linearly or even superlinearly. For developers building online services, agent applications, or high-frequency coding assistants, this shows up directly in two metrics: time-to-first-token latency and throughput.

    Sparse Mixture-of-Experts (MoE) architectures were created to address this tension. The core idea can be summarized in one sentence: decouple “how much knowledge is stored” from “how much compute is used per inference.” Recently, a class of models from the community has pushed this idea to an even more extreme level: total parameters reach the hundreds-of-billions scale, but each token activates only single-digit to low-tens-of-billions of parameters during inference. At the same time, Multi-Token Prediction is layered on top to raise decoding speed another step. This article uses these “very large total parameters, very small activation” models as a sample to break down their technical principles, performance characteristics, and engineering practice considerations.

    1. Sparse MoE Activation: What 196B Total Parameters and 11B Active Parameters Mean

    1.1 Architecture Principles

    In the Transformer layers of an MoE model, the traditional dense feed-forward network (FFN) is replaced by multiple “expert” subnetworks plus a router. When each token enters the layer, the router computes scores based on the hidden state and selects only the Top-K experts to participate in computation, while the remaining experts stay completely dormant.

    Formally:

    1. # Pseudocode: MoE layer forward pass
    2. gates = softmax(router(x)) # Compute the weight for each expert
    3. topk_gates, topk_idx = topk(gates, k=2) # Activate only K experts
    4. y = sum(gates[i] * expert[topk_idx[i]](x) for i in range(k))

    As a result:

    • Knowledge capacity is jointly determined by embedding width, the total number of experts, and the internal dimensions of each expert. Total parameters can therefore be very large.
    • Per-token compute depends only on the number of activated expert parameters and is nearly independent of total parameter scale.

    Therefore, a model with “196B total parameters and 11B activated per pass” has a per-token inference cost close to that of an 11B dense model, while its knowledge capacity is comparable to much larger models in the hundreds-of-billions class. This is the classic goal of “knowledge capacity, inference speed, and low cost at the same time.”

    1.2 Quantitative Comparison with Conventional Approaches

    Compared with common large-scale MoE designs in the industry (roughly 670B total parameters and roughly 37B active parameters), these small-activation models have distinct characteristics:

    Dimension Large-activation MoE Very-small-activation MoE
    Total parameters ~670B ~196B
    Activated per token ~37B ~11B
    Weight memory footprint Requires sharding across multiple GPUs Deployable on 4–8 GPUs on a single machine
    Decoding throughput Medium High

    It is important to note that very small activation is not free: when the total number of experts is limited, the “knowledge subnetwork” used by each token is smaller, and some long-tail knowledge tasks may be weaker than with large-activation designs. However, based on public coding and reasoning benchmarks, the practical performance of this generation of models is already approaching that of same-generation flagship models, with improved “knowledge density” compensating for the reduction in activation scale.

    2. Multi-Token Prediction: Multiplying Decoding Speed Again

    2.1 Why Decoding Is Slow

    Autoregressive model decoding is serial: generating token N requires waiting for token N-1 to finish computing. During decoding, GPU compute utilization is low, and the bottleneck is mainly memory bandwidth—each generated token requires reading all activated weights and the KV cache.

    The idea behind Multi-Token Prediction (MTP) is this: during training, the model is asked to predict multiple subsequent tokens at each position simultaneously. During inference, the main chain first supplies the first token with low latency, and then a lightweight prediction head or verification mechanism accepts multiple subsequent tokens at once. This raises the output of a single forward pass from 1 token to 3 tokens (MTP-3).

    2.2 Practical Benefits

    Based on community measurements, typical speed results for this class of models are:

    • Everyday chat scenarios: about 100–300 tokens/s;
    • High-throughput scenarios such as code completion: peaks of about 350 tokens/s.

    For reference, running an 8B-class dense model locally with a common inference framework usually yields only 40–60 tokens/s on a single GPU. The gap is 5–6×. For developers, this means the “responsiveness” of code completion—generation speed exceeding reading speed—changes the interaction experience qualitatively.

    The key point is that MTP acceleration is structural. It does not depend on more aggressive quantization or external models for speculative sampling, so it provides deterministic gains while maintaining stable output quality.

    3. Capability Evaluation: A Practical View for Coding and Agent Scenarios

    3.1 Benchmark References

    Public benchmarks focused on coding and agent tasks show that these small-activation models roughly achieve:

    • Real-repository bug-fixing benchmark (SWE-bench Verified): around the 74% level, in the same tier as mainstream flagship open-source models and some closed-source models;
    • Terminal task benchmarks (Terminal-Bench-like): above 50%;
    • Competition math benchmarks (AIME-like): close to full marks.

    3.2 Why Benchmark Scores Should Not Be Fully Trusted: A Reproducible Self-Built Evaluation Approach

    Community testing has also repeatedly shown that a gap exists between benchmark scores and actual experience. Many models with far fewer parameters outperform much larger competitors on specific dimensions, while some “best value” claims may not hold up on composite tasks such as long-document understanding, SVG visual code, and aesthetic judgment.

    Developers are advised to build their own evaluation sets. Typical cases include:

    1. Long-context reading comprehension: give the model a document of several thousand words and ask it to answer questions that require synthesizing information across paragraphs;
    2. Structured code generation: for example, hand-written SVG or front-end components, evaluating both syntax correctness and visual aesthetics;
    3. Multi-turn agent tasks: have the model complete multi-step operations in a restricted tool environment and observe its planning and error-correction abilities.

    A simple evaluation scaffold can be organized as follows:

    1. cases = load_yaml("my_eval_cases.yaml") # Inputs, reference answers, scoring dimensions
    2. for model in candidate_models:
    3. for case in cases:
    4. resp = client.chat(model=model, messages=case.prompt)
    5. scores = judge(resp, case.reference) # Rule-based scoring + manual spot checks
    6. record(model, case.id, scores)

    Scoring dimensions should cover at least: factual accuracy, instruction following, code runnability, output format stability, and aesthetic/style subjective scores. Only conclusions produced on your own business distribution have model-selection value.

    4. Engineering Deployment Considerations

    To use these very-small-activation MoE models in production, pay attention to:

    • Memory and quantization: although total parameters are far smaller than a full-scale flagship, hundreds of GB of weights still require quantization (such as common 4-bit-aware quantization) to deploy within a limited number of GPUs. The compatibility of the MoE structure with quantization operators must be verified in advance.
    • Load balancing in expert parallelism: when deploying across multiple GPUs, uneven expert distribution can cause GPUs to sit idle. Expert parallelism and capacity factor tuning need to be enabled.
    • KV cache management: small-activation models decode quickly, meaning more KV is generated per unit time. Long-conversation scenarios need paged caching and eviction policies.
    • MTP compatibility: Multi-Token Prediction depends on inference framework support. When building a self-hosted service, confirm that the framework used has adapted this inference path; otherwise the speed benefit will be greatly reduced.
    • Reasonable use of free quotas: public model aggregation platforms can provide free trial credits for preliminary validation, but for production it is advisable to switch to official or cloud-provider dedicated instances and use general cloud capabilities such as monitoring, alerting, and logging services for observability.

    5. Model Selection Implications

    The core implications of this generation of models are clear:

    1. Sparse activation is the efficiency lever—an activation ratio of 5%–6% is traded for knowledge capacity close to that of dense large models;
    2. Decoding parallelization is the experience lever—MTP makes “is the model fast enough?” no longer a bottleneck in most interactive scenarios;
    3. Model selection must return to self-built evaluation—leaderboard scores are a starting point, not the endpoint. Long context, aesthetics, agent planning, and other dimensions need to be tested against your own business.

    For developers, the rational path is: first try on free access channels at small scale, run your own evaluation set, and then decide whether to invest in private deployment or paid APIs. Under the combined effect of architectural advantages and engineering details, “large, fast, and cheap” is moving from a slogan to a practical reality. Whether this benefit can be captured depends on the depth of understanding of the technical principles and the rigor of the evaluation methodology.