A Deep Dive into Next-Generation Asymmetric Activation Architectures

    This article breaks down the design principles behind next-generation asymmetric activation architectures, where prefill and decode stages activate different parameter counts. It explains the causal encoder-decoder (CED) structure, shared key-value caching, and n-gram lookup-based memory, then reviews public benchmark data on speed, token consumption, and cache hit rates. Readers will find a reusable evaluation framework and practical deployment guidance covering prompt organization, capacity planning, observability, and cloud architecture, along with the limitations and risks of this approach.

    A Deep Dive into Next-Generation Asymmetric Activation Architectures

    1. Introduction: From Adding Parameters to Changing Structure

    Over the past two years, gains in large model capability have come mainly from scaling parameters and data together. But once inference costs began taking a significant share of enterprise budgets, the industry’s focus shifted from “how big is the model” to “how low is the compute cost per unit of intelligence.” The core idea of the new generation of model architectures is to split the network into two parts with different responsibilities, so that the prefill and decode stages carry different compute loads. This is what is called asymmetric activation.

    Based on public technical reports and community benchmark data, this article abstracts the general design principles of this class of architecture and offers a reusable evaluation framework along with engineering deployment recommendations.

    2. Asymmetric Activation: Accounting for the Two Stages Separately

    In traditional Mixture-of-Experts (MoE) models, the number of activated parameters is usually symmetric between input and output: processing the context and generating new tokens go through the same forward path. Asymmetric activation breaks that constraint.

    Dimension Traditional symmetric activation (previous generation) Asymmetric activation (new generation)
    Total parameters ~284 billion ~552 billion
    Prefill activation ~13 billion ~8 billion
    Decode activation ~13 billion ~16 billion
    Structural trait Single symmetric path Causal encoder-decoder (CED)

    The table is worth unpacking. The new-generation model has nearly twice the total parameters of the previous generation, yet it activates only about 8 billion parameters per token during prefill, which is cheaper than before. During decode it activates about 16 billion parameters to preserve generation quality. In other words, the model puts its budget precisely where tokens are produced, and deliberately downgrades the stage that reads in context.

    This design is especially friendly to agentic workloads. A typical agent reads large amounts of code repositories, logs, and tool outputs, then writes relatively short instructions or patches, with a read-to-write ratio often in the tens to one. Cheaper prefill translates directly into a lower bill.

    3. How the Causal Encoder-Decoder Structure Works

    In engineering practice, asymmetric activation is usually implemented with a causal encoder-decoder structure, which can be understood in three layers:

    1. The lower half acts as the encoder: it runs only during prefill, compressing long context into a compact representation.
    2. The upper half acts as the decoder: this half of the network does most of the work during decoding.
    3. The global key-value cache is obtained by projecting from the encoder’s last layer: decoder layers do not have to reconstruct a global key-value set from their own hidden states; they reuse a projection of the encoder’s final layer output.

    The third point is the key to context compression. In traditional structures, every layer maintains and reads the full global key-value cache, so memory and bandwidth overhead accumulate linearly with the number of layers. With shared projection, the cache size drops significantly, easing both memory pressure and memory-access latency under long context.

    Illustrative logic (not a real interface, only expressing the data flow):

    1. # Prefill stage: the encoder reads long context and compresses it
    2. ctx_repr = encoder(causal_mask=True)(long_context)
    3. shared_kv = project_from_last_layer(ctx_repr)
    4. # Decode stage: the decoder reuses the shared KV and activates only the upper-half parameters
    5. for step in range(max_new_tokens):
    6. hidden = decoder(hidden_state, shared_kv)
    7. token = sample(head(hidden))
    8. hidden_state = update_state(hidden_state, token)

    4. Lookup-Based Memory: Decoupling “Remembering” from “Reasoning”

    Another important change in the new-generation structure is separating memory capability from attention computation. The idea: content that requires multi-step reasoning is handled by the transformer backbone, while information with low compute value but heavy storage requirements—local patterns, entity names, fixed collocations—is obtained through n-gram hash lookups.

    This brings three benefits. First, the backbone no longer has to use parameters to memorize massive low-frequency combinations, improving parameter efficiency. Second, lookups are memory-access-intensive operations that complement compute-intensive attention, leading to more balanced hardware utilization. Third, memory capacity can scale independently of model size, making it easy to add capacity on demand.

    At the same time, the previous generation’s two-level sparse attention has been reorganized into shared key-value plus two-level sparse indexing, shortening the retrieval path and keeping the effective receptive field more stable on long text.

    5. Benchmark Perspective: Speed, Consumption, and Cache Hits

    Community benchmarks of the new-generation models generally land in the range of 300 to 400 tokens per second, with most samples above 350 tokens/s. One set of public comparison data shows:

    Metric New generation Previous-generation multimodal experimental build
    Total elapsed time 18 min 49 s 30 min 11 s
    Total token consumption 11.59 million 20.31 million
    Output tokens 126,000 154,000
    Model inference time 7 min 48 s 25 min 10 s
    Generation speed 361 tokens/s 120 tokens/s
    Cache hit rate 99.5% 99.7%

    These numbers deserve a rational reading: they come from a single workload, and the near-saturated cache hit rate indicates the test leans toward highly repetitive agent loops. In real business scenarios with highly varied context and low hit rates, the gains narrow noticeably. An evaluation should cover at least three workload types: long-document summarization, multi-turn tool calling, and short prompts at high concurrency.

    6. Engineering Deployment Essentials

    • Prompt and context organization: the shared key-value mechanism is sensitive to prefix stability. Placing invariant content first and variable content last improves cache reuse.
    • Capacity planning: higher total parameters mean more weight storage and longer cold-start loading time, which needs to be combined with image pre-warming and instance-pool strategies on the container platform.
    • Observability: instrument logs and monitoring alerts to record prefill tokens, decode tokens, cache hit rate, and time to first token, so cost anomalies can be traced.
    • Cloud architecture combination: object storage holds models and datasets, a container platform hosts inference services, a message queue smooths peaks, and elastic scaling handles traffic bursts.

    7. Limitations and Risks

    Asymmetric activation is not a universal solution. In short-input, long-output scenarios such as creative generation, the prefill advantage does not materialize, and higher decode activation may actually make things slower. Whether shared key-value compression loses information under extreme long context still needs validation across more tasks. Lookup-based memory depends on hash table quality, and hit rates drop under distribution drift. In addition, deep co-optimization between the model and the AI coding toolchain means that using it without the matching runtime may not deliver the nominal performance.

    8. Conclusion

    The essence of the new-generation architecture is changing the inference cost structure from “spread evenly” to “allocated on demand”: read cheaply, write accurately, remember reliably. The practical advice for developers is to run a small-scale benchmark with real business workloads first, confirm that the read-to-write ratio and cache hit rate fall within the architecture’s comfort zone, and only then decide whether to migrate. On Baidu AI Cloud, general capabilities such as the container platform, object storage, and monitoring alerts can be used to quickly set up evaluation and canary environments, making technical selection based on data rather than a parameter table.