The Evolution of Asymmetric Activation in Large Language Models
This article breaks down how modern LLM architectures are moving from symmetric activation to asymmetric activation, using a causal encoder-decoder (CED) design that splits prefill and decode responsibilities. It explains the division of labor between encoder and decoder layers, externalized memory via hash lookup tables, and two-level sparse attention indexing. It also outlines a four-dimension evaluation framework for agent workloads, notes the role of native multimodality and tool-chain co-design, and offers practical deployment and risk-control recommendations. Readers will gain a clear framework for evaluating these architectures rather than relying on isolated configuration numbers.
1. From Symmetric to Asymmetric Activation: A Paradigm Shift at the Architecture Level
In mainstream Mixture-of-Experts (MoE) implementations, the input and output stages typically follow the same routing logic and activate the same number of parameters. This is known as symmetric activation. Its engineering advantage is simplicity: memory and compute budgets are easy to estimate. However, real business workloads show a sharp difference in the computational characteristics of prefill and decode. Prefill is compute-intensive, processing thousands of tokens in parallel at once. Decode is memory-access-intensive, producing only one token per step while reading through all weights and the key-value cache (KV Cache).
Newer architectures are beginning to design these two paths separately, forming asymmetric activation: the prefill stage activates fewer parameters to compress context, while the decode stage activates more parameters to preserve generation quality. The following comparison uses a set of public configurations as an analysis sample (the numbers only illustrate order-of-magnitude relationships and do not represent any specific product):
| Dimension | New-generation config | Previous-generation config |
|---|---|---|
| Total parameters | ~552B | ~284B |
| Activation mechanism | Causal encoder-decoder (CED) | Traditional symmetric MoE |
| Prefill activation | ~8B | ~13B |
| Decode activation | ~16B | ~13B (same for input and output) |
The key takeaway from this table is not that “there are more parameters,” but that the activation curve has been reshaped: total parameters nearly doubled, while prefill activation actually dropped by about 40%.
2. The Division of Labor in a Causal Encoder-Decoder (CED)
You can split the network vertically into two halves and understand them through two responsibilities: “compression” and “generation”:
- The lower layers act as an encoder: they work only during prefill, compressing long context into a compact set of representations;
- The upper layers act as a decoder: during decode, this half does most of the work, and the global key-values are no longer constructed by each layer from its own hidden states, but are projected directly from the last-layer hidden states of the encoder.
The direct benefit of this design is a more compact context representation and less inter-layer redundancy. It is worth emphasizing that “encoder-decoder” here is a structural analogy and is not the same concept as the encoder-decoder in traditional sequence-to-sequence tasks; its causal constraints are still preserved.
A minimal pseudocode sketch of this division of labor:
# Prefill: the encoder handles compression, activating fewer parametersenc_hidden = encoder_layers(tokens) # ~8B activatedglobal_kv = project_from_last_layer(enc_hidden)# Decode: the decoder handles generation, activating more parametersfor step in range(max_new_tokens):h = decoder_layers(last_hidden, global_kv) # ~16B activatedlast_hidden, token = sample(h)
Three engineering points to note: first, the quality of the projection layer directly determines long-context information fidelity; second, too high an encoder compression ratio causes “memory loss” and needs to be stress-tested on evaluation sets; third, once the structure of the key-value cache read during decode changes, cache management and batch scheduling need to be reworked accordingly.
3. Externalized Memory: Lookup Tables and Attention Sparsification
Another main thread is separating “memory” from “computation”: the parts that require multi-step reasoning are handled by attention and expert networks; a large volume of local patterns, entity names, and fixed collocations that have low computational value but massive size are retrieved as representations via hash lookup. Similar practices already exist in the industry, typically appearing as a large-scale low-dimensional embedding table mounted beyond the vocabulary layer, using hash buckets for approximate retrieval.
Accompanying this is two-level sparse indexing for attention: the first level uses a shared key-value cache to reduce redundant storage, and the second level uses a coarse-grained index to first filter out candidate blocks, then performs fine-grained attention within the blocks. Combined, the effect is that both memory usage and memory-access volume drop under long context.
Illustrative retrieval logic:
def fused_context(query, ngram_keys, kv_index):mem = embed_table.lookup(hash_bucket(ngram_keys)) # memory lookupblocks = kv_index.coarse_select(query, topk=8) # level-1 sparsityreturn attention(query, blocks, mem) # level-2 fine-grained
4. Performance Evaluation for Agent Workloads
“Reading a lot, writing little” is a typical characteristic of agent-type workloads, so evaluation should not look only at single-point throughput. A four-dimension set of metrics is recommended:
- End-to-end total time and total token consumption, reflecting the real bill;
- The proportion of prefill vs. decode time, verifying whether asymmetric activation takes effect as expected;
- Generation speed (token/s) and cache hit rate, judging whether prefix reuse is sufficient;
- Output quality and long-context recall, preventing cost reduction at the expense of quality.
A reference comparison sample (again only illustrating order of magnitude): the new-generation config on a comparable long-context task took about 18 min 49 s total, consumed about 11.59M tokens, had model inference time of about 7 min 48 s, a generation speed of about 361 token/s, and a cache hit rate of about 99.5%; the previous-generation multimodal extension config was about 30 min 11 s, 20.31M, 25 min 10 s, 120 token/s, and 99.7% respectively. The nearly threefold difference in generation speed comes mainly from changes to the decode path and cache structure, rather than purely from hardware differences.
5. Native Multimodality and Tool-Chain Coordination
Native multimodality means vision and text share the same representation and activation strategy, avoiding the extra alignment cost of a bolted-on vision tower. At the same time, deep coupling between model training and AI coding tool chains is becoming a trend: the same model is specifically optimized for different context organization schemes and tool-calling formats, and the difference in real experience is often larger than the difference in parameter scale. Evaluation should include “tool-call success rate” and “long-repository context hit rate” as part of routine regression.
6. Deployment Recommendations and Risk Control
- Start with small-scale controlled experiments, fixing prompts and evaluation sets, and switching only the inference configuration;
- Pay attention to cache hit rate and prefix design; a stable system prompt can significantly amplify the gains;
- For asymmetric-activation models, stress-test long input and long output separately, avoiding testing only one extreme;
- On the cloud platform side, use container platforms for elastic scaling, object storage to hold evaluation corpora, and logging and monitoring/alerting services to track latency and failure rates;
- Keep a fallback plan, and use canary and shadow traffic to compare results during the architecture switchover.
7. Conclusion
Asymmetric activation, the causal encoder-decoder division of labor, memory lookup tables, and two-level sparse indexing together form a clear path of “trading structure for cost”: spending compute on the tokens that truly need reasoning, and handing memory over to cheaper storage and retrieval. For developers, mastering this evaluation framework holds more long-term value than memorizing any single configuration number.
