Next-Generation Asymmetric Activation LLM Architecture Explained

    This article breaks down a new class of large model architectures that use asymmetric activation to generate tokens faster despite a larger total parameter count. It explains why per-token activated parameters, not total weights, drive latency; how a causal encoder-decoder splits prefill and decode workloads; why long-context, short-output AI agent workloads benefit most; and how hash-based lookup memory, shared KV, and two-level sparse indexing reduce long-context costs. It closes with practical deployment and observability recommendations for developers.

    1. The Phenomenon: More Parameters, Yet Faster Inference

    A common assumption in LLM development is that increasing the total parameter count inevitably slows inference and raises cost. A newer class of architectures shows the opposite: total parameters rise substantially while single-token generation speed improves by several times. To understand this, you need to separate four metrics: total parameters, activated parameters per token, prefill activation, and decode activation.

    Traditional Mixture-of-Experts (MoE) models typically use symmetric activation. Whether processing input or output, every token follows the same routing and computation path, with an identical activation footprint. The newer architectures use asymmetric activation: the input prefill stage activates only a smaller subset of parameters, while the output decode stage activates a different subset. A schematic example:

    1. Total parameters: 552B
    2. Input (prefill) activation: 8B
    3. Output (decode) activation: 16B
    4. Activation mechanism: asymmetric activation (causal encoder-decoder)

    Compare this with a traditional design:

    1. Total parameters: 284B
    2. Input activation: 13B
    3. Output activation: 13B (symmetric)

    The key takeaway is not “more parameters means a stronger model.” It is that latency is determined by the activated parameters actually involved in computation per token, not by the total weights stored on disk. Total parameters affect memory footprint and loading cost; activated parameters affect compute and memory-access pressure. The two must be evaluated separately.

    2. Causal Encoder-Decoder: Compress Context Once Instead of Moving It Repeatedly

    One engineering approach to asymmetric activation is to split the network into a causal encoder and a decoder (a Causal Encoder-Decoder structure).

    • The lower half serves as the encoder: it runs only during prefill, compressing long context into a compact representation.
    • The upper half serves as the decoder: it primarily runs during decoding.
    • The global key-value cache is no longer reconstructed repeatedly from each decoder layer’s own hidden states; instead, it is projected directly from the encoder’s final-layer hidden states.

    This design offers three benefits:

    1. The context representation is more compact, and the construction path for the global KV is significantly shortened.
    2. During decoding, each layer is freed from the burden of “building the global KV from scratch,” reducing both memory access and computation.
    3. Prefill activates only a smaller parameter set, lowering the fixed cost for long-input scenarios.

    The data flow in pseudocode:

    1. # Prefill: encoder compresses the context
    2. enc_hidden = encoder(input_tokens) # activates only the small parameter set
    3. compact_ctx = project(enc_hidden) # compact context representation
    4. # Decode: decoder reuses the projected global KV
    5. for step in range(max_new_tokens):
    6. global_kv = project_from_encoder(compact_ctx)
    7. logits = decoder(current_token, global_kv) # activates the larger parameter set
    8. current_token = sample(logits)

    Note that this is a general architectural explanation, not an interface definition for any specific product. In real implementations, the layer ratio between encoder and decoder, projection dimensions, and cache granularity all significantly affect actual performance.

    3. Why “Read Long, Write Short” Agent Workloads Benefit Most

    Agent workloads are typically characterized by very long input context (tool returns, logs, code snippets, historical trajectories) and relatively short output per turn. This workload shape aligns closely with asymmetric activation:

    • Cheap prefill: long input activates only parameters on the 8B scale, reducing time to first token.
    • Stable decoding: the output stage activates 16B, preserving generation quality without compression.
    • High cache hit rate: across multi-turn tool calls, prefixes are highly repetitive and prefix caching can be reused.

    A typical long-context agent task often has a time profile of “prefill + many short outputs + repeated tool calls.” When generation speed increases from roughly 120 tokens/s to over 350 tokens/s, the reduction in end-to-end total time is far larger than a single-point compute improvement, because waiting during the decode stage is compressed overall.

    An illustrative timing comparison (to show the order of magnitude, not measured results from a specific product):

    1. Option A: ~30 minutes total, 154K output tokens, ~120 tokens/s generation
    2. Option B: ~19 minutes total, 126K output tokens, ~361 tokens/s generation

    At the same time, total token consumption drops from about 20M to about 11.6M, showing that the architectural optimization not only speeds things up but also reduces wasted computation and repeated context processing.

    4. Separating Memory from Compute: Lookup Tables Enter the Main Model

    Another notable structural change is separating “memory” from “inference”:

    • The parts that require reasoning are handled by the Transformer backbone.
    • A large amount of memory-type content (local collocations, entity names, fixed phrasing, high-frequency fragments) is retrieved via hash lookup rather than relying entirely on parametric computation.

    This idea is closely related to the N-gram embedding lookup approaches common in the industry: trading minimal compute for memory capacity. Its engineering value lies in:

    1. The backbone parameters can focus more on reasoning capability, reducing capacity waste.
    2. Lookup is a memory-access-intensive operation that complements the compute-intensive attention calculation.
    3. For high-frequency patterns such as fixed collocations, proper nouns, and code snippets, a cache hit costs almost no additional compute.

    In practice, you need to watch the hit rate and table size: a hit rate that is too low degrades to pure backbone computation, while a table that is too large creates memory and loading pressure. This is why production systems typically combine sharded storage with on-demand loading.

    5. Attention Redesign: Shared KV and Two-Level Sparse Indexing

    The bulk of long-context cost lies in attention. The new generation of designs reorganizes attention into “shared KV + two-level sparse indexing”:

    • Shared KV: multiple layers or heads reuse the same key-value representation, reducing cache size.
    • Two-level sparse indexing: candidate blocks are coarsely filtered first, then fine-grained attention is applied within blocks, avoiding full pairwise computation.

    The complexity benefit can be approximated as going from O(n²) full attention to O(n·k) block-level sparse attention, where k is the context size actually retrieved per token. For contexts beyond 128K, this difference is decisive.

    6. Engineering Recommendations

    1. Standardize metrics: when evaluating, record total parameters, input activation, output activation, cache hit rate, time to first token, and generation speed together, rather than looking at a single metric.
    2. Prioritize prefix caching: in agent scenarios, place system prompts, tool definitions, and long documents in a stable prefix to maximize cache hits.
    3. Batching and concurrency: under asymmetric activation, prefill and decode have different resource profiles and should be batched and rate-limited separately.
    4. Context compression: for extremely long logs and code retrieval results, apply structured summarization before they enter the encoder to further reduce prefill cost.
    5. Observability: bring prefill time, decode time, lookup hit rate, and sparse index recall into monitoring and alerting to make bottleneck identification easier.
    6. Deployment shape: when model weights are large, prioritize container platforms and object storage distribution schemes matched to memory and bandwidth, so loading does not become a startup bottleneck.

    7. Conclusion

    The core of the new-generation architecture is not “bigger” but “better at allocating compute”: asymmetric activation decouples the cost structure of prefill and decode, the encoder-decoder compresses the context representation, lookup tables absorb memory-type workloads, and shared KV with sparse indexing flattens long-context overhead. For developers, the mental model to build is this: to evaluate LLM inference efficiency, look at activated parameters per token and cache reuse rate, not just parameter scale.