Asymmetric Activation Architecture Explained: The Core Logic Behind Faster LLM Inference

    This article breaks down how asymmetric activation and the Causal Encoder-Decoder (CED) design let a model with more total parameters generate tokens nearly three times faster. It explains why separating parameter count from per-token activation matters, how splitting the network into encoder and decoder halves enables global KV reuse and context compression, why this favors long-input agent workloads, which metrics to track beyond tok/s, and how toolchain practices turn architectural gains into real throughput.

    1. The Starting Point: Why “More Parameters” but “Faster Speed” Feels Counterintuitive

    Conventionally, increasing a model’s total parameter count means higher inference cost and lower throughput. A recent class of architectures breaks that linear assumption: while total parameters grew from 284B to 552B, single-token generation speed improved by nearly 3x. To understand this, you have to separate “parameter scale” from “the number of parameters actually activated per token.”

    Traditional sparse Mixture-of-Experts (MoE) uses the same routing logic in both the prefill and decode stages, with symmetric activation between input and output—for example, 13B versus 13B. The new architecture instead uses asymmetric activation: roughly 8B activated during prefill and roughly 16B during decode. This means the “large model” shows up only in capacity and knowledge storage, while the actual compute cost is determined by the activation volume.

    2. Causal Encoder-Decoder: Splitting the Network Vertically in Half

    This design, known in the industry as the Causal Encoder-Decoder (CED), can be approximated as follows:

    • The lower half acts as the encoder: it works only during prefill, compressing long context into a compact representation;
    • The upper half acts as the decoder: this half runs mainly during decode;
    • The global key-value (KV) is no longer built layer by layer from each decoder layer’s own hidden states, but is projected directly from the encoder’s final-layer hidden state.

    The following pseudocode is illustrative and expresses only the data flow; it does not correspond to any specific implementation:

    1. # Prefill: the encoder handles context compression
    2. enc_hidden = encoder_layers(input_tokens) # ~8B activated
    3. global_kv = project_kv(enc_hidden[-1]) # final layer projected into global KV
    4. # Decode: the decoder dominates, reusing the global KV
    5. for step in range(max_new_tokens):
    6. dec_hidden = decoder_layers(last_token, global_kv) # ~16B activated
    7. last_token = sample(dec_hidden)

    This structure has two direct consequences. First, the context representation is compressed, lowering the storage and data-movement cost of long sequences. Second, the decode stage no longer needs to rebuild the global KV for every layer, significantly reducing memory-access pressure. Since decoding is usually memory-bound rather than compute-bound, cutting memory access often improves throughput more than cutting floating-point operations.

    3. Why the Asymmetric Ratio Suits Agent Workloads

    A typical agent workload is “read long, write short”: the input contains many retrieved snippets, tool return values, and historical trajectories, while the output is only a brief decision or a small amount of code. The configuration of 8B activated in prefill and 16B in decode happens to put the cost on the cheaper side, lowering the per-unit cost of long-context input while retaining enough capacity on the decode side to preserve generation quality.

    One engineering caveat: asymmetric activation does not mean “decode is more expensive, therefore slower.” In practice, decode speed improves markedly, precisely because global KV reuse and context compression together cut the memory access per step.

    4. Which Metrics to Look at When Evaluating This Kind of Architecture

    Looking at tok/s alone is easy to misjudge. It is advisable to collect at least the following dimensions at the same time:

    • End-to-end total elapsed time, not just the generation phase;
    • Input/output token distribution and total token consumption;
    • Cache hit rate—a high hit rate significantly amortizes the cost of repeated prefixes;
    • The share of time spent in prefill versus decode, used to detect where the bottleneck shifts;
    • The memory-usage curve under long context and throughput degradation under concurrency.

    For reference, consider the scale of a public community test: one task took about 18 minutes in total, with about 11.59M total tokens, about 126K output tokens, a generation speed of about 361 tok/s, and a cache hit rate of 99.5%; the comparison approach took about 30 minutes in total, with about 20.31M total tokens and a generation speed of about 120 tok/s. The gap comes mainly from cache reuse and memory-access optimization, not from simply stacking more compute.

    5. Working with the Toolchain: Making the Architectural Gains Actually Land

    The benefits of the new architecture depend heavily on runtime cooperation. If you use an AI coding tool or a self-built agent framework, three points matter. First, prefix stability: keep the system prompt and tool definitions fixed at the very front to maximize cache hits. Second, context-trimming strategy: evict history by relevance rather than by chronological order. Third, streaming output and concurrency scheduling, to avoid long prefills blocking the queue. For observability, it is advisable to connect a general-purpose logging service and monitoring/alerting, and build baseline dashboards for cache hit rate, time to first token, and per-step decode time.

    6. Conclusion and Adoption Recommendations

    The essence of asymmetric activation and the Causal Encoder-Decoder is to decouple “capacity” from “compute”: capacity grows with total parameters, compute is determined by activation volume, and context compression plus global KV reuse then push the cost of long inputs as low as possible. Evaluation should be based on end-to-end metrics, with prefix pinning and context governance done at the toolchain layer. If an organization wants to validate similar gains in its own environment, it can build a reproducible stress-test environment on a container platform and object storage, compare different architecture options horizontally using unified metrics, and then decide whether to migrate.