CED Asymmetric Activation Architecture: Design Rationale and Deployment Considerations
This article examines the asymmetric activation design in Mixture-of-Experts (MoE) models, focusing on the CED (Causal Encoder-Decoder) architecture and the Engram mechanism. It discusses the limitations of symmetric activation for multimodal and long-context inputs, outlines the potential benefits of decoupling encoder and decoder activation scales, and provides practical guidance on deployment concerns such as parallel strategies, KV Cache estimation, batch scheduling, weight loading, and monitoring. The article also highlights common misconceptions and emphasizes the need for benchmark validation before adoption.
Why MoE Activation Requires a Fresh Look
Large language models are evolving toward native multimodality and increasingly larger parameter counts. Dense models activate all parameters during every inference; the more parameters, the greater the computational load. Mixture-of-Experts (MoE) models mitigate this through sparse activation: the model contains many expert networks, and each input invokes only a subset of them.
As image, audio, and long-context inputs become more prevalent, the design of traditional MoE models is showing signs of strain. Multimodal inputs demand substantial feature processing, while text generation may require comparatively fewer activated parameters. If both phases use the same activation scale, one stage may suffer from insufficient compute while the other experiences resource idleness.
Limitations of Symmetric Activation
Traditional MoE models typically employ symmetric activation. Whether the model is reading input tokens or generating output tokens one by one, the number of activated experts and the routing rules remain largely consistent. In pure text scenarios, this design operates reliably.
Its problems primarily manifest in three areas:
- Compute allocation mismatch. The input phase leans toward parallel absorption and information compression, while the output phase relies on step-by-step reasoning and generation. Using the same scale for both phases can lead to wasted compute or insufficient capacity at a given stage.
- Increased latency in multimodal processing. Feature extraction for images and audio is computationally expensive. If the input and output phases cannot be adjusted independently, overall latency will rise with input size.
- KV Cache coupling with GPU memory. The input and output phases share the same cache management scheme, which can produce memory fragmentation under high concurrency and limit throughput.
The severity of these problems depends on the number of experts, routing strategies, context length, and hardware configuration. Differences between systems can be significant, and the above description should not be directly applied to all symmetric MoE models.
CED and the Engram Asymmetric Activation Approach
CED refers to the Causal Encoder-Decoder structure. Engram is the mechanism within this scheme that realizes asymmetric activation. The core idea is to separate the activation parameters of the input and output phases, allowing the encoding and decoding components to each use an appropriate expert scale.
The approach provides a set of illustrative figures to convey the design direction:
- Symmetric MoE example: ~280B total parameters, with input and output activation parameters each around 13B.
- CED asymmetric example: ~550B total parameters, with ~8B input activation and ~16B output activation.
These figures currently lack public sources, model versions, and measurement criteria. They are intended only to illustrate the design rationale and should not be cited as performance conclusions.
Under this approach, the asymmetric design offers three potential benefits. First, the input phase can complete feature compression with a smaller activation scale, while the output phase retains a larger scale for generation. Second, routing paths can be constructed separately based on the causal relationship between encoding and decoding, avoiding the binding of both phases to the same set of experts. Third, the input side can more naturally accommodate multimodal feature streams, while the output side focuses on text generation.
Whether these benefits hold must be confirmed through your own benchmark tests.
Deployment Considerations
Asymmetric activation causes compute and memory requirements to fluctuate between phases. Consider the following aspects during deployment.
1. Parallel Strategy
Ultra-large parameter models typically require tensor parallelism combined with expert parallelism. The distribution of input experts may differ from that of output experts, so communication volume between nodes must be examined for both. If cross-node bandwidth is insufficient, the gains from expert parallelism may be offset by communication overhead.
2. KV Cache and Memory Estimation
Estimate KV Cache usage before going live. Use the following formula as a reference:
- KV Cache size in bytes ≈ 2 × number of layers × number of KV heads × head dimension × context length × batch size × bytes per element.
- Reserve a certain percentage of memory for fragmentation and temporary tensors to avoid out-of-memory (OOM) errors at full load.
- Apply separate rate limiting for long-context requests to prevent them from consuming resources needed by short requests.
3. Batching and Scheduling
Batch size should be adjusted based on the distribution of input lengths. Requests with long inputs can be batched separately to avoid slowing down overall latency when mixed with short-output requests.
4. Weight Loading and Hot Swapping
Large model weights mean loading time directly affects scaling speed. Store weights in object storage with a multi-level local cache, and track cache hit rates. Prepare a rollback plan for hot swapping: if the new version fails to load or metrics fall outside expected ranges, automatically revert to the previous version.
5. Monitoring Metrics
At minimum, monitor the following metrics and set alert thresholds for each:
- Latency distribution for the input encoding phase and output generation phase, separately.
- GPU memory utilization and fragmentation status.
- Load ratio per expert, to detect routing skew.
- Cache hit rate and weight loading time.
Thresholds should be defined according to your own service-level objectives; avoid copying values from other systems.
Common Questions
What is the CED architecture?
CED is a causal encoder-decoder structure used to describe a design where input encoding and output decoding are handled separately. Whether it has become a general industry standard cannot be confirmed at this time.
What scenarios suit asymmetric activation?
It suits scenarios with large inputs and relatively short outputs, or where the computational characteristics of input and output differ significantly. For example, generating summaries of long video content, or producing brief conclusions from complex image-text inputs. For ordinary conversations with short inputs and outputs, the benefits may be less obvious.
What is most often overlooked during deployment?
Communication overhead and KV Cache growth. As parameter count increases, focusing only on activation parameter size can lead to underestimating memory and network pressure.
What are common misconceptions?
First, assuming that fewer activation parameters always leads to faster performance, while ignoring communication and scheduling overhead. Second, treating illustrative numbers as measured results. Third, looking only at average latency while ignoring tail latency.
Limitations and Validation Recommendations
This article discusses architectural ideas and engineering considerations; it does not provide directly reusable performance conclusions. Inference speed and throughput are highly dependent on hardware type, concurrency level, context length, model version, and inference framework.
Before adoption, complete three steps. Run load tests with real request distributions, compare latency, throughput, and cost against the current stable version, and keep a rollback path. Only with data in hand should you decide whether to expand deployment scope.
