Why Core Architecture Papers Are Published Before the Model: Asymmetric Encoder-Decoder Design and Sparse Attention

    This article explains why vendors increasingly release core architecture papers before the models themselves, and breaks down a converging technical route: an asymmetric prefill-decode dual path combined with structured sparse attention. It covers why prefill and decode have opposite resource profiles, how Self-Decoder and Cross-Decoder segments split responsibilities, what HySparse-style sparse attention solves, and how to turn the paper design into an operable deployment with capacity planning, observability, and rollback.

    Why Core Architecture Papers Are Published Before the Model: Asymmetric Encoder-Decoder Design and Sparse Attention

    1. Why the Core Paper Ships Before the Model

    A notable pattern has emerged in the industry: vendors publish the core structural paper that underpins inference efficiency before the official model is generally available. This is not merely a communication strategy; it is a choice forced by engineering reality.

    The reason is that competition in modern large models has partially shifted from “parameter count” to “effective tokens produced per unit of compute.” When an inference scheme changes the computation graph topology, memory layout, and parallel partitioning, it effectively redefines the deployment shape. If the architecture is only explained after the model weights are released, adopters cannot complete capacity planning, operator adaptation, and load-test baselines in advance, and migration costs are passively amplified. Publishing structural details early is essentially delivering the “deployment contract” ahead of time.

    This article evaluates no specific vendor or product. It abstracts this class of scheme into a general technical route the industry is converging on: an asymmetric prefill-decode dual path + structured sparse attention.

    2. Root Cause: Prefill and Decode Have Naturally Opposite Resource Profiles

    To understand the value of this architecture, start with the essential difference between the two phases.

    • Prefill: processes the entire input at once, with large matrix multiplications and high parallelism. It is compute-intensive, and the bottleneck is usually compute utilization.
    • Decode: generates tokens autoregressively, one position per step, repeatedly reading historical KV. It is memory-intensive, and the bottleneck is usually memory bandwidth and capacity.

    The traditional approach uses the same stack of layers to carry both workloads. The result: optimizations made for decode’s memory efficiency sacrifice prefill’s parallelism, and vice versa. Meanwhile, all layers must stay resident in memory, even though some layers do not need to be fully executed during prefill at all.

    This is the starting point of the asymmetric design: let the two phases take different paths and deploy different layer sets.

    3. Core Structure: Dividing Work Between Self-Decoder and Cross-Decoder

    The key to this class of scheme is cutting the model vertically into two segments and giving each a different responsibility.

    1. Front segment (self-decoder segment): performs the complete causal self-attention computation and outputs high-quality hidden states. It needs to see the entire input, so it must run in full during prefill.
    2. Back segment (cross-decoder segment): its KV is no longer produced by a full projection of the input by itself, but is re-projected from the front segment’s hidden states. It depends on the semantic representation already compressed by the front segment, not on the raw token sequence.

    The direct benefit: prefill only needs to execute the front segment. Using the common 49-layer configuration from the paper as an example, a prefill node only needs to deploy the first 25 layers; the parameters of the last 24 layers do not participate in computation during prefill and do not consume that phase’s memory budget.

    The scheduling difference of this split, expressed in pseudocode:

    1. # Logical illustration, not any specific implementation
    2. def prefill(tokens):
    3. h = embed(tokens)
    4. for layer in self_decoder_layers: # front segment only
    5. h = layer(h)
    6. kv_cache = project_kv_from_hidden(h) # prepare KV for the back segment
    7. return h, kv_cache
    8. def decode(step_input, kv_cache):
    9. h = step_input
    10. for layer in cross_decoder_layers: # back segment only
    11. h = layer(h, kv_cache)
    12. return h

    The two segments share the same information path, but the allocation of compute and storage is fully decoupled. This is in the same family as the general idea of “the decoder reuses the front segment’s representation,” and belongs to a widely recognized direction of structured compression rather than a capability unique to one vendor.

    4. Sparse Attention: HySparse-Style Schemes Solve the “Cannot Read It All” Problem

    Asymmetric splitting solves “which layers to compute”; sparse attention solves “how much each layer looks at.” As context length grows, the KV read volume of full attention expands linearly, and the decode phase quickly becomes bandwidth-bound.

    Common structured sparsity strategies include:

    • Local window: keep exact attention for neighboring tokens, covering syntax and local coreference;
    • Global anchors: keep a small number of positions that must be revisited, such as the first tokens, task instructions, and summary slots;
    • Block selection: score blocks and activate only the Top-k blocks, reducing memory access from O(n) to O(k·b).

    What really determines engineering success is not the sparsity number, but whether the sparse pattern matches memory-access continuity. If the selected KV is scattered randomly in memory, the theoretical FLOPs reduction is canceled out by random reads. Mature implementations therefore do block-level alignment, index precomputation, and operator fusion, so that the sparse index is formed in one pass inside the kernel.

    5. Distinguishing “Inspired by the Same Line of Thought”

    Multiple schemes in the industry converge in their conclusions because they face the same set of constraints: memory bandwidth grows more slowly than compute, context length keeps rising, and the SLOs of prefill and decode are completely different. When different teams start from the shared premise of “cross-layer representation reuse,” reaching a similar asymmetric conclusion is reasonable. This is a natural convergence of technical routes and should not be simply equated with similarity in design. To judge whether a scheme is reliable, look at three points: whether the structure is reproducible, whether the sparsity is measurable, and whether the gains are attributable.

    6. Putting It into Practice: Turning the Paper Structure into an Operable Deployment

    1. Capacity and Topology Planning

    Prefill and decode should use separate resource pools. The front segment is sensitive to compute and suits high-parallelism instances; the back segment is sensitive to bandwidth and capacity and suits large-memory, high-bandwidth instances. The two pools pass hidden states and KV through a message queue or shared cache to avoid synchronous blocking.

    2. Partitioning and Pipeline

    When splitting at layer boundaries, ensure the activation transfer volume between the two segments stays controllable. It is advisable to quantize or apply low-rank compression to boundary tensors, and to overlap transfer with computation:

    1. Prefill pool (first N layers) --compressed activations/KV--> shared cache --> Decode pool (last M layers)
    2. | |
    3. compute-first scheduling bandwidth-first scheduling

    3. Observability

    You must collect TTFT, TPOT, cache hit rate, sparse activated block ratio, and boundary transfer latency separately for the two phases. Without per-segment metrics, performance regressions often cannot be attributed.

    4. Quality and Rollback

    Both sparsity and cross-segment projection carry accuracy risk. Before launch, build a long-context regression set and compare against a dense baseline; also keep a dense-path switch, roll out gradually per request, and roll back quickly on anomalies.

    5. General Cloud Capabilities

    You can use a container platform for heterogeneous resource orchestration, object storage to hold models and datasets, and a logging service with monitoring and alerting to track per-segment metrics, forming a complete gradual-rollout and rollback loop.

    7. Conclusion

    Publishing the core paper early is essentially making the deployment impact of an architecture change transparent ahead of time. For the asymmetric dual-path + structured sparse route, engineering judgment should focus on three points: whether the responsibility boundary between the front and back segments is clear, whether sparse memory access is continuous and controllable, and whether per-segment gains are measurable and rollback-able. Do these three things solidly, and the architecture dividend will genuinely turn into a stable reduction in unit cost.