Understanding the New Generation of Asymmetric Activation LLM Architecture

    This article breaks down why newer large language models can generate tokens faster even as total parameter counts grow. It explains asymmetric activation, the causal encoder-decoder structure, decoupled memory and computation, and toolchain co-design, then offers practical guidance on workload profiling, cache hit rate, memory budgeting, and evaluation. Readers will learn the three separation principles—capacity from computation, memory from reasoning, and prefill from decode—that drive modern LLM efficiency.

    1. The Problem: More Parameters, Yet Faster Inference

    A common intuition conflict in LLM development is that a larger total parameter count should mean higher memory usage and more computation, and therefore slower inference. Yet the last generation or two of models often behave the opposite way: as total parameters expand, per-token generation speed actually improves significantly. To understand this, you have to separate three things: total parameter count, activated parameters per token, and key-value (KV) cache size.

    What really determines the cost of the decode phase is not how many parameters the model stores, but how many parameters participate in matrix operations during each token’s forward pass, along with the cache size that the attention component must read and write. Sparse activation and architectural reorganization are both essentially a reallocation between “preserving capacity” and “reducing per-step computation.”

    2. Asymmetric Activation: Separating the Cost Structure of Prefill and Decode

    Traditional mixture-of-experts (MoE) structures use the same activation path for both the prefill and decode phases, with symmetric input and output activation sizes. The new generation of designs introduces asymmetric activation: roughly 8B parameters activated per token during prefill and roughly 16B parameters activated per token during decode, while the total parameter count can exceed 500B.

    The rationale for this design comes from differences in workload characteristics:

    • Prefill is highly parallel, processing thousands of tokens at once with high compute utilization, so a smaller activation size is enough to compress the context;
    • Decode is strictly serial, producing only one token per step and demanding higher per-step representation quality, so it is configured with a larger activation size.

    Describing the routing logic in pseudocode makes it more intuitive:

    1. def forward(tokens, phase):
    2. if phase == "prefill":
    3. return sparse_moe(tokens, top_k=small_k) # Low activation, throughput-oriented
    4. else:
    5. return sparse_moe(tokens, top_k=large_k) # High activation, quality-oriented

    It is worth emphasizing that asymmetric activation does not change the total number of parameters; it only changes “how much is used per step.” As a result, memory capacity requirements rise, while per-step latency does not necessarily rise.

    3. Causal Encoder-Decoder Structure: Making Context Representations Compact

    The premise that makes asymmetric activation viable is reorganizing the network into a Causal Encoder-Decoder structure. Its organization can be abstracted as follows:

    1. The lower layers act as an encoder, running only during the prefill phase to compress long context into a compact representation;
    2. The upper layers act as a decoder, which is the part that mainly runs during decoding;
    3. The global KV cache is no longer constructed layer by layer from each decoder layer’s own hidden states; instead, it is projected directly from the encoder’s final-layer hidden states.

    The third point is key. In a conventional structure, every layer must maintain a full global KV cache, and the longer the context, the greater the cache read/write pressure. After switching to final-layer projection, the cache has a single source and a more compact representation, significantly reducing memory bandwidth pressure in long-context scenarios.

    A schematic of the structure:

    1. Input context
    2. │
    3. [Lower layers: Causal Encoder] ← Runs only during prefill, outputs compact representation
    4. │
    5. [Global KV Projection Layer] ← Shared by upper layers
    6. │
    7. [Upper layers: Decoder] ← Main runtime region during decode
    8. │
    9. Output token

    4. Decoupling Memory from Computation: Lookup-Style Sparse Memory

    Another generalizable idea is to handle “the parts that need reasoning” and “the parts that only need to be remembered” separately: the former is delegated to attention and expert networks, while the latter provides local patterns, entity names, and fixed collocations through downsampled hash lookup tables. Similar practices already exist in the industry, and their value lies in expanding effective memory capacity at extremely low compute cost, avoiding repeatedly spending deep computation on memory-based content.

    Accompanying this is a reorganization of the attention mechanism: a shared KV cache combined with a two-level sparse index first coarsely filters relevant blocks, then performs fine-grained retrieval within a block, compressing the complexity of long-context attention from roughly quadratic to nearly linear.

    5. Engineering: Deep Co-Design Between Models and AI Coding Toolchains

    A notable trend is that model optimization is moving from “single-point operator tuning” toward “joint design with the upper-layer toolchain.” When the model is adapted during training to the context organization, tool-call formats, and multi-turn editing modes of AI coding tools, effective throughput in real tasks is often higher than in isolated benchmark tests. Metrics worth watching in engineering include:

    • The share of end-to-end total time versus model inference time;
    • Total input/output tokens and the number of output tokens;
    • Generation speed (tokens/s);
    • Cache hit rate, which directly determines the cost of repeated long-context input.

    In long-context, read-heavy, write-light agent tasks, the benefits of architectural optimization are amplified: cheaper prefill, more compact cache, and faster decode stack together and can often deliver several-fold end-to-end speedup. To reproduce similar gains in your own environment, you can deploy inference services on a container platform, use a monitoring and alerting system to collect throughput and latency metrics, use a logging service to locate long-tail requests, and use object storage to accumulate evaluation datasets.

    6. Practical Recommendations and a Selection Checklist

    1. Profile your workload first: measure average input length, output length, and repeated-prefix ratio, then decide whether asymmetric activation fits your scenario.
    2. Focus on cache hit rate rather than peak compute: in scenarios with a high repeated-prefix ratio, caching strategy yields more benefit than adjusting activation size.
    3. Separate evaluation metrics: record prefill latency, decode latency, and end-to-end latency separately to avoid confusing the metrics.
    4. Plan the memory budget upfront: rising total parameters increase memory requirements, so plan capacity and parallelism strategy in advance.
    5. Prioritize toolchain adaptation: aligning context organization and tool calls with model characteristics often yields more direct benefits than switching models.

    Overall, the core methodology of the new generation of architectures is “separating capacity from computation, memory from reasoning, and prefill from decode.” Understanding these three separation principles is more valuable in the long run than memorizing any single parameter.