Technical Breakdown of Next-Generation Asymmetric Activation LLMs

    This article explains why next-generation Flash-style models can run faster despite having more total and active parameters. It covers asymmetric activation across prefill and decode stages, the causal encoder-decoder structure that projects a shared global KV cache only once, lookup-based memory augmentation, reproducible benchmarking practices, and co-design between models and coding tools. Readers will find practical guidance on workload profiling, cost evaluation, and deployment checklists for long-context, read-heavy applications.

    1. The Counterintuitive Result: More Parameters, Faster Output

    After the latest generation of Flash-style models was released, the most discussed observation was that both total and active parameter counts increased, yet measured generation speed approached three times that of the previous generation. This is not marketing spin. It is the inevitable outcome of redesigning the structure of inference cost.

    To understand why, break a single request into its two autoregressive inference phases:

    • Prefill: processes all input tokens at once. It is compute-intensive and highly parallelizable.
    • Decode: generates tokens one by one. It is constrained by memory bandwidth and the number of memory accesses, with low parallelism.

    Traditional Mixture-of-Experts (MoE) models use the same symmetric routing in both phases: each token activates a subset of experts of the same size. This means that even with an input of hundreds of thousands of tokens, prefill pays the same activation cost as decode, all in service of the goal “generate the next token.” The new approach decouples the two phases, producing an asymmetric configuration where input activation and output activation differ.

    2. Asymmetric Activation: Spend Compute Where It Actually Matters

    An illustrative configuration comparison (numbers only indicate order of magnitude):

    1. Option A (traditional symmetric MoE)
    2. Total params 284B Input activation 13B Output activation 13B
    3. Option B (asymmetric activation)
    4. Total params 552B Input activation 8B Output activation 16B

    Option B’s “larger total parameters, smaller prefill activation” looks contradictory, but it reflects a separation of capacity from compute. A large number of parameters reside sparsely and are retrieved or routed only when needed. Meanwhile, the goal of prefill is to “compress the context into a compact representation,” which does not require the full generation capability.

    At the engineering level, this can be abstracted as a pseudocode path:

    1. if stage == "prefill":
    2. hidden = encoder_forward(tokens, active_params≈8B) # context encoding only
    3. kv_global = project_from_last_encoder_layer(hidden) # global KV projected from the last layer
    4. else:
    5. kv = merge(kv_global, local_kv_of_decoder_layers)
    6. token = decoder_forward(kv, active_params≈16B) # full compute for generation

    For agentic workloads (“read a lot, write a little”), this allocation hits the pain point directly. Context windows can reach hundreds of thousands of tokens, while output is often only a few thousand tokens. Prefill cost drops significantly without discounting generation quality.

    3. Causal Encoder-Decoder Structure: Global KV Computed Only Once

    Asymmetric activation depends on a change in network topology: splitting the deep stack into a causal Encoder and a Decoder.

    1. The lower half acts as the encoder, running only during prefill to compress long context into a compact representation.
    2. The upper half acts as the decoder, which is mainly what runs during decoding.
    3. The global KV is no longer constructed layer by layer from each decoder layer’s own hidden states. Instead, it is projected uniformly from the last encoder layer’s hidden states.

    The third point is key. In a conventional structure, every layer maintains and reads its own global KV, so memory access volume grows linearly with depth. With “project once, share across layers,” memory bandwidth pressure during decode drops substantially, and the context can stay in a more compact form. Note that this is not a strict sequence-to-sequence encoder-decoder. It remains a causal, single-stream autoregressive model; “encoder-decoder” is more of a functional description of the division of labor.

    4. Separating Memory from Inference: The Return of Lookup-Style Memory Augmentation

    Another notable trend is separating “memory” from “computation.” The parts that require multi-step reasoning are handled by the attention backbone, while locally patterned content with low computational value but high storage demand—local patterns, entity names, fixed collocations—is provided via hash lookups. Several similar implementations already exist in the industry (for example, approaches that supplement the backbone with large-scale n-gram embedding tables). Their shared logic is:

    • Replace some matrix multiplications with lookups to reduce per-token computation.
    • Decouple parameter capacity growth from inference compute growth.
    • Be especially friendly to proper nouns, code identifiers, and templated text.

    At the same time, attention-side changes usually proceed in two directions: sharing KV to reduce redundant caching, and two-level sparse indexing that coarsely filters first and then computes precisely, bringing long-context attention cost into an acceptable range.

    5. How to Read Performance Data: Build a Reproducible Benchmark

    Community measurements generally place generation speed in the range of over 300 tokens per second. For such numbers, re-measure with a consistent methodology rather than quoting them directly:

    Metric Description Common mistake
    Generation speed Counts decode-phase tokens/sec only Mixing it with end-to-end throughput that includes prefill
    End-to-end total time Includes queuing, prefill, decode Ignoring differences in input length
    Token consumption Input/output counted separately Looking only at output, ignoring long-context cost
    Cache hit rate Prefix cache reuse ratio Not fixing the system prompt and tool definitions
    Time to first token Directly affects interactive feel Looking only at steady-state throughput

    A minimal reproducible script skeleton:

    1. def bench(model, prompt, max_new_tokens=512, warmup=2):
    2. for _ in range(warmup):
    3. model.generate(prompt, max_new_tokens=16)
    4. t0 = time.perf_counter()
    5. out = model.generate(prompt, max_new_tokens=max_new_tokens)
    6. dt = time.perf_counter() - t0
    7. return {
    8. "decode_tok_s": max_new_tokens / dt,
    9. "in_tokens": count_tokens(prompt),
    10. "out_tokens": count_tokens(out),
    11. }

    When benchmarking, always fix input length, system prompt, tool descriptions, and concurrency. Otherwise, cache hit rate and throughput numbers are not comparable.

    6. Co-Design of Models and Intelligent Coding Tools

    Another clear trend is deep coupling between models and intelligent coding toolchains. Models are specifically optimized for different tool configurations, while the tool side adjusts context organization, retrieval strategies, and cache reuse around model characteristics. This suggests model capability is no longer an isolated metric, but a joint result of “model + context engineering + tool orchestration.” In related practice at Baidu AI Cloud, model services, object storage, message queues, container platforms, and logging/monitoring/alerting are typically combined into a closed loop, using a unified observability system to measure end-to-end results rather than focusing on a single model’s benchmark score.

    7. Deployment Checklist

    • Profile the workload first: measure the input/output token ratio to determine whether it is “long read, short write.”
    • Prioritize validating prefill cost: for long-context scenarios, input activation size determines the bill more than total parameters.
    • Structured prefix: place stable system prompts and tool definitions at the front to improve cache reuse.
    • Tiered rate limiting and degradation: give long-context requests a separate queue to avoid slowing interactive requests.
    • Build a baseline dashboard: put throughput, time to first token, cache hit rate, and cost per request in one view.
    • Be cautious with migration assumptions: architecture changes affect prompt sensitivity and output style, so rerun business-side regression sets after switching.

    8. Conclusion

    The core contribution of this generation of models is not making parameters larger, but re-decoupling capacity, compute, and memory access. Asymmetric activation allocates compute by phase, the encoder-decoder structure projects the global KV only once, and lookup-style memory moves low-compute-value knowledge out of the backbone. For developers, the real gains must be validated on your own workload—first quantify the input/output structure, then re-measure with a consistent methodology, so the architectural dividend turns into an accountable cost advantage.