Sparse LLM Architectures: Understanding Asymmetric Activation Design

    This article breaks down asymmetric activation in sparse large language models, where input and output sides use separate parameter subsets and activation budgets instead of sharing one. It explains the limits of traditional symmetric activation, how a causal encoder-decoder (CED) style design separates encoding and decoding budgets, the trade-offs in memory, bandwidth, and scheduling, and how to evaluate and deploy such architectures with per-side, per-task benchmarks.

    1. Background: The Scissors Gap Between Parameter Growth and Inference Cost

    Foundation model development over the past two years follows a clear trend: total parameter counts keep climbing, while the share of parameters actually used in a single inference pass keeps shrinking. Behind this trend is the decoupling of two cost types—storage and GPU memory usage are determined by total parameters, while compute latency and throughput are driven mainly by activated parameters.

    The source material provides a representative comparison (used only to illustrate architectural scale, not as measured results for any specific product):

    Dimension Traditional symmetric-activation sparse model Asymmetric-activation sparse model
    Total parameters ~284B ~552B
    Input-side activation ~13B ~8B
    Output-side activation ~13B (same as input) ~16B
    Activation mechanism Conventional sparse expert routing Causal encoder-decoder (CED) style asymmetric activation

    Two observations stand out. First, total parameters nearly double, yet input-side activation drops. Second, input and output no longer share the same activation budget. Together, these define what “asymmetric activation” means.

    2. What Symmetric Activation Is, and Where It Falls Short

    A typical sparse mixture-of-experts model uses one expert pool for both feature extraction and content generation. Input tokens and output tokens go through the same routing and the same activation budget. This symmetry is simple to engineer: one set of weights, one set of routing statistics, one memory layout.

    But symmetry is also a hard constraint. Understanding tasks—classification, extraction, retrieval, code completion, long-document QA—often have input sequences far longer than their outputs, so compute is spent heavily on “reading.” Generation tasks are bottlenecked by “writing.” When both sides must share one budget, neither can scale to its real needs; both settle on a compromise. The result is wasted compute in understanding scenarios and insufficient budget in generation scenarios.

    3. The Core Idea: Separate Encoder and Decoder Budgets

    The essence of the causal encoder-decoder approach is giving the input and output sides their own parameter subsets and activation limits:

    • The input side handles bidirectional or near-bidirectional context encoding with a low activation budget (illustrative value: 8B), trading minimal per-unit compute for as much context coverage as possible.
    • The output side handles autoregressive generation with a higher activation budget (illustrative value: 16B), concentrating compute where generation quality is most sensitive.
    • The two sides connect through an intermediate representation layer rather than sharing one forward path.

    Note that “causal encoder-decoder” here refers to asymmetry in activation paths and budget allocation. The industry has no single agreed definition of its implementation details, so evaluations should follow the definitions in published technical reports and avoid treating illustrative numbers as general specifications.

    Illustrative routing and budget-control logic (pseudocode, expressing only the asymmetric allocation idea):

    1. def forward(tokens, phase):
    2. if phase == "encode":
    3. # Input side: low activation budget, aiming for long-context coverage
    4. hidden = encoder_layers(tokens, active_budget=INPUT_ACTIVE)
    5. return latent # intermediate representation passed to the decoder
    6. # Output side: high activation budget, aiming for generation quality
    7. return decoder_layers(latent, active_budget=OUTPUT_ACTIVE)

    4. Benefits and Costs of Decoupling Parameters from Activation

    The benefits are fairly clear:

    1. Higher information throughput per unit of compute. Lower input activation means longer contexts or higher concurrency on the same hardware.
    2. Capacity and latency are decoupled. Total parameters determine knowledge capacity; activated parameters determine response speed, and the two can be tuned independently.
    3. Scenario-specific scaling. Understanding-heavy workloads can compress input activation further; creation-heavy workloads can raise output activation.

    The costs are equally real and cannot be avoided:

    1. Higher memory and bandwidth pressure. With total parameters nearly doubling, resident weights and cross-device communication grow, making the architecture more sensitive to interconnect bandwidth.
    2. Higher scheduling complexity. Different activation levels on each side make static optimization harder for batch packing, memory reuse, and operator fusion.
    3. Observability gaps. Capacity models based on a single activation number no longer apply; you need to monitor actual activation distributions and routing skew on both sides separately.

    5. How to Evaluate These Architectures Properly

    Build an evaluation framework around four dimensions rather than a single benchmark score:

    • Quality: evaluate understanding, generation, long context, code, and structured output by task family, so a total score does not hide weaknesses.
    • Efficiency: record time to first token, per-token latency, throughput (tokens/s), and peak memory per request.
    • Stability: under sustained load testing, watch for routing load drift and quality degradation on long contexts.
    • Cost: measure “blended cost per million tokens” rather than unit price, accounting for the input/output asymmetry.

    A minimal load-testing skeleton:

    1. def bench(model, prompts, concurrency_levels=(1, 8, 32)):
    2. report = {}
    3. for c in concurrency_levels:
    4. stats = run_load(model, prompts, concurrency=c)
    5. report[c] = {
    6. "ttft_ms": stats.ttft_p50,
    7. "tps": stats.tokens_per_second,
    8. "mem_peak_gb": stats.peak_memory,
    9. "encode_active": stats.encode_active_params,
    10. "decode_active": stats.decode_active_params,
    11. }
    12. return report

    6. Deployment Checklist

    1. Align baselines first. Use the same real business corpus to compare the input/output cost structure of symmetric versus asymmetric activation.
    2. Split deployment by phase. Input encoding and output generation have different hardware needs, so place them on bandwidth-oriented and compute-oriented resource pools respectively; let the container platform handle elastic scaling, and logging and monitoring/alerting services collect metrics for each side independently.
    3. Layer the context. Push very long background material down to object storage or a cache layer and inject it on demand, avoiding full encoding cost every time.
    4. Inspect routing health. Include expert load skew and drop rate in routine alerts to catch hidden degradation during long-running operation.
    5. Use canary releases and rollback. Roll out the new architecture to a small traffic share first, and gate expansion on business-side quality metrics rather than technical metrics.

    7. Conclusion

    The value of asymmetric activation is not a single-point claim like “more parameters” or “faster,” but the separation of capacity and compute—two things long bundled together—so input understanding and output generation can each be resourced according to real demand. For developers, the real work is building per-side, per-task, per-phase evaluation and capacity models. For enterprise users, the priority is planning for hidden costs—memory, bandwidth, and scheduling complexity—up front. To validate the idea quickly, you can use general-purpose container platforms, object storage, and monitoring/alerting capabilities from Baidu AI Cloud to build a load-testing environment, produce trustworthy per-side data under small traffic, and then decide the expansion pace.