Evaluating Asymmetric Activation Architectures for LLM Inference Acceleration

    This article examines asymmetric activation and causal encoder-decoder (CED) designs in next-generation LLM inference architectures. It explains how separating prefill and decode workloads reduces prefill cost, compresses KV cache, and improves throughput; reviews supporting mechanisms such as shared KV, two-level sparse indexing, and Engram; and offers practical guidance on scenario fit, ecosystem lock-in, and engineering operations.

    Evaluating Asymmetric Activation Architectures in LLM Inference

    Recent next-generation large language model inference architectures have drawn significant attention. The key point is that while total parameter scale has increased substantially, inference speed has also improved considerably—in some scenarios reaching roughly three times the generation speed of the previous generation—while adding native multimodal capabilities and a new framework design. This is not simply a matter of adding more parameters. It reflects a paradigm shift at the architecture level: the introduction of asymmetric activation and a causal encoder-decoder (CED) structure. This article provides a systematic review across four dimensions: architectural principles, performance benefits, applicable scenarios, and engineering support.

    1. From Symmetric MoE to Asymmetric Activation: A Paradigm Shift

    Traditional mixture-of-experts (MoE) models use symmetric activation: whether in the prefill stage or the decode stage, the number of activated parameters per token passing through the network is the same. For example, the previous generation model had about 284B total parameters and activated about 13B parameters in both the input and output stages. This design is simple to implement, but it ignores a critical fact: prefill and decode have fundamentally different computational characteristics.

    • The prefill stage involves highly parallel matrix operations, and the bottleneck is computational throughput.
    • The decode stage involves token-by-token autoregressive generation, and the bottleneck is memory bandwidth and KV cache access.

    The new architecture explicitly splits the network into a causal Encoder and a Decoder. The lower layers act as the Encoder and run only during prefill, compressing long contexts into a compact representation. The upper layers act as the Decoder and run mainly during decode. Its global KV is projected directly from the hidden states of the Encoder’s last layer, rather than each layer maintaining its own full KV cache.

    This creates significant activation asymmetry: during decode, about 16B parameters are activated per token to ensure generation quality, while during prefill only about 8B parameters are activated. Although total parameter scale rises from about 284B to 552B—including embeddings and shared modules, with an Engram portion of about 196B—the actual per-step computational cost structure is re-optimized.

    2. Why Asymmetric Design Delivers Real Speed and Cost Benefits

    2.1 Lower Prefill Cost

    In Agent-style applications, a typical workload is “read a lot, write relatively little”: system prompts, tool definitions, conversation history, and retrieved documents can easily reach tens of thousands of tokens, while model output is often only hundreds to thousands of tokens. Halving the activated parameters during prefill means input-side computation in such scenarios is significantly reduced, and overall latency and unit cost for long-context tasks improve at the same time.

    2.2 More Compact KV Cache

    Because Decoder layers no longer build global KV from their own hidden states but instead use a unified projection from the Encoder’s final layer, KV cache size is compressed. This brings three benefits: lower memory usage, enabling longer contexts or greater concurrency; reduced bandwidth pressure, improving decode speed; and higher cache hit rates. In community tests, cache hit rates can exceed 99.5%, and repeated-prefix scenarios almost eliminate redundant computation.

    2.3 Measured Performance Data

    According to public same-task comparisons, the new-generation architecture performed as follows on multimodal visual experiment tasks: total time dropped from about 30 minutes to about 19 minutes; total token consumption fell from about 20M to about 11.6M; generation speed rose from about 120 token/s to about 360 token/s, with most community test results concentrated in the 300–400 token/s range. It is important to note that the speed improvement comes not only from the architecture itself but also from better token efficiency—fewer redundant tokens mean fewer decode steps.

    3. Supporting Mechanisms: Shared KV, Two-Level Sparse Indexing, and Engram

    Beyond the main architecture changes, this evolution also includes several supporting designs worth noting:

    Attention mechanism reorganization: The hybrid attention approach used in the previous generation has been reorganized into “shared KV + two-level sparse indexing.” Shared KV further reduces cache overhead. Two-level sparse indexing enables two-stage retrieval in long contexts—coarse screening followed by fine ranking—using a small amount of computation to locate relevant context segments and avoid the quadratic complexity of full attention.

    Engram integrated into the main model: The previously experimental Engram mechanism—which can be understood as a parameterized memory/retrieval module—has been formally integrated into the main model parameter system. This allows the model to expand knowledge capacity without significantly increasing activated parameters, providing another explanation for “more parameters but faster performance.”

    Deep coupling between training and inference frameworks: The model has been specially trained and optimized for different configurations of its companion inference framework. This “training-inference integration” approach means performance figures are easier to reproduce on the officially recommended stack, but it also reminds developers that actual benefits may be reduced outside the companion runtime. When selecting a model, teams should evaluate the adaptation cost for their own infrastructure.

    Native multimodality: Vision and other modality capabilities are no longer external adapters but are integrated into a unified architecture, so multimodal tasks also benefit from the speed and cost advantages described above.

    4. A Rational View: Benefit Boundaries and Deployment Guidance

    Despite the impressive data, developers should still evaluate carefully:

    1. Scenario fit: The biggest benefit of asymmetric activation is in “long input, short output” scenarios such as code Agents, document question answering, and retrieval-augmented generation. For symmetric chit-chat or long-form writing applications, the prefill-side benefit is relatively limited.
    2. Ecosystem binding risk: Deep integration between training and a dedicated inference framework means migration to general inference engines may require additional adaptation and tuning.
    3. Engineering support: In production environments, teams should consider using object storage to manage multimodal assets, container platforms to host inference services, and logging plus monitoring and alerting systems to observe key metrics such as token throughput and cache hit rate, establishing a quantifiable performance baseline. Mainstream cloud platforms, including Baidu AI Cloud, offer these general-purpose product categories as reference options for building inference infrastructure.

    Conclusion

    The value of asymmetric activation and causal encoder-decoder architectures lies not in any isolated performance number, but in the new approach they demonstrate: reallocating computational resources according to the fundamental differences between prefill and decode, and designing the system around KV cache as the core bottleneck. For teams building Agent applications and long-context services, understanding this architectural logic is more valuable in the long term than chasing any single model version.