The Evolution of Asymmetric Activation Architectures in Large Language Models

    This article breaks down how modern LLM architectures are being redesigned around the structural differences between the prefill and decode phases of autoregressive inference. It explains why conventional decoder-only models leave optimization headroom unused, then examines two architectural approaches: cross-layer cache sharing that shortens the effective depth of prefill, and asymmetric input/output activation in MoE designs that lowers steady-state per-token cost. It closes with practical guidance on capacity planning, benchmarking, cost metrics, and common pitfalls.

    1. Introduction: What a “Rebuild First” Release Signals

    Most large model releases are tuned for benchmark scores. Occasionally, a different kind of update appears: parameter count goes up, native multimodal coverage is filled in, and yet inference is faster while overall quality beats the previous flagship generation. What these releases share is an engineering focus on architectural restructuring rather than metric packaging. Community discussion tends to converge on three points: the compute asymmetry between prefill and decode, cache sharing mechanisms, and a new architecture that decouples input-side and output-side activated parameters.

    Setting aside any specific product, this article abstracts the phenomenon into a general technical question: in an autoregressive large model, how do you apply architecture-level optimization to the structural differences between the two inference workloads? Note that the parameter counts and activation figures below are illustrative settings for discussion only, not measured results from any real system.

    2. Starting Point: Prefill and Decode Are Two Different Workloads

    Autoregressive inference splits into two phases with very different hardware behavior:

    • Prefill: processes all input tokens in parallel at once. Matrix multiplications are large and arithmetic intensity is high, so the phase is usually compute-bound.
    • Decode: generates one token per step and must read all weights plus the KV cache. Arithmetic intensity is low, so the phase is usually memory-bandwidth-bound.

    The “PD asymmetry” the industry talks about refers to exactly this difference in workload characteristics, and to the engineering responses it produces: disaggregated deployment, independent scaling, and separate batching strategies. But a more fundamental asymmetry is often overlooked: the optimization headroom in prefill is inherently larger than in decode.

    3. The Overlooked Fact: Standard Decoder Architectures Are Also Phase-Asymmetric

    Take the mainstream decoder-only structure. Prefill actually serves two goals:

    1. Compute and write the KV cache for every layer.
    2. Predict the first output token of the sequence.

    The position-wise feed-forward network (MLP) and the language model head (LM head) have nothing to do with the cache. That means the final-layer MLP and LM head outputs at every position except the last one are never consumed, and can in principle be skipped. The masking idea looks like this in illustrative pseudocode:

    1. # Illustrates compute-graph pruning only; not a real implementation
    2. def prefill(hidden_states, need_logits_mask):
    3. for layer in layers[:-1]:
    4. hidden_states = layer(hidden_states) # full sequence in parallel
    5. # Output of the second-to-last layer: only the last position continues
    6. last = layers[-1].mlp(hidden_states[-1:])
    7. logits = lm_head(last) # 1 position only
    8. cache = collect_kv(hidden_states) # full-sequence cache is ready
    9. return logits, cache

    Under a conventional architecture, the activations and compute saved here are a tiny share of the total, so the engineering payoff is negligible and the idea stays a theoretical detail. The real value appears only when an architecture amplifies the premise that prefill only needs to compute down to the last layer that produces cache — at that point the savings become engineering-relevant.

    4. Architectural Approach One: Cross-Layer Cache Sharing Compresses Prefill’s Effective Depth

    One line of thinking borrows the design philosophy of cross-layer sharing: multiple layers reuse the same or a heavily compressed cache representation, so the bulk of prefill computation only has to advance to the last layer that must emit cache. Layers after that point perform lightweight computation on a very small number of positions.

    The benefits come down to three:

    • Lower effective prefill depth: heavy computation in the parallel phase is substantially reduced, improving time to first token (TTFT).
    • Smaller cache footprint and lower bandwidth pressure: less data has to be moved at each decode step, directly easing the bandwidth bottleneck.
    • A sharper split between the two resource profiles: gives disaggregated prefill/decode deployment and differentiated batching policies a clearer basis.

    The cost is equally clear: sharing constrains the independence of per-layer representations, raising the bar for training stability, long-context extrapolation, and fine-grained retrieval. It needs more careful initialization and normalization strategies to compensate.

    5. Architectural Approach Two: Asymmetric Design That Decouples Input and Output Activations

    Traditional mixture-of-experts (MoE) models typically use symmetric activation on the input and output sides, meaning both sides have the same activated parameter count. Newer architectures (such as causal encoder–decoder forms) decouple the two: a larger activated capacity on the input side to compress and encode context thoroughly, and a smaller activated capacity on the output side to reduce the bandwidth cost of token-by-token generation.

    Because decode traverses the entire output path for every token it emits, output-side activated parameters are the main determinant of steady-state single-token cost. Cutting them to half the input side or lower is equivalent to lowering per-token generation cost without changing the total parameter count. Illustrative comparison:

    Dimension Traditional symmetric activation Asymmetric activation (illustrative)
    Input activated parameters Medium High
    Output activated parameters Medium Low
    Total parameters Lower Higher
    Per-token generation cost Baseline Clearly lower
    Implementation complexity Low High (training and inference tuned separately)

    6. Putting It in Production: Capacity Planning, Load Testing, and Cost Accounting

    Architectural gains do not convert into business gains automatically. The following areas matter:

    1. Capacity tiering: map the “heavy to encode, light to generate” workload profile onto resource pools. Long-document summarization and retrieval-augmented question answering benefit more from input-side optimization; high-concurrency short replies benefit more from output-side optimization.
    2. Consistent metric definitions: observe TTFT, per-token latency, throughput, cache hit rate, and cost per token together, so a single metric does not lead to a wrong conclusion.
    3. Load tests that match the real distribution: construct input length, output length, and concurrency shapes from actual business percentiles rather than average lengths.
    4. Elasticity and observability: run elastic scaling on a container platform, and build a per-phase latency dashboard with logging and monitoring/alerting services. Cache and batch data can be decoupled using object storage and message queues.
    5. Pricing design: the legitimate goal of peak/off-peak pricing is to shift load away from peaks and improve data center utilization. If it is perceived as competing with users for compute, it damages trust, so invest in rule transparency.

    7. Common Misconceptions and a Risk Checklist

    • Treating a large total parameter count as equivalent to high cost, while ignoring that activated parameters are the main driver of steady-state inference cost.
    • Pruning the compute graph without validating numerical consistency, which causes accuracy regressions.
    • Sharing caches without redoing long-context evaluation, leading to information loss in the middle of the context.
    • Reading a major version jump as a capability jump when the gains actually come from engineering restructuring — a failure of expectation management.

    8. Conclusion

    Moving from “score chasing” to “rebuild driven” means replacing benchmark metrics with real workload structure as the optimization target. For developers, the transferable methodology is three clear steps: first quantify the difference between the two workloads, then determine whether the architecture contains exploitable asymmetric redundancy, and finally validate the gains with cost and latency metrics under consistent definitions. This framework depends on no specific model or platform and applies to selection and tuning across all kinds of autoregressive inference systems.