A Deep Dive into Ultra-Scale MoE Model Architecture and Training

    This article breaks down a recent ultra-scale Mixture-of-Experts (MoE) model technical report, covering its 744B total parameters with 40B activated per forward pass, the shift in open-source model selection criteria toward compute cost per unit of intelligence, and three key architectural changes: compressed multi-head attention with per-head optimizer orthogonalization, multi-token prediction, and learnable sparse attention. Readers will find practical guidance on evaluating and deploying such models, including why activated parameters matter more than total parameters for inference budgeting and how to tune attention sparsity as a cost-quality switch.

    1. Why This Ultra-Scale MoE Technical Report Is Worth Reading

    Over the past two years, the gap between open-weight models and the top-tier closed-source models has narrowed from a generational gap to a same-tier gap. The general consensus from industry benchmarks is that closed-source flagships still hold a slight edge in raw capability, but the best open-source models have entered the same range on most general and coding leaderboards. For the vast majority of enterprise applications, this means the key selection variable is no longer “does it work,” but rather “the compute cost per unit of intelligence” and “controllability of inference latency.”

    The technical report for this new generation of ultra-scale Mixture-of-Experts (MoE) model is a prime example of this shift. Its value lies not in any single benchmark score, but in how clearly it explains the trade-offs along the chain of parameter scale, activation scale, attention mechanism, training stability, and inference cost.

    2. The Fundamentals: What 744B Total Parameters and 40B Activated Parameters Mean

    The model has approximately 744B total parameters, with only about 40B activated per forward pass, using a sparse structure of 256 experts across 80 layers. Compared to the previous generation (355B total parameters, 32B activated), total parameters have doubled, activated parameters have increased by about 25%, and the pre-training corpus has grown from 23T tokens to 28.5T tokens (approximately 27T for pre-training and 1.5T for mid-training).

    The engineering implications of these numbers need to be unpacked:

    • Total parameters determine the upper limit of “knowledge capacity,” primarily affecting memory and storage footprint.
    • Activated parameters determine the “compute per single inference,” primarily affecting latency and throughput.
    • The activation ratio (40B/744B ≈ 5.4%) makes this an extremely sparse MoE, where routing quality becomes the critical factor for performance.

    In public capability index evaluations, the model scored 50, ranking first among open-source models. It also ranks first among open-source models in two arena-style human preference evaluations (general text and code), placing it in the same tier as closed-source flagships overall. It is worth emphasizing that these leaderboards reflect preference and general problem-solving ability, and cannot replace your own business-specific evaluation sets.

    3. Breaking Down the Three Major Architectural Changes

    3.1 Compressed Multi-Head Attention + Optimizer Orthogonalization Granularity Fix

    The model uses low-rank key-value compressed multi-head attention (commonly known as MLA in the industry), which shares the same origin as some open-source sparse models. Its core idea is to reduce the dimension of the KV cache before caching, thereby significantly reducing memory bandwidth pressure in long-context scenarios and improving decoding throughput.

    However, a typical “component incompatibility” issue arose during training: when using a matrix-type orthogonalization optimizer (commonly known as a Muon-class optimizer), convergence was actually worse than with the structurally simpler Grouped Query Attention (GQA, 8 groups) approach. The team’s diagnosis was precise: the problem was not the attention mechanism itself, but the coupling between the optimizer and parameter blocking.

    The solution was to change “unified orthogonalization of the entire projection matrix” to “orthogonalization per attention head,” known as Muon Split. Pseudocode:

    1. # Before fix: orthogonalize the entire projection matrix at once
    2. W = orthogonalize(W_full) # shape: [d_out, d_in]
    3. # After fix: split by attention head, orthogonalize each head, then concatenate
    4. heads = [orthogonalize(W[:, i*dh:(i+1)*dh]) for i in range(n_heads)]
    5. W = concat(heads, dim=1)

    Why does this work? Because multi-head attention is inherently a “parallel per-head” structure, where each head has its own low-rank subspace. Applying unified orthogonalization to the entire matrix forcibly flattens the singular value distribution across different heads, destroying inter-head differences. Per-head orthogonalization constrains the optimization at a granularity consistent with the inference structure, restoring both training stability and performance.

    Engineering takeaway: Any combination of “efficient attention + new optimizer” should first undergo small-scale alignment experiments, treating the granularity of orthogonalization/normalization as a tunable parameter rather than defaulting to whole-matrix processing.

    3.2 Multi-Token Prediction: Increasing Training Signal Density

    Multi-Token Prediction (MTP) allows the model to predict multiple future tokens at each position simultaneously, rather than just the next one. The benefits are threefold:

    1. Denser training signals improve sample efficiency and accelerate learning of long-tail knowledge.
    2. It forces the representation layers to encode longer-range planning information, yielding clear benefits for highly structured tasks like code and mathematics.
    3. The extra prediction heads trained can be reused for speculative decoding during inference, verifying multiple candidate tokens in a single forward pass and reducing the average number of decoding steps.

    Illustration (training objective):

    1. # Main head predicts t+1, auxiliary heads predict t+2..t+k
    2. loss = CE(logits_main, y[:, 1:]) + λ * sum(
    3. CE(logits_aux[i], y[:, 2+i:]) for i in range(k)
    4. )

    Note: The auxiliary head weight λ needs to be annealed; otherwise, it will drag down the main task early on. If speculative decoding is enabled during inference, ensure the draft head and main head distributions are consistent; otherwise, a low acceptance rate will actually slow things down.

    3.3 Sparse Attention: A Cost Switch for Long Contexts

    The third change is learnable sparse attention (DSA approach) for ultra-long sequences: instead of performing dense attention over all historical tokens, a lightweight scorer selects the most relevant key-values for the current query to participate in computation. This pushes long-context complexity from quadratic toward near-linear, at the cost of additional routing/selection overhead and implementation complexity.

    Deployment recommendation: Treat sparse attention as a “configurable cost-quality switch” tiered by business needs—enable high sparsity for retrieval-augmented QA and long-document summarization; use conservative settings for extraction tasks requiring precise verbatim citation, and retain a dense fallback path.

    4. How to Evaluate and Use This Class of Models in Your Business

    • Build your own evaluation set: Sample from real tickets, code repositories, and documents, covering three scenarios: long context, tool calling, and structured output.
    • Focus on activated parameters rather than total parameters: They determine the compute budget and concurrency ceiling for single-card or multi-card deployment.
    • Stress-test long contexts: Monitor time-to-first-token and peak memory usage; the benefits of sparse attention and KV compression become apparent here.
    • On the inference side, combine speculative decoding, continuous batching, and quantization; this usually improves costs more than switching models.
    • For cloud deployment, build an elastic inference pipeline using general capabilities like container platforms, object storage, log services, and monitoring/alerting to achieve traffic-based scaling and full-link observability.

    5. Conclusion

    The core message of this technical report can be condensed into one sentence: extremely sparse MoE + compressed attention + multi-token prediction + fine-grained optimizer constraints have enabled an open-source model to cross the 50-point threshold on a comprehensive capability index for the first time, matching closed-source flagships. For developers, the real action item is not chasing leaderboards, but incorporating the three knobs of “activated parameters, attention sparsity, and prediction head reuse” into your own cost model, validating with business evaluation sets before scaling to production.