From Symmetric MoE to Asymmetric Activation: The Evolution of Large-Model Inference Architectures

    As large language models continue to scale, inference architecture is shifting from uniform expert activation toward phase-aware computation. This article explains how asymmetric activation separates encoding and decoding workloads, how Causal Encoder-Decoder (CED) architectures implement this idea, why a model with more total parameters can sometimes achieve faster inference, and what developers should consider when evaluating and deploying such systems.

    1. Background: Scaling Model Capacity While Controlling Inference Cost

    In recent years, mainstream large language models have increasingly adopted Mixture-of-Experts (MoE) architectures to balance model capacity and computational cost. The basic idea behind MoE is to replace the feed-forward layers in a model with multiple parallel “expert” networks and use a router to activate only a small subset of them during each forward pass. This allows a model to maintain a very large total parameter count while keeping the number of active parameters per inference step relatively small.

    This design makes it possible to scale models to hundreds of billions of parameters while keeping the actual computation required for a single inference request comparatively limited. However, traditional MoE architectures have a structural constraint that has received relatively little attention: symmetric activation.

    Symmetric activation means that the model uses the same expert configuration and activation path throughout the processing of input tokens and the generation of output tokens. This creates two problems:

    1. It overlooks task heterogeneity. Understanding the input, or encoding, requires dense compression of contextual information, while output generation, or decoding, progressively expands and combines semantic information.
    2. It limits resource efficiency. The routing and activation strategy remains the same regardless of the current processing phase, leaving little room for phase-specific scheduling.

    2. Asymmetric Activation: Giving Understanding and Generation Different Roles

    The core idea of asymmetric activation is to break the assumption that encoding and decoding must use identical computation paths. It allows a model to use different activation scales and routing strategies during the encoding and decoding phases.

    2.1 Decoupling Input and Output Activation

    In a traditional MoE model, the number of active parameters on the input and output sides is the same. An asymmetric architecture separates this into two independently controllable dimensions:

    • Input-side active parameters: These determine the computational investment used to process context and compress long documents. The activation scale can be kept relatively small to improve throughput.
    • Output-side active parameters: These determine the computational resources available during generation and can be increased to support higher-quality semantic expansion.

    This approach can allocate more computation to the stage that has the greatest impact on the final result. In some scenarios, the model may use a “lightweight understanding, heavier generation” configuration; in others, the balance can be adjusted dynamically according to task requirements.

    2.2 Customizing Computation for Each Phase

    From an information-processing perspective, encoding compresses context that may span tens of thousands of tokens into reusable internal representations. Its primary function is information aggregation. Decoding, by contrast, uses those representations to generate coherent and logically consistent content step by step. Its primary function is conditional generation.

    These two workloads naturally have different computational requirements. Asymmetric activation is an architectural response to that difference.

    3. Causal Encoder-Decoder (CED): From Mechanism to Framework

    If asymmetric activation is viewed as a scheduling strategy, the Causal Encoder-Decoder (CED) architecture is the framework that carries out this strategy.

    3.1 The Symmetric “Single-Pass” Design of Traditional MoE

    In a traditional architecture, a token follows the same symmetric path through the network regardless of its position or role. It uses the same expert pool, routing logic, and activation scale during both encoding and decoding. The process can be roughly represented by the following pseudocode:

    1. # Forward process for a traditional symmetric MoE
    2. def forward(token, layer):
    3. experts = router.select(token, top_k)
    4. hidden = sum(e(token) * weight for e, weight in experts)
    5. return hidden # The encoding and decoding phases are identical

    3.2 Phase-Aware Computation in CED

    CED treats causality as a first-class design principle and separates encoding and decoding into distinct computation paths:

    1. # Phase-aware forward process in a CED architecture
    2. def forward(token, layer, phase):
    3. if phase == "encode": # Encoding phase
    4. return encode_path(token, layer, act_scale=IN_ACT)
    5. else: # Decoding/generation phase
    6. return decode_path(token, layer, act_scale=OUT_ACT)

    Key design elements include:

    • Phase-aware routing: The router selects experts based not only on token content but also on the phase in which the token is being processed, enabling differentiated scheduling.
    • Independently configurable activation scales: The number of active input and output parameters can be configured separately. For example, the encoding side can use a smaller activation scale to improve Prefill throughput, while the decoding side can use a larger activation scale to support generation quality.
    • KV-cache and representation reuse: Intermediate representations produced during encoding can be efficiently reused during decoding, avoiding redundant computation. This is one of the important reasons why a model can have more total parameters while still improving inference speed.

    4. Why More Parameters Can Sometimes Mean Faster Inference

    This is one of the most counterintuitive and important aspects of the new architecture. Conventional thinking assumes that total parameter count is positively correlated with inference latency. From the perspective of active parameters, however, total parameter count mainly affects memory capacity and model loading costs. Inference speed is determined more directly by the number of parameters activated in each forward pass and by memory-access efficiency.

    CED combines three advantages:

    1. A lighter encoding path: The number of active input parameters is significantly smaller than in a traditional symmetric design. This can substantially improve Prefill performance when processing long contexts, benefiting use cases such as long-form question answering and document summarization.
    2. Reduced redundant computation through representation reuse: The decoding phase does not need to recompute intermediate results generated during encoding, reducing repeated forward passes.
    3. Greater total expert capacity: A larger total parameter count provides more space for distributing knowledge across experts. Routing can remain sparse and more targeted for each token, potentially reducing the computational burden per token.

    In short: Total parameter count determines how large the knowledge warehouse is, while active parameter count determines how many boxes must be moved for each retrieval. CED makes the box-moving process more targeted.

    5. Practical Implications for Developers

    For developers integrating large-model capabilities into production systems, understanding these architectural changes has direct engineering value.

    5.1 Focus on Active Parameters During Model Selection

    When evaluating different models, including models accessed through cloud inference services, developers should pay close attention to active parameter counts, actual throughput, and time to first token (TTFT), rather than focusing only on total parameter count.

    For inference services provided through platforms such as Baidu AI Cloud, architecture-level benefits should also be validated through measurements of real-world latency and concurrency capacity.

    5.2 Optimize Application Design for Phase Differences

    Because the model may use different computation paths during encoding and decoding, application design should account for these differences:

    • Long-context workloads: Make effective use of caching to reduce repeated Prefill computation.
    • High-throughput batch workloads: Process inputs in batches and stream generated outputs to maximize the benefits of a lightweight encoding path.
    • Quality-sensitive workloads: Evaluate decoding quality separately and apply targeted prompt-engineering strategies where necessary.

    5.3 Deployment Flexibility Enabled by Architectural Evolution

    Asymmetric activation introduces new tuning dimensions for deployment. In resource-constrained private deployment environments, teams may be able to configure different computing resources or quantization strategies for the encoding and decoding phases, further reducing operating costs.

    6. Conclusion

    The evolution from symmetric MoE to asymmetric activation and then to Causal Encoder-Decoder architectures reflects a broader shift in large-model inference. Systems are moving away from a coarse-grained design in which every token follows one uniform path and toward phase-aware, demand-driven resource scheduling.

    The key message is that model optimization is shifting from simply adding more parameters to structurally allocating computation where it is most useful.

    For developers, understanding the relationships among total parameters, active input parameters, and active output parameters is essential for interpreting technical reports on next-generation models and making informed model-selection decisions. As architectures continue to diversify, further engineering innovations are likely to emerge around phase-aware scheduling, sparse activation, and representation reuse.