Large-Scale MoE Models and the New Matrix Multiplication Lower Bound Explained

    This article examines two parallel developments: the open release of a trillion-parameter-scale Mixture-of-Experts (MoE) model with native multimodal and million-token context support, and a preprint establishing a matching lower bound for the matrix multiplication exponent ω = 9/4. It breaks down the model's core design choices, explains how to interpret its benchmark results, outlines what the theoretical bound means for practitioners, and provides general capacity estimation formulas and deployment recommendations. Readers will gain a practical framework for evaluating sparse model architectures and understanding the hardware and systems constraints that govern large-model performance.

    1. Why These Two Developments Belong Together

    One comes from engineering: a team has open-sourced the weights of an ultra-large-scale Mixture-of-Experts (MoE) model with roughly 2.8 trillion total parameters and about 104 billion activated parameters per token. It natively supports image-text multimodality and million-token context, and replaces its previous full-attention layers with gated sparse attention.

    The other comes from theory: a preprint first posted an upper bound of 9/4 on the matrix multiplication exponent ω in October, then in November provided a matching lower bound. Specifically, over any field, a formal arithmetic circuit computing the product of two n×n matrices requires at least roughly n^(9/4)/2 multiplication and division gates, which pins ω = 9/4 under this model. The accompanying formal proof currently covers only the division-free circuit case, and the result still awaits peer review.

    Placed side by side, they reveal the same throughline: the capability growth of large models increasingly depends on “sparsification plus more efficient linear algebra,” and engineering and theory are converging on the same set of cost constraints from opposite ends.

    2. Key Design Choices in the Ultra-Large-Scale MoE Model

    Separating Total Parameters from Activated Parameters

    The core idea of MoE is to decouple “knowledge capacity” from “per-token compute”: total parameters determine how much knowledge can be stored, while activated parameters determine the compute cost of each forward pass. A 2.8T total with 104B activated implies a sparsity ratio of roughly 37:1. This forces engineers to optimize two objectives simultaneously: memory must hold all experts, while compute only needs to cover the few experts that are routed to.

    Replacing Full Attention with Gated Sparse Attention

    Full attention scales quadratically with sequence length in long-context settings. Replacing some full-attention layers with gated sparse attention essentially restricts each query to interact with a limited subset of keys and values, pushing complexity back toward linear. The tradeoff is between receptive-field coverage and compute savings. The common approach is to keep a small number of full-attention layers for global information aggregation and use sparse patterns in the remaining layers.

    Illustrative pseudocode (structural only, not representative of any specific implementation):

    1. for layer in layers:
    2. if layer.type == "full":
    3. out = softmax(Q @ K^T / sqrt(d)) @ V
    4. else:
    5. idx = gate(Q, K) # select Top-k key-value positions
    6. out = sparse_attn(Q, K[idx], V[idx])

    Native Multimodality and Million-Token Context

    Native image-text multimodality means visual inputs enter a unified representation space during pretraining, rather than being bolted on afterward via a separate vision encoder. Million-token context raises the bar for positional encoding extrapolation, cache management, and batch partitioning. In practice, this requires paged key-value caching, context parallelism, and request-level scheduling to bring the serving cost of long context into a usable range.

    3. How to Read the Capability Benchmarks

    Public tables typically report three categories of metrics: terminal tasks (such as command execution and failure recovery), browsing and retrieval (such as cross-page information aggregation), and program comprehension (such as repository-level reasoning). One open-weight model scores near the top closed-source level on terminal tasks (65.7 vs. 66.4) and reaches 92.1 on retrieval aggregation, but only 31.5 on program comprehension, a clear gap.

    The right way to read this is dimension by dimension. Strong terminal and retrieval scores indicate mature tool-calling and long-document processing pipelines. Weak program comprehension indicates that repository-level, cross-file reasoning remains a shortcoming. When selecting a model, map the benchmark dimensions to your own business distribution rather than relying on a single aggregate score. In addition, a custom license means you must verify the terms on usage scope, redistribution, and derivative works before any commercial use.

    4. What the New Matrix Multiplication Lower Bound Means

    The matrix multiplication exponent ω describes the growth order of scalar multiplications needed to multiply two n×n matrices. A continuously lowered upper bound means faster algorithms. This matching lower bound shows that, under the current model of “formal arithmetic circuits over any field,” the lower and upper bounds are now aligned, closing off further improvement within that model. Going beyond it requires changing the computational model or relaxing the constraints.

    The implication for engineering is that attention, convolution, and expert routing all ultimately reduce to dense linear algebra kernels. The theoretical lower bound is a reminder that relying solely on “smarter multiplication scheduling” yields limited gains; real acceleration comes from sparsification, lower precision, operator fusion, and memory-access optimization.

    5. General Capacity Estimation for Deployment

    1. Weight memory ≈ total parameters × bytes per parameter
    2. Activation memory ≈ activated parameters × bytes per parameter × batch size × sequence-related factor
    3. Long-context overhead ≈ layers × cache bytes × sequence length × concurrency

    With 2.8T total parameters at FP8 (about 1 byte per parameter), the weights alone require roughly 2.8TB of memory, which mandates multi-node, multi-GPU tensor and expert parallelism. The 104B activated parameters at the same precision require about 104GB, setting the per-GPU compute floor. For million-token context serving, the cache term often exceeds the weight term and should be addressed first.

    6. Compliance and Engineering Recommendations

    • License first: open weights do not mean unrestricted commercial use; confirm the license terms before scheduling work.
    • Align evaluation: run small-scale regression on your own business data; do not substitute public leaderboards for acceptance testing.
    • Tier costs: pool long-context and short requests separately, configuring cache and concurrency for each.
    • Observability: set up monitoring and alerts for routing load, expert hit distribution, and cache hit rate.
    • General cloud capabilities: container platforms can provide elastic scaling, object storage can hold weights, message queues can smooth traffic spikes, and logging and monitoring services can provide full-chain tracing. Baidu AI Cloud can provide standardized support across these general categories.

    7. Conclusion

    Sparsification on the engineering side and lower-bound proofs on the theory side point to the same conclusion: future performance gains will no longer come from a single trick, but from co-design across “model architecture, linear algebra, and system scheduling.” Understand the constraints first, then optimize; that is the sound path.