The Evolution of Asymmetric Activation Architectures in Large Language Model Inference
This article breaks down how a new class of LLM inference architectures is moving away from symmetric computation toward asymmetric activation and shared KV caching. It explains why prefill and decode have fundamentally different workloads, how cache sharing and causal encoder-decoder designs shift the optimization target from benchmark scores to effective output per unit of compute, and why activated parameters matter more than total parameters for capacity planning. Readers will find a practical evaluation framework, a reproducible load-testing procedure, and common pitfalls to avoid when selecting or benchmarking models.
1. Introduction: What a “Rebuild-Style” Version Upgrade Signals
When the LLM industry mostly uses leaderboard scores as the main driver for version iteration, a different kind of update occasionally appears: the version number only moves forward slightly, but the underlying inference framework is rewritten from the ground up. These updates share a common trait — the externally visible capability description barely changes, while the internally invisible operator scheduling, cache layout, and activation paths are completely reworked.
From an engineering perspective, the payoff of this approach does not show up in benchmark scores. It shows up in the effective output per unit of compute. For developers and enterprise users, understanding the general principles behind this kind of rebuild has more long-term value than memorizing the capability list of a specific version. This article therefore strips away product-specific attributes and discusses only a class of inference architecture paradigms that is becoming mainstream: asymmetric activation and cache sharing.
2. Background: The Essential Difference Between Prefill and Decode
Processing a single request with an autoregressive LLM is usually split into two phases.
The prefill phase needs to read in all input tokens at once, build the key-value cache (KV Cache), and produce the first output token. This phase is highly parallel and compute-intensive, and it can typically push accelerator utilization to a high level.
The decode phase generates tokens one by one. Each step must read the entire cache and all weights, but the actual matrix multiplication is small. Its bottleneck is memory bandwidth and access latency, not compute.
The two phases have completely different load characteristics, yet they have long shared the same weight computation path and the same batching strategy. This is precisely the structural source of efficiency loss in many inference systems.
3. The Overlooked Fact: Traditional Structures Are Already Asymmetric
A commonly misunderstood point is that asymmetry is not an invention of the new architecture; conventional structures are naturally slightly asymmetric.
The reason is that the prefill phase actually serves two goals: first, to compute and write the cache; second, to predict the first token of the answer. The feed-forward network and the output projection layer are unrelated to the cache contents, so apart from the last position, the remaining positions do not need to run the final feed-forward network and the output head. A sketch:
# Prefill-phase computation that can be trimmed (pseudocode)hidden = embed(input_ids) # [B, L, D]for layer in layers[:-1]:hidden = layer(hidden) # full-sequence parallel computecache.append(layer.kv) # write to cache# Only the last position needs the final layer and the output headlast = hidden[:, -1:, :]logits = lm_head(mlp_last(last)) # [B, 1, V]
In traditional dense or symmetric sparse structures, the speedup from this optimization is extremely limited, because it only saves a single feed-forward layer and the output projection, which account for a small share of total computation. The real value appears only after the cache structure is redesigned.
4. Key Mechanism 1: How Cache Sharing Amplifies Asymmetric Gains
If multiple layers or multiple forward passes share the same cache representation, then the bulk of the prefill computation can stop at the “last layer with an effective cache,” and the stacked layers after it no longer need to build independent key-value sequences repeatedly.
This produces three chained effects:
- The effective computation depth of prefill drops, improving time to first token (TTFT);
- Cache size and memory footprint drop, allowing a higher concurrent batch size;
- The cache data that must be moved at each decode step decreases, easing bandwidth pressure and raising throughput.
It is worth stressing that these gains come from the combination of “computation graph trimming + cache reuse,” not from a single trick. Without cache sharing, there is little room to trim; without trimming, the memory savings from sharing cannot be converted into speed.
5. Key Mechanism 2: The Causal Encoder-Decoder Structure
Another kind of rework replaces a pure decoder stack with an encoder-decoder-style causal structure: the front section handles context compression and representation building, while the back section handles token-by-token generation. The engineering implication is that the input side and the output side can use different activation budgets.
This creates asymmetric activation: the activated parameter count on the input side is no longer equal to that on the output side. An illustrative comparison (values are explanatory examples, not the parameters of any specific product):
| Structure Type | Total Parameter Scale | Input Activation | Output Activation | Activation Symmetry |
|---|---|---|---|---|
| Traditional symmetric sparse structure | Medium | ~billions | ~billions | Symmetric |
| Asymmetric activation structure | High | Smaller | Relatively larger | Asymmetric |
The intuition behind this design is that context encoding can be more “frugal,” while the capacity related to generation quality can be more “generous.”
6. Reworking the Metrics: Why Activated Parameters Matter More Than Total Parameters
Total parameter count determines the memory floor and the theoretical capacity ceiling; activated parameter count determines the actual compute cost per token. The two decouple severely after sparsification, so continuing to use total parameters for capacity planning leads to systematic misjudgment.
A more realistic evaluation framework should include at least four items:
- Input activation scale, which determines prefill cost and long-context feasibility;
- Output activation scale, which determines decode speed and the tendency of generation quality;
- Per-token cache footprint, which determines maximum concurrency and the long-text ceiling;
- Separable scheduling of the two phases, which determines resource utilization.
7. Engineering Practice: Capacity Planning and Load-Testing Methods
In the absence of a unified benchmark, it is advisable to build a minimal reproducible evaluation process:
1. Fix input-length tiers (e.g., 512 / 4K / 32K)2. Fix output-length tiers (e.g., 128 / 512)3. Record TTFT, per-token latency, peak memory, and effective concurrency separately4. Compute effective token output per unit of compute, rather than looking only at peak throughput5. Profile prefill and decode resources separately, so mixed metrics do not hide bottlenecks
Combined with logging services and monitoring/alerting systems, collecting the two phases’ metrics separately is what makes it possible to pinpoint whether the limit is cache bandwidth or scheduling fragmentation. If a container platform hosts the inference service, also pay attention to the cold-start cost of elastic scaling, which often cancels out the gains from architectural optimization.
8. Common Pitfalls
- Equating “larger total parameters” directly with “stronger or slower,” ignoring differences in activation paths;
- Load-testing only short inputs and short outputs, which hides cache bloat under long context;
- Looking at prefill and decode within a single metric, which leads to the wrong optimization direction;
- Ignoring the coupling between batching strategy and asymmetric structure, ending up with enough memory but throughput that will not rise;
- Expecting architecture-level optimization to deliver linear speedup, when actual gains are constrained by implementation quality and operator coverage.
9. Conclusion
The route of trading rebuilds for efficiency is not necessarily the best short-term option commercially, but it shifts the optimization focus from “external presentation” back to “output per unit of compute.” For users, the capability that truly needs to be built is evaluating models with activated parameters, cache footprint, and two-phase separation metrics, rather than relying on a single overall score or a parameter-count label. Mastering this evaluation framework is what enables sound technical selection during a phase of rapid architectural evolution.
